aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-ply
diff options
context:
space:
mode:
Diffstat (limited to 'main/py3-ply')
-rw-r--r--main/py3-ply/APKBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/main/py3-ply/APKBUILD b/main/py3-ply/APKBUILD
index ff6ef94fc9..611ac82935 100644
--- a/main/py3-ply/APKBUILD
+++ b/main/py3-ply/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: tcely <py3-ply+aports@tcely.33mail.com>
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_pkgname='ply'
-pkgname="py3-$_pkgname"
-pkgver='3.11'
-pkgrel=2
+_pkgname=ply
+pkgname=py3-$_pkgname
+pkgver=3.11
+pkgrel=4
pkgdesc="Python Lex & Yacc"
url="https://www.dabeaz.com/ply/"
arch="noarch"
@@ -12,10 +12,8 @@ license="BSD-3-Clause"
depends="python3"
checkdepends="py3-six"
makedepends="python3-dev"
-install=""
-subpackages=""
-source="${_pkgname}-${pkgver}.tar.gz::https://github.com/dabeaz/${_pkgname}/archive/${pkgver}.tar.gz"
-builddir="${srcdir}/${_pkgname}-${pkgver}"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/dabeaz/$_pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
@@ -29,8 +27,7 @@ check() {
}
package() {
- #pip3 install --ignore-installed --root "$pkgdir" .
- python3 setup.py install --prefix="/usr" --root="$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c36e4ea0eb5bb7cca8cc34aa62dd711be755e44f1336a0093d7c9c1ea4d5d8cae8316416a2109ba24bb2b71f7a971b0b34a7ea45c43d4c7c63c513156945fc17 ply-3.11.tar.gz"