git: 58a0332fbe00 - main - devel/py-xstatic-jsencrypt: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 May 2024 14:20:01 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=58a0332fbe00db0326873dcd5e4dd52be420ccda commit 58a0332fbe00db0326873dcd5e4dd52be420ccda Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 14:01:13 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 14:01:13 +0000 devel/py-xstatic-jsencrypt: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-xstatic-jsencrypt/Makefile | 7 +++++-- devel/py-xstatic-jsencrypt/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/devel/py-xstatic-jsencrypt/Makefile b/devel/py-xstatic-jsencrypt/Makefile index 0523404ecc19..587aeb832fd7 100644 --- a/devel/py-xstatic-jsencrypt/Makefile +++ b/devel/py-xstatic-jsencrypt/Makefile @@ -1,6 +1,6 @@ PORTNAME= xstatic-jsencrypt PORTVERSION= 2.3.1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,8 +13,11 @@ WWW= https://travistidwell.com/jsencrypt/ \ LICENSE= MIT +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/devel/py-xstatic-jsencrypt/files/patch-setup.py b/devel/py-xstatic-jsencrypt/files/patch-setup.py new file mode 100644 index 000000000000..cf8990250771 --- /dev/null +++ b/devel/py-xstatic-jsencrypt/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2016-11-18 08:21:10 UTC ++++ setup.py +@@ -6,7 +6,7 @@ setup( + long_description = open('README.txt').read() + + setup( +- name=xs.PACKAGE_NAME, ++ name='xstatic-jsencrypt', + version=xs.PACKAGE_VERSION, + description=xs.DESCRIPTION, + long_description=long_description,