diff options
author | Oskar Roesler (bionade24) | 2022-01-08 17:11:11 +0100 |
---|---|---|
committer | Oskar Roesler (bionade24) | 2022-01-08 17:11:11 +0100 |
commit | 313e291582a582e7131b16854ad2e9eaf99edcac (patch) | |
tree | 986b25f0ce568f20fe23dea909df213b4a9c2b25 | |
download | aur-313e291582a582e7131b16854ad2e9eaf99edcac.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1f48fe9a2802 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python2-ply + pkgdesc = Implementation of lex and yacc parsing tools + pkgver = 3.11 + pkgrel = 1 + url = https://www.dabeaz.com/ply/ + arch = any + license = BSD + makedepends = python2-setuptools + depends = python2 + source = https://pypi.io/packages/source/p/ply/ply-3.11.tar.gz + sha512sums = 37e39a4f930874933223be58a3da7f259e155b75135f1edd47069b3b40e5e96af883ebf1c8a1bbd32f914a9e92cfc12e29fec05cf61b518f46c1d37421b20008 + +pkgname = python2-ply diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b4411c9e2192 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Oskar Roesler <oskar at oskar-roesler dot de> + +pkgname=python2-ply +pkgver=3.11 +pkgrel=1 +pkgdesc='Implementation of lex and yacc parsing tools' +arch=('any') +url='https://www.dabeaz.com/ply/' +license=('BSD') +depends=('python2') +makedepends=('python2-setuptools') +source=("https://pypi.io/packages/source/p/ply/ply-$pkgver.tar.gz") +sha512sums=('37e39a4f930874933223be58a3da7f259e155b75135f1edd47069b3b40e5e96af883ebf1c8a1bbd32f914a9e92cfc12e29fec05cf61b518f46c1d37421b20008') + +check() { + cd "ply-$pkgver/test" + python2 testlex.py + python2 testyacc.py +} + +package() { + cd "ply-$pkgver" + python2 setup.py install --root="$pkgdir" +} + +# vim:set ts=2 sw=2 et: |