Date: Tuesday, November 29, 2022 @ 07:17:27
Author: grawlinson
Revision: 1354986
archrelease: copy trunk to community-any
Added:
python-jsonschema/repos/community-any/PKGBUILD
(from rev 1354985, python-jsonschema/trunk/PKGBUILD)
Deleted:
python-jsonschema/repos/community-any/PKGBUILD
----------+
PKGBUILD | 172 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 86 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-29 07:16:43 UTC (rev 1354985)
+++ PKGBUILD 2022-11-29 07:17:27 UTC (rev 1354986)
@@ -1,86 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Felix Yan <[email protected]>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred.com>
-# Contributor: Bogdan Szczurek <[email protected]>
-# Contributor: Ismo Toijala <[email protected]>
-
-pkgname=python-jsonschema
-pkgver=4.17.1
-pkgrel=1
-pkgdesc='An implementation of JSON Schema validation for Python'
-arch=('any')
-url='https://github.com/python-jsonschema/jsonschema'
-license=('MIT')
-depends=(
- 'python'
- 'python-attrs'
- 'python-pyrsistent'
- 'python-typing_extensions'
-)
-makedepends=(
- 'git'
- 'python-build'
- 'python-installer'
- 'python-wheel'
- 'python-hatchling'
- 'python-hatch-vcs'
- 'python-hatch-fancy-pypi-readme'
-)
-checkdepends=(
- 'python-pip'
- 'python-twisted'
- 'python-isoduration'
- 'python-fqdn'
- 'python-idna'
- 'python-jsonpointer'
- 'python-rfc3339-validator'
- 'python-rfc3987'
- 'python-uri-template'
- 'python-webcolors'
-)
-optdepends=(
- 'python-isoduration: for duration format'
- 'python-fqdn: for hostname format'
- 'python-idna: for idn-hostname format'
- 'python-jsonpointer: for json-pointer & relative-json-pointer format'
- 'python-rfc3339-validator: for date-time format'
- 'python-rfc3987: for iri, iri-reference, uri & uri-reference format'
- 'python-uri-template: for uri-template format'
- 'python-webcolors: for color format'
-)
-_commit='46fdb982a26aac211bc4d20b2ef6d8089a520f77'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- cd "$pkgname"
-
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "$pkgname"
-
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- # install to temporary directory
- python -m installer --destdir="$PWD/tmp_install" dist/*.whl
-
- PYTHONPATH="$PWD/tmp_install$site_packages" \
- JSON_SCHEMA_TEST_SUITE=json trial jsonschema
-}
-
-package() {
- cd "$pkgname"
-
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" json/LICENSE
-}
Copied: python-jsonschema/repos/community-any/PKGBUILD (from rev 1354985,
python-jsonschema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-29 07:17:27 UTC (rev 1354986)
@@ -0,0 +1,86 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred.com>
+# Contributor: Bogdan Szczurek <[email protected]>
+# Contributor: Ismo Toijala <[email protected]>
+
+pkgname=python-jsonschema
+pkgver=4.17.2
+pkgrel=1
+pkgdesc='An implementation of JSON Schema validation for Python'
+arch=('any')
+url='https://github.com/python-jsonschema/jsonschema'
+license=('MIT')
+depends=(
+ 'python'
+ 'python-attrs'
+ 'python-pyrsistent'
+ 'python-typing_extensions'
+)
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-hatchling'
+ 'python-hatch-vcs'
+ 'python-hatch-fancy-pypi-readme'
+)
+checkdepends=(
+ 'python-pip'
+ 'python-twisted'
+ 'python-isoduration'
+ 'python-fqdn'
+ 'python-idna'
+ 'python-jsonpointer'
+ 'python-rfc3339-validator'
+ 'python-rfc3987'
+ 'python-uri-template'
+ 'python-webcolors'
+)
+optdepends=(
+ 'python-isoduration: for duration format'
+ 'python-fqdn: for hostname format'
+ 'python-idna: for idn-hostname format'
+ 'python-jsonpointer: for json-pointer & relative-json-pointer format'
+ 'python-rfc3339-validator: for date-time format'
+ 'python-rfc3987: for iri, iri-reference, uri & uri-reference format'
+ 'python-uri-template: for uri-template format'
+ 'python-webcolors: for color format'
+)
+_commit='e868bfeddee255ff55ad40345d4b6e8c3519b577'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ # install to temporary directory
+ python -m installer --destdir="$PWD/tmp_install" dist/*.whl
+
+ PYTHONPATH="$PWD/tmp_install$site_packages" \
+ JSON_SCHEMA_TEST_SUITE=json trial jsonschema
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" json/LICENSE
+}