From a86f8f800cc9cb439878cac8277a881f09eb7fc1 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 00:15:45 +0200 Subject: python2-warlock --- pcr/python2-warlock/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pcr/python2-warlock/PKGBUILD (limited to 'pcr/python2-warlock/PKGBUILD') 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 +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +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" +} -- cgit v1.2.3