summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEkin Dursun2018-06-12 16:26:19 +0300
committerEkin Dursun2018-06-12 16:26:19 +0300
commit80af30d2bae6976d362577d4a1761e774b50dc5a (patch)
tree19f00fe7679c92f1b98fcebc54e5b909c3097a24
parent6521e5ad09ed90c6898596fe2fda132aabc5bc01 (diff)
downloadaur-80af30d2bae6976d362577d4a1761e774b50dc5a.tar.gz
Fix
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a08075831b7..95907e4d318 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-spark-parser
pkgdesc = An Early-Algorithm Context-free grammar Parser
pkgver = 1.8.7
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/rocky/python-spark/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index a8e01663dd7..32369dff20b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=python-spark-parser
pkgname=('python-spark-parser' 'python2-spark-parser')
pkgver=1.8.7
-pkgrel=4
+pkgrel=5
pkgdesc="An Early-Algorithm Context-free grammar Parser"
arch=('any')
url="https://github.com/rocky/python-spark/"
@@ -14,22 +14,17 @@ _name='spark_parser'
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('4c5e6064afbb3c114749016d585b0e4f9222d4ffa97a1854c9ab70b25783ef48')
-build() {
- cd "$srcdir/$_name-$pkgver"
- python setup.py build
-}
-
package_python-spark-parser() {
depends=('python-click')
cd "$srcdir/$_name-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python setup.py install --root="$pkgdir" --optimize=1
}
package_python2-spark-parser() {
depends=('python2-click')
cd "$srcdir/$_name-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python2 setup.py install --root="$pkgdir" --optimize=1
mv "$pkgdir/usr/bin/spark-parser-coverage" "$pkgdir/usr/bin/spark-parser-coverage2"
}