diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 22:09:34 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 22:09:34 +0800 |
commit | 13ddac7fe4fd92aa0b1f1a4b91d2d12214c789b5 (patch) | |
tree | 6684a5a3a35220d19dcc45d15867f6778e138d5d /textproc/py-markupsafe | |
parent | textproc/py-markuppy: Convert to USE_PYTHON=pep517 (diff) |
textproc/py-markupsafe: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
Diffstat (limited to 'textproc/py-markupsafe')
-rw-r--r-- | textproc/py-markupsafe/Makefile | 6 | ||||
-rw-r--r-- | textproc/py-markupsafe/files/patch-setup.py | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/textproc/py-markupsafe/Makefile b/textproc/py-markupsafe/Makefile index 17dbdfdd7037..7d5e4f199ed6 100644 --- a/textproc/py-markupsafe/Makefile +++ b/textproc/py-markupsafe/Makefile @@ -1,5 +1,6 @@ PORTNAME= markupsafe PORTVERSION= 2.1.5 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +13,11 @@ WWW= https://github.com/pallets/markupsafe LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst +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 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + diff --git a/textproc/py-markupsafe/files/patch-setup.py b/textproc/py-markupsafe/files/patch-setup.py new file mode 100644 index 000000000000..7f80db046e9c --- /dev/null +++ b/textproc/py-markupsafe/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-02-02 16:03:42 UTC ++++ setup.py +@@ -39,7 +39,7 @@ def run_setup(with_binary): + + def run_setup(with_binary): + setup( +- name="MarkupSafe", ++ name="markupsafe", + cmdclass={"build_ext": ve_build_ext}, + ext_modules=ext_modules if with_binary else [], + ) |