[arch-commits] Commit in python-jmespath/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 17:59:06 UTC 2019
Date: Thursday, October 31, 2019 @ 17:59:06
Author: felixonmars
Revision: 521492
archrelease: copy trunk to community-staging-any
Added:
python-jmespath/repos/community-staging-any/PKGBUILD
(from rev 521491, python-jmespath/trunk/PKGBUILD)
Deleted:
python-jmespath/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:59:01 UTC (rev 521491)
+++ PKGBUILD 2019-10-31 17:59:06 UTC (rev 521492)
@@ -1,53 +0,0 @@
-# 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
-
-pkgbase=python-jmespath
-pkgname=(python-jmespath python2-jmespath)
-pkgver=0.9.4
-pkgrel=2
-pkgdesc='A query language for JSON'
-arch=('any')
-url="https://github.com/jmespath/jmespath"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-py' 'python2-py')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/jmespath/jmespath.py/archive/$pkgver.tar.gz")
-sha512sums=('38b8d27dbd13d5ab056e115f4e8048fd54d649955dfcb2c296fe14dc684cd729351618c06c5b9a4b4d27798cfec6c2b7b340f498e961475e6fb3c9640b4e51ae')
-
-prepare() {
- cp -a jmespath.py-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/jmespath.py-$pkgver
- python setup.py build
-
- cd "$srcdir"/jmespath.py-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/jmespath.py-$pkgver
- LC_CTYPE=en_US.utf8 nosetests3
-
- cd "$srcdir"/jmespath.py-$pkgver-py2
- LC_CTYPE=en_US.utf8 nosetests2
-}
-
-package_python-jmespath() {
- depends=('python')
-
- cd jmespath.py-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-jmespath() {
- depends=('python2')
-
- cd jmespath.py-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir"/usr/bin/jp{,2}.py
-}
Copied: python-jmespath/repos/community-staging-any/PKGBUILD (from rev 521491, python-jmespath/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:59:06 UTC (rev 521492)
@@ -0,0 +1,53 @@
+# 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
+
+pkgbase=python-jmespath
+pkgname=(python-jmespath python2-jmespath)
+pkgver=0.9.4
+pkgrel=3
+pkgdesc='A query language for JSON'
+arch=('any')
+url="https://github.com/jmespath/jmespath"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose' 'python-py' 'python2-py')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jmespath/jmespath.py/archive/$pkgver.tar.gz")
+sha512sums=('38b8d27dbd13d5ab056e115f4e8048fd54d649955dfcb2c296fe14dc684cd729351618c06c5b9a4b4d27798cfec6c2b7b340f498e961475e6fb3c9640b4e51ae')
+
+prepare() {
+ cp -a jmespath.py-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/jmespath.py-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/jmespath.py-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/jmespath.py-$pkgver
+ LC_CTYPE=en_US.utf8 nosetests3
+
+ cd "$srcdir"/jmespath.py-$pkgver-py2
+ LC_CTYPE=en_US.utf8 nosetests2
+}
+
+package_python-jmespath() {
+ depends=('python')
+
+ cd jmespath.py-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-jmespath() {
+ depends=('python2')
+
+ cd jmespath.py-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/jp{,2}.py
+}
More information about the arch-commits
mailing list