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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 04:19:24 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:19:17
  Author: felixonmars
Revision: 519982

archrelease: copy trunk to community-staging-any

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

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

Copied: python-warlock/repos/community-staging-any/PKGBUILD (from rev 519979, python-warlock/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:19:17 UTC (rev 519982)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-warlock
+pkgver=1.3.3
+pkgrel=2
+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