[arch-commits] Commit in python-stevedore/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Feb 13 16:13:08 UTC 2020


    Date: Thursday, February 13, 2020 @ 16:13:08
  Author: felixonmars
Revision: 570586

upgpkg: python-stevedore 1.31.0-4: remove python2 sibling

Modified:
  python-stevedore/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 16:13:03 UTC (rev 570585)
+++ PKGBUILD	2020-02-13 16:13:08 UTC (rev 570586)
@@ -1,36 +1,27 @@
 # Maintainer: Evangelos Foutras <evangelos at foutrelis.com
 
-pkgname=('python-stevedore' 'python2-stevedore')
+pkgname=python-stevedore
 pkgver=1.31.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Manage dynamic plugins for Python applications"
 arch=('any')
 url="https://github.com/openstack/stevedore"
 license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'git')
+depends=('python-setuptools' 'python-six')
+makedepends=('python-pbr')
 options=('!emptydirs')
 source=(https://pypi.org/packages/source/s/stevedore/stevedore-$pkgver.tar.gz)
 sha256sums=('e0739f9739a681c7a1fda76a102b65295e96a144ccdb552f2ae03c5f0abe8a14')
 
 prepare() {
-  cd "$srcdir/stevedore-$pkgver"
-
+  cd stevedore-$pkgver
   # Remove dependency on pbr; it's not a runtime dependency
   sed -i '/pbr/d' requirements.txt
 }
 
-package_python-stevedore() {
-  depends=('python-setuptools' 'python-six')
-
-  cd "$srcdir/stevedore-$pkgver"
+package() {
+  cd stevedore-$pkgver
   python3 setup.py install --root="$pkgdir" -O1
 }
 
-package_python2-stevedore() {
-  depends=('python2-setuptools' 'python2-six')
-
-  cd "$srcdir/stevedore-$pkgver"
-  python2 setup.py install --root="$pkgdir" -O1
-}
-
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list