[arch-commits] Commit in python-testfixtures/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jun 6 16:01:52 UTC 2017
Date: Tuesday, June 6, 2017 @ 16:01:51
Author: felixonmars
Revision: 234984
upgpkg: python-testfixtures 5.0.0-1
Modified:
python-testfixtures/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-06 15:59:03 UTC (rev 234983)
+++ PKGBUILD 2017-06-06 16:01:51 UTC (rev 234984)
@@ -3,7 +3,7 @@
pkgbase=python-testfixtures
pkgname=('python-testfixtures' 'python2-testfixtures')
-pkgver=4.14.3
+pkgver=5.0.0
pkgrel=1
pkgdesc="A collection of helpers and mock objects that are useful when writing unit tests or doc tests"
arch=('any')
@@ -10,11 +10,11 @@
license=('MIT')
url="https://github.com/Simplistix/testfixtures"
makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-zope-component'
- 'python2-zope-component' 'python-manuel' 'python2-manuel' 'python-nose-fixes'
- 'python2-nose-fixes' 'python-django' 'python2-django')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
+ 'python-zope-component' 'python2-zope-component' 'python-sybil' 'python2-sybil'
+ 'python-pytest-django' 'python2-pytest-django' 'python-django' 'python2-django')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
-sha512sums=('SKIP')
+sha512sums=('e6dc101c63f95e26c715ec0e0d55989035c558a4df9e110313417bc0a2c5aff56e3835cdac58910290c285012315822f2240ef51567452e7de0bd0ae34d8ba7b')
prepare() {
cp -a testfixtures-$pkgver{,-py2}
@@ -30,10 +30,10 @@
check() {
cd "$srcdir"/testfixtures-$pkgver
- nosetests3
+ python setup.py pytest --addopts "--ignore=build"
cd "$srcdir"/testfixtures-$pkgver-py2
- nosetests2
+ python2 setup.py pytest --addopts "--ignore=build"
}
package_python-testfixtures() {
More information about the arch-commits
mailing list