git: 9e71843145bf - main - science/py-pygeodesy: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 May 2024 14:22:40 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e71843145bfe9da5e4beef7db445ce59a62419e commit 9e71843145bfe9da5e4beef7db445ce59a62419e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 14:06:57 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 14:06:57 +0000 science/py-pygeodesy: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- science/py-pygeodesy/Makefile | 6 +++++- science/py-pygeodesy/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/science/py-pygeodesy/Makefile b/science/py-pygeodesy/Makefile index 433427bb4d21..38999bdbee9d 100644 --- a/science/py-pygeodesy/Makefile +++ b/science/py-pygeodesy/Makefile @@ -1,5 +1,6 @@ PORTNAME= pygeodesy PORTVERSION= 23.4.23 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= PYPI \ https://github.com/mrJean1/PyGeodesy/raw/master/dist/ @@ -12,8 +13,11 @@ WWW= https://github.com/mrJean1/PyGeodesy LICENSE= MIT +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python:3.9+ zip -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/science/py-pygeodesy/files/patch-setup.py b/science/py-pygeodesy/files/patch-setup.py new file mode 100644 index 000000000000..456f14fdfa45 --- /dev/null +++ b/science/py-pygeodesy/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-04-01 06:02:24 UTC ++++ setup.py +@@ -104,7 +104,7 @@ _KeyWords = ('AER', 'Albers', 'altitude', 'Andoyer', ' + 'Web-Mercator', 'Welford', 'WGRS', 'WGS', 'Whyatt', 'Wildberger', 'Witkam', 'winding-number', + 'XYZ', 'yaw', 'You') + +-setup(name='PyGeodesy', ++setup(name='pygeodesy', + packages=['pygeodesy', 'pygeodesy.deprecated', 'pygeodesy.geodesicx'], + description='Pure Python geodesy tools', + version=_version(),