[arch-commits] Commit in python-jsonpointer/repos/community-any (4 files)
Balló György
bgyorgy at archlinux.org
Mon Mar 16 20:50:03 UTC 2020
Date: Monday, March 16, 2020 @ 20:50:03
Author: bgyorgy
Revision: 599861
archrelease: copy trunk to community-any
Added:
python-jsonpointer/repos/community-any/COPYING
(from rev 599860, python-jsonpointer/trunk/COPYING)
python-jsonpointer/repos/community-any/PKGBUILD
(from rev 599860, python-jsonpointer/trunk/PKGBUILD)
Deleted:
python-jsonpointer/repos/community-any/COPYING
python-jsonpointer/repos/community-any/PKGBUILD
----------+
COPYING | 52 +++++++++++++++++++--------------------
PKGBUILD | 81 ++++++++++++++++++++++---------------------------------------
2 files changed, 56 insertions(+), 77 deletions(-)
Deleted: COPYING
===================================================================
--- COPYING 2020-03-16 20:49:58 UTC (rev 599860)
+++ COPYING 2020-03-16 20:50:03 UTC (rev 599861)
@@ -1,26 +0,0 @@
-Copyright (c) 2011 Stefan Kögl <stefan at 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 599860, python-jsonpointer/trunk/COPYING)
===================================================================
--- COPYING (rev 0)
+++ COPYING 2020-03-16 20:50:03 UTC (rev 599861)
@@ -0,0 +1,26 @@
+Copyright (c) 2011 Stefan Kögl <stefan at 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 2020-03-16 20:49:58 UTC (rev 599860)
+++ PKGBUILD 2020-03-16 20:50:03 UTC (rev 599861)
@@ -1,51 +0,0 @@
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Limao Luo <luolimao+AUR at gmail.com>
-
-pkgbase=python-jsonpointer
-pkgname=(python2-jsonpointer python-jsonpointer)
-pkgver=2.0
-pkgrel=4
-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=("https://pypi.io/packages/source/j/jsonpointer/jsonpointer-$pkgver.tar.gz")
-sha512sums=('e8e2b03c12c3fc5f65816fc71d1c07135ef74a0c912286f5b8bef2d9e21b8ae6e766d1aa2104b3eeb0e53928034321f25b203386ac3f5641b54b0641f6a08137')
-
-prepare(){
- cp -a jsonpointer-$pkgver jsonpointer-$pkgver-2
- find jsonpointer-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
-}
-
-build() {
- cd "$srcdir"/jsonpointer-$pkgver
- python setup.py build
-
- cd "$srcdir"/jsonpointer-$pkgver-2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/jsonpointer-$pkgver
- python tests.py
-
- cd "$srcdir"/jsonpointer-$pkgver-2
- python2 tests.py
-}
-
-package_python-jsonpointer() {
- depends=('python')
-
- cd jsonpointer-$pkgver
- python setup.py install --prefix=/usr --root="$pkgdir"
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-package_python2-jsonpointer() {
- depends=('python2')
-
- cd jsonpointer-$pkgver-2
- python2 setup.py install --prefix=/usr --root="$pkgdir"
- mv "$pkgdir"/usr/bin/jsonpointer{,2}
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: python-jsonpointer/repos/community-any/PKGBUILD (from rev 599860, python-jsonpointer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-16 20:50:03 UTC (rev 599861)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgname=python-jsonpointer
+pkgver=2.0
+pkgrel=5
+pkgdesc="Identify specific nodes in a JSON document (RFC 6901)"
+arch=('any')
+url="https://github.com/stefankoegl/python-json-pointer"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/j/jsonpointer/jsonpointer-$pkgver.tar.gz")
+sha512sums=('e8e2b03c12c3fc5f65816fc71d1c07135ef74a0c912286f5b8bef2d9e21b8ae6e766d1aa2104b3eeb0e53928034321f25b203386ac3f5641b54b0641f6a08137')
+
+build() {
+ cd "$srcdir"/jsonpointer-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/jsonpointer-$pkgver
+ python tests.py
+}
+
+package_python-jsonpointer() {
+ cd jsonpointer-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir"
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list