[arch-commits] Commit in python-parse/repos (2 files)
Johannes Löthberg
demize at archlinux.org
Sat Aug 22 19:19:06 UTC 2020
Date: Saturday, August 22, 2020 @ 19:19:06
Author: demize
Revision: 686765
archrelease: copy trunk to community-testing-any
Added:
python-parse/repos/community-testing-any/
python-parse/repos/community-testing-any/PKGBUILD
(from rev 686764, python-parse/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-parse/repos/community-testing-any/PKGBUILD (from rev 686764, python-parse/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2020-08-22 19:19:06 UTC (rev 686765)
@@ -0,0 +1,35 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Aaron DeVore <aaron.devore at gmail.com>
+
+pkgname=python-parse
+pkgver=1.16.0
+pkgrel=1
+
+pkgdesc='Parse strings using a specification based on the Python format() syntax.'
+url='https://pypi.python.org/pypi/parse'
+arch=('any')
+license=('BSD')
+
+depends=('python')
+makedepends=('python-setuptools')
+
+source=("https://pypi.org/packages/source/p/parse/parse-$pkgver.tar.gz")
+
+sha256sums=('cd89e57aed38dcf3e0ff8253f53121a3b23e6181758993323658bffc048a5c19')
+
+build() {
+ cd "$srcdir"/parse-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/parse-$pkgver
+ python test_parse.py
+}
+
+
+package() {
+ cd "$srcdir"/parse-$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