commit: 0ea91868bc3404c91b67ce5621c3836053768bd2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 16 08:20:06 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 16 08:20:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea91868
app-misc/asciinema: enable py3.10, cleanup
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/asciinema/asciinema-2.0.2-r1.ebuild | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/app-misc/asciinema/asciinema-2.0.2-r1.ebuild
b/app-misc/asciinema/asciinema-2.0.2-r1.ebuild
index 54afa0fd7a8..cf6a18f6489 100644
--- a/app-misc/asciinema/asciinema-2.0.2-r1.ebuild
+++ b/app-misc/asciinema/asciinema-2.0.2-r1.ebuild
@@ -3,8 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
-DISTUTILS_USE_SETUPTOOLS="rdepend"
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Command line recorder for asciinema.org service"
@@ -14,18 +13,10 @@
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ~ppc64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-BDEPEND="
- test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
+distutils_enable_tests nose
python_prepare_all() {
distutils-r1_python_prepare_all
sed -i -e "s|data_files=\[('share/doc/asciinema|&-${PVR}|" setup.py ||
die
}
-
-python_test() {
- nosetests || die
-}