aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-26 01:11:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-26 01:11:19 +0800
commite0f9298220a7a038964e79bba12a233def2693cc (patch)
treee9d8795a57e6e2dfd3a8d55742b0042c94f3d90b
parentec7d1f678c845a3d25d6f4a1e6038a9ff66df33c (diff)
downloadfreebsd-ports-gnome-e0f9298220a7a038964e79bba12a233def2693cc.tar.gz
freebsd-ports-gnome-e0f9298220a7a038964e79bba12a233def2693cc.tar.zst
freebsd-ports-gnome-e0f9298220a7a038964e79bba12a233def2693cc.zip
- Update to 1.2.2
- Pass maintainership to submitter - While here, switch to new test framework, add NO_ARCH and LICENSE_FILE PR: 209751 Submitted by: rob.kruus@gmail.com
-rw-r--r--devel/py-tzlocal/Makefile20
-rw-r--r--devel/py-tzlocal/distinfo5
2 files changed, 9 insertions, 16 deletions
diff --git a/devel/py-tzlocal/Makefile b/devel/py-tzlocal/Makefile
index 35dbd18846bf..8d94da92bd63 100644
--- a/devel/py-tzlocal/Makefile
+++ b/devel/py-tzlocal/Makefile
@@ -1,32 +1,24 @@
# $FreeBSD$
PORTNAME= tzlocal
-PORTVERSION= 1.1.1
+PORTVERSION= 1.2.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= rob.kruus@gmail.com
COMMENT= Returns the tzinfo object for the local timezone
LICENSE= CC0-1.0
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz
-OPTIONS_DEFINE= TEST
-OPTIONS_DEFAULT= TEST
-TEST_DESC= Run test suite
-
-USES= python zip
+USES= python
USE_PYTHON= distutils autoplist
+NO_ARCH= yes
-.include <bsd.port.options.mk>
-
-regression-test: build
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
-.if !empty(PORT_OPTIONS:MTEST)
-pre-install: regression-test
-.endif
-
.include <bsd.port.mk>
diff --git a/devel/py-tzlocal/distinfo b/devel/py-tzlocal/distinfo
index 44922c86dd44..218022d3d0b9 100644
--- a/devel/py-tzlocal/distinfo
+++ b/devel/py-tzlocal/distinfo
@@ -1,2 +1,3 @@
-SHA256 (tzlocal-1.1.1.zip) = 696bfd8d7c888de039af6c6fdf86fd52e32508277d89c75d200eb2c150487ed4
-SIZE (tzlocal-1.1.1.zip) = 21921
+TIMESTAMP = 1464188909
+SHA256 (tzlocal-1.2.2.tar.gz) = cbbaa4e9d25c36386f12af9febe315139fdd39317b91abcb42d782a5e93e525d
+SIZE (tzlocal-1.2.2.tar.gz) = 18198