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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:17:12 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:17:12
  Author: felixonmars
Revision: 1057917

archrelease: copy trunk to community-staging-any

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

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

Copied: python-jsonpointer/repos/community-staging-any/COPYING (from rev 1057914, python-jsonpointer/trunk/COPYING)
===================================================================
--- community-staging-any/COPYING	                        (rev 0)
+++ community-staging-any/COPYING	2021-11-30 20:17:12 UTC (rev 1057917)
@@ -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 1057914, python-jsonpointer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:17:12 UTC (rev 1057917)
@@ -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.1
+pkgrel=2
+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=('4eed8c7fa908ce3ca79884e98b1b0e818d24515f6b7b2067daa49ab6dbd989be4bc43f387e980773c9fc17bca89d2039750cb0df76675259050e3f48c16da3b6')
+
+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