dev-python/python-afl: Apply patch to fix test, thanks to Jakub Wilk

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Manuel Rüger
2017-06-30 17:41:52 +02:00
parent d006c809b1
commit eb0f9c2b43
2 changed files with 42 additions and 5 deletions
+1 -5
View File
@@ -19,11 +19,7 @@ RDEPEND="app-forensics/afl"
DEPEND=">=dev-python/cython-0.19[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
python_prepare_all() {
# afl-cmin errors with: "Error: do not use this script in /tmp or /var/tmp"
rm tests/test_cmin.py || die
distutils-r1_python_prepare_all
}
PATCHES=( "${FILESDIR}"/${P}-fix-test.patch )
python_test() {
PATH="${PATH}:." nosetests --verbose || die