mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-python/manhole: PEP517
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +1 @@
|
|||||||
DIST manhole-1.8.0.tar.gz 30823 BLAKE2B 7de4966faaa5a386097d9e3015318f3df5422f9f4525347ea93bc1b3cc988236e2db9dcdf7c5e4f058ad816c74beebab210af65fd331e2347da9c05035a22128 SHA512 041452d602895f7ceaafc74ac50713acd470120b022a942946de83f90d2d839ee15b333dfc329f88597b13e0b3fee436af526beae95a3ff94e51376fd2cc27e6
|
DIST manhole-1.8.0.gh.tar.gz 30823 BLAKE2B 7de4966faaa5a386097d9e3015318f3df5422f9f4525347ea93bc1b3cc988236e2db9dcdf7c5e4f058ad816c74beebab210af65fd331e2347da9c05035a22128 SHA512 041452d602895f7ceaafc74ac50713acd470120b022a942946de83f90d2d839ee15b333dfc329f88597b13e0b3fee436af526beae95a3ff94e51376fd2cc27e6
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="Debugging manhole for python application"
|
DESCRIPTION="Debugging manhole for python application"
|
||||||
@@ -12,7 +12,7 @@ HOMEPAGE="
|
|||||||
https://github.com/ionelmc/python-manhole
|
https://github.com/ionelmc/python-manhole
|
||||||
https://pypi.org/project/manhole/
|
https://pypi.org/project/manhole/
|
||||||
"
|
"
|
||||||
SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
S="${WORKDIR}/python-${P}"
|
S="${WORKDIR}/python-${P}"
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
LICENSE="BSD-2"
|
||||||
@@ -35,8 +35,6 @@ distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
|
|||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
python_test() {
|
python_test() {
|
||||||
distutils_install_for_testing
|
|
||||||
|
|
||||||
local -x PYTHONPATH="${S}/src:${PYTHONPATH}"
|
local -x PYTHONPATH="${S}/src:${PYTHONPATH}"
|
||||||
local EPYTEST_DESELECT=(
|
local EPYTEST_DESELECT=(
|
||||||
tests/test_manhole.py::test_connection_handler_exec
|
tests/test_manhole.py::test_connection_handler_exec
|
||||||
@@ -51,11 +49,7 @@ python_test() {
|
|||||||
tests/test_manhole.py::test_stderr_doesnt_deadlock
|
tests/test_manhole.py::test_stderr_doesnt_deadlock
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ ${EPYTHON} == pypy3 ]]; then
|
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( tests/test_manhole.py::test_log_fh )
|
||||||
EPYTEST_DESELECT+=(
|
|
||||||
tests/test_manhole.py::test_log_fh
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
epytest
|
distutils-r1_python_test
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user