git: 2de81fc3b799 - main - devel/py-pdm: Update to 1.9.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 19:21:33 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2de81fc3b79928a9e12e8d076f2ed6f1729884bc

commit 2de81fc3b79928a9e12e8d076f2ed6f1729884bc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-13 19:13:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-13 19:13:47 +0000

    devel/py-pdm: Update to 1.9.0
    
    Changes:        https://github.com/pdm-project/pdm/releases
---
 devel/py-pdm/Makefile       |  9 +++++----
 devel/py-pdm/distinfo       |  6 +++---
 devel/py-pdm/files/setup.py | 10 ++++++----
 3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/devel/py-pdm/Makefile b/devel/py-pdm/Makefile
index 321088dbf356..f86d22bd520c 100644
--- a/devel/py-pdm/Makefile
+++ b/devel/py-pdm/Makefile
@@ -1,8 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	pdm
-PORTVERSION=	1.8.5
-PORTREVISION=	1
+PORTVERSION=	1.9.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +15,8 @@ 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.2.3<0.3:devel/py-installer@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}installer>=0.3.0<0.4: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} \
 		${PYTHON_PKGNAMEPREFIX}pip>=20.1:devel/py-pip@${PY_FLAVOR} \
@@ -35,7 +35,8 @@ NO_ARCH=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 30800
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 .endif
 
 post-patch:
diff --git a/devel/py-pdm/distinfo b/devel/py-pdm/distinfo
index 70ed41632e8a..97383b1002c9 100644
--- a/devel/py-pdm/distinfo
+++ b/devel/py-pdm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632760422
-SHA256 (pdm-1.8.5.tar.gz) = 91c50a792b0af21c6e8b82c344281b4ce7e1f518010c362bee6a4b7434b5b97e
-SIZE (pdm-1.8.5.tar.gz) = 173613
+TIMESTAMP = 1634111758
+SHA256 (pdm-1.9.0.tar.gz) = 4de2f27bdce3a155fd56fb02f1c67d326ee24aa8083d8acaa2868e82d9c01999
+SIZE (pdm-1.9.0.tar.gz) = 174118
diff --git a/devel/py-pdm/files/setup.py b/devel/py-pdm/files/setup.py
index 1b0c05eeb08e..0d06c21d1d48 100644
--- a/devel/py-pdm/files/setup.py
+++ b/devel/py-pdm/files/setup.py
@@ -11,6 +11,8 @@ INSTALL_REQUIRE = [
     'atoml>=1.0.3',
     'click>=7',
     'importlib-metadata; python_version < "3.8"',
+    'installer~=0.3.0',
+    'packaging',
     'pdm-pep517>=0.8.3,<0.9',
     'pep517>=0.11.0',
     'pip>=20.1',
@@ -18,9 +20,9 @@ INSTALL_REQUIRE = [
     'pythonfinder',
     'resolvelib>=0.7.0,<0.8.0',
     'shellingham<2.0.0,>=1.3.2',
-    'wheel<1.0.0,>=0.36.2',
     'tomli>=1.1.0,<2.0.0',
-    'installer~=0.2.3',
+    'typing-extensions; python_version < "3.8"',
+    'wheel<1.0.0,>=0.36.2',
 ]
 ENTRY_POINTS = {
     'console_scripts': [
@@ -30,7 +32,7 @@ ENTRY_POINTS = {
 
 setup_kwargs = {
     'name': 'pdm',
-    'version': '1.8.5',
+    'version': '1.9.0',
     'description': 'Python Development Master',
     'long_description': long_description,
     'license': 'MIT',
@@ -54,7 +56,6 @@ setup_kwargs = {
         'pdm.installers',
         'pdm.models',
         'pdm.models.in_process',
-        'pdm.pep582',
         'pdm.project',
         'pdm.resolver',
     ],
@@ -68,6 +69,7 @@ setup_kwargs = {
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
         'Topic :: Software Development :: Build Tools',
     ],
     'install_requires': INSTALL_REQUIRE,