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

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 10:03:09 UTC 2015


    Date: Saturday, September 19, 2015 @ 12:03:09
  Author: foutrelis
Revision: 140723

archrelease: copy trunk to community-staging-any

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

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

Copied: python-stevedore/repos/community-staging-any/PKGBUILD (from rev 140722, python-stevedore/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 10:03:09 UTC (rev 140723)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com
+
+pkgname=('python-stevedore' 'python2-stevedore')
+pkgver=1.8.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' 'git')
+options=('!emptydirs')
+source=(http://pypi.python.org/packages/source/s/stevedore/stevedore-$pkgver.tar.gz)
+sha256sums=('c6bd9fe110bb6efeafc9df48b294e52a363972f0e13172dae666a5257c3a57d7')
+
+prepare() {
+  cd "$srcdir/stevedore-$pkgver"
+
+  # Remove dependency on argparse; it's in Python 2.7+/3.2+ stdlib (FS#42063)
+  # https://bugs.launchpad.net/python-stevedore/+bug/1372433
+  sed -i '/argparse/d' requirements.txt
+
+  # 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