[arch-commits] Commit in python-funcparserlib/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Apr 3 15:33:07 UTC 2022
Date: Sunday, April 3, 2022 @ 15:33:07
Author: felixonmars
Revision: 1181012
archrelease: copy trunk to community-any
Added:
python-funcparserlib/repos/community-any/PKGBUILD
(from rev 1181011, python-funcparserlib/trunk/PKGBUILD)
Deleted:
python-funcparserlib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++------------------------------
1 file changed, 29 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-03 15:32:56 UTC (rev 1181011)
+++ PKGBUILD 2022-04-03 15:33:07 UTC (rev 1181012)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-funcparserlib
-pkgver=0.3.6
-pkgrel=7
-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
-}
Copied: python-funcparserlib/repos/community-any/PKGBUILD (from rev 1181011, python-funcparserlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-03 15:33:07 UTC (rev 1181012)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-funcparserlib
+pkgver=1.0.0a0
+pkgrel=1
+pkgdesc="Recursive descent parsing library based on functional combinators"
+url="https://github.com/vlasovskikh/funcparserlib"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-poetry')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/vlasovskikh/funcparserlib/archive/$pkgver.tar.gz")
+sha512sums=('02cac31d76bb888118a99367811a8cfac28a999ba113ce43f4bd6211cef815ce1793fc1767637dd019728f15d5c408e859d5bc8365a2c53804092f1d6f03e54e')
+
+build() {
+ cd funcparserlib-$pkgver
+ python -m build -nw
+}
+
+check() {
+ cd funcparserlib-$pkgver
+ python -m unittest discover
+}
+
+package() {
+ cd funcparserlib-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list