git: be3e572e8113 - main - devel/py-pytest-checkdocs: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:28:45 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=be3e572e8113171b028e459608f28b95aae54fc9 commit be3e572e8113171b028e459608f28b95aae54fc9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:45:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:21:00 +0000 devel/py-pytest-checkdocs: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-pytest-checkdocs/Makefile | 10 +++++----- devel/py-pytest-checkdocs/files/setup.py | 3 --- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/devel/py-pytest-checkdocs/Makefile b/devel/py-pytest-checkdocs/Makefile index 98f1bce7616f..ba1e39bd4d3b 100644 --- a/devel/py-pytest-checkdocs/Makefile +++ b/devel/py-pytest-checkdocs/Makefile @@ -1,5 +1,6 @@ PORTNAME= pytest-checkdocs PORTVERSION= 2.9.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +12,9 @@ WWW= https://github.com/jaraco/pytest-checkdocs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1:textproc/py-docutils@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-black>=0.3.7:devel/py-pytest-black@${PY_FLAVOR} \ @@ -22,7 +25,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-black>=0.3.7:devel/py-pytest-black@$ ${PYTHON_PKGNAMEPREFIX}types-docutils>=0:devel/py-types-docutils@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes @@ -32,7 +35,4 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-metadata@${PY_FLAVOR} .endif -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include <bsd.port.post.mk> diff --git a/devel/py-pytest-checkdocs/files/setup.py b/devel/py-pytest-checkdocs/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-pytest-checkdocs/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()