summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2017-08-14 12:56:18 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2017-08-14 12:56:18 +0000
commit0717612c13112d7ec71f31987d1340a96660e81f (patch)
treede2feed25ccf17983f77e3c02475c5f37a5480a4
parentUpgrade to 0.0.11 (diff)
Make devel/py3-pytz a slave port of devel/py-pytz
PR: 221277 Submitted by: rsmith@xs4all.nl Approved by: bofh (maintainer of devel/py3-pytz)
Notes
Notes: svn path=/head/; revision=447934
-rw-r--r--devel/py-pytz/Makefile4
-rw-r--r--devel/py3-pytz/Makefile23
-rw-r--r--devel/py3-pytz/distinfo3
-rw-r--r--devel/py3-pytz/pkg-descr6
4 files changed, 6 insertions, 30 deletions
diff --git a/devel/py-pytz/Makefile b/devel/py-pytz/Makefile
index ebd3fb647a1e..55e46db960cd 100644
--- a/devel/py-pytz/Makefile
+++ b/devel/py-pytz/Makefile
@@ -13,9 +13,11 @@ COMMENT= World Timezone Definitions for Python
LICENSE= MIT
-USES= python zip
+USES?= python zip
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
post-patch:
@${REINPLACE_CMD} -e 's|=True|=False|' ${WRKSRC}/${PYSETUP}
diff --git a/devel/py3-pytz/Makefile b/devel/py3-pytz/Makefile
index 703bdac96e6c..a8a1335dd2c4 100644
--- a/devel/py3-pytz/Makefile
+++ b/devel/py3-pytz/Makefile
@@ -1,24 +1,7 @@
-# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
# $FreeBSD$
-PORTNAME= pytz
-PORTVERSION= 2016.10
-PORTEPOCH= 1
-CATEGORIES= devel python
-MASTER_SITES= CHEESESHOP
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+MASTERDIR= ${.CURDIR}/../py-pytz
-MAINTAINER= bofh@FreeBSD.org
-COMMENT= World Timezone Definitions for Python
+USES= python:3.3+ zip
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-
-USES= python:3.3+ tar:bzip2
-USE_PYTHON= autoplist distutils
-NO_ARCH= yes
-
-post-patch:
- @${REINPLACE_CMD} -e 's|=True|=False|' ${WRKSRC}/${PYSETUP}
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/py3-pytz/distinfo b/devel/py3-pytz/distinfo
deleted file mode 100644
index bd98f7932111..000000000000
--- a/devel/py3-pytz/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1488112206
-SHA256 (pytz-2016.10.tar.bz2) = 7016b2c4fa075c564b81c37a252a5fccf60d8964aa31b7f5eae59aeb594ae02b
-SIZE (pytz-2016.10.tar.bz2) = 172920
diff --git a/devel/py3-pytz/pkg-descr b/devel/py3-pytz/pkg-descr
deleted file mode 100644
index f9716e76d24e..000000000000
--- a/devel/py3-pytz/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-pytz brings the Olson tz database into Python. This library allows accurate and
-cross platform timezone calculations. It also solves the issue of ambiguous
-times at the end of daylight savings, which you can read more about in the
-Python Library Reference (datetime.tzinfo).
-
-WWW: http://pytz.sourceforge.net