[arch-commits] Commit in python-stevedore/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 27 02:05:52 UTC 2014
Date: Saturday, September 27, 2014 @ 04:05:52
Author: foutrelis
Revision: 119641
upgpkg: python-stevedore 1.0.0-2
- Drop argparse from requirements.txt (FS#42063).
- Add missing dependencies on setuptools and six.
Modified:
python-stevedore/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-27 02:05:14 UTC (rev 119640)
+++ PKGBUILD 2014-09-27 02:05:52 UTC (rev 119641)
@@ -3,7 +3,7 @@
pkgname=('python-stevedore' 'python2-stevedore')
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Manage dynamic plugins for Python applications"
arch=('any')
url="https://github.com/dreamhost/stevedore"
@@ -13,8 +13,16 @@
source=(http://pypi.python.org/packages/source/s/stevedore/stevedore-$pkgver.tar.gz)
sha256sums=('4e859756bdba71d7cf4eb1313342cde93cfe36d12fb6b6c35378e9101add229f')
+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
+}
+
package_python-stevedore() {
- depends=('python')
+ depends=('python-setuptools' 'python-six')
cd "$srcdir/stevedore-$pkgver"
python3 setup.py install --root="$pkgdir" -O1
@@ -21,7 +29,7 @@
}
package_python2-stevedore() {
- depends=('python2')
+ depends=('python2-setuptools' 'python2-six')
cd "$srcdir/stevedore-$pkgver"
python2 setup.py install --root="$pkgdir" -O1
More information about the arch-commits
mailing list