diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-05-02 23:12:49 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-03 15:02:21 +0000 |
commit | 6fe8aad53ef0b902e1449a4c6afb2d5f53448759 (patch) | |
tree | 56b8783d124d5ae52e61fd654f5fd9aaaebddf90 /main/py-libvirt | |
parent | f34f22c1b09f194cceafcc3b179252f92e544e55 (diff) | |
download | aports-6fe8aad53ef0b902e1449a4c6afb2d5f53448759.tar.bz2 aports-6fe8aad53ef0b902e1449a4c6afb2d5f53448759.tar.xz |
main/py-libvirt: upgrade to 1.3.4 and refactor abuild a bit
Versions 1.2.x doesn't work anymore, so I've upgraded it to the
latest version. It builds fine, but I did *not* verified if it
really works.
Diffstat (limited to 'main/py-libvirt')
-rw-r--r-- | main/py-libvirt/APKBUILD | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/main/py-libvirt/APKBUILD b/main/py-libvirt/APKBUILD index e81d21e115..66b5468f85 100644 --- a/main/py-libvirt/APKBUILD +++ b/main/py-libvirt/APKBUILD @@ -1,44 +1,32 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=py-libvirt -pkgver=1.2.17 +_pkgname=libvirt-python +pkgver=1.3.4 pkgrel=0 pkgdesc="The libvirt virtualization API python binding" url="http://libvirt.org" arch="all" license="LGPLv2+" depends="" -depends_dev="" -makedepends="$depends_dev python-dev libvirt-dev" -install="" -subpackages="" -source="http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz +makedepends="python-dev libvirt-dev" +source="http://libvirt.org/sources/python/$_pkgname-$pkgver.tar.gz musl-gnuc-prereq.patch " - -_builddir="$srcdir"/libvirt-python-$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 -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" python setup.py build || return 1 } package() { - cd "$_builddir" + cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="a695e323e33db562d86e947f7ac77f09 libvirt-python-1.2.17.tar.gz +md5sums="4d2d5810e04b213be6aa667cdcc95ffd libvirt-python-1.3.4.tar.gz 51a120926a0c664e972f207215e4a7a0 musl-gnuc-prereq.patch" -sha256sums="f4d3db4012a800a2519e62bbef4ce14a37e030a20ab18f5b66759533a39b36ed libvirt-python-1.2.17.tar.gz +sha256sums="badd2f51b07d5b03be7c01c45d8f52fea181ba9386ced5b12241ffdcf7e4f7a7 libvirt-python-1.3.4.tar.gz a3be754db64e05679d72587f60e7455a946c87102d591119c991765016a8b458 musl-gnuc-prereq.patch" -sha512sums="bd77558bc59f2abedb55582fed56bb73b33089cfa5de4a109c145bb087dfaa258ad4b022ca00b30fbac5c09f53f7a60fc270e658afd1cc57e618568b89adbfcd libvirt-python-1.2.17.tar.gz +sha512sums="18063021edf28b6c7b6b407590ec94eda45272c6b976ef560b4e81a8b212a5c7d2c1ce844e066855cda0a1bca4e98028936314c58e12261952783bd606501f59 libvirt-python-1.3.4.tar.gz 8aa1d814f8388ebff0736ee138c780323381cd4cf39b4a4faed2e2a1fe5911facc34505a85b0977d8b4240b8ce2f4a6d0414790693c4f45ff7d9592e9d6a3ff8 musl-gnuc-prereq.patch" |