[arch-commits] Commit in python-rply/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:19:36 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:19:36
Author: felixonmars
Revision: 1058005
archrelease: copy trunk to community-staging-any
Added:
python-rply/repos/community-staging-any/
python-rply/repos/community-staging-any/PKGBUILD
(from rev 1058001, python-rply/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-rply/repos/community-staging-any/PKGBUILD (from rev 1058001, python-rply/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:19:36 UTC (rev 1058005)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rply
+pkgver=0.7.8
+pkgrel=2
+pkgdesc="A pure Python Lex/Yacc that works with RPython"
+arch=('any')
+license=('BSD')
+url="https://rply.readthedocs.org"
+makedepends=('python-setuptools' 'python-appdirs')
+checkdepends=('python-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/alex/rply/archive/v$pkgver.tar.gz")
+sha512sums=('b43e6425f046561cfca616801d37d7151f015aeb2ea2365abc00f97fd6b41f1a01a17e330aed5a81537065e4b29d49cd0824b5a5cb8b2d11da2ff1f8de952fce')
+
+build() {
+ cd "$srcdir"/rply-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/rply-$pkgver
+ py.test
+}
+
+package() {
+ depends=('python-appdirs')
+
+ cd rply-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list