summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/scour/Manifest1
-rw-r--r--media-gfx/scour/scour-038.1.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/scour/Manifest b/media-gfx/scour/Manifest
index 0b485fc52a99..bf7c598ddd72 100644
--- a/media-gfx/scour/Manifest
+++ b/media-gfx/scour/Manifest
@@ -1 +1,2 @@
DIST scour-0.37.tar.gz 95478 BLAKE2B f3037b691b110f84266c742ac1212a8069e0ac1260f818610dfecc7ee64a257d9e0772c7c675e4062286cf4b719fe48782c416a0cb85a136ea315b22da58c460 SHA512 ffc9bd33eec038126d781dac50c89e4275d0d5e14ec2b2247a7727af91ac2ffe5522c69b5386f75df67a0b88f8ed62cb6a2ad47d600e55b123d937ba33e9e501
+DIST scour-038.1.tar.gz 99713 BLAKE2B 7e35e07d5b5f28d575a24c7798c98183c0afa84e7dca3497896a0056376c6be5e39e85e5be0cf0c577506812d7a9c78274480f2a4f34366ec37d3ce02777a417 SHA512 e21f675f511aa9c15212c998a8c44b8e8ac2e880f006d4eea2b35fca740291b7dfd75c6410000e98fe9a90d7c3209c7b012316c159d4cd9debe14fbf7f597d3c
diff --git a/media-gfx/scour/scour-038.1.ebuild b/media-gfx/scour/scour-038.1.ebuild
new file mode 100644
index 000000000000..f03ccfc7acb5
--- /dev/null
+++ b/media-gfx/scour/scour-038.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="Take an SVG file and produce a cleaner and more concise file"
+HOMEPAGE="https://github.com/scour-project/scour"
+SRC_URI="https://github.com/scour-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+python_test() {
+ "${EPYTHON}" test_scour.py -v || die "Tests fail with ${EPYTHON}"
+}