Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/asciinema/
Date: Thu, 16 Sep 2021 08:21:15
Message-Id: 1631780406.0ea91868bc3404c91b67ce5621c3836053768bd2.arthurzam@gentoo
1 commit: 0ea91868bc3404c91b67ce5621c3836053768bd2
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 16 08:20:06 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 16 08:20:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea91868
7
8 app-misc/asciinema: enable py3.10, cleanup
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 app-misc/asciinema/asciinema-2.0.2-r1.ebuild | 13 ++-----------
13 1 file changed, 2 insertions(+), 11 deletions(-)
14
15 diff --git a/app-misc/asciinema/asciinema-2.0.2-r1.ebuild b/app-misc/asciinema/asciinema-2.0.2-r1.ebuild
16 index 54afa0fd7a8..cf6a18f6489 100644
17 --- a/app-misc/asciinema/asciinema-2.0.2-r1.ebuild
18 +++ b/app-misc/asciinema/asciinema-2.0.2-r1.ebuild
19 @@ -3,8 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( python3_{7,8,9} )
24 -DISTUTILS_USE_SETUPTOOLS="rdepend"
25 +PYTHON_COMPAT=( python3_{8..10} )
26 inherit distutils-r1
27
28 DESCRIPTION="Command line recorder for asciinema.org service"
29 @@ -14,18 +13,10 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
30 LICENSE="GPL-3+"
31 SLOT="0"
32 KEYWORDS="amd64 ~ppc64 ~x86"
33 -IUSE="test"
34 -RESTRICT="!test? ( test )"
35
36 -BDEPEND="
37 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
38 -"
39 +distutils_enable_tests nose
40
41 python_prepare_all() {
42 distutils-r1_python_prepare_all
43 sed -i -e "s|data_files=\[('share/doc/asciinema|&-${PVR}|" setup.py || die
44 }
45 -
46 -python_test() {
47 - nosetests || die
48 -}