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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:28:07 UTC 2020


    Date: Monday, November 9, 2020 @ 18:28:07
  Author: foutrelis
Revision: 747992

archrelease: copy trunk to community-staging-any

Added:
  python-warlock/repos/community-staging-any/
  python-warlock/repos/community-staging-any/PKGBUILD
    (from rev 747991, python-warlock/trunk/PKGBUILD)

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

Copied: python-warlock/repos/community-staging-any/PKGBUILD (from rev 747991, python-warlock/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:28:07 UTC (rev 747992)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-warlock
+pkgver=1.3.3
+pkgrel=4
+pkgdesc="Python object model built on JSON schema and JSON patch."
+arch=('any')
+license=('Apache')
+url="https://github.com/bcwaldon/warlock"
+depends=('python-jsonschema' 'python-jsonpatch' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bcwaldon/warlock/archive/$pkgver.tar.gz")
+sha512sums=('8a9135a17ccc0d0939ad98eee16100ec68b911d672b3af549f7629edcd6e08129f9e4ab707082593274fc896bc405ab6d6ba9e4bf6fc40b8522ec99327c983ec')
+
+build() {
+  cd warlock-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd warlock-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd warlock-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list