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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 16:08:44 UTC 2019


    Date: Friday, October 25, 2019 @ 16:08:42
  Author: felixonmars
Revision: 519393

archrelease: copy trunk to community-staging-any

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

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

Copied: python-funcparserlib/repos/community-staging-any/PKGBUILD (from rev 519392, python-funcparserlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:08:42 UTC (rev 519393)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-funcparserlib
+pkgver=0.3.6
+pkgrel=2
+pkgdesc="Recursive descent parsing library based on functional combinators"
+url="https://github.com/vlasovskikh/funcparserlib"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/vlasovskikh/funcparserlib/archive/$pkgver.tar.gz")
+sha512sums=('0fe23dc471f2de4588204d09379ef1400231bbe370e71045ddfad82c0f3a7bd13350954dde7210a370084c7bb7eb8c02ebdb04fb3727bee3e768cebe54e5ed99')
+
+build() {
+  cd funcparserlib-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd funcparserlib-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+  cd funcparserlib-$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