mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/pyperclip: Enable python3.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7})
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="A cross-platform clipboard module for Python."
|
||||
@@ -24,13 +24,11 @@ RDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# make tests a proper module so setuptools can find the test suite
|
||||
touch tests/__init__.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
virtx esetup.py test
|
||||
"${EPYTHON}" tests/test_pyperclip.py -vv ||
|
||||
die "Tests fail on ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user