mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
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:
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
|
@ -13,9 +13,11 @@ COMMENT= World Timezone Definitions for Python
|
||||||
|
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
|
|
||||||
USES= python zip
|
USES?= python zip
|
||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist distutils
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|=True|=False|' ${WRKSRC}/${PYSETUP}
|
@${REINPLACE_CMD} -e 's|=True|=False|' ${WRKSRC}/${PYSETUP}
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,7 @@
|
||||||
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= pytz
|
MASTERDIR= ${.CURDIR}/../py-pytz
|
||||||
PORTVERSION= 2016.10
|
|
||||||
PORTEPOCH= 1
|
|
||||||
CATEGORIES= devel python
|
|
||||||
MASTER_SITES= CHEESESHOP
|
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
||||||
|
|
||||||
MAINTAINER= bofh@FreeBSD.org
|
USES= python:3.3+ zip
|
||||||
COMMENT= World Timezone Definitions for Python
|
|
||||||
|
|
||||||
LICENSE= MIT
|
.include "${MASTERDIR}/Makefile"
|
||||||
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>
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
TIMESTAMP = 1488112206
|
|
||||||
SHA256 (pytz-2016.10.tar.bz2) = 7016b2c4fa075c564b81c37a252a5fccf60d8964aa31b7f5eae59aeb594ae02b
|
|
||||||
SIZE (pytz-2016.10.tar.bz2) = 172920
|
|
|
@ -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
|
|
Loading…
Add table
Reference in a new issue