[arch-commits] Commit in python-jsonschema-objects/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:43:02 UTC 2021


    Date: Friday, December 3, 2021 @ 00:43:02
  Author: felixonmars
Revision: 1063985

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-jsonschema-objects/repos/community-staging-any/PKGBUILD (from rev 1063983, python-jsonschema-objects/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:43:02 UTC (rev 1063985)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jsonschema-objects
+pkgver=0.3.15
+pkgrel=2
+pkgdesc="Return the jsonschema-objects true value of an iterable"
+url="https://github.com/cwacek/python-jsonschema-objects"
+license=('MIT')
+arch=('any')
+depends=('python-inflection' 'python-markdown' 'python-jsonschema' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/cwacek/python-jsonschema-objects/archive/$pkgver.tar.gz")
+sha512sums=('b514383bbc52ecfca1238a95a36277ef4c8c4fbf8794729d43d39db8a752ce384528f0c30bbc01daf9fc3678eca26711dd18e588eda8517cb10dcfe0e45ff3e9')
+
+build() {
+  cd python-jsonschema-objects-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-jsonschema-objects-$pkgver
+  python setup.py pytest --addopts --doctest-glob='python_jsonschema_objects/*.md'
+}
+
+package() {
+  cd python-jsonschema-objects-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list