[arch-commits] Commit in libvirt-python/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Mon Mar 23 01:58:28 UTC 2020
Date: Monday, March 23, 2020 @ 01:58:27
Author: felixonmars
Revision: 603686
archrelease: copy trunk to community-testing-x86_64
Added:
libvirt-python/repos/community-testing-x86_64/
libvirt-python/repos/community-testing-x86_64/PKGBUILD
(from rev 603685, libvirt-python/trunk/PKGBUILD)
libvirt-python/repos/community-testing-x86_64/libvirt-python.install
(from rev 603685, libvirt-python/trunk/libvirt-python.install)
------------------------+
PKGBUILD | 23 +++++++++++++++++++++++
libvirt-python.install | 3 +++
2 files changed, 26 insertions(+)
Copied: libvirt-python/repos/community-testing-x86_64/PKGBUILD (from rev 603685, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-03-23 01:58:27 UTC (rev 603686)
@@ -0,0 +1,23 @@
+# 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>
+
+pkgname=('libvirt-python')
+pkgver=5.10.0
+pkgrel=1
+pkgdesc="libvirt python binding"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/libvirt-python"
+license=('LGPL')
+makedepends=('python' 'libvirt')
+depends=('python' 'libvirt')
+options=('emptydirs')
+source=("https://libvirt.org/sources/python/libvirt-python-${pkgver}.tar.gz")
+sha512sums=('19bf1608fa83572b9b557371efc44bffe298a654db0fca90e49fae8e69a7b2228d9e5a1ae0ab5d34fda3256498e5d53e09b5ea889d600c9d56254730d50faf79')
+validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
+
+package() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ python setup.py clean
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
Copied: libvirt-python/repos/community-testing-x86_64/libvirt-python.install (from rev 603685, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-testing-x86_64/libvirt-python.install (rev 0)
+++ community-testing-x86_64/libvirt-python.install 2020-03-23 01:58:27 UTC (rev 603686)
@@ -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