[arch-commits] Commit in python-jsonpointer/trunk (PKGBUILD)

Daniel Wallace dwallace at archlinux.org
Thu Oct 22 00:28:32 UTC 2015


    Date: Thursday, October 22, 2015 @ 02:28:32
  Author: dwallace
Revision: 144646

upgpkg: python-jsonpointer 1.9-3

upgpkg: python-jsonpointer 1.9-3

Modified:
  python-jsonpointer/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-22 00:08:15 UTC (rev 144645)
+++ PKGBUILD	2015-10-22 00:28:32 UTC (rev 144646)
@@ -6,14 +6,12 @@
 _pkgname=jsonpointer
 pkgname=(python2-jsonpointer python-jsonpointer)
 pkgver=1.9
-pkgrel=2
+pkgrel=3
 pkgdesc="Identify specific nodes in a JSON document (RFC 6901)"
 arch=(any)
 url=https://github.com/stefankoegl/python-json-pointer
 license=(BSD)
-makedepends=(python2-d2to1 python2-oslo-config python2-pbr python2-prettytable python2-requests
-    python2-setuptools python2-simplejson python-d2to1 python-oslo-config python-pbr 
-    python-prettytable python-requests python-setuptools python-simplejson)
+makedepends=(python2-setuptools python-setuptools)
 source=(http://pypi.python.org/packages/source/j/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz
     https://raw.github.com/stefankoegl/python-json-pointer/master/COPYING)
 sha256sums=('39403b47a71aa782de6d80db3b78f8a5f68ad8dfc9e674ca3bb5b32c15ec7308'
@@ -21,6 +19,7 @@
 sha512sums=('872367c1a75f8022c07a52191d3f9491dd62767f58c4fa2c2fdcd1bf139858f73e7a5ad495943f1cb35b759d7919a807f8bccc052f6c35831e8091b5fda31b40'
             '6a4c6b57a9cfe227175852c67ab7536fcc23646761cd10d25800edfccf408b139b1f589313f6cf6717c5764ca2e554cc16921118e01aebfbdf3ddfada82c6bac')
 
+export LANG=en_US.UTF-8
 prepare(){
     cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2
     find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
@@ -27,7 +26,6 @@
 }
 
 build() {
-    export LANG=en_US.UTF-8
     cd $srcdir/$_pkgname-$pkgver
     python setup.py build
     cd $srcdir/$_pkgname-$pkgver-2
@@ -36,15 +34,13 @@
 
 package_python-jsonpointer() {
     cd $_pkgname-$pkgver
-    depends=(python-d2to1 python-oslo-config python-pbr 
-    python-prettytable python-requests python-simplejson)
+    depends=(python)
     python setup.py install --prefix=/usr --root="$pkgdir"
     install -Dm644 $SRCDEST/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
 package_python2-jsonpointer() {
     cd $_pkgname-$pkgver-2
-    depends=(python2-d2to1 python2-oslo-config python2-pbr python2-prettytable python2-requests
-    python2-setuptools python2-simplejson python-d2to1)
+    depends=(python2)
     python2 setup.py install --prefix=/usr --root="$pkgdir"
     mv $pkgdir/usr/bin/jsonpointer $pkgdir/usr/bin/jsonpointer2 
     install -Dm644 $SRCDEST/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING



More information about the arch-commits mailing list