git: e5beff6fc2e5 - main - devel/py-pyscaffold: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 18:53:06 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e5beff6fc2e5bd29bd58e2f0baa7cd2aa3cec675 commit e5beff6fc2e5bd29bd58e2f0baa7cd2aa3cec675 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-05 18:39:41 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-05 18:47:16 +0000 devel/py-pyscaffold: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-pyscaffold/Makefile | 6 +++++- devel/py-pyscaffold/files/patch-setup.cfg | 18 ++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/devel/py-pyscaffold/Makefile b/devel/py-pyscaffold/Makefile index a59f7b1900d8..e16c87a9576b 100644 --- a/devel/py-pyscaffold/Makefile +++ b/devel/py-pyscaffold/Makefile @@ -1,5 +1,6 @@ PORTNAME= pyscaffold PORTVERSION= 4.4.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,6 +13,9 @@ WWW= https://github.com/pyscaffold/pyscaffold LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.1.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=5:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configupdater>=3.0<4:devel/py-configupdater@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.7:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2:devel/py-platformdirs@${PY_FLAVOR} \ @@ -19,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configupdater>=3.0<4:devel/py-configupdater@ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.7.0<2:textproc/py-tomlkit@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/devel/py-pyscaffold/files/patch-setup.cfg b/devel/py-pyscaffold/files/patch-setup.cfg index 5610bfaf1084..42d3e89d46c7 100644 --- a/devel/py-pyscaffold/files/patch-setup.cfg +++ b/devel/py-pyscaffold/files/patch-setup.cfg @@ -1,11 +1,9 @@ ---- setup.cfg.orig 2023-01-23 12:13:26 UTC +--- setup.cfg.orig 2023-04-18 16:08:44 UTC +++ setup.cfg -@@ -39,7 +39,7 @@ package_dir = - =src - install_requires = - importlib-metadata; python_version<"3.8" -- platformdirs>=2,<3 -+ platformdirs>=2 - configupdater>=3.0,<4 # pyscaffoldext-custom-extension should have a compatible range - setuptools>=46.1.0 - setuptools_scm>=5 +@@ -1,5 +1,5 @@ + [metadata] +-name = PyScaffold ++name = pyscaffold + description = Template tool for putting up the scaffold of a Python project + author = Florian Wilhelm + author_email = Florian.Wilhelm@gmail.com