summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-01 17:01:25 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-01 17:01:25 (GMT)
commitd9e2b81a68e7d2ef23768b656c5e40a7f5b26c64 (patch)
tree788c2ae6dbd137b76c9a4ae96f024a1b1ab2bff0 /abs/core/python_modules
parent0c378a1d14465a6527d92ad0be44b3ef566c8eb6 (diff)
downloadlinhes_pkgbuild-d9e2b81a68e7d2ef23768b656c5e40a7f5b26c64.zip
linhes_pkgbuild-d9e2b81a68e7d2ef23768b656c5e40a7f5b26c64.tar.gz
linhes_pkgbuild-d9e2b81a68e7d2ef23768b656c5e40a7f5b26c64.tar.bz2
python-pytz: update to 2018.3
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r--abs/core/python_modules/python-pytz/PKGBUILD16
-rw-r--r--abs/core/python_modules/python-pytz/__changelog1
2 files changed, 7 insertions, 10 deletions
diff --git a/abs/core/python_modules/python-pytz/PKGBUILD b/abs/core/python_modules/python-pytz/PKGBUILD
index 3e77d2a..fca20e0 100644
--- a/abs/core/python_modules/python-pytz/PKGBUILD
+++ b/abs/core/python_modules/python-pytz/PKGBUILD
@@ -3,16 +3,15 @@
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
-pkgname=('python2-pytz')
-pkgver=2017.2
+pkgname=('python-pytz' 'python2-pytz')
+pkgver=2018.3
pkgrel=1
arch=('any')
url="http://pypi.python.org/pypi/pytz"
license=("MIT")
-makedepends=('python2')
-source=(https://pypi.python.org/packages/a4/09/c47e57fc9c7062b4e83b075d418800d322caa87ec0ac21e6308bd3a2d519/pytz-2017.2.zip{,.asc})
-md5sums=('f89bde8a811c8a1a5bac17eaaa94383c'
- 'SKIP')
+makedepends=('python' 'python2')
+source=("https://pypi.io/packages/source/p/pytz/pytz-${pkgver}.tar.gz")
+md5sums=('abb07c09c79f78d7c04f222a550c99ef')
validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
build(){
@@ -23,8 +22,7 @@ build(){
check(){
cd $srcdir/pytz-$pkgver/pytz/tests
-# python3 test_tzinfo.py
-
+ python3 test_tzinfo.py
python2 test_tzinfo.py
}
@@ -50,7 +48,7 @@ package_python2-pytz(){
cd $srcdir/pytz2-$pkgver
# python 2 fix
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' pytz/tzfile.py
+# sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' pytz/tzfile.py
python2 setup.py install --root="$pkgdir/"
diff --git a/abs/core/python_modules/python-pytz/__changelog b/abs/core/python_modules/python-pytz/__changelog
deleted file mode 100644
index c6e1e55..0000000
--- a/abs/core/python_modules/python-pytz/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-PKGBUILD: don't build py 3 stuff