mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
dev-python/pyjwt: Remove unnecessary test-deps
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -24,8 +24,6 @@ DEPEND="
|
||||
test? (
|
||||
>=dev-python/cryptography-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}"/${MY_PN}-${PV}
|
||||
@@ -34,11 +32,14 @@ python_prepare_all() {
|
||||
find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed"
|
||||
find . -name '*.pyc' -exec rm -f {} \; || die "Cleaing *.pyc failed"
|
||||
|
||||
# enables coverage, we don't need that
|
||||
rm setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user