diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-24 08:02:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-24 09:06:53 +0200 |
commit | 169c1ed4f7a46f409d7d8c741f020ebe113e48ba (patch) | |
tree | 9c4c999ebae00f45d6609e4eda3d8149d4944cf0 | |
parent | dev-python/flask-htmlmin: Bump to 2.0.2 (diff) | |
download | gentoo-169c1ed4f7a46f409d7d8c741f020ebe113e48ba.tar.gz gentoo-169c1ed4f7a46f409d7d8c741f020ebe113e48ba.tar.bz2 gentoo-169c1ed4f7a46f409d7d8c741f020ebe113e48ba.zip |
dev-python/speaklater: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/speaklater/speaklater-1.3-r1.ebuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-python/speaklater/speaklater-1.3-r1.ebuild b/dev-python/speaklater/speaklater-1.3-r1.ebuild index 2be303dcc63a..7f0111590772 100644 --- a/dev-python/speaklater/speaklater-1.3-r1.ebuild +++ b/dev-python/speaklater/speaklater-1.3-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{3_6,3_7,3_8} pypy ) +PYTHON_COMPAT=( python3_{6..9} pypy ) inherit distutils-r1 DESCRIPTION="Lazy strings for Python" @@ -13,11 +13,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" python_prepare() { # https://github.com/mitsuhiko/speaklater/issues/2 @@ -30,5 +25,6 @@ python_prepare() { } python_test() { - "${PYTHON}" -m doctest -v ${PN}.py || die "tests failed with ${EPYTHON}" + "${EPYTHON}" -m doctest -v speaklater.py || + die "tests failed with ${EPYTHON}" } |