diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /dev-python/pytz/files | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'dev-python/pytz/files')
-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 |
2 files changed, 0 insertions, 30 deletions
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, |