git: 5286a7c3ac1c - main - databases/py-geoalchemy2: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:18:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5286a7c3ac1c8a5976dc5dd2eeabc923d79b1e78 commit 5286a7c3ac1c8a5976dc5dd2eeabc923d79b1e78 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-30 07:03:00 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-30 07:03:00 +0000 databases/py-geoalchemy2: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- databases/py-geoalchemy2/Makefile | 7 +++++-- databases/py-geoalchemy2/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/databases/py-geoalchemy2/Makefile b/databases/py-geoalchemy2/Makefile index cd00a00268ba..ca4a01d5322b 100644 --- a/databases/py-geoalchemy2/Makefile +++ b/databases/py-geoalchemy2/Makefile @@ -1,5 +1,6 @@ PORTNAME= geoalchemy2 PORTVERSION= 0.13.3 +PORTREVISION= 1 CATEGORIES= databases geography python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +13,14 @@ WWW= https://github.com/geoalchemy/geoalchemy2 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING.rst -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4:databases/py-sqlalchemy14@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/databases/py-geoalchemy2/files/patch-setup.py b/databases/py-geoalchemy2/files/patch-setup.py new file mode 100644 index 000000000000..2e2e4884c6d2 --- /dev/null +++ b/databases/py-geoalchemy2/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-05-18 09:18:05 UTC ++++ setup.py +@@ -2,7 +2,7 @@ from setuptools import find_namespace_packages + from setuptools import setup + + setup( +- name="GeoAlchemy2", ++ name="geoalchemy2", + use_scm_version=True, + description="Using SQLAlchemy with Spatial Databases", + long_description=open("README.rst", encoding="utf-8").read(),