Date: Tue, 21 Mar 2023 19:28:51 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bbb253487a1a - main - devel/py-pytz-deprecation-shim: Convert to USE_PYTHON=pep517 Message-ID: <202303211928.32LJSpYL032535@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=bbb253487a1ab27dc705cb9f5455bda1cfe3a3fe commit bbb253487a1ab27dc705cb9f5455bda1cfe3a3fe Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:45:23 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:21:01 +0000 devel/py-pytz-deprecation-shim: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-pytz-deprecation-shim/Makefile | 9 ++++----- devel/py-pytz-deprecation-shim/files/setup.py | 3 --- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/devel/py-pytz-deprecation-shim/Makefile b/devel/py-pytz-deprecation-shim/Makefile index c47d755d6843..6e51d3f1d836 100644 --- a/devel/py-pytz-deprecation-shim/Makefile +++ b/devel/py-pytz-deprecation-shim/Makefile @@ -1,6 +1,6 @@ PORTNAME= pytz-deprecation-shim PORTVERSION= 0.1.0.post0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +12,12 @@ WWW= https://github.com/pganssle/pytz-deprecation-shim LICENSE= APACHE20 +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tzdata>=0:devel/py-tzdata@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -25,7 +27,4 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR} .endif -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include <bsd.port.post.mk> diff --git a/devel/py-pytz-deprecation-shim/files/setup.py b/devel/py-pytz-deprecation-shim/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-pytz-deprecation-shim/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303211928.32LJSpYL032535>