From nobody Sun Feb 05 15:55:11 2023 X-Original-To: dev-commits-ports-main@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 4P8v9W7372z3kTWZ; Sun, 5 Feb 2023 15:55:11 +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 4P8v9W4SY4z4FSJ; Sun, 5 Feb 2023 15:55:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GUs3/3L3jr6R4caXUUy0wbxCAWBcSJH7sF90usXYqhI=; b=cC9rg+K/EoLb57wUr2kw4BU1SO1jx16jYwNHCOYPmyvTVa8nd/6GoogIB4ZgHfSwLCZjmD 8dxDoBoD5Oh2DCMn2sVm+yOJbjveh3NnRvqIscrTR35fkJgeFx24hDQ/ajVvrc66LTIgcA PFPJtj8/AJw0hkOnh1u0aj30Xlu3ZB4tHP9bVuHEKi7bceVgoS3cfvXWGE8H0GLdWnqTbV qk3AXN/WDaDLxtEgJlRJUG/zVHz6ZNVZPRKoUvgUJKs6FLX3p8NO2iWnPRk2YprNwYYMZG fKlGYPTMz/ZfQOIcxazSVj5d+UNGLqBBy/81BqOq2H/TPPnFTmE4rlRAbmso9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GUs3/3L3jr6R4caXUUy0wbxCAWBcSJH7sF90usXYqhI=; b=IxIto+nmJL+l4kxGc1izlIbo9B63H81AkVhCo4isDwiwPH96UsUWrGtBl+c33fKGXnqwar gXpz1ZFkZHDGURCvyQ1543iIKkJQEzKwW9i5jjN2ea40BmmhFhEwvLy+nR/0AORg+YZCbL rZXfc6qfR2PjZ7SiZz/ipa963HfG5wb+qBjNFBhccoirA+6wd2B/iJfN/vnlEaKdtVeeFQ CTz2SVrfSl1oLB4D+kn8afL8Lgtmygx0rQHw8OFJjMbVtu6bBkTerxkZdwSGwSbL8vvp2p 2tNU+49CWMvq/PEGgK62uwTBabJSnq5AB2IoFhpvLHflpZ503ZdzbCBo9zuaiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675612511; a=rsa-sha256; cv=none; b=HO7iMzGAOSkUlfIAVQ1y6vLyEbnm4npyTyJk+yjS8hn4R/Kl85LAy/L4wBNEQnSRMV14lS AxmNNb7DAhg7aqHyrDep7bIYpwNAqOYnsaE7CRBFwq3cdrzjeTif2EJrimZwaZBv8ZwuSq FxQagjfyKJ9ugbH0FJ2W4pHpIeOwHYQIZanl76kOXqrKEJ1V/MpHh48NfAJH/W6AtUWPPW Uw74w++0cQMmKkV8rHUa6zal192joBrceLNmmkPyXiDQRGDJ3BZ/3B/KEyRckryAniQjGi 4bfUEYh8faQZtkiRnIBZHLgSP2sdzmFwsBpWZ78Lk/V9brduMYnWQtIyG2XEww== 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 4P8v9W3YnSz113g; Sun, 5 Feb 2023 15:55:11 +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 315FtBth030462; Sun, 5 Feb 2023 15:55:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 315FtBQn030461; Sun, 5 Feb 2023 15:55:11 GMT (envelope-from git) Date: Sun, 5 Feb 2023 15:55:11 GMT Message-Id: <202302051555.315FtBQn030461@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: fe8e1e003288 - main - devel/py-pdm: Update to 2.2.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: fe8e1e003288c179cd5ac6ece3604da70578fa66 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe8e1e003288c179cd5ac6ece3604da70578fa66 commit fe8e1e003288c179cd5ac6ece3604da70578fa66 Author: Po-Chuan Hsieh AuthorDate: 2023-02-05 15:18:38 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-05 15:47:57 +0000 devel/py-pdm: Update to 2.2.1 - Allow build with py-installer 0.6.0+ Changes: https://github.com/pdm-project/pdm/releases --- devel/py-pdm/Makefile | 33 +++++++++++++++++++++------------ devel/py-pdm/distinfo | 6 +++--- devel/py-pdm/files/setup.py | 42 +++++++++++++++++++++--------------------- 3 files changed, 45 insertions(+), 36 deletions(-) diff --git a/devel/py-pdm/Makefile b/devel/py-pdm/Makefile index 6f14df17339b..af7c47bb0480 100644 --- a/devel/py-pdm/Makefile +++ b/devel/py-pdm/Makefile @@ -1,5 +1,5 @@ PORTNAME= pdm -PORTVERSION= 1.15.5 +PORTVERSION= 2.2.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,20 +12,22 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=0:devel/py-blinker@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}findpython>=0:devel/py-findpython@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}installer>=0.5.1<0.6:devel/py-installer@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=0.9:devel/py-pdm-pep517@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}CacheControl>=0.12.11:www/py-cachecontrol@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=2022.6.15:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}findpython>=0.2.0:devel/py-findpython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}installer>=0.6<0.7:devel/py-installer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=1.0.0<2.0.0:devel/py-pdm-pep517@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pep517>=0.11.0:devel/py-pep517@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pip>=20.1:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.15:www/py-python-dotenv@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.8<0.9:devel/py-resolvelib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=12.3.0:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shellingham>=1.3.2:devel/py-shellingham@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.8.0<1:textproc/py-tomlkit@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=0.36.2:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}unearth>=0.6.0:devel/py-unearth@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}virtualenv>=20:devel/py-virtualenv@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils @@ -35,12 +37,19 @@ NO_ARCH= yes .include .if ${PYTHON_REL} < 30800 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} .endif post-patch: - @${RM} ${WRKSRC}/pyproject.toml +# @${RM} ${WRKSRC}/pyproject.toml @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py .include diff --git a/devel/py-pdm/distinfo b/devel/py-pdm/distinfo index 04822780fbd5..aba196134b04 100644 --- a/devel/py-pdm/distinfo +++ b/devel/py-pdm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1659161175 -SHA256 (pdm-1.15.5.tar.gz) = ea2372588587f59d1523796bbe4caf0302b0ada94e0b858395dd9213f4066ef2 -SIZE (pdm-1.15.5.tar.gz) = 3258852 +TIMESTAMP = 1675191033 +SHA256 (pdm-2.2.1.tar.gz) = a861d47d57bc6ef9e99edb09abd620955a37b2835019b6a8918beea3b089a3b7 +SIZE (pdm-2.2.1.tar.gz) = 2770967 diff --git a/devel/py-pdm/files/setup.py b/devel/py-pdm/files/setup.py index 37888cfc4548..03a76a3b28f7 100644 --- a/devel/py-pdm/files/setup.py +++ b/devel/py-pdm/files/setup.py @@ -5,24 +5,27 @@ import codecs with codecs.open('README.md', encoding="utf-8") as fp: long_description = fp.read() -INSTALL_REQUIRE = [ +INSTALL_REQUIRES = [ 'blinker', - 'click>=7', - 'findpython', - 'importlib-metadata; python_version < "3.8"', - 'installer>=0.5.1,<0.6', - 'packaging', - 'pdm-pep517>=0.9', + 'cachecontrol>=0.12.11', + 'certifi>=2022.6.15', + 'findpython>=0.2.0', + 'importlib-metadata>=3.6; python_version < "3.10"', + 'installer<0.7,>=0.6', + 'packaging>=20.9', + 'pdm-pep517<2.0.0,>=1.0.0', 'pep517>=0.11.0', - 'pip>=20.1', 'platformdirs', 'python-dotenv>=0.15', - 'resolvelib>=0.8,<0.9', + 'requests-toolbelt', + 'resolvelib<0.9,>=0.8', + 'rich>=12.3.0', 'shellingham>=1.3.2', - 'tomli>=1.1.0', - 'tomlkit>=0.8.0,<1', + 'tomli>=1.1.0; python_version < "3.11"', + 'tomlkit<1,>=0.8.0', 'typing-extensions; python_version < "3.8"', - 'wheel>=0.36.2', + 'unearth>=0.6.0', + 'virtualenv>=20', ] ENTRY_POINTS = { 'console_scripts': [ @@ -33,24 +36,20 @@ ENTRY_POINTS = { setup_kwargs = { 'name': 'pdm', 'version': '%%PORTVERSION%%', - 'description': 'Python Development Master', + 'description': 'A modern Python package and dependency manager supporting the latest PEP standards', 'long_description': long_description, 'license': 'MIT', 'author': '', 'author_email': 'frostming ', 'maintainer': None, 'maintainer_email': None, - 'url': 'https://pdm.fming.dev', + 'url': '', 'packages': [ - 'pdm', - 'pdm._vendor', - 'pdm._vendor.colorama', - 'pdm._vendor.halo', - 'pdm._vendor.log_symbols', - 'pdm._vendor.spinners', 'pdm.builders', 'pdm.cli', 'pdm.cli.commands', + 'pdm.cli.commands.publish', + 'pdm.cli.commands.venv', 'pdm.cli.completions', 'pdm.formats', 'pdm.installers', @@ -60,6 +59,7 @@ setup_kwargs = { 'pdm.project', 'pdm.resolver', ], + 'package_dir': {'': 'src'}, 'package_data': {'': ['*']}, 'long_description_content_type': 'text/markdown', 'keywords': ['packaging', 'dependency', 'workflow'], @@ -71,7 +71,7 @@ setup_kwargs = { 'Programming Language :: Python :: 3.10', 'Topic :: Software Development :: Build Tools', ], - 'install_requires': INSTALL_REQUIRE, + 'install_requires': INSTALL_REQUIRES, 'python_requires': '>=3.7', 'entry_points': ENTRY_POINTS, }