[arch-commits] Commit in python-jsonschema/repos/community-any (PKGBUILD PKGBUILD)

Daniel Wallace dwallace at archlinux.org
Wed Feb 18 15:20:46 UTC 2015


    Date: Wednesday, February 18, 2015 @ 16:20:46
  Author: dwallace
Revision: 127937

archrelease: copy trunk to community-any

Added:
  python-jsonschema/repos/community-any/PKGBUILD
    (from rev 127936, python-jsonschema/trunk/PKGBUILD)
Deleted:
  python-jsonschema/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-18 15:20:26 UTC (rev 127936)
+++ PKGBUILD	2015-02-18 15:20:46 UTC (rev 127937)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred.com>
-# Contributor: Bogdan Szczurek <thebodzio at gmail.com>
-# Contributor: Ismo Toijala <ismo.toijala at gmail.com>
-
-pkgbase=python-jsonschema
-_pkgname=jsonschema
-pkgname=(python-jsonschema python2-jsonschema)
-pkgver=2.3.0
-pkgrel=3
-pkgdesc="An implementation of JSON Schema validation for Python"
-arch=(any)
-url="http://pypi.python.org/pypi/jsonschema"
-license=('MIT')
-makedepends=(python-setuptools python2-setuptools)
-source=("http://pypi.python.org/packages/source/j/jsonschema/${pkgname:7}-$pkgver.tar.gz")
-
-prepare(){
-    cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2
-    find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
-}
-
-package_python-jsonschema() {
-  cd "$srcdir/$_pkgname-$pkgver"
-  python setup.py install --root="$pkgdir/" --optimize=1
-  depends=(python)
-  install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-jsonschema() {
-  cd "$srcdir/$_pkgname-$pkgver-2"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-  depends=(python2)
-  install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-md5sums=('410075e1969a9ec1838b5a6e1313c32b')

Copied: python-jsonschema/repos/community-any/PKGBUILD (from rev 127936, python-jsonschema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-02-18 15:20:46 UTC (rev 127937)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred.com>
+# Contributor: Bogdan Szczurek <thebodzio at gmail.com>
+# Contributor: Ismo Toijala <ismo.toijala at gmail.com>
+
+pkgbase=python-jsonschema
+_pkgname=jsonschema
+pkgname=(python-jsonschema python2-jsonschema)
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="An implementation of JSON Schema validation for Python"
+arch=(any)
+url="http://pypi.python.org/pypi/jsonschema"
+license=('MIT')
+makedepends=(python-setuptools python2-setuptools)
+source=("http://pypi.python.org/packages/source/j/jsonschema/${pkgname:7}-$pkgver.tar.gz")
+
+prepare(){
+    cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2
+    find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+package_python-jsonschema() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  depends=(python)
+  install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-jsonschema() {
+  cd "$srcdir/$_pkgname-$pkgver-2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+  depends=(python2)
+  install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/jsonschema{,2}
+}
+
+md5sums=('661f85c3d23094afbb9ac3c0673840bf')



More information about the arch-commits mailing list