Skip to content
Snippets Groups Projects
Commit f7a50b67 authored by Kevin Daudt's avatar Kevin Daudt :computer: Committed by Andy Postnikov
Browse files

testing/py-backcall: enable test suite

pytest was broken due to missing dependencies, so the test suite did not
work. This has been fixed in the mean time, so the test suite can now be
run.
parent f745e49c
No related branches found
No related tags found
No related merge requests found
......@@ -8,14 +8,22 @@ url="https://github.com/takluyver/backcall"
arch="noarch"
license="BSD-3-Clause"
makedepends="python2-dev python3-dev"
options="!check" # pytest broken on alpine
checkdepends="pytest"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/b/backcall/backcall-$pkgver.tar.gz"
builddir="$srcdir/${pkgname#py-}-$pkgver"
build() {
cd "$builddir"
python setup.py build
python2 setup.py build
python3 setup.py build
}
check() {
cd "$builddir"
py.test-2
py.test-3
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment