[arch-commits] Commit in libvirt-python/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Mon Jul 23 15:19:59 UTC 2018
Date: Monday, July 23, 2018 @ 15:19:58
Author: felixonmars
Revision: 362987
archrelease: copy trunk to community-staging-x86_64
Added:
libvirt-python/repos/community-staging-x86_64/
libvirt-python/repos/community-staging-x86_64/PKGBUILD
(from rev 362984, libvirt-python/trunk/PKGBUILD)
libvirt-python/repos/community-staging-x86_64/libvirt-python.install
(from rev 362984, libvirt-python/trunk/libvirt-python.install)
------------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
libvirt-python.install | 3 +++
2 files changed, 37 insertions(+)
Copied: libvirt-python/repos/community-staging-x86_64/PKGBUILD (from rev 362984, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-23 15:19:58 UTC (rev 362987)
@@ -0,0 +1,34 @@
+# ${Id}: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin ${}
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jonathan Wiersma <archaur at jonw dot org>
+
+pkgbase=libvirt-python
+pkgname=('libvirt-python2' 'libvirt-python')
+pkgver=4.5.0
+pkgrel=2
+pkgdesc="libvirt python binding"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/libvirt-python"
+license=('LGPL')
+makedepends=('python' 'python2' 'libvirt')
+options=('emptydirs')
+validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
+source=("http://libvirt.org/sources/python/libvirt-python-${pkgver}.tar.gz")
+sha512sums=('14572225c2f5233aa8cb7257cff94d38effc4d988aac36108ca510dcd442d8c5194d6b25bddb2603bb1e1bc4dcb284f103899ce81063dc6a7994d78beea355ac')
+
+package_libvirt-python2() {
+ depends=('python2' 'libvirt')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ python2 setup.py clean
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_libvirt-python() {
+ depends=('python' 'libvirt')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ python setup.py clean
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
Copied: libvirt-python/repos/community-staging-x86_64/libvirt-python.install (from rev 362984, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-staging-x86_64/libvirt-python.install (rev 0)
+++ community-staging-x86_64/libvirt-python.install 2018-07-23 15:19:58 UTC (rev 362987)
@@ -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