diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/pytz | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/pytz')
-rw-r--r-- | dev-python/pytz/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pytz/files/pytz-2009h-zoneinfo-noinstall.patch | 32 | ||||
-rw-r--r-- | dev-python/pytz/files/pytz-2009j-zoneinfo.patch | 14 | ||||
-rw-r--r-- | dev-python/pytz/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2013d.ebuild | 33 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2014.10.ebuild | 31 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2014.9.ebuild | 31 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2015.2.ebuild | 31 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2015.4.ebuild | 34 |
9 files changed, 227 insertions, 0 deletions
diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest new file mode 100644 index 000000000000..e785fb2ce5d7 --- /dev/null +++ b/dev-python/pytz/Manifest @@ -0,0 +1,5 @@ +DIST pytz-2013d.tar.bz2 204865 SHA256 2407e5b3d69c87915e7b3d86746ca3909153ddee82899b8f5cb70a4fd31b715e SHA512 fc687a2040c40d20cab974b11d18446c761504c3faf81caf0853149fd257aa939e5feb2367006463d443659b4ea7c5a7ef409f9b10329211eb920011ddb8c64f WHIRLPOOL d7411701850a27975b645bce2dcfb4bcfaeef85f12d82a0826372def35ec2495aa06cbdd774efc533114793b09442501f50bea30633a95d85dccff990ae29aea +DIST pytz-2014.10.tar.bz2 166213 SHA256 387f968fde793b142865802916561839f5591d8b4b14c941125eb0fca7e4e58d SHA512 870ab2dd4e7ebd0e5eb22fe888978f17678ba4ae72aca5106ca5a5fbdb6c4204de18ccbe27124a9f252546b030872d070c016350602aa5f7d1b68c43fa5367ec WHIRLPOOL d1f9cc2a1fcf67d22cad7e61d7634dd5d1c575bc47d72159a5394cdc9804c144093a516b3b8e90d685f4f9a469eb7e4bae3909ea8dcf839369cb3f1454919081 +DIST pytz-2014.9.tar.bz2 166230 SHA256 4ba0ab74fa7f34f77ff236ee2157454d1c2aaeaaa25932363bfa1be6cb82dbd6 SHA512 4034a33489be3059530d8ddbbba283da117b692a7ca2975835e5626d1c79be7317bade911b52f981b1bd94ec3ea15b0db1bb4adb4c3810af7ad66e15dec1313d WHIRLPOOL b0af01986dee4a1beeb957fb662f9ece373d3d0d033c3c2a78ec49b01e2d05aa596110460231913a8d6b2a3496a90be98041bc2fa7ce6ded32cf7c62340f0783 +DIST pytz-2015.2.tar.bz2 166796 SHA256 3e15b416c9a2039c1a51208b2cd3bb4ffd796cd19e601b1d2657afcb77c3dc90 SHA512 43c03c99e0f0482053174e94ab0cb6d22c65b0af416cfdc28e39a12145c62d751722befedd98395c235566d3deecf8b5aad96c73c4661d994da598213d99855e WHIRLPOOL 483d9daacda16acfb3149c8a73f21241a27d0b32b312b8dbc4af84d08153ce04e2ff169cb8abc61b5381eac2cab68ce4d0083a81827c14f8e17b970ac3b248d9 +DIST pytz-2015.4.tar.bz2 157361 SHA256 a78b484d5472dd8c688f8b3eee18646a25c66ce45b2c26652850f6af9ce52b17 SHA512 ade31780d5d91cb519e69b38f8828e1cf94b5b388a3efd80db42b7a5e5603f43f5726f7aecfd08c78d3637a3017910f3ed1a7727ec291f6579a41882c6289ca4 WHIRLPOOL 7804617d21de5e6212ccc1f17651c8e76a94374af22f542cd6eb54fc6951d0b6ec42cd7623162074994573b6bba492d92397a584277b423742c15b68cb930ae7 diff --git a/dev-python/pytz/files/pytz-2009h-zoneinfo-noinstall.patch b/dev-python/pytz/files/pytz-2009h-zoneinfo-noinstall.patch new file mode 100644 index 000000000000..2e9709579883 --- /dev/null +++ b/dev-python/pytz/files/pytz-2009h-zoneinfo-noinstall.patch @@ -0,0 +1,32 @@ +From e43745593e4627de8027587cb3b4a465c93fa0b1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Wed, 19 Dec 2012 19:22:29 +0100 +Subject: [PATCH] Do not install zoneinfo files. + +--- + setup.py | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/setup.py b/setup.py +index c8152d5..8f13279 100644 +--- a/setup.py ++++ b/setup.py +@@ -13,15 +13,8 @@ me = 'Stuart Bishop' + memail = 'stuart@stuartbishop.net' + packages = ['pytz'] + resources = ['zone.tab', 'locales/pytz.pot'] +-for dirpath, dirnames, filenames in os.walk(os.path.join('pytz', 'zoneinfo')): +- # remove the 'pytz' part of the path +- basepath = dirpath.split(os.path.sep, 1)[1] +- resources.extend([os.path.join(basepath, filename) +- for filename in filenames]) + package_data = {'pytz': resources} + +-assert len(resources) > 10, 'zoneinfo files not found!' +- + setup ( + name='pytz', + version=pytz.VERSION, +-- +1.8.0.2 + diff --git a/dev-python/pytz/files/pytz-2009j-zoneinfo.patch b/dev-python/pytz/files/pytz-2009j-zoneinfo.patch new file mode 100644 index 000000000000..ee05d9f5efa4 --- /dev/null +++ b/dev-python/pytz/files/pytz-2009j-zoneinfo.patch @@ -0,0 +1,14 @@ +Use the system zoneinfo from sys-libs/timezone-data. + +--- pytz/__init__.py ++++ pytz/__init__.py +@@ -54,8 +54,7 @@ + for part in name_parts: + if part == os.path.pardir or os.path.sep in part: + raise ValueError('Bad path segment: %r' % part) +- filename = os.path.join(os.path.dirname(__file__), +- 'zoneinfo', *name_parts) ++ filename = os.path.join('/usr/share/zoneinfo', *name_parts) + if not os.path.exists(filename) and resource_stream is not None: + # http://bugs.launchpad.net/bugs/383171 - we avoid using this + # unless absolutely necessary to help when a broken version of diff --git a/dev-python/pytz/metadata.xml b/dev-python/pytz/metadata.xml new file mode 100644 index 000000000000..4981031aef4e --- /dev/null +++ b/dev-python/pytz/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + 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). + Amost all (over 540) of the Olson timezones are supported. +</longdescription> + <upstream> + <remote-id type="pypi">pytz</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytz/pytz-2013d.ebuild b/dev-python/pytz/pytz-2013d.ebuild new file mode 100644 index 000000000000..61ad450e4abd --- /dev/null +++ b/dev-python/pytz/pytz-2013d.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3} pypy ) +inherit distutils-r1 + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE="http://pypi.python.org/pypi/pytz http://pytz.sourceforge.net/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=sys-libs/timezone-data-${PV}" +RDEPEND="${DEPEND}" + +DOCS=( CHANGES.txt ) + +PATCHES=( + # Use timezone-data zoneinfo. + "${FILESDIR}/${PN}-2009j-zoneinfo.patch" + # ...and do not install a copy of it. + "${FILESDIR}/${PN}-2009h-zoneinfo-noinstall.patch" +) + +python_test() { + "${PYTHON}" pytz/tests/test_tzinfo.py +} diff --git a/dev-python/pytz/pytz-2014.10.ebuild b/dev-python/pytz/pytz-2014.10.ebuild new file mode 100644 index 000000000000..eac9d86b76f9 --- /dev/null +++ b/dev-python/pytz/pytz-2014.10.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +inherit distutils-r1 + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE="http://pythonhosted.org/pytz/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=sys-libs/timezone-data-2014i" +RDEPEND="${DEPEND}" + +PATCHES=( + # Use timezone-data zoneinfo. + "${FILESDIR}/${PN}-2009j-zoneinfo.patch" + # ...and do not install a copy of it. + "${FILESDIR}/${PN}-2009h-zoneinfo-noinstall.patch" +) + +python_test() { + "${PYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pytz/pytz-2014.9.ebuild b/dev-python/pytz/pytz-2014.9.ebuild new file mode 100644 index 000000000000..c5e7d016753d --- /dev/null +++ b/dev-python/pytz/pytz-2014.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +inherit distutils-r1 + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE="http://pythonhosted.org/pytz/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=sys-libs/timezone-data-2014i" +RDEPEND="${DEPEND}" + +PATCHES=( + # Use timezone-data zoneinfo. + "${FILESDIR}/${PN}-2009j-zoneinfo.patch" + # ...and do not install a copy of it. + "${FILESDIR}/${PN}-2009h-zoneinfo-noinstall.patch" +) + +python_test() { + "${PYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pytz/pytz-2015.2.ebuild b/dev-python/pytz/pytz-2015.2.ebuild new file mode 100644 index 000000000000..20915b030505 --- /dev/null +++ b/dev-python/pytz/pytz-2015.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +inherit distutils-r1 + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE="http://pythonhosted.org/pytz/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=sys-libs/timezone-data-2014i" +RDEPEND="${DEPEND}" + +PATCHES=( + # Use timezone-data zoneinfo. + "${FILESDIR}/${PN}-2009j-zoneinfo.patch" + # ...and do not install a copy of it. + "${FILESDIR}/${PN}-2009h-zoneinfo-noinstall.patch" +) + +python_test() { + "${PYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pytz/pytz-2015.4.ebuild b/dev-python/pytz/pytz-2015.4.ebuild new file mode 100644 index 000000000000..6768e935ede5 --- /dev/null +++ b/dev-python/pytz/pytz-2015.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE="http://pythonhosted.org/pytz/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=sys-libs/timezone-data-2014i" +RDEPEND="${DEPEND}" + +PATCHES=( + # Use timezone-data zoneinfo. + "${FILESDIR}"/${PN}-2009j-zoneinfo.patch + # ...and do not install a copy of it. + "${FILESDIR}"/${PN}-2009h-zoneinfo-noinstall.patch +) + +python_test() { + "${PYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" +} |