[arch-commits] Commit in python-mock/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Sep 20 14:50:11 UTC 2015
Date: Sunday, September 20, 2015 @ 16:50:11
Author: jelle
Revision: 141277
upgpkg: python-mock 1.3.0-2
Modified:
python-mock/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-20 13:33:16 UTC (rev 141276)
+++ PKGBUILD 2015-09-20 14:50:11 UTC (rev 141277)
@@ -5,7 +5,7 @@
pkgbase=python-mock
pkgname=(python2-mock python-mock)
pkgver=1.3.0
-pkgrel=1
+pkgrel=2
pkgdesc='Mocking and Patching Library for Testing'
url='http://www.voidspace.org.uk/python/mock/'
makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
@@ -27,7 +27,7 @@
}
package_python-mock() {
-depends=('python' 'python-six')
+depends=('python' 'python-six' 'python2-pbr')
cd "$srcdir/mock-$pkgver"
python3 setup.py install --optimize=1 --root="$pkgdir"
install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
@@ -34,7 +34,7 @@
}
package_python2-mock() {
-depends=('python2' 'python2-six' 'python2-funcsigs') # Backported Py > 3.3 functionality
+depends=('python2' 'python2-six' 'python2-pbr' 'python2-funcsigs') # Backported Py > 3.3 functionality
cd "$srcdir/mock2-$pkgver"
python2 setup.py install --optimize=1 --root="$pkgdir"
install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
More information about the arch-commits
mailing list