devel/py-platformdirs: Update to 3.5.2

- Remove outdated PYTHON_REL check after lang/python37 removal

Changes:	https://github.com/platformdirs/platformdirs/releases
This commit is contained in:
Po-Chuan Hsieh 2023-06-30 15:03:47 +08:00
parent 2267a5362b
commit fe22f6a5f6
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 6 additions and 12 deletions

View file

@ -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>

View file

@ -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