[arch-commits] Commit in python-jsonschema/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 1 13:27:03 UTC 2019


    Date: Friday, November 1, 2019 @ 13:27:03
  Author: foutrelis
Revision: 521822

archrelease: copy trunk to community-staging-any

Added:
  python-jsonschema/repos/community-staging-any/PKGBUILD
    (from rev 521821, python-jsonschema/trunk/PKGBUILD)
Deleted:
  python-jsonschema/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-01 13:26:59 UTC (rev 521821)
+++ PKGBUILD	2019-11-01 13:27:03 UTC (rev 521822)
@@ -1,66 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred.com>
-# Contributor: Bogdan Szczurek <thebodzio at gmail.com>
-# Contributor: Ismo Toijala <ismo.toijala at gmail.com>
-
-pkgbase=python-jsonschema
-pkgname=('python-jsonschema' 'python2-jsonschema')
-pkgver=3.0.2
-pkgrel=2
-pkgdesc="An implementation of JSON Schema validation for Python"
-arch=('any')
-url="https://pypi.python.org/pypi/jsonschema"
-license=('MIT')
-makedepends=('python-attrs' 'python2-attrs' 'python-pyrsistent' 'python2-pyrsistent'
-             'python2-functools32' 'python-setuptools-scm' 'python2-setuptools-scm')
-checkdepends=('python-twisted' 'python2-twisted' 'python-idna' 'python2-idna' 'python-jsonpointer'
-              'python2-jsonpointer' 'python-strict-rfc3339' 'python2-strict-rfc3339'
-              'python-rfc3987' 'python2-rfc3987' 'python-webcolors' 'python2-webcolors')
-source=("$pkgbase-$pkgver.tar.bz2::https://github.com/Julian/jsonschema/archive/v$pkgver.tar.gz")
-sha512sums=('906ee1911a56fd7db18891c86dbca6dc9b7e306784b09b2507f75ce07cd236729404f71a142f5bd1b947a475e05a69c1586e91bcc2b6c10e3d630d887e6a33f8')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cp -a jsonschema-$pkgver{,-py2}
-  find jsonschema-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
-}
-
-build() {
-  cd "$srcdir"/jsonschema-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/jsonschema-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/jsonschema-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" JSON_SCHEMA_TEST_SUITE=json trial3 jsonschema
-  python -m doctest README.rst
-
-  cd "$srcdir"/jsonschema-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages" JSON_SCHEMA_TEST_SUITE=json trial jsonschema
-  python2 -m doctest README.rst
-}
-
-package_python-jsonschema() {
-  depends=('python-attrs' 'python-pyrsistent' 'python-setuptools')
-
-  cd jsonschema-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 json/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-jsonschema() {
-  depends=('python2-attrs' 'python2-pyrsistent' 'python2-setuptools' 'python2-functools32')
-
-  cd jsonschema-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 json/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/jsonschema{,2}
-}
-

Copied: python-jsonschema/repos/community-staging-any/PKGBUILD (from rev 521821, python-jsonschema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-01 13:27:03 UTC (rev 521822)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred.com>
+# Contributor: Bogdan Szczurek <thebodzio at gmail.com>
+# Contributor: Ismo Toijala <ismo.toijala at gmail.com>
+
+pkgbase=python-jsonschema
+pkgname=('python-jsonschema' 'python2-jsonschema')
+pkgver=3.0.2
+pkgrel=3
+pkgdesc="An implementation of JSON Schema validation for Python"
+arch=('any')
+url="https://pypi.python.org/pypi/jsonschema"
+license=('MIT')
+makedepends=('python-attrs' 'python2-attrs' 'python-pyrsistent' 'python2-pyrsistent'
+             'python2-functools32' 'python-setuptools-scm' 'python2-setuptools-scm')
+checkdepends=('python-twisted' 'python2-twisted' 'python-idna' 'python2-idna' 'python-jsonpointer'
+              'python2-jsonpointer' 'python-strict-rfc3339' 'python2-strict-rfc3339'
+              'python-rfc3987' 'python2-rfc3987' 'python-webcolors' 'python2-webcolors')
+source=("$pkgbase-$pkgver.tar.bz2::https://github.com/Julian/jsonschema/archive/v$pkgver.tar.gz")
+sha512sums=('906ee1911a56fd7db18891c86dbca6dc9b7e306784b09b2507f75ce07cd236729404f71a142f5bd1b947a475e05a69c1586e91bcc2b6c10e3d630d887e6a33f8')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  cp -a jsonschema-$pkgver{,-py2}
+  find jsonschema-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+  cd "$srcdir"/jsonschema-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/jsonschema-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/jsonschema-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" JSON_SCHEMA_TEST_SUITE=json trial3 jsonschema
+  python -m doctest README.rst
+
+  cd "$srcdir"/jsonschema-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages" JSON_SCHEMA_TEST_SUITE=json trial jsonschema
+  python2 -m doctest README.rst
+}
+
+package_python-jsonschema() {
+  depends=('python-attrs' 'python-pyrsistent' 'python-setuptools')
+
+  cd jsonschema-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 json/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-jsonschema() {
+  depends=('python2-attrs' 'python2-pyrsistent' 'python2-setuptools' 'python2-functools32')
+
+  cd jsonschema-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 json/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/jsonschema{,2}
+}
+



More information about the arch-commits mailing list