git: 3cb9ff977c7c - main - devel/py-pyxb-x: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 May 2024 14:18:10 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3cb9ff977c7c141c179cdae759eda05fd3f463d5 commit 3cb9ff977c7c141c179cdae759eda05fd3f463d5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 13:59:57 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 13:59:57 +0000 devel/py-pyxb-x: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-pyxb-x/Makefile | 6 +++++- devel/py-pyxb-x/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/devel/py-pyxb-x/Makefile b/devel/py-pyxb-x/Makefile index c4777aaf2dca..fb51b6eab151 100644 --- a/devel/py-pyxb-x/Makefile +++ b/devel/py-pyxb-x/Makefile @@ -1,5 +1,6 @@ PORTNAME= pyxb-x PORTVERSION= 1.2.6.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +13,11 @@ WWW= https://github.com/renalreg/PyXB-X LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +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-pyxb-x/files/patch-setup.py b/devel/py-pyxb-x/files/patch-setup.py new file mode 100644 index 000000000000..ce0d56b046e7 --- /dev/null +++ b/devel/py-pyxb-x/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-02-22 11:49:22 UTC ++++ setup.py +@@ -87,7 +87,7 @@ setup( + package_data.update(b_data) + + setup( +- name="PyXB-X", ++ name="pyxb-x", + description='PyXB-X ("pixbix") is a pure Python package that generates Python source code for classes that correspond to data structures defined by XMLSchema.', + author="Peter A. Bigot", + author_email="pabigot@users.sourceforge.net",