diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-02 13:41:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-02 14:01:08 +0200 |
commit | eaae155631c9ab8c35561aae519a169b68e92dd1 (patch) | |
tree | b5c568134206112b3effb6b50d6fec91afa6270d /dev-python/blessings | |
parent | sys-kernel/pf-sources: bump to 5.7-pf1 (diff) | |
download | gentoo-eaae155631c9ab8c35561aae519a169b68e92dd1.tar.gz gentoo-eaae155631c9ab8c35561aae519a169b68e92dd1.tar.bz2 gentoo-eaae155631c9ab8c35561aae519a169b68e92dd1.zip |
dev-python/blessings: Port to py39
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/blessings')
-rw-r--r-- | dev-python/blessings/blessings-1.7-r1.ebuild | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/dev-python/blessings/blessings-1.7-r1.ebuild b/dev-python/blessings/blessings-1.7-r1.ebuild index d9b166b70bc5..5685726fc785 100644 --- a/dev-python/blessings/blessings-1.7-r1.ebuild +++ b/dev-python/blessings/blessings-1.7-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) +PYTHON_COMPAT=( pypy3 python3_{6..9} ) inherit distutils-r1 @@ -15,24 +15,11 @@ SRC_URI="https://github.com/erikrose/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="MIT" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -BDEPEND=" - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - ${RDEPEND} - dev-python/nose[${PYTHON_USEDEP}] - ) -" - -python_compile_all() { - if use doc; then - sphinx-build docs/ docs/_build/html || die - HTML_DOCS=( docs/_build/html/. ) - fi -} + +distutils_enable_sphinx docs +distutils_enable_tests nose python_test() { # The tests need an interactive terminal |