Skip to content
Snippets Groups Projects
Commit 59c863da authored by Bart Ribbers's avatar Bart Ribbers Committed by Rasmus Thomsen
Browse files

testing/py3-testfixtures: new aport

parent efef7e7e
No related branches found
No related tags found
1 merge request!7629testing/mycroft-core: new aport
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-testfixtures
pkgver=6.14.1
pkgrel=0
pkgdesc="A collection of helpers and mock objects for unit tests and doc tests"
url="https://github.com/Simplistix/testfixtures"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-sphinx"
checkdepends="py3-pytest py3-sybil"
source="https://pypi.python.org/packages/source/t/testfixtures/testfixtures-$pkgver.tar.gz"
options="!check" # Broken tests https://github.com/Simplistix/testfixtures/issues/134
builddir="$srcdir/testfixtures-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="0da31d5e382984c22ada846c07570d4a179ba819005dd29891e551b99190fabaaf17174456f7ed4864e9c4aa25f7d5d8b86aa123b4628328610d6930c9c5d6bd testfixtures-6.14.1.tar.gz"
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