Date: Thursday, May 22, 2014 @ 23:12:50 Author: dwallace Revision: 111724
archrelease: copy trunk to community-any Added: python-jsonpointer/repos/community-any/ python-jsonpointer/repos/community-any/COPYING (from rev 111723, python-jsonpointer/trunk/COPYING) python-jsonpointer/repos/community-any/PKGBUILD (from rev 111723, python-jsonpointer/trunk/PKGBUILD) ----------+ COPYING | 26 ++++++++++++++++++++++++++ PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) Copied: python-jsonpointer/repos/community-any/COPYING (from rev 111723, python-jsonpointer/trunk/COPYING) =================================================================== --- community-any/COPYING (rev 0) +++ community-any/COPYING 2014-05-22 21:12:50 UTC (rev 111724) @@ -0,0 +1,26 @@ +Copyright (c) 2011 Stefan Kögl <ste...@skoegl.net> +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + Copied: python-jsonpointer/repos/community-any/PKGBUILD (from rev 111723, python-jsonpointer/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2014-05-22 21:12:50 UTC (rev 111724) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Limao Luo <luolimao+...@gmail.com> + +pkgbase=python-jsonpointer +_pkgname=jsonpointer +pkgname=(python2-jsonpointer python-jsonpointer) +pkgver=1.3 +pkgrel=2 +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) +source=(http://pypi.python.org/packages/source/j/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz + https://raw.github.com/stefankoegl/python-json-pointer/master/COPYING) +sha256sums=('0c60fd449265c301af8492a654e8cb379aeec5f6207ecac9a585fa91e6ccf95c' + 'd8b24f15d472885f788a2d6e985850f264627b86012a17bb242c83f310d907e5') +sha512sums=('9961e29b5a9b3153c0ed97d6da68b86aa2d1f8333e0ff2a8a2accce994276c83ecaead2729100bcdd655ad2120d9d3502422ab365837e93473cc1de5a31e4e7b' + '6a4c6b57a9cfe227175852c67ab7536fcc23646761cd10d25800edfccf408b139b1f589313f6cf6717c5764ca2e554cc16921118e01aebfbdf3ddfada82c6bac') + +prepare(){ + cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2 + find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} + +} + +build() { + cd $srcdir/$_pkgname-$pkgver + python setup.py build + cd $srcdir/$_pkgname-$pkgver-2 + python2 setup.py build +} + +package_python-jsonpointer() { + cd $_pkgname-$pkgver + depends=(python-d2to1 python-oslo-config python-pbr + python-prettytable python-requests python-simplejson) + 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) + python setup.py install --prefix=/usr --root="$pkgdir" + install -Dm644 $SRCDEST/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +}