summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-10-04 14:03:23 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-10-04 14:03:23 (GMT)
commitbe518c70dffc2159e0022e4788ce7a0aca82d4ae (patch)
tree9e8541c80cef3cfa7d1e79e0f9bc9c66d4c536d8 /abs
parent9baa95eca8bfcd11346b03b9eaa1ddf25b42493b (diff)
downloadlinhes_pkgbuild-be518c70dffc2159e0022e4788ce7a0aca82d4ae.zip
linhes_pkgbuild-be518c70dffc2159e0022e4788ce7a0aca82d4ae.tar.gz
linhes_pkgbuild-be518c70dffc2159e0022e4788ce7a0aca82d4ae.tar.bz2
python-pyparsing: update to 2.4.7
Diffstat (limited to 'abs')
-rw-r--r--abs/core/python_modules/python-pyparsing/PKGBUILD34
1 files changed, 10 insertions, 24 deletions
diff --git a/abs/core/python_modules/python-pyparsing/PKGBUILD b/abs/core/python_modules/python-pyparsing/PKGBUILD
index 97da919..6c09fed 100644
--- a/abs/core/python_modules/python-pyparsing/PKGBUILD
+++ b/abs/core/python_modules/python-pyparsing/PKGBUILD
@@ -1,4 +1,3 @@
-# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
@@ -8,45 +7,32 @@
pkgname=python-pyparsing
pkgname=('python-pyparsing' 'python2-pyparsing')
-pkgver=2.2.0
-pkgrel=2
+pkgver=2.4.7
+pkgrel=1
pkgdesc='General parsing module for Python'
arch=('any')
-url='http://pyparsing.wikispaces.com/'
-makedepends=('python-setuptools' 'python2-setuptools' 'subversion')
+url='https://github.com/pyparsing/pyparsing/'
+makedepends=('python-setuptools' 'python2-setuptools')
license=('MIT')
-source=("svn://svn.code.sf.net/p/pyparsing/code/tags/pyparsing_$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
- cp -a pyparsing_$pkgver{,-py2}
-
- # :/
- sed -i '1i#coding=utf-8' pyparsing_$pkgver-py2/src/unitTests.py
-}
+source=("https://github.com/pyparsing/pyparsing/archive/pyparsing_$pkgver.tar.gz")
+sha512sums=('c7a546729f86a2b5176e2482b566b9fd715b03e495aaef4d720b21307bb03f385dbc849247f8d266cb3d92be0a83c34ce4995b655ce85318355d5a0d42d6991e')
build() {
- cd "$srcdir"/pyparsing_$pkgver/src
+ cd pyparsing-pyparsing_$pkgver
python setup.py build
-
- cd "$srcdir"/pyparsing_$pkgver-py2/src
python2 setup.py build
}
check() {
- export LC_CTYPE=en_US.UTF-8
-
- cd "$srcdir"/pyparsing_$pkgver/src
+ cd pyparsing-pyparsing_$pkgver
python unitTests.py
-
- cd "$srcdir"/pyparsing_$pkgver-py2/src
python2 unitTests.py
}
package_python-pyparsing() {
depends=('python')
- cd pyparsing_$pkgver/src
+ cd pyparsing-pyparsing_$pkgver
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
@@ -55,7 +41,7 @@ package_python-pyparsing() {
package_python2-pyparsing() {
depends=('python2')
- cd pyparsing_$pkgver-py2/src
+ cd pyparsing-pyparsing_$pkgver
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE