Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/scour/
Date: Thu, 07 Nov 2019 13:47:17
Message-Id: 1573134422.114e21530584ed0c12ca9abf5c3ffd66809cc26a.fordfrog@gentoo
1 commit: 114e21530584ed0c12ca9abf5c3ffd66809cc26a
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 7 13:44:56 2019 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 7 13:47:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=114e2153
7
8 media-gfx/scour-0.36-r1: added python3_7 + eapi7
9
10 Package-Manager: Portage-2.3.78, Repoman-2.3.17
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-gfx/scour/scour-0.36-r1.ebuild | 24 ++++++++++++++++++++++++
14 1 file changed, 24 insertions(+)
15
16 diff --git a/media-gfx/scour/scour-0.36-r1.ebuild b/media-gfx/scour/scour-0.36-r1.ebuild
17 new file mode 100644
18 index 00000000000..8997eb6dcf0
19 --- /dev/null
20 +++ b/media-gfx/scour/scour-0.36-r1.ebuild
21 @@ -0,0 +1,24 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Take an SVG file and produce a cleaner and more concise file"
31 +HOMEPAGE="https://github.com/scour-project/scour"
32 +SRC_URI="https://github.com/scour-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="Apache-2.0"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
37 +IUSE=""
38 +
39 +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
40 + dev-python/six[${PYTHON_USEDEP}]"
41 +DEPEND="${RDEPEND}"
42 +
43 +python_test() {
44 + "${EPYTHON}" testscour.py -v || die "Tests fail with ${EPYTHON}"
45 +}