Date: Thursday, April 6, 2023 @ 17:00:56
Author: felixonmars
Revision: 1439854
archrelease: copy trunk to community-staging-any
Added:
python-arpeggio/repos/community-staging-any/
python-arpeggio/repos/community-staging-any/PKGBUILD
(from rev 1439852, python-arpeggio/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-arpeggio/repos/community-staging-any/PKGBUILD (from rev 1439852,
python-arpeggio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 17:00:56 UTC (rev 1439854)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-arpeggio
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Packrat parser interpreter"
+url="https://github.com/textX/Arpeggio"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-pytest-runner' 'python-setuptools' 'python-wheel')
+source=("https://github.com/textX/Arpeggio/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b5a75eea515b7dd0ad7dc261703300bd5b3e5a70f0946845f8828dbf7c76613aef926fed9538fe0f9a71c1666edc9f8cff31afddd551bea1d7b1b9ad7a9cc405')
+
+build() {
+ cd Arpeggio-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd Arpeggio-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd Arpeggio-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}