[arch-commits] Commit in python-jsonschema/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Jul 5 10:55:35 UTC 2015
Date: Sunday, July 5, 2015 @ 12:55:35
Author: arojas
Revision: 136436
archrelease: copy trunk to community-any
Added:
python-jsonschema/repos/community-any/PKGBUILD
(from rev 136435, python-jsonschema/trunk/PKGBUILD)
Deleted:
python-jsonschema/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-07-05 10:54:17 UTC (rev 136435)
+++ PKGBUILD 2015-07-05 10:55:35 UTC (rev 136436)
@@ -1,38 +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.5.1
-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")
-md5sums=('374e848fdb69a3ce8b7e778b47c30640')
-
-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}
-}
-
Copied: python-jsonschema/repos/community-any/PKGBUILD (from rev 136435, python-jsonschema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-07-05 10:55:35 UTC (rev 136436)
@@ -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.5.1
+pkgrel=2
+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")
+md5sums=('374e848fdb69a3ce8b7e778b47c30640')
+
+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-functools32)
+ install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ mv $pkgdir/usr/bin/jsonschema{,2}
+}
+
More information about the arch-commits
mailing list