diff --git a/devel/py-pytest-runner/Makefile b/devel/py-pytest-runner/Makefile index 7bd3055979de..e33e30996160 100644 --- a/devel/py-pytest-runner/Makefile +++ b/devel/py-pytest-runner/Makefile @@ -1,22 +1,20 @@ PORTNAME= pytest-runner -PORTVERSION= 5.3.2 +PORTVERSION= 6.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Test support for pytest runner in setup.py WWW= https://github.com/pytest-dev/pytest-runner LICENSE= MIT 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 pytest NO_ARCH= yes .include diff --git a/devel/py-pytest-runner/distinfo b/devel/py-pytest-runner/distinfo index 2ea27a16dca4..15335f6e279c 100644 --- a/devel/py-pytest-runner/distinfo +++ b/devel/py-pytest-runner/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1655416599 -SHA256 (pytest-runner-5.3.2.tar.gz) = 48934ec94301f6727d30615af1960539ff62063f6c9b71b7227174e51ba5fb34 -SIZE (pytest-runner-5.3.2.tar.gz) = 16307 +TIMESTAMP = 1662816629 +SHA256 (pytest-runner-6.0.0.tar.gz) = b4d85362ed29b4c348678de797df438f0f0509497ddb8c647096c02a6d87b685 +SIZE (pytest-runner-6.0.0.tar.gz) = 15741 diff --git a/devel/py-pytest-runner/files/patch-setup.py b/devel/py-pytest-runner/files/patch-setup.py new file mode 100644 index 000000000000..d2372d7538e9 --- /dev/null +++ b/devel/py-pytest-runner/files/patch-setup.py @@ -0,0 +1,9 @@ +--- setup.py.orig 2022-09-10 13:31:26 UTC ++++ setup.py +@@ -0,0 +1,6 @@ ++#!/usr/bin/env python ++ ++import setuptools ++ ++if __name__ == "__main__": ++ setuptools.setup()