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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:19:30 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:19:30
  Author: felixonmars
Revision: 1058001

archrelease: copy trunk to community-staging-any

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

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

Copied: python-parse/repos/community-staging-any/PKGBUILD (from rev 1057999, python-parse/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:19:30 UTC (rev 1058001)
@@ -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.19.0
+pkgrel=2
+
+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=('9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb66f020b')
+
+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