[arch-commits] Commit in python-stevedore/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 20:08:56 UTC 2019


    Date: Friday, October 25, 2019 @ 20:08:56
  Author: foutrelis
Revision: 519759

archrelease: copy trunk to community-staging-any

Added:
  python-stevedore/repos/community-staging-any/
  python-stevedore/repos/community-staging-any/PKGBUILD
    (from rev 519755, python-stevedore/trunk/PKGBUILD)

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

Copied: python-stevedore/repos/community-staging-any/PKGBUILD (from rev 519755, python-stevedore/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 20:08:56 UTC (rev 519759)
@@ -0,0 +1,36 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com
+
+pkgname=('python-stevedore' 'python2-stevedore')
+pkgver=1.31.0
+pkgrel=2
+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')
+options=('!emptydirs')
+source=(https://pypi.org/packages/source/s/stevedore/stevedore-$pkgver.tar.gz)
+sha256sums=('e0739f9739a681c7a1fda76a102b65295e96a144ccdb552f2ae03c5f0abe8a14')
+
+prepare() {
+  cd "$srcdir/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"
+  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