[arch-commits] Commit in python-arpeggio/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:56:17 UTC 2020


    Date: Monday, November 9, 2020 @ 15:56:17
  Author: felixonmars
Revision: 747246

archrelease: copy trunk to community-staging-any

Added:
  python-arpeggio/repos/community-staging-any/
  python-arpeggio/repos/community-staging-any/PKGBUILD
    (from rev 747244, python-arpeggio/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-arpeggio/repos/community-staging-any/PKGBUILD (from rev 747244, python-arpeggio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:56:17 UTC (rev 747246)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-arpeggio
+pkgver=1.10.1
+pkgrel=2
+pkgdesc="Packrat parser interpreter"
+url="https://github.com/textX/Arpeggio"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://github.com/textX/Arpeggio/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('150c1cadc237583000c336acbafe06286b45730fca557d8f24894387408f1443f0df5a0ad0dad18d4a88e8d0e2c55e46d57e7b772ec171aa395585f36b54e5bd')
+
+build() {
+  cd Arpeggio-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd Arpeggio-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd Arpeggio-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list