diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-19 09:30:08 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-19 09:30:08 +0100 |
commit | 917843e0359f86f7a7ad1beea78e3fe4825a653c (patch) | |
tree | 6cba27da9e8a6b57740c3ec19ddc6aab3b8b7279 /dev-python/pytz | |
parent | dev-python/hyperlink: Remove old (diff) | |
download | gentoo-917843e0359f86f7a7ad1beea78e3fe4825a653c.tar.gz gentoo-917843e0359f86f7a7ad1beea78e3fe4825a653c.tar.bz2 gentoo-917843e0359f86f7a7ad1beea78e3fe4825a653c.zip |
dev-python/pytz: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytz')
-rw-r--r-- | dev-python/pytz/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytz/files/2018.4-zoneinfo.patch | 12 | ||||
-rw-r--r-- | dev-python/pytz/files/pytz-2018.4-zoneinfo-noinstall.patch | 18 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2020.4.ebuild | 34 |
4 files changed, 0 insertions, 65 deletions
diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 8cc3cd00a6dd..f1333d818722 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1,3 +1,2 @@ -DIST pytz-2020.4.tar.gz 310941 BLAKE2B 8abe524ccb7ed676c64dbc129ade5d6562980ea28f8939a3a7a406acf16a8a936e79ff630bf37884610e8936dfe96311ecb752f3b79519a126e1f1ac48883842 SHA512 dcbe763bc6e48c52df855fe03a8109dc0656a0e851324c0468f4307e8aff60e577fe0c9f0b062319e90d2f639b96e98edf8346064705e244143386c863a0aa7c DIST pytz-2020.5.tar.gz 314194 BLAKE2B c374e0ee803878ad2dde1ef03c108f59f431d645d8067fb9f183b9feb029b4de283477e7f6c146a6d03462bd5cb4fc98118e03601c838f73903f5f7a7d28bf8f SHA512 0845c0b7cefb8732e3016568b17ae73232fe6537bac6da89cb1bf911ba5786ee1be6b5e3aa8767225291e3a7e9afd5b8e40e4051671a3a006f9e2f71c551e13e DIST pytz-2021.1.tar.gz 317945 BLAKE2B 5d8b5ac80a9d5be56977df8a422e9f008ccb1afb9468155c53aa97f0bf43ba15c27fd30ee7be035be6fa590dcb272991a069cd1383f1c6c8d378958d7b0c4970 SHA512 507e24e3c5c2c619d9f3c7f4c33d44d262e33656b07701d0db78f5d67b263ad845dccc4ff50e48c580b0f295cf97ed146af7b9259890a50bb6da4c82b70c439b diff --git a/dev-python/pytz/files/2018.4-zoneinfo.patch b/dev-python/pytz/files/2018.4-zoneinfo.patch deleted file mode 100644 index 2eeeab416d7f..000000000000 --- a/dev-python/pytz/files/2018.4-zoneinfo.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/pytz/__init__.py -+++ b/pytz/__init__.py -@@ -91,8 +91,7 @@ - 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/dev-python/pytz/files/pytz-2018.4-zoneinfo-noinstall.patch b/dev-python/pytz/files/pytz-2018.4-zoneinfo-noinstall.patch deleted file mode 100644 index 9f8b93bf70a5..000000000000 --- a/dev-python/pytz/files/pytz-2018.4-zoneinfo-noinstall.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -15,15 +15,8 @@ - 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-2020.4.ebuild b/dev-python/pytz/pytz-2020.4.ebuild deleted file mode 100644 index ffa78dffaeb1..000000000000 --- a/dev-python/pytz/pytz-2020.4.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} 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 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -RDEPEND=" - || ( >=sys-libs/timezone-data-2017a sys-libs/glibc[vanilla] )" -DEPEND="${RDEPEND} - app-arch/unzip" - -PATCHES=( - # Use timezone-data zoneinfo. - "${FILESDIR}"/2018.4-zoneinfo.patch - # ...and do not install a copy of it. - "${FILESDIR}"/${PN}-2018.4-zoneinfo-noinstall.patch -) - -python_test() { - "${EPYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" -} |