[arch-commits] Commit in python-warlock/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 11:17:04 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:17:04
Author: foutrelis
Revision: 1059139
archrelease: copy trunk to community-staging-any
Added:
python-warlock/repos/community-staging-any/
python-warlock/repos/community-staging-any/PKGBUILD
(from rev 1059138, python-warlock/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-warlock/repos/community-staging-any/PKGBUILD (from rev 1059138, python-warlock/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:17:04 UTC (rev 1059139)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-warlock
+pkgver=1.3.3
+pkgrel=6
+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