FreeBSD Bugzilla – Attachment 144456 Details for
Bug 191659
[New port]: devel/py-tzlocal: tzinfo object for local timezone
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add-py-tzlocal-1.1.1.patch
add-py-tzlocal-1.1.1.patch (text/plain), 2.14 KB, created by
Melvyn Sopacua
on 2014-07-06 13:04:28 UTC
(
hide
)
Description:
add-py-tzlocal-1.1.1.patch
Filename:
MIME Type:
Creator:
Melvyn Sopacua
Created:
2014-07-06 13:04:28 UTC
Size:
2.14 KB
patch
obsolete
>diff -r b5e3d6ae3271 -r 7bb2448e176b devel/Makefile >--- a/devel/Makefile Sun Jun 22 17:56:13 2014 +0200 >+++ b/devel/Makefile Sun Jun 22 19:38:23 2014 +0200 >@@ -3896,6 +3896,7 @@ > SUBDIR += py-twistedCore > SUBDIR += py-twistedFlow > SUBDIR += py-twistedRunner >+ SUBDIR += py-tzlocal > SUBDIR += py-ua_parser > SUBDIR += py-ujson > SUBDIR += py-uncompyle2 >diff -r b5e3d6ae3271 devel/py-tzlocal/Makefile >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/devel/py-tzlocal/Makefile Sun Jul 06 14:45:27 2014 +0200 >@@ -0,0 +1,34 @@ >+# $FreeBSD$ >+ >+PORTNAME= tzlocal >+PORTVERSION= 1.1.1 >+CATEGORIES= devel python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= melvyn@magemana.nl >+COMMENT= Returns the tzinfo object for the local timezone >+ >+LICENSE= CC0-1.0 >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz >+ >+OPTIONS_DEFINE= TEST >+OPTIONS_DEFAULT= TEST >+TEST_DESC= Run test suite >+ >+USES= zip >+USE_PYTHON= yes >+USE_PYDISTUTILS= yes >+PYDISTUTILS_AUTOPLIST= yes >+ >+.include <bsd.port.options.mk> >+ >+regression-test: build >+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test >+ >+.if !empty(PORT_OPTIONS:MTEST) >+pre-install: regression-test >+.endif >+ >+.include <bsd.port.mk> >diff -r b5e3d6ae3271 devel/py-tzlocal/distinfo >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/devel/py-tzlocal/distinfo Sun Jul 06 14:45:27 2014 +0200 >@@ -0,0 +1,2 @@ >+SHA256 (tzlocal-1.1.1.zip) = 696bfd8d7c888de039af6c6fdf86fd52e32508277d89c75d200eb2c150487ed4 >+SIZE (tzlocal-1.1.1.zip) = 21921 >diff -r b5e3d6ae3271 devel/py-tzlocal/pkg-descr >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/devel/py-tzlocal/pkg-descr Sun Jul 06 14:45:27 2014 +0200 >@@ -0,0 +1,10 @@ >+This Python module returns a tzinfo object with the local timezone >+information under Unix and Win-32. It requires pytz, and returns pytz >+tzinfo objects. >+ >+This module attempts to fix a glaring hole in pytz, that there is no way >+to get the local timezone information, unless you know the zoneinfo >+name, and under several Linux distros that's hard or impossible to >+figure out. >+ >+WWW: https://pypi.python.org/pypi/tzlocal/ >--- add-py-tzlocal-1.1.1.patch ends here ---
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191659
: 144456