[arch-commits] Commit in libvirt-python/repos (6 files)
Jelle van der Waa
jelle at archlinux.org
Sun Sep 20 14:56:27 UTC 2015
Date: Sunday, September 20, 2015 @ 16:56:27
Author: jelle
Revision: 141282
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libvirt-python/repos/community-staging-i686/
libvirt-python/repos/community-staging-i686/PKGBUILD
(from rev 141281, libvirt-python/trunk/PKGBUILD)
libvirt-python/repos/community-staging-i686/libvirt-python.install
(from rev 141281, libvirt-python/trunk/libvirt-python.install)
libvirt-python/repos/community-staging-x86_64/
libvirt-python/repos/community-staging-x86_64/PKGBUILD
(from rev 141281, libvirt-python/trunk/PKGBUILD)
libvirt-python/repos/community-staging-x86_64/libvirt-python.install
(from rev 141281, libvirt-python/trunk/libvirt-python.install)
-------------------------------------------------+
community-staging-i686/PKGBUILD | 33 ++++++++++++++++++++++
community-staging-i686/libvirt-python.install | 3 ++
community-staging-x86_64/PKGBUILD | 33 ++++++++++++++++++++++
community-staging-x86_64/libvirt-python.install | 3 ++
4 files changed, 72 insertions(+)
Copied: libvirt-python/repos/community-staging-i686/PKGBUILD (from rev 141281, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-20 14:56:27 UTC (rev 141282)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jonathan Wiersma <archaur at jonw dot org>
+
+pkgbase=libvirt-python
+pkgname=(libvirt-python libvirt-python3)
+pkgver=1.2.19
+pkgrel=2
+pkgdesc="libvirt python binding"
+arch=('i686' 'x86_64')
+url="http://libvirt.org/"
+license=('LGPL')
+makedepends=('python' 'python2' 'libvirt')
+options=('emptydirs')
+install="libvirt-python.install"
+source=("http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz")
+md5sums=('429e328028fc59b62404a4163004f2ae')
+
+package_libvirt-python() {
+ depends=('python2' 'libvirt')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+ python2 setup.py clean
+ python2 setup.py install --root=$pkgdir
+}
+
+package_libvirt-python3() {
+ depends=('python' 'libvirt')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py clean
+ python setup.py install --root=$pkgdir
+}
Copied: libvirt-python/repos/community-staging-i686/libvirt-python.install (from rev 141281, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-staging-i686/libvirt-python.install (rev 0)
+++ community-staging-i686/libvirt-python.install 2015-09-20 14:56:27 UTC (rev 141282)
@@ -0,0 +1,3 @@
+post_remove() {
+ rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
+}
Copied: libvirt-python/repos/community-staging-x86_64/PKGBUILD (from rev 141281, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-20 14:56:27 UTC (rev 141282)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jonathan Wiersma <archaur at jonw dot org>
+
+pkgbase=libvirt-python
+pkgname=(libvirt-python libvirt-python3)
+pkgver=1.2.19
+pkgrel=2
+pkgdesc="libvirt python binding"
+arch=('i686' 'x86_64')
+url="http://libvirt.org/"
+license=('LGPL')
+makedepends=('python' 'python2' 'libvirt')
+options=('emptydirs')
+install="libvirt-python.install"
+source=("http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz")
+md5sums=('429e328028fc59b62404a4163004f2ae')
+
+package_libvirt-python() {
+ depends=('python2' 'libvirt')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+ python2 setup.py clean
+ python2 setup.py install --root=$pkgdir
+}
+
+package_libvirt-python3() {
+ depends=('python' 'libvirt')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py clean
+ python setup.py install --root=$pkgdir
+}
Copied: libvirt-python/repos/community-staging-x86_64/libvirt-python.install (from rev 141281, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-staging-x86_64/libvirt-python.install (rev 0)
+++ community-staging-x86_64/libvirt-python.install 2015-09-20 14:56:27 UTC (rev 141282)
@@ -0,0 +1,3 @@
+post_remove() {
+ rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
+}
More information about the arch-commits
mailing list