Date: Thursday, December 17, 2015 @ 14:06:25 Author: fyan Revision: 153591
archrelease: copy trunk to community-any Added: python-jsonpointer/repos/community-any/COPYING (from rev 153590, python-jsonpointer/trunk/COPYING) python-jsonpointer/repos/community-any/PKGBUILD (from rev 153590, python-jsonpointer/trunk/PKGBUILD) Deleted: python-jsonpointer/repos/community-any/COPYING python-jsonpointer/repos/community-any/PKGBUILD ----------+ COPYING | 52 ++++++++++++++++----------------- PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: COPYING =================================================================== --- COPYING 2015-12-17 13:06:05 UTC (rev 153590) +++ COPYING 2015-12-17 13:06:25 UTC (rev 153591) @@ -1,26 +0,0 @@ -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/COPYING (from rev 153590, python-jsonpointer/trunk/COPYING) =================================================================== --- COPYING (rev 0) +++ COPYING 2015-12-17 13:06:25 UTC (rev 153591) @@ -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. + Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-12-17 13:06:05 UTC (rev 153590) +++ PKGBUILD 2015-12-17 13:06:25 UTC (rev 153591) @@ -1,47 +0,0 @@ -# $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.9 -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-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' - 'd8b24f15d472885f788a2d6e985850f264627b86012a17bb242c83f310d907e5') -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/' {} + -} - -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) - 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) - 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 -} Copied: python-jsonpointer/repos/community-any/PKGBUILD (from rev 153590, python-jsonpointer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-12-17 13:06:25 UTC (rev 153591) @@ -0,0 +1,47 @@ +# $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.10 +pkgrel=1 +pkgdesc="Identify specific nodes in a JSON document (RFC 6901)" +arch=(any) +url=https://github.com/stefankoegl/python-json-pointer +license=(BSD) +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=('9fa5dcac35eefd53e25d6cd4c310d963c9f0b897641772cd6e5e7b89df7ee0b1' + 'd8b24f15d472885f788a2d6e985850f264627b86012a17bb242c83f310d907e5') +sha512sums=('b2df5f19b14b670825b18f7da4ca50b089beb2ccbb1c69acfc904eed82b5315ad19940b4aaa8f8504c2fc7d477778d65e31f492dd30ee8b5ba95ccfd0eaeb9b1' + '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/' {} + +} + +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) + 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) + 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 +}