[arch-commits] Commit in python-arpeggio/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Aug 11 03:44:06 UTC 2018


    Date: Saturday, August 11, 2018 @ 03:44:06
  Author: felixonmars
Revision: 370954

archrelease: copy trunk to community-any

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

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

Copied: python-arpeggio/repos/community-any/PKGBUILD (from rev 370953, python-arpeggio/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-08-11 03:44:06 UTC (rev 370954)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-arpeggio
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="Packrat parser interpreter"
+url="https://github.com/igordejanovic/Arpeggio"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/igordejanovic/Arpeggio/archive/v$pkgver.tar.gz")
+sha512sums=('179ec76813476823f316471e1b313f377064a75879c52060e547fd755ae72947594dc4d6e58a798150620e82c8b123fbd88484881c12ccb311c47bc93a45a0cd')
+
+build() {
+  cd Arpeggio-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd Arpeggio-$pkgver
+  python setup.py pytest --addopts tests/unit
+}
+
+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