summaryrefslogtreecommitdiff
path: root/pcr/python2-warlock
diff options
context:
space:
mode:
authoraurelien <aurelien@xload.io>2014-06-01 00:15:45 +0200
committeraurelien <aurelien@xload.io>2014-06-01 00:15:45 +0200
commita86f8f800cc9cb439878cac8277a881f09eb7fc1 (patch)
treeaef422794974522802417a9e7a5c70606d28f4e1 /pcr/python2-warlock
parenta06c1140a9cf8c521ac6d980e8b495a27d51c927 (diff)
downloadabslibre-a86f8f800cc9cb439878cac8277a881f09eb7fc1.tar.gz
abslibre-a86f8f800cc9cb439878cac8277a881f09eb7fc1.tar.bz2
abslibre-a86f8f800cc9cb439878cac8277a881f09eb7fc1.zip
python2-warlock
Diffstat (limited to 'pcr/python2-warlock')
-rw-r--r--pcr/python2-warlock/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/python2-warlock/PKGBUILD b/pcr/python2-warlock/PKGBUILD
new file mode 100644
index 000000000..b11e1a420
--- /dev/null
+++ b/pcr/python2-warlock/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=python2-warlock
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Python object model built on JSON schema and JSON patch"
+arch=(any)
+url=https://github.com/bcwaldon/warlock
+license=(Apache)
+depends=(python2-jsonpatch)
+makedepends=(python2-setuptools)
+source=(http://pypi.python.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
+
+build() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+}