summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-02 13:43:15 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-02 14:01:10 +0200
commit48c0bd8170ea98da340a1d8cc2604bbd5e8deb90 (patch)
treeb74d7e927b2d00256bab5f488a58230efebe14ca /dev-python/curtsies
parentdev-python/pyte: Port to py39 (diff)
downloadgentoo-48c0bd8170ea98da340a1d8cc2604bbd5e8deb90.tar.gz
gentoo-48c0bd8170ea98da340a1d8cc2604bbd5e8deb90.tar.bz2
gentoo-48c0bd8170ea98da340a1d8cc2604bbd5e8deb90.zip
dev-python/curtsies: Port to py39
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/curtsies')
-rw-r--r--dev-python/curtsies/curtsies-0.3.0-r2.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/dev-python/curtsies/curtsies-0.3.0-r2.ebuild b/dev-python/curtsies/curtsies-0.3.0-r2.ebuild
index 72e5411576e2..77763052bb44 100644
--- a/dev-python/curtsies/curtsies-0.3.0-r2.ebuild
+++ b/dev-python/curtsies/curtsies-0.3.0-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -14,23 +14,18 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
>=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}
+DEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
dev-python/pyte[${PYTHON_USEDEP}]
)
"
-PATCHES=( "${FILESDIR}"/${PN}-typing.patch )
+distutils_enable_tests nose
-python_test() {
- nosetests --verbose tests || die
-}
+PATCHES=( "${FILESDIR}"/${PN}-typing.patch )