summaryrefslogtreecommitdiff
path: root/user/py3-tz
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-tz')
-rw-r--r--user/py3-tz/APKBUILD8
-rw-r--r--user/py3-tz/zoneinfo-fix.patch2
2 files changed, 4 insertions, 6 deletions
diff --git a/user/py3-tz/APKBUILD b/user/py3-tz/APKBUILD
index 0ace396c5..a065d6bd8 100644
--- a/user/py3-tz/APKBUILD
+++ b/user/py3-tz/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer:
pkgname=py3-tz
_pkgname=pytz
-pkgver=2018.9
+pkgver=2019.1
pkgrel=0
pkgdesc="Timezone definitions for Python"
url="http://pytz.sourceforge.net/"
@@ -20,15 +20,13 @@ source="https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkg
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
mkdir -p "$pkgdir"
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="c3dabe61d04539245761a5c4e3bfb614df1c3b8ccc2ffa1cf320c5ad642242c29b3321fe7855d32a2ae55c739acbbe8c0e1813df5b3c757b8f56fff910fee159 pytz-2018.9.tar.gz
+sha512sums="981a5aa2430bb7740bc1fd53e6c7416552c4f19d33a82701854b087ca5624ec3211b55add802e1e004f3728c32447f93d934c0d2bff993cd1be5e96e41fd44d6 pytz-2019.1.tar.gz
be61b829014be0d0d7db0c544481d378a95324c1f5968cbbcd7887c6ee8ce52a0b47ae734e16fc5fb2429d8d49c8ef199b6b3b7194f9e654699bb73ab8f3a10d zoneinfo-noinstall.patch
-a09467dbb00c1ab9f7e7527d9b020a6d913b8da2380a5359e782f27ccf9ec4dd4f50bfc92c95dc2e793904242c8139793c15e78e651d2777fb3b3abc48fcd640 zoneinfo-fix.patch"
+7629da5d76056789e7c29a4f047d25fe77586d4a78e8a1ce7ad7c513507d286098666edb24ee5cadc9b0a4d5623336bba8a6b0f786072ce741177022201fdc54 zoneinfo-fix.patch"
diff --git a/user/py3-tz/zoneinfo-fix.patch b/user/py3-tz/zoneinfo-fix.patch
index a0a3a1190..404e81c9f 100644
--- a/user/py3-tz/zoneinfo-fix.patch
+++ b/user/py3-tz/zoneinfo-fix.patch
@@ -1,7 +1,7 @@
Patch pulled from Gentoo. Forces package to use system tzinfo
--- a/pytz/__init__.py
+++ b/pytz/__init__.py
-@@ -91,8 +91,7 @@
+@@ -92,8 +92,7 @@
if zoneinfo_dir is not None:
filename = os.path.join(zoneinfo_dir, *name_parts)
else: