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

Felix Yan felixonmars at archlinux.org
Wed May 13 12:25:25 UTC 2020


    Date: Wednesday, May 13, 2020 @ 12:25:24
  Author: felixonmars
Revision: 627634

archrelease: copy trunk to community-testing-any

Added:
  python-jmespath/repos/community-testing-any/
  python-jmespath/repos/community-testing-any/PKGBUILD
    (from rev 627633, python-jmespath/trunk/PKGBUILD)

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

Copied: python-jmespath/repos/community-testing-any/PKGBUILD (from rev 627633, python-jmespath/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-05-13 12:25:24 UTC (rev 627634)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Severance aur.severach AatT spamgourmet.com
+# Contributor: Chris Fordham <chris [at] fordham-nagy [dot] id [dot] au> aka flaccid
+# Package Source: https://github.com/flaccid/archlinux-packages/blob/master/python-jmespath/PKGBUILD
+
+pkgname=python-jmespath
+pkgver=0.10.0
+pkgrel=1
+pkgdesc='A query language for JSON'
+arch=('any')
+url="https://github.com/jmespath/jmespath"
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-py')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jmespath/jmespath.py/archive/$pkgver.tar.gz")
+sha512sums=('84d787a9547bf0d33dfb4cf42514d6a7a1e69fb8867ccb9d84aa0555ea52b3064a9c6a49b3c51564090bb1d1d2d067fe1887105d744a0f25a991d9e9595c85c5')
+
+prepare() {
+  cp -a jmespath.py-$pkgver{,-py2}
+}
+
+build() {
+  cd jmespath.py-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd jmespath.py-$pkgver
+  LC_CTYPE=en_US.utf8 nosetests3
+}
+
+package() {
+  cd jmespath.py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list