diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 13:36:55 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 13:36:55 +0000 |
commit | 6c9b7b22a864eac971a468aae8053c5cad8cdda6 (patch) | |
tree | ceffcecca740a8fb6006f93ddeb4633c52760320 /unmaintained | |
parent | 154d2525b1c64bc5176c56eee1b3d17154a9a5b3 (diff) | |
download | aports-6c9b7b22a864eac971a468aae8053c5cad8cdda6.tar.bz2 aports-6c9b7b22a864eac971a468aae8053c5cad8cdda6.tar.xz |
testing/py-xen: unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/py-xen/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/py-xen/APKBUILD b/unmaintained/py-xen/APKBUILD new file mode 100644 index 0000000000..fb58c179fb --- /dev/null +++ b/unmaintained/py-xen/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=py-xen +pkgver=0.0.3 +pkgrel=0 +pkgdesc="Python binding for Xen management" +url="https://bitbucket.org/tortoiselabs/python-xen" +arch="noarch" +license="ISC" +depends="python xen-libs" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/P/Python-Xen/Python-Xen-$pkgver.tar.gz" + +_builddir="$srcdir"/Python-Xen-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="75b0689146dfbbe493769f15871bf853 Python-Xen-0.0.3.tar.gz" |