From d43060d21fbdbc4e057c599654bcdb8cba667c6b Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 10 Nov 2019 14:17:02 -0700 Subject: media-gfx/cptutils: version bump to 1.72 Signed-off-by: Tim Harder --- media-gfx/cptutils/Manifest | 1 + media-gfx/cptutils/cptutils-1.72.ebuild | 43 +++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 media-gfx/cptutils/cptutils-1.72.ebuild diff --git a/media-gfx/cptutils/Manifest b/media-gfx/cptutils/Manifest index 4f0e644540bc..284f46480d93 100644 --- a/media-gfx/cptutils/Manifest +++ b/media-gfx/cptutils/Manifest @@ -1,2 +1,3 @@ DIST cptutils-1.68.tar.gz 623381 BLAKE2B 403d8ab3878c14b278d0e006fdd3f3f7223ae106c4b95fa10cebc9ffceb5a3164771a452996038d06e714b07dbeaafde33954f1428d20817fd02a991dcec3121 SHA512 e618ea4463a026c56c95e8e4a9bfb0f5d47825568e7f64885bcf3872d4411af4e1ff480f192c61d9d8c946a46100d148c849fd3768f3acd54b070aacdd8dc1cc DIST cptutils-1.71.tar.gz 626215 BLAKE2B 88d0166616d00df13011e8cea88d0cbe183e512f94ca2540ef135e8f77535087694f9aafe43b0e10307e513ba3c305881314bbd0890a3f9fd3f5b22da152a1a0 SHA512 65214a50f3741cc89ac4d3d92973f307c3030926e496a5cecf26dd7457d683296daf44ed0df7b1ddf96c657cebe7087193e410c109f6a6dd2fb6ae987158e778 +DIST cptutils-1.72.tar.gz 629672 BLAKE2B b7acd86962830b49982e53df28fb11595445fa203ff6b852666e87c88cf211726157cbe8fd83e4d79d287b294cf05ec91f1b4d9f6894fb2f60fe7a26f8e85e6a SHA512 521aacb52a181b8e108356b294d2ee6e5068fc6e2d93a37783be1e99ca1e9209e016ea5eb3e2205b8c3d94661197adb314abe1e494e2ce6ca1b07d6517492bbc diff --git a/media-gfx/cptutils/cptutils-1.72.ebuild b/media-gfx/cptutils/cptutils-1.72.ebuild new file mode 100644 index 000000000000..6a9a8de47197 --- /dev/null +++ b/media-gfx/cptutils/cptutils-1.72.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="A number of utilities for the manipulation of color gradient files" +HOMEPAGE="http://soliton.vm.bytemark.co.uk/pub/jjg/en/code/cptutils/" +SRC_URI="http://soliton.vm.bytemark.co.uk/pub/jjg/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +CDEPEND="dev-libs/libxml2:2 + media-libs/libpng:0=" +RDEPEND="${CDEPEND} + ${PYTHON_DEPS}" +DEPEND="${CDEPEND} + test? ( + app-text/xml2 + app-text/xmlstarlet + >=dev-util/cunit-2.1_p3 + )" + +RESTRICT="!test? ( test )" + +src_prepare() { + default + python_fix_shebang src/gradient-convert/gradient-convert.py +} + +src_configure() { + econf $(use_enable test tests) +} + +src_test() { + emake unit +} -- cgit v1.2.3-65-gdbad