[arch-commits] Commit in python-speg/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Dec 17 09:00:39 UTC 2019
Date: Tuesday, December 17, 2019 @ 09:00:39
Author: jelle
Revision: 371591
upgpkg: python-speg 0.3-4
Remove python2-speg
Modified:
python-speg/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-17 08:25:19 UTC (rev 371590)
+++ PKGBUILD 2019-12-17 09:00:39 UTC (rev 371591)
@@ -1,31 +1,20 @@
# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-pkgbase=python-speg
-pkgname=('python-speg' 'python2-speg')
+pkgname=python-speg
pkgver=0.3
-pkgrel=3
+pkgrel=4
pkgdesc="A PEG-based parser interpreter with memoization"
arch=('any')
url="https://github.com/avakar/pyspeg"
license=('MIT')
-makedepends=('python-setuptools'
- 'python2-setuptools')
+depends=('python' 'python-six')
+makedepends=('python-setuptools')
source=(https://pypi.io/packages/source/s/speg/speg-$pkgver.zip
LICENSE)
sha256sums=('10cbef47e168dfc62f14db575cf1c428037a2b881cee6c3cfceda0439c243e71'
'37d897f62a4324d8d2f313d7d1b98cd26f872d2ae598b7eb9a69b1c129bcc135')
-package_python2-speg() {
- depends=('python2' 'python2-six')
-
- cd "$srcdir"/speg-${pkgver}
- python2 setup.py install --root="${pkgdir}"
- install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
package_python-speg() {
- depends=('python' 'python-six')
-
cd "$srcdir"/speg-${pkgver}
python setup.py install --root="${pkgdir}"
install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
More information about the arch-commits
mailing list