1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

science/py-pygeodesy: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-05-13 22:06:57 +08:00
parent f0e5beeb6a
commit 9e71843145
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 16 additions and 1 deletions

View File

@ -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

View File

@ -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(),