diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-20 07:54:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-20 07:56:30 +0200 |
commit | 0a48faeacde0fd3cb7d7662d558d2904cd81ded5 (patch) | |
tree | 47abfb0d7f17fb921a0c14f80469b035542767c7 /dev-python | |
parent | dev-python/secretstorage: Remove old (diff) | |
download | gentoo-0a48faeacde0fd3cb7d7662d558d2904cd81ded5.tar.gz gentoo-0a48faeacde0fd3cb7d7662d558d2904cd81ded5.tar.bz2 gentoo-0a48faeacde0fd3cb7d7662d558d2904cd81ded5.zip |
dev-python/pytz: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytz/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytz/files/pytz-2020.5-system-zoneinfo.patch | 33 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2022.1.ebuild | 42 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2022.2.ebuild | 34 |
4 files changed, 0 insertions, 111 deletions
diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index dcf992af2219..4863ccf5f897 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1,3 +1 @@ -DIST pytz-2022.1.tar.gz 320473 BLAKE2B 9a745629a9e4547f8c8765353e58baa6d63e3e6b357e9ca88f69928fb9350cebb6bb3371eee419b4b92b29e6253f8c24af8c781f10d72211d78cb699043496fe SHA512 7737aa28626743026b7de932b27bf44d7b209f495d9dd7f90c6448ec271e007f23004fcd04982e2ca6d0a4075206e1dae7b8836319c299b5559c514366d518a6 DIST pytz-2022.2.1.tar.gz 316105 BLAKE2B 74a3f416c5e15a050cc62594851d80022c81cb611e6c1d1130cfc7e1bc9cb3b833edca9e67203695c50abb7587bf514216f8c0153890658bc8a9f1498e82f867 SHA512 9c78d9f484e2e0e101ca7e10fba8e6c9870255b2c320b3499a0cc9b480adac64b07f2f124048aa957c6bc9311a4ac43060368e1f0d85d8e8c8f7df598e47912b -DIST pytz-2022.2.tar.gz 322487 BLAKE2B 37aa920a571b751e7fe55140561f9d895273c63c5ec4f0ce32e12a9966c903de590d1bbeb8c3d29eeb6ffa46ecf68584128aefc4349c3fde2af923f275c1c01c SHA512 7a908801585f95dc7e19756b454b38ca991e3c280ab4d946152ff0ecfb5ac89e266b21c5a165797ec64c9aaaaadf729f935d7eebd3f918df3143bd68b23876cf diff --git a/dev-python/pytz/files/pytz-2020.5-system-zoneinfo.patch b/dev-python/pytz/files/pytz-2020.5-system-zoneinfo.patch deleted file mode 100644 index 94bad7e234ac..000000000000 --- a/dev-python/pytz/files/pytz-2020.5-system-zoneinfo.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/pytz/__init__.py b/pytz/__init__.py -index a1f75b6..f2a2330 100644 ---- a/pytz/__init__.py -+++ b/pytz/__init__.py -@@ -92,8 +92,7 @@ def open_resource(name): - if zoneinfo_dir is not None: - filename = os.path.join(zoneinfo_dir, *name_parts) - else: -- 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): - # http://bugs.launchpad.net/bugs/383171 - we avoid using this - # unless absolutely necessary to help when a broken version of -diff --git a/setup.py b/setup.py -index e31ff2b..ba6926b 100644 ---- a/setup.py -+++ b/setup.py -@@ -15,14 +15,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, diff --git a/dev-python/pytz/pytz-2022.1.ebuild b/dev-python/pytz/pytz-2022.1.ebuild deleted file mode 100644 index ddd2ce81c6a3..000000000000 --- a/dev-python/pytz/pytz-2022.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="World timezone definitions for Python" -HOMEPAGE=" - https://pythonhosted.org/pytz/ - https://pypi.org/project/pytz/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -DEPEND=" - || ( - >=sys-libs/timezone-data-2017a - sys-libs/glibc[vanilla] - ) -" -RDEPEND=" - ${DEPEND} -" - -PATCHES=( - # Use timezone-data zoneinfo. - "${FILESDIR}"/pytz-2020.5-system-zoneinfo.patch -) - -python_test() { - "${EPYTHON}" pytz/tests/test_tzinfo.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/pytz/pytz-2022.2.ebuild b/dev-python/pytz/pytz-2022.2.ebuild deleted file mode 100644 index 02775780a89a..000000000000 --- a/dev-python/pytz/pytz-2022.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="World timezone definitions for Python" -HOMEPAGE=" - https://pythonhosted.org/pytz/ - https://pypi.org/project/pytz/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -DEPEND=" - || ( - >=sys-libs/timezone-data-2017a - sys-libs/glibc[vanilla] - ) -" -RDEPEND="${DEPEND}" - -python_test() { - "${EPYTHON}" pytz/tests/test_tzinfo.py -v || - die "Tests fail with ${EPYTHON}" -} |