Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/netpaint/
Date: Tue, 01 Jun 2021 13:14:21
Message-Id: 1622553245.d70f744013ced961b7e1aaa8ac6ae7b67ebb4dc4.sam@gentoo
1 commit: d70f744013ced961b7e1aaa8ac6ae7b67ebb4dc4
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 1 13:14:05 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 1 13:14:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70f7440
7
8 media-gfx/netpaint: add Python 3.9
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 media-gfx/netpaint/netpaint-1.1.2.ebuild | 18 +++++++-----------
13 1 file changed, 7 insertions(+), 11 deletions(-)
14
15 diff --git a/media-gfx/netpaint/netpaint-1.1.2.ebuild b/media-gfx/netpaint/netpaint-1.1.2.ebuild
16 index 46c0f02e9d4..e44b6241f74 100644
17 --- a/media-gfx/netpaint/netpaint-1.1.2.ebuild
18 +++ b/media-gfx/netpaint/netpaint-1.1.2.ebuild
19 @@ -1,32 +1,28 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25
26 -PYTHON_COMPAT=( python3_{7,8} )
27 +PYTHON_COMPAT=( python3_{7,8,9} )
28
29 inherit distutils-r1
30
31 +MY_PN="NetPaint"
32 +MY_P="${MY_PN}-${PV}"
33 +
34 DESCRIPTION="curses-based drawing tool"
35 HOMEPAGE="https://github.com/SyntheticDreams/NetPaint"
36 SRC_URI="https://github.com/SyntheticDreams/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 +S="${WORKDIR}/${MY_P}"
38
39 LICENSE="MIT"
40 SLOT="0"
41 KEYWORDS="~amd64 ~x86"
42
43 -MY_PN="NetPaint"
44 -MY_P="${MY_PN}-${PV}"
45 -
46 RDEPEND="
47 dev-python/urwid[${PYTHON_USEDEP}]
48 dev-python/pillow[${PYTHON_USEDEP}]"
49 -
50 -DEPEND="
51 - ${RDEPEND}
52 - dev-python/setuptools[${PYTHON_USEDEP}]"
53 -
54 -S="${WORKDIR}/${MY_P}"
55 +DEPEND="${RDEPEND}"
56
57 src_prepare() {
58 default