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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 11:36:46 UTC 2021


    Date: Wednesday, December 1, 2021 @ 11:36:45
  Author: felixonmars
Revision: 1059227

archrelease: copy trunk to community-staging-any

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

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

Copied: python-arpeggio/repos/community-staging-any/PKGBUILD (from rev 1059225, python-arpeggio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 11:36:45 UTC (rev 1059227)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-arpeggio
+pkgver=1.10.2
+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=('c6a162f9ab854bac7e2bc9e5d5553c2dbcc068fcf61607149727cd4c8a7c87c63cab765b423c8ea76e09fa81ccc42157d724388a81e22864580ccf734998142a')
+
+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
+}



More information about the arch-commits mailing list