[arch-commits] Commit in python-jsonpointer/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 15:59:57 UTC 2020


    Date: Monday, November 9, 2020 @ 15:59:56
  Author: foutrelis
Revision: 747290

archrelease: copy trunk to community-staging-any

Added:
  python-jsonpointer/repos/community-staging-any/
  python-jsonpointer/repos/community-staging-any/COPYING
    (from rev 747289, python-jsonpointer/trunk/COPYING)
  python-jsonpointer/repos/community-staging-any/PKGBUILD
    (from rev 747289, python-jsonpointer/trunk/PKGBUILD)

----------+
 COPYING  |   26 ++++++++++++++++++++++++++
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

Copied: python-jsonpointer/repos/community-staging-any/COPYING (from rev 747289, python-jsonpointer/trunk/COPYING)
===================================================================
--- community-staging-any/COPYING	                        (rev 0)
+++ community-staging-any/COPYING	2020-11-09 15:59:56 UTC (rev 747290)
@@ -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.
+

Copied: python-jsonpointer/repos/community-staging-any/PKGBUILD (from rev 747289, python-jsonpointer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:59:56 UTC (rev 747290)
@@ -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=6
+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