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)
This commit is contained in:
Li-Wen Hsu 2017-08-14 12:56:18 +00:00
parent 8e3610d961
commit 0717612c13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447934
4 changed files with 6 additions and 30 deletions

View file

@ -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}

View file

@ -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"

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1488112206
SHA256 (pytz-2016.10.tar.bz2) = 7016b2c4fa075c564b81c37a252a5fccf60d8964aa31b7f5eae59aeb594ae02b
SIZE (pytz-2016.10.tar.bz2) = 172920

View file

@ -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