summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-09-16 11:20:06 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-16 11:20:06 +0300
commit0ea91868bc3404c91b67ce5621c3836053768bd2 (patch)
treedc86cdcc0d28ae3ef28a5193d7e0ba06aa312cfe /app-misc/asciinema
parentmedia-gfx/svg2rlg: enable py3.10, cleanup (diff)
downloadgentoo-0ea91868bc3404c91b67ce5621c3836053768bd2.tar.gz
gentoo-0ea91868bc3404c91b67ce5621c3836053768bd2.tar.bz2
gentoo-0ea91868bc3404c91b67ce5621c3836053768bd2.zip
app-misc/asciinema: enable py3.10, cleanup
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-misc/asciinema')
-rw-r--r--app-misc/asciinema/asciinema-2.0.2-r1.ebuild13
1 files 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 54afa0fd7a8d..cf6a18f64899 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
-}