git: b23b7beab792 - main - devel/py-pyscaffold: Allow build with py-platformdirs 3.*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 13:41:12 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b23b7beab79262ffa0fe9c1221e8fe1eb82ed2f5 commit b23b7beab79262ffa0fe9c1221e8fe1eb82ed2f5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-09 13:31:25 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-09 13:36:52 +0000 devel/py-pyscaffold: Allow build with py-platformdirs 3.* - Bump PORTREVISION for package change --- devel/py-pyscaffold/Makefile | 3 ++- devel/py-pyscaffold/files/patch-setup.cfg | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/devel/py-pyscaffold/Makefile b/devel/py-pyscaffold/Makefile index 12d93b70f098..e18f8ed4a66f 100644 --- a/devel/py-pyscaffold/Makefile +++ b/devel/py-pyscaffold/Makefile @@ -1,5 +1,6 @@ PORTNAME= pyscaffold PORTVERSION= 4.4 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt 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<3:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=2:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=5:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.7.0<2:textproc/py-tomlkit@${PY_FLAVOR} diff --git a/devel/py-pyscaffold/files/patch-setup.cfg b/devel/py-pyscaffold/files/patch-setup.cfg new file mode 100644 index 000000000000..5610bfaf1084 --- /dev/null +++ b/devel/py-pyscaffold/files/patch-setup.cfg @@ -0,0 +1,11 @@ +--- setup.cfg.orig 2023-01-23 12:13:26 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