From nobody Mon Nov 1 13:46:31 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 170871837B7B; Mon, 1 Nov 2021 13:46:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjZ7z0G2xz4kR9; Mon, 1 Nov 2021 13:46:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B29B8126C5; Mon, 1 Nov 2021 13:46:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A1DkVux050292; Mon, 1 Nov 2021 13:46:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1DkVaW050291; Mon, 1 Nov 2021 13:46:31 GMT (envelope-from git) Date: Mon, 1 Nov 2021 13:46:31 GMT Message-Id: <202111011346.1A1DkVaW050291@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 9827b5232597 - main - devel/py-pdm: Update version in setup.py automatically List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9827b5232597a4360b3d53c94d26a64c46e53d25 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9827b5232597a4360b3d53c94d26a64c46e53d25 commit 9827b5232597a4360b3d53c94d26a64c46e53d25 Author: Po-Chuan Hsieh AuthorDate: 2021-11-01 13:25:54 +0000 Commit: Po-Chuan Hsieh 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 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',