summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Scholl2017-01-12 22:39:59 -0500
committerDavid Scholl2017-01-12 22:39:59 -0500
commit2791441075a5a6ba600a3d75aee60481fa190c72 (patch)
tree642d472ee84f5d8feb15fa5a1c0897524ffcc905 /PKGBUILD
parent4171dc4e0faf3a54d61a7949ffa51f4af988e43f (diff)
downloadaur-python-tablib.tar.gz
0.11.3 for Python 3.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c086a3b421c..821bbb42e01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: David Scholl <djscholl at gmail dot com>
_module="tablib"
pkgname=("python-${_module}" "python2-${_module}")
-pkgver="0.11.2"
+pkgver="0.11.3"
pkgrel="1"
pkgdesc="Format-agnostic tabular data library (XLS, JSON, YAML, CSV)"
arch=("any")
@@ -9,10 +9,14 @@ url="http://python-tablib.org"
license=("MIT")
makedepends=("python-setuptools" "python2-setuptools")
checkdepends=("python-pytest" "python2-pytest")
-source=("https://pypi.python.org/packages/source/${_module:0:1}/${_module}/${_module}-${pkgver}.tar.gz")
-sha256sums=('553dd5b58e8e6e039aaa61587ec2fab38c05f0e25f58ac65b81a7851db62a497')
+source=("https://pypi.python.org/packages/12/93/2bdd501dad13f253cfc8bd066ff18313e4741c1c11d336dd9bbd78aa7845/${_module}-${pkgver}.tar.gz"
+ 'remove-locale-from-str-regex.patch')
+sha256sums=('6369662b116a7ed7a13545ebac266c063f170ff9215e918ba01a1ef20a864c9a'
+ '18ba282dbdc710edfda125ba80ca97a46bf9eb7e6183dc11eb1a47825f3b12ae')
prepare() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ patch -p1 < ${srcdir}/remove-locale-from-str-regex.patch
cp -a "${srcdir}/${_module}-${pkgver}"{,-python2}
}
@@ -39,7 +43,6 @@ package_python-tablib() {
}
package_python2-tablib() {
- depends=("python2")
cd "${srcdir}/${_module}-${pkgver}-python2"
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -D -m644 "${srcdir}/${_module}-${pkgver}-python2/LICENSE" \