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

Felix Yan felixonmars at archlinux.org
Sat Dec 24 18:05:35 UTC 2016


    Date: Saturday, December 24, 2016 @ 18:05:35
  Author: felixonmars
Revision: 201746

archrelease: copy trunk to community-staging-any

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

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

Copied: python-stevedore/repos/community-staging-any/PKGBUILD (from rev 201745, python-stevedore/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-24 18:05:35 UTC (rev 201746)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com
+
+pkgname=('python-stevedore' 'python2-stevedore')
+pkgver=1.19.1
+pkgrel=2
+pkgdesc="Manage dynamic plugins for Python applications"
+arch=('any')
+url="https://github.com/openstack/stevedore"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+options=('!emptydirs')
+source=(https://pypi.org/packages/source/s/stevedore/stevedore-$pkgver.tar.gz)
+sha256sums=('c963858176fdbac899859a9e215411d024e3a46655034a853e0f3b57947c9856')
+
+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