mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
devel/py-tzlocal: Update to 5.2
PR: 279848 Reported by: wen@ Approved by: maintainer(timeout, > 40 days )
This commit is contained in:
parent
63a5b43ba6
commit
c6781a8810
2 changed files with 11 additions and 7 deletions
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= tzlocal
|
||||
DISTVERSION= 4.2
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 5.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -12,13 +11,18 @@ WWW= https://github.com/regebro/tzlocal
|
|||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz-deprecation-shim>0:devel/py-pytz-deprecation-shim@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
USE_PYTHON= autoplist pep517 pytest
|
||||
NO_ARCH= yes
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's|64|63|g' ${WRKSRC}/pyproject.toml
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
||||
@cd ${WRKSRC}/test && pytest
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1662211975
|
||||
SHA256 (tzlocal-4.2.tar.gz) = ee5842fa3a795f023514ac2d801c4a81d1743bbe642e3940143326b3a00addd7
|
||||
SIZE (tzlocal-4.2.tar.gz) = 32181
|
||||
TIMESTAMP = 1722555475
|
||||
SHA256 (tzlocal-5.2.tar.gz) = 8d399205578f1a9342816409cc1e46a93ebd5755e39ea2d85334bea911bf0e6e
|
||||
SIZE (tzlocal-5.2.tar.gz) = 30201
|
||||
|
|
Loading…
Add table
Reference in a new issue