Hi, Here is a revised patch for devel/py-tz, changes from last patch: 1) update HOMEPAGE 2)update LICENSE, now is MIT 3) use PERMIT_PACKAGE 4) More ports tested, no more tests failed because of this update: databases/py-influxdb graphics/py-matplotlib math/py-pandas security/plaso security/py-cryptography textproc/py-pyRFC3339 www/py-django
Comments? OK? wen ________________________________ 发件人: Stuart Henderson <s...@spacehopper.org> 发送时间: 2019年6月11日 18:31 收件人: Kurt Mosiejczuk 抄送: wen heping; ports@openbsd.org 主题: Re: devel/py-tz: Update to 2019.1 On 2019/06/11 00:12, Kurt Mosiejczuk wrote: > On Tue, Jun 11, 2019 at 03:28:32AM +0000, wen heping wrote: > > Hi, ports@: > > > Here is a patch to update devel/py-tz to 2019.1, it build and test well > > on my amd64 system, with both python2 and python3 flavors. > > Many ports depends on pytz, I have tested some of it, include: > > astro/py-astral > > math/py-numpy > > devel/py-babel > > devel/py-tzlocal > > The patch does not cause run error or new tests fail. > > > Comments? OK ? > > > HOMEPAGE = http://pytz.sourceforge.net/ > > There's a new homepage linked from its pypi page. It's also https. It > should be switched to that. > > The PERMIT_PACKAGE_CDROM should get switched to the new PERMIT_PACKAGE > also. > > That list of consumers is a lot smaller than the full list. I'd usually > try and at least get a greater percentage of the TEST_DEPENDS consumers. > Perhaps at least py-django/stable and py-django/lts since you were just > also working with those? > > With the updated HOMEPAGE and some more testing, I think this looks good. > But I'd really like tests on more than 4 of 20 TEST_DEPENDS consumers. > > --Kurt > Often py-tz updates are just updating the tzdata files and dep testing isn't really needed, though I think this time a bit more testing than usual probably is warranted as there's a new error condition + if zone is None: + raise UnknownTimeZoneError(None)
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/py-tz/Makefile,v retrieving revision 1.50 diff -u -p -r1.50 Makefile --- Makefile 13 May 2019 18:06:44 -0000 1.50 +++ Makefile 12 Jun 2019 09:32:27 -0000 @@ -2,16 +2,15 @@ COMMENT = Python API for dealing with timezones -MODPY_EGG_VERSION = 2018.7 +MODPY_EGG_VERSION = 2019.1 DISTNAME = pytz-${MODPY_EGG_VERSION} PKGNAME = ${DISTNAME:S/^py/py-/} CATEGORIES = devel -REVISION = 1 -HOMEPAGE = http://pytz.sourceforge.net/ +HOMEPAGE = https://pythonhosted.org/pytz/ -# BSD -PERMIT_PACKAGE_CDROM = Yes +# MIT +PERMIT_PACKAGE = Yes MODULES = lang/python Index: distinfo =================================================================== RCS file: /cvs/ports/devel/py-tz/distinfo,v retrieving revision 1.29 diff -u -p -r1.29 distinfo --- distinfo 12 Nov 2018 19:39:12 -0000 1.29 +++ distinfo 12 Jun 2019 09:32:27 -0000 @@ -1,2 +1,2 @@ -SHA256 (pytz-2018.7.tar.gz) = Mcs1yJvX0zPNMsXyePypG1I7CDQ2nnV/TFZB6iUiNso= -SIZE (pytz-2018.7.tar.gz) = 300745 +SHA256 (pytz-2019.1.tar.gz) = 10fdPSPXfvRMajUm4nSvbv6wpvGv1aabpNW+QJjI4UE= +SIZE (pytz-2019.1.tar.gz) = 308148 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/py-tz/pkg/PLIST,v retrieving revision 1.24 diff -u -p -r1.24 PLIST --- pkg/PLIST 23 Feb 2018 16:57:22 -0000 1.24 +++ pkg/PLIST 12 Jun 2019 09:32:28 -0000 @@ -330,6 +330,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/pytz/zoneinfo/Asia/Pontianak lib/python${MODPY_VERSION}/site-packages/pytz/zoneinfo/Asia/Pyongyang lib/python${MODPY_VERSION}/site-packages/pytz/zoneinfo/Asia/Qatar +lib/python${MODPY_VERSION}/site-packages/pytz/zoneinfo/Asia/Qostanay lib/python${MODPY_VERSION}/site-packages/pytz/zoneinfo/Asia/Qyzylorda lib/python${MODPY_VERSION}/site-packages/pytz/zoneinfo/Asia/Rangoon lib/python${MODPY_VERSION}/site-packages/pytz/zoneinfo/Asia/Riyadh