Date: Thu, 1 Aug 2024 23:45:15 GMT From: Wen Heping <wen@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c6781a881092 - main - devel/py-tzlocal: Update to 5.2 Message-ID: <202408012345.471NjFhF063553@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=c6781a88109218f876d46e9ce9ab0b3c02d3c7c6 commit c6781a88109218f876d46e9ce9ab0b3c02d3c7c6 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2024-08-01 23:43:06 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2024-08-01 23:44:50 +0000 devel/py-tzlocal: Update to 5.2 PR: 279848 Reported by: wen@ Approved by: maintainer(timeout, > 40 days ) --- devel/py-tzlocal/Makefile | 12 ++++++++---- devel/py-tzlocal/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/devel/py-tzlocal/Makefile b/devel/py-tzlocal/Makefile index 3215358e2ae4..da63e08cbc45 100644 --- a/devel/py-tzlocal/Makefile +++ b/devel/py-tzlocal/Makefile @@ -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> diff --git a/devel/py-tzlocal/distinfo b/devel/py-tzlocal/distinfo index 1c14c19783e8..1b283b9f479e 100644 --- a/devel/py-tzlocal/distinfo +++ b/devel/py-tzlocal/distinfo @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408012345.471NjFhF063553>