[arch-commits] Commit in python-freezegun/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu May 30 07:43:01 UTC 2019
Date: Thursday, May 30, 2019 @ 07:43:00
Author: felixonmars
Revision: 474477
upgpkg: python-freezegun 0.3.12-1
Modified:
python-freezegun/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-30 07:40:19 UTC (rev 474476)
+++ PKGBUILD 2019-05-30 07:43:00 UTC (rev 474477)
@@ -2,7 +2,7 @@
pkgbase=python-freezegun
pkgname=('python-freezegun' 'python2-freezegun')
-pkgver=0.3.11
+pkgver=0.3.12
pkgrel=1
pkgdesc="Let your Python tests travel through time"
arch=('any')
@@ -9,10 +9,10 @@
license=('Apache')
url="https://github.com/spulec/freezegun"
makedepends=('python-setuptools' 'python2-setuptools' 'python-dateutil' 'python2-dateutil')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock'
+checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock'
'python-coverage' 'python2-coverage' 'python-dateutil' 'python2-dateutil')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/spulec/freezegun/archive/$pkgver.tar.gz")
-sha512sums=('6cb5aa96ef400f62fb65d81f38a8a4cfa21f7ed755c071313ea0d6f02dd4aeaf167bcc122fb22aabe99e932af60d8c53a0dfe4d505ddc858ff14828dd98361a0')
+sha512sums=('175025bb4a58de253e5c4f896fc7f5c0b18bdb4656d7e6bc54f9fa84f88cbbc527553e36b7cac129b83222737ff81c62f7677f7f9c63cc24bd3cf03f1087497e')
prepare() {
cp -a freezegun-$pkgver{,-py2}
@@ -29,10 +29,10 @@
check() {
cd "$srcdir"/freezegun-$pkgver
# https://github.com/spulec/freezegun/issues/250
- nosetests3 || warning "Tests failed"
+ pytest || warning "Tests failed"
cd "$srcdir"/freezegun-$pkgver-py2
- nosetests2
+ pytest2
}
package_python-freezegun() {
More information about the arch-commits
mailing list