From owner-svn-ports-head@FreeBSD.ORG Sun Aug 3 11:28:45 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 25ABDA3A for ; Sun, 3 Aug 2014 11:28:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD10620FB for ; Sun, 3 Aug 2014 11:28:44 +0000 (UTC) Received: from wg (uid 1317) (envelope-from wg@svn.freebsd.org) id 5b19 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Sun, 03 Aug 2014 11:28:44 +0000 From: William Grzybowski Date: Sun, 3 Aug 2014 11:28:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363877 - in head/devel: . py-tzlocal X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53de1cec.5b19.2fdcfde3@svn.freebsd.org> X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 11:28:45 -0000 Author: wg Date: Sun Aug 3 11:28:43 2014 New Revision: 363877 URL: http://svnweb.freebsd.org/changeset/ports/363877 QAT: https://qat.redports.org/buildarchive/r363877/ Log: devel/py-tzlocal 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 PR: 191659 Submitted by: melvyn magemana nl Added: head/devel/py-tzlocal/ head/devel/py-tzlocal/Makefile (contents, props changed) head/devel/py-tzlocal/distinfo (contents, props changed) head/devel/py-tzlocal/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Aug 3 11:25:54 2014 (r363876) +++ head/devel/Makefile Sun Aug 3 11:28:43 2014 (r363877) @@ -3912,6 +3912,7 @@ SUBDIR += py-twistedCore SUBDIR += py-twistedFlow SUBDIR += py-twistedRunner + SUBDIR += py-tzlocal SUBDIR += py-ua_parser SUBDIR += py-ujson SUBDIR += py-uncompyle2 Added: head/devel/py-tzlocal/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-tzlocal/Makefile Sun Aug 3 11:28:43 2014 (r363877) @@ -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 + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + +.if !empty(PORT_OPTIONS:MTEST) +pre-install: regression-test +.endif + +.include Added: head/devel/py-tzlocal/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-tzlocal/distinfo Sun Aug 3 11:28:43 2014 (r363877) @@ -0,0 +1,2 @@ +SHA256 (tzlocal-1.1.1.zip) = 696bfd8d7c888de039af6c6fdf86fd52e32508277d89c75d200eb2c150487ed4 +SIZE (tzlocal-1.1.1.zip) = 21921 Added: head/devel/py-tzlocal/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-tzlocal/pkg-descr Sun Aug 3 11:28:43 2014 (r363877) @@ -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