git: fe22f6a5f6bf - main - devel/py-platformdirs: Update to 3.5.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:20:01 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fe22f6a5f6bfd2f879e9e7ee9abd8868e96f4f63
commit fe22f6a5f6bfd2f879e9e7ee9abd8868e96f4f63
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:03:47 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:03:47 +0000
devel/py-platformdirs: Update to 3.5.2
- Remove outdated PYTHON_REL check after lang/python37 removal
Changes: https://github.com/platformdirs/platformdirs/releases
---
devel/py-platformdirs/Makefile | 12 +++---------
devel/py-platformdirs/distinfo | 6 +++---
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/devel/py-platformdirs/Makefile b/devel/py-platformdirs/Makefile
index 47e205f205f8..6219501a6be5 100644
--- a/devel/py-platformdirs/Makefile
+++ b/devel/py-platformdirs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= platformdirs
-PORTVERSION= 3.5.1
+PORTVERSION= 3.5.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,20 +12,14 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}hatchling>=1.14.1:devel/py-hatchling@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.17:devel/py-hatchling@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30800
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4:devel/py-typing-extensions@${PY_FLAVOR}
-.endif
-
post-patch:
@${RM} ${WRKSRC}/src/platformdirs/__init__.py.orig
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-platformdirs/distinfo b/devel/py-platformdirs/distinfo
index 842bd71e727f..d5e2bfe46ff8 100644
--- a/devel/py-platformdirs/distinfo
+++ b/devel/py-platformdirs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685792276
-SHA256 (platformdirs-3.5.1.tar.gz) = 412dae91f52a6f84830f39a8078cecd0e866cb72294a5c66808e74d5e88d251f
-SIZE (platformdirs-3.5.1.tar.gz) = 17164
+TIMESTAMP = 1686496758
+SHA256 (platformdirs-3.5.2.tar.gz) = f56f8067f85988d619f174a3c9dbb2c3c730c03edfd9dc10cb55a7de3498dd81
+SIZE (platformdirs-3.5.2.tar.gz) = 17775