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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:24:37 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:24:37
  Author: foutrelis
Revision: 1058223

archrelease: copy trunk to community-staging-any

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

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

Copied: python-funcparserlib/repos/community-staging-any/PKGBUILD (from rev 1058222, python-funcparserlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:24:37 UTC (rev 1058223)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-funcparserlib
+pkgver=0.3.6
+pkgrel=6
+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