[arch-commits] Commit in (3 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Apr 23 02:15:47 UTC 2017


    Date: Sunday, April 23, 2017 @ 02:15:46
  Author: svenstaro
Revision: 224445

Add python-ovirt-engine-sdk from AUR

Added:
  python-ovirt-engine-sdk/
  python-ovirt-engine-sdk/trunk/
  python-ovirt-engine-sdk/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: python-ovirt-engine-sdk/trunk/PKGBUILD
===================================================================
--- python-ovirt-engine-sdk/trunk/PKGBUILD	                        (rev 0)
+++ python-ovirt-engine-sdk/trunk/PKGBUILD	2017-04-23 02:15:46 UTC (rev 224445)
@@ -0,0 +1,29 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Konstantin Shalygin <k0ste at k0ste.ru>
+
+pkgbase='ovirt-engine-sdk'
+pkgname=('python-ovirt-engine-sdk' 'python2-ovirt-engine-sdk')
+pkgver='4.1.3'
+pkgrel='1'
+pkgdesc='Python access to the oVirt Engine API'
+arch=('any')
+url='http://ovirt.org/develop/release-management/features/infra/python-sdk'
+makedepends=('python-setuptools'
+	     'python2-setuptools')
+license=('ASL 2.0')
+source=("http://resources.ovirt.org/pub/ovirt-4.1/src/python-${pkgbase}4/${pkgbase}-python-${pkgver}.tar.gz")
+sha512sums=('6bfa15e793117c33c134cdcfe68b86ccb5bd094b3ef09a9982a627a66cf16b54')
+
+package_python-ovirt-engine-sdk() {
+  depends=('python-pycurl' 'python-six')
+
+  cd "${srcdir}/${pkgbase}-python-${pkgver}"
+  python setup.py install -O1 --root="${pkgdir}"
+}
+
+package_python2-ovirt-engine-sdk() {
+  depends=('python2-pycurl' 'python2-six' 'python2-enum34')
+
+  cd "${srcdir}/${pkgbase}-python-${pkgver}"
+  python2 setup.py install -O1 --root="${pkgdir}"
+}



More information about the arch-commits mailing list