summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD19
2 files changed, 17 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 41b7767999d..0418c3a4a68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python2-parsley
pkgdesc = A parser generator library based on OMeta, and other useful parsing tools.
- pkgver = 1.2
- pkgrel = 2
- url = https://github.com/python-parsley/parsley
+ pkgver = 1.3
+ pkgrel = 1
+ url = https://github.com/pyga/parsley
arch = any
license = MIT
makedepends = python2-setuptools
depends = python2
conflicts = python2-parsley-git
- source = https://pypi.python.org/packages/source/P/Parsley/Parsley-1.2.tar.gz
- md5sums = 9905aa78f3256604f56e7bdd6aaf6123
+ source = https://pypi.python.org/packages/source/P/Parsley/Parsley-1.3.tar.gz
+ sha512sums = b87ebc44796e8511ad113f06d7bd4ebfec0161cfc8cd4d1db214da821ff61884328931ab39fdf34d33df5c9e803a1c3f5ac31e7ede176262f54b8b0a9cf3818b
pkgname = python2-parsley
diff --git a/PKGBUILD b/PKGBUILD
index 090c36bdedf..c24500939cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,27 @@
-# Maintainer: Achilleas Pipinellis <axilleas archlinux info>
+# Maintainer: Achilleas Pipinellis <axilleas archlinux gr>
+
pkgname=python2-parsley
_pkgname=Parsley
-pkgver=1.2
-pkgrel=2
+pkgver=1.3
+pkgrel=1
pkgdesc="A parser generator library based on OMeta, and other useful parsing tools."
arch=('any')
-url="https://github.com/python-parsley/parsley"
+url="https://github.com/pyga/parsley"
license=('MIT')
depends=('python2')
conflicts=('python2-parsley-git')
makedepends=('python2-setuptools')
source=(https://pypi.python.org/packages/source/P/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py build
+}
+
package() {
cd "$srcdir/$_pkgname-$pkgver"
- python2 setup.py install --root=$pkgdir -O1
+ python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et:
-
-md5sums=('9905aa78f3256604f56e7bdd6aaf6123')
+sha512sums=('b87ebc44796e8511ad113f06d7bd4ebfec0161cfc8cd4d1db214da821ff61884328931ab39fdf34d33df5c9e803a1c3f5ac31e7ede176262f54b8b0a9cf3818b')