[arch-commits] Commit in python-sphinx-testing/trunk (PKGBUILD)
Baptiste Jonglez
zorun at archlinux.org
Mon Dec 3 10:11:28 UTC 2018
Date: Monday, December 3, 2018 @ 10:11:28
Author: zorun
Revision: 410895
upgpkg: python-sphinx-testing 0.8.1-1
Modified:
python-sphinx-testing/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-03 09:59:49 UTC (rev 410894)
+++ PKGBUILD 2018-12-03 10:11:28 UTC (rev 410895)
@@ -2,8 +2,8 @@
pkgbase=python-sphinx-testing
pkgname=(python-sphinx-testing python2-sphinx-testing)
-pkgver=0.7.2
-pkgrel=2
+pkgver=0.8.1
+pkgrel=1
pkgdesc="Testing utility classes and functions for Sphinx extensions"
arch=('any')
url="https://github.com/sphinx-doc/sphinx-testing"
@@ -10,15 +10,11 @@
license=('BSD')
makedepends=('python-setuptools' 'python2-setuptools')
checkdepends=('python-mock' 'python-sphinx' 'python2-mock' 'python2-sphinx')
-source=("https://pypi.io/packages/source/s/sphinx-testing/sphinx-testing-$pkgver.tar.gz"
- "0001-Skip-checking-cleanup-is-called.patch")
-sha256sums=('9d30f93007620e137b33edf19f52a7225eab853546b7e588ef09d1342e821e94'
- '21f729deaa27b8476858f0bfa123d83fcc0583fa9fe2b3e22131fc3882f26821')
+source=("https://pypi.io/packages/source/s/sphinx-testing/sphinx-testing-$pkgver.tar.gz")
+sha256sums=('2e0b0f03dbc71a044ef862e9c371655cf6042607e54f5c6d41f33470ce9d6fb1')
prepare() {
cd "$srcdir/sphinx-testing-$pkgver"
- # Fix test failure
- patch -p1 < "$srcdir/0001-Skip-checking-cleanup-is-called.patch"
cp -a "$srcdir"/sphinx-testing-$pkgver{,-py2}
}
@@ -33,12 +29,10 @@
check() {
export PYTHONPATH="$srcdir/sphinx-testing-$pkgver/src"
cd "$srcdir/sphinx-testing-$pkgver/tests"
- #python setup.py test
python -m unittest discover
export PYTHONPATH="$srcdir/sphinx-testing-$pkgver-py2/src"
cd "$srcdir/sphinx-testing-$pkgver-py2/tests"
- #python2 setup.py test
python2 -m unittest discover
}
More information about the arch-commits
mailing list