[arch-commits] Commit in python-ovirt-engine-sdk/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Feb 17 06:03:40 UTC 2019


    Date: Sunday, February 17, 2019 @ 06:03:39
  Author: svenstaro
Revision: 433999

upgpkg: python-ovirt-engine-sdk 4.3.0-2

Remove python2 package

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

----------+
 PKGBUILD |   21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-17 06:02:06 UTC (rev 433998)
+++ PKGBUILD	2019-02-17 06:03:39 UTC (rev 433999)
@@ -1,32 +1,21 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 # Contributor: Konstantin Shalygin <k0ste at k0ste.ru>
 
-pkgbase='python-ovirt-engine-sdk'
-pkgname=('python-ovirt-engine-sdk' 'python2-ovirt-engine-sdk')
+pkgname=python-ovirt-engine-sdk
 pkgver=4.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Python access to the oVirt Engine API'
 arch=('x86_64')
 url='http://ovirt.org/develop/release-management/features/infra/python-sdk'
-makedepends=('python-setuptools' 'python2-setuptools' 'libxml2')
+depends=('python-pycurl' 'python-six')
+makedepends=('python-setuptools' 'libxml2')
 license=('custom')
 source=("http://resources.ovirt.org/pub/ovirt-4.3/src/python-ovirt-engine-sdk4/ovirt-engine-sdk-python-${pkgver}.tar.gz")
 sha512sums=('73921b7a2506926a708f6bda02c8b52d4da2145438e8e56e0e7718b9a425b703ed503250df94c6f9a22b5154ffaf5470ac289e6a23c5910bc92b2558dcfe433e')
 
-package_python-ovirt-engine-sdk() {
-  depends=('python-pycurl' 'python-six')
-
+package() {
   cd "${srcdir}/ovirt-engine-sdk-python-${pkgver}"
   python setup.py install -O1 --root="${pkgdir}"
 
   install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
-
-package_python2-ovirt-engine-sdk() {
-  depends=('python2-pycurl' 'python2-six' 'python2-enum34')
-
-  cd "${srcdir}/ovirt-engine-sdk-python-${pkgver}"
-  python2 setup.py install -O1 --root="${pkgdir}"
-
-  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}



More information about the arch-commits mailing list