aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-04 21:26:04 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-04 21:30:13 +0000
commit189c1fb3a818e1b3012aef7b832f7a8af8963709 (patch)
treea0407635f8d2e43594a0b70b93e574b9e5b464e8
parent8a28c825d5b9fc0304b16fdb5e59dae176790ce0 (diff)
downloadports-189c1fb3a818e1b3012aef7b832f7a8af8963709.tar.gz
ports-189c1fb3a818e1b3012aef7b832f7a8af8963709.zip
devel/py-pdm: Update to 2.9.1
- Remove TRUSTSTORE option Changes: https://github.com/pdm-project/pdm/releases
-rw-r--r--devel/py-pdm/Makefile12
-rw-r--r--devel/py-pdm/distinfo6
-rw-r--r--devel/py-pdm/files/patch-pyproject.toml11
3 files changed, 9 insertions, 20 deletions
diff --git a/devel/py-pdm/Makefile b/devel/py-pdm/Makefile
index 78b595f069e3..689d0be6a254 100644
--- a/devel/py-pdm/Makefile
+++ b/devel/py-pdm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pdm
-PORTVERSION= 2.8.2
+PORTVERSION= 2.9.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=0:devel/py-blinker@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}cachecontrol>=0.12.0:www/py-cachecontrol@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cachecontrol>=0.13.0:www/py-cachecontrol@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}findpython>=0.3.0<1.0.0:devel/py-findpython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}installer>=0.7<0.8:devel/py-installer@${PY_FLAVOR} \
@@ -35,17 +35,15 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-OPTIONS_DEFINE= COOKIECUTTER COPIER KEYRING TRUSTSTORE
+OPTIONS_DEFINE= COOKIECUTTER COPIER KEYRING
OPTIONS_DEFAULT=KEYRING
COOKIECUTTER_DESC= Use cookiecutter to generate project
COPIER_DESC= Use copier to generate project
KEYRING_DESC= Use keyring to save credentials
-TRUSTSTORE_DESC= Use truststore as the SSL backend (Python 3.10+)
COOKIECUTTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cookiecutter>=0:devel/py-cookiecutter@${PY_FLAVOR} \
-COPIER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}copier>=0:devel/py-copier@${PY_FLAVOR} \
+COPIER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}copier>=8.0.0:devel/py-copier@${PY_FLAVOR} \
KEYRING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyring>=0,1:security/py-keyring@${PY_FLAVOR} \
-TRUSTSTORE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}truststore>=0:security/py-truststore@${PY_FLAVOR}
.include <bsd.port.pre.mk>
@@ -55,6 +53,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=5:devel/py-importlib-r
.if ${PYTHON_REL} < 31000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}truststore>=0:security/py-truststore@${PY_FLAVOR}
.endif
.if ${PYTHON_REL} < 31100
diff --git a/devel/py-pdm/distinfo b/devel/py-pdm/distinfo
index 4ade0cda9996..a76a71d1f838 100644
--- a/devel/py-pdm/distinfo
+++ b/devel/py-pdm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1691070082
-SHA256 (pdm-2.8.2.tar.gz) = b948d00bf620682b0ac4c80d228cb305a2b0150e497ee6931da30e3cc305bfdc
-SIZE (pdm-2.8.2.tar.gz) = 3014401
+TIMESTAMP = 1693823899
+SHA256 (pdm-2.9.1.tar.gz) = fc8014dd2ffb727179a8ec0243cfac9ed3a9dc45348be1d7f97d1f290ad60fcb
+SIZE (pdm-2.9.1.tar.gz) = 3017895
diff --git a/devel/py-pdm/files/patch-pyproject.toml b/devel/py-pdm/files/patch-pyproject.toml
deleted file mode 100644
index b91c5adb5c82..000000000000
--- a/devel/py-pdm/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
---- pyproject.toml.orig 2023-06-06 03:56:08 UTC
-+++ pyproject.toml
-@@ -22,7 +22,7 @@ dependencies = [
- "python-dotenv>=0.15",
- "resolvelib>=1.0.1",
- "installer<0.8,>=0.7",
-- "cachecontrol[filecache]>=0.13.0",
-+ "cachecontrol[filecache]>=0.12.0",
- "tomli>=1.1.0; python_version < \"3.11\"",
- "importlib-metadata>=3.6; python_version < \"3.10\"",
- ]