diff options
Diffstat (limited to 'community/python2-xenstore')
-rw-r--r-- | community/python2-xenstore/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/python2-xenstore/PKGBUILD b/community/python2-xenstore/PKGBUILD new file mode 100644 index 000000000..dcf03ca55 --- /dev/null +++ b/community/python2-xenstore/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 110210 2014-04-26 23:41:32Z dwallace $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +pkgname=python2-xenstore +pkgver=0.0.2 +pkgrel=4 +pkgdesc="Python XenStore Module" +arch=('x86_64' 'i686') +url="https://pypi.python.org/pypi/pyxenstore" +license=('GPL') +depends=('python2' 'xenstore') +makedepends=('python2-distribute') +replaces=('python2-pyxenstore') +provides=('python2-pyxenstore') +source=("https://pypi.python.org/packages/source/p/py${pkgname#*-}/py${pkgname#*-}-$pkgver.tar.gz") +md5sums=('4da2524ed0ec9439afc5c9a46ac21c6c') + +build() { + cd "$srcdir/py${pkgname#*-}-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/py${pkgname#*-}-$pkgver" + python2 setup.py install --root="$pkgdir/" +} + +# vim:set ts=2 sw=2 et: |