devel/py-pytest-runner: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2021-06-08 15:44:13 +02:00
parent 0da6bff95b
commit 9f139a0e4a
3 changed files with 18 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Created by: William Grzybowski <william88@gmail.com>
PORTNAME= pytest-runner
PORTVERSION= 2.11.1
PORTVERSION= 5.3.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,7 +11,9 @@ COMMENT= Test support for pytest runner in setup.py
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
DEPRECATED= pytest-runner depends on deprecated features of setuptools
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1492252528
SHA256 (pytest-runner-2.11.1.tar.gz) = 983a31eab45e375240e250161a556163bc8d250edaba97960909338c273a89b3
SIZE (pytest-runner-2.11.1.tar.gz) = 9661
TIMESTAMP = 1622406175
SHA256 (pytest-runner-5.3.1.tar.gz) = 0fce5b8dc68760f353979d99fdd6b3ad46330b6b1837e2077a89ebcf204aac91
SIZE (pytest-runner-5.3.1.tar.gz) = 16262

View file

@ -1,4 +1,15 @@
Setup scripts can use pytest-runner to add setup.py test support
for pytest runner.
Notice: pytest-runner depends on deprecated features of setuptools and relies on
features that break security mechanisms in pip.
It is recommended that you:
- Remove 'pytest-runner' from your setup_requires, preferably removing the
setup_requires option.
- Remove 'pytest' and any other testing requirements from tests_require,
preferably removing the tests_requires option.
- Select a tool to bootstrap and then run tests such as tox.
WWW: https://github.com/pytest-dev/pytest-runner