[arch-commits] Commit in python-doit/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Dec 10 21:34:01 UTC 2019
Date: Tuesday, December 10, 2019 @ 21:34:01
Author: dvzrv
Revision: 536580
upgpkg: python-doit 0.32.0-1
Upgrading to 0.32.0. Updating maintainer info. Enabling all but two (failing) tests.
Modified:
python-doit/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-10 21:26:21 UTC (rev 536579)
+++ PKGBUILD 2019-12-10 21:34:01 UTC (rev 536580)
@@ -1,18 +1,18 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
_name=doit
pkgname=python-doit
-pkgver=0.31.1
-pkgrel=4
+pkgver=0.32.0
+pkgrel=1
pkgdesc="A task management and automation tool"
arch=('any')
url="https://pydoit.org/"
license=('MIT')
depends=('python-cloudpickle' 'python-pyinotify' 'python-setuptools')
-#checkdepends=('flake8' 'python-coverage' 'python-pytest')
+checkdepends=('flake8' 'python-coverage' 'python-pytest')
optdepends=('bash-completion: autocomplete for bash'
'zsh-completions: autocomplete for ZSH')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('31235cb46a73adc2d3e726dce24dd9632f5b1ef00d313bf1c42ff895a03eff41be0ec7ae14a004e742d50003c2da17f29bd3392a49d80e73cfb59c12bd152d9d')
+sha512sums=('d5c28a0c6a38648aeef58027b2246fc26360e133e91933f2244bd484f70d6d26110acbfec19c74d53c796e0bbae07a4bf6d76542d45e8b1a6b503c186bf2a68a')
prepare() {
mv -v "$_name-$pkgver" "$pkgname-$pkgver"
@@ -25,12 +25,12 @@
}
# tests are broken:
-# https://github.com/pydoit/doit/issues/269
-#check() {
-# cd "$pkgname-$pkgver"
-# export PYTHONPATH=build/lib:${PYTHONPATH}
-# py.test
-#}
+# https://github.com/pydoit/doit/issues/342
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="${PWD}/build/lib:${PYTHONPATH}"
+ py.test -k 'not test_execute and not test_not_picklable_raises_InvalidTask'
+}
package() {
cd "$pkgname-$pkgver"
More information about the arch-commits
mailing list