import of pytz-2004d:
pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.3 or higher. 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). feedback and ok xsa@ alek@
This commit is contained in:
parent
d9536a7ac4
commit
9553517b8d
28
devel/py-tz/Makefile
Normal file
28
devel/py-tz/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/11/11 03:35:42 djm Exp $
|
||||
|
||||
COMMENT= "Python API for dealing with timezones"
|
||||
|
||||
DISTNAME= pytz-2004d
|
||||
PKGNAME= ${DISTNAME:S/^py/py-/}
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://pytz.sourceforge.net/
|
||||
|
||||
MAINTAINER= Damien Miller <djm@openbsd.org>
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
# BSD License
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pytz/}
|
||||
|
||||
do-regress: fake
|
||||
@cd ${WRKSRC}/pytz && ${MAKE_ENV} \
|
||||
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
||||
${MODPY_BIN} ./test_tzinfo.py
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-tz/distinfo
Normal file
3
devel/py-tz/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pytz-2004d.tar.gz) = d338587f503f28aa4ed55ef7558a0f6b
|
||||
RMD160 (pytz-2004d.tar.gz) = 0eac000cd8492e45e1e8314c462eb185beed68f9
|
||||
SHA1 (pytz-2004d.tar.gz) = 4c75d3ae61836580e1b73e79789d71c6f8537c37
|
5
devel/py-tz/pkg/DESCR
Normal file
5
devel/py-tz/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
pytz brings the Olson tz database into Python. This library allows
|
||||
accurate and cross platform timezone calculations using Python 2.3 or
|
||||
higher. 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).
|
1168
devel/py-tz/pkg/PLIST
Normal file
1168
devel/py-tz/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user