diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-01 22:21:00 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-01 22:21:00 -0300 |
commit | 888ba65470b25311d05aa55c9f88fb6736ece938 (patch) | |
tree | 139490225c3190a6f5728d3756fd17ea9038467b /pcr/python2-warlock/PKGBUILD | |
parent | e08edc31359b2fdc2baf4ea9da246c6fac717ab6 (diff) | |
parent | bf725c5b41e91a279bd79c6749b4b8950005d456 (diff) | |
download | abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.tar.gz abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.tar.bz2 abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-warlock/PKGBUILD')
-rw-r--r-- | pcr/python2-warlock/PKGBUILD | 23 |
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" +} |