[arch-commits] Commit in python-pytz/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Oct 28 20:56:18 UTC 2018
Date: Sunday, October 28, 2018 @ 20:56:18
Author: jelle
Revision: 399346
upgpkg: python-pytz 2018.6-1
Modified:
python-pytz/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-28 20:51:24 UTC (rev 399345)
+++ PKGBUILD 2018-10-28 20:56:18 UTC (rev 399346)
@@ -4,23 +4,22 @@
# Contributor: William Rea <sillywilly at gmail.com>
pkgname=('python-pytz' 'python2-pytz')
-pkgver=2018.5
-pkgrel=2
+pkgver=2018.6
+pkgrel=1
arch=('any')
url="http://pypi.python.org/pypi/pytz"
license=("MIT")
makedepends=('python' 'python2')
source=("https://pypi.io/packages/source/p/pytz/pytz-${pkgver}.tar.gz")
-md5sums=('45409cbfa3927bdd2f3ee914dd5b1060')
+md5sums=('6c92d86f9e92e71c561b1adc213feba0')
validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
build(){
- cd $srcdir
cp -rf pytz-$pkgver pytz2-$pkgver
}
check(){
- cd $srcdir/pytz-$pkgver/pytz/tests
+ cd pytz-$pkgver/pytz/tests
python3 test_tzinfo.py
python2 test_tzinfo.py
@@ -30,11 +29,8 @@
depends=('python')
pkgdesc="Cross platform time zone library for Python"
- cd $srcdir/pytz-$pkgver
+ cd pytz-$pkgver
- # Fix locale https://github.com/ipython/ipython/issues/2057
- export LC_ALL=en_US.UTF-8
-
python3 setup.py install --root=$pkgdir/
install -D LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
@@ -45,11 +41,8 @@
depends=('python2')
pkgdesc="Cross platform time zone library for Python"
- cd $srcdir/pytz2-$pkgver
+ cd pytz2-$pkgver
- # python 2 fix
-# sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' pytz/tzfile.py
-
python2 setup.py install --root="$pkgdir/"
install -D LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
More information about the arch-commits
mailing list