Date: Mon, 1 Nov 2021 13:46:31 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9827b5232597 - main - devel/py-pdm: Update version in setup.py automatically Message-ID: <202111011346.1A1DkVaW050291@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9827b5232597a4360b3d53c94d26a64c46e53d25 commit 9827b5232597a4360b3d53c94d26a64c46e53d25 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-11-01 13:25:54 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-11-01 13:41:43 +0000 devel/py-pdm: Update version in setup.py automatically --- devel/py-pdm/Makefile | 4 ++-- devel/py-pdm/files/setup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/devel/py-pdm/Makefile b/devel/py-pdm/Makefile index f86d22bd520c..fb1dc7cea28e 100644 --- a/devel/py-pdm/Makefile +++ b/devel/py-pdm/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}atoml>=1.0.3:textproc/py-atoml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}installer>=0.3.0<0.4:devel/py-installer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}installer>=0.3.0<0.5:devel/py-installer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=0.8.3<0.9:devel/py-pdm-pep517@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pep517>=0.11.0:devel/py-pep517@${PY_FLAVOR} \ @@ -40,6 +40,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-me .endif post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py .include <bsd.port.post.mk> diff --git a/devel/py-pdm/files/setup.py b/devel/py-pdm/files/setup.py index 0d06c21d1d48..883f78dd0967 100644 --- a/devel/py-pdm/files/setup.py +++ b/devel/py-pdm/files/setup.py @@ -11,7 +11,7 @@ INSTALL_REQUIRE = [ 'atoml>=1.0.3', 'click>=7', 'importlib-metadata; python_version < "3.8"', - 'installer~=0.3.0', + 'installer>=0.3.0,<0.5', 'packaging', 'pdm-pep517>=0.8.3,<0.9', 'pep517>=0.11.0', @@ -32,7 +32,7 @@ ENTRY_POINTS = { setup_kwargs = { 'name': 'pdm', - 'version': '1.9.0', + 'version': '%%PORTVERSION%%', 'description': 'Python Development Master', 'long_description': long_description, 'license': 'MIT',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111011346.1A1DkVaW050291>