diff options
Diffstat (limited to 'media-gfx/cptutils')
-rw-r--r-- | media-gfx/cptutils/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/cptutils/cptutils-1.71.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/cptutils/Manifest b/media-gfx/cptutils/Manifest index ebb9d2eb6292..83c0f686ec3a 100644 --- a/media-gfx/cptutils/Manifest +++ b/media-gfx/cptutils/Manifest @@ -1,4 +1,6 @@ AUX cptutils-1.68-parallel-make.patch 533 BLAKE2B 9c10239e962b8fbf850c61d1db47e76b174a3ff962809234af9a10491bf9277dea71aeff537a3c972c3c2e51e1fae523ac7d150bfed35588ab412068353edacc SHA512 d33473ae062c204b50e3167dba06f943f15e41578b64f5e73038aa173398ff0a324fbeb19b689e9e4900b7b4bce1e66b90e84692170bb0bda1f810176adbe8db DIST cptutils-1.68.tar.gz 623381 BLAKE2B 403d8ab3878c14b278d0e006fdd3f3f7223ae106c4b95fa10cebc9ffceb5a3164771a452996038d06e714b07dbeaafde33954f1428d20817fd02a991dcec3121 SHA512 e618ea4463a026c56c95e8e4a9bfb0f5d47825568e7f64885bcf3872d4411af4e1ff480f192c61d9d8c946a46100d148c849fd3768f3acd54b070aacdd8dc1cc +DIST cptutils-1.71.tar.gz 626215 BLAKE2B 88d0166616d00df13011e8cea88d0cbe183e512f94ca2540ef135e8f77535087694f9aafe43b0e10307e513ba3c305881314bbd0890a3f9fd3f5b22da152a1a0 SHA512 65214a50f3741cc89ac4d3d92973f307c3030926e496a5cecf26dd7457d683296daf44ed0df7b1ddf96c657cebe7087193e410c109f6a6dd2fb6ae987158e778 EBUILD cptutils-1.68.ebuild 878 BLAKE2B 7ab39b60998d54d11d668c1b63c55aa15421551e353cd218a2ec41fe6a4317635c27c201f90982eca0af94a2d1ba5c6e38600ee8731b93e5ab2bf089c0161b8f SHA512 c7acc7376ca5aab230afbe146e69ace064335dbc5b9d64f0cafb97d398e5ea3525ea90c1c74c4a3fdcf085ff2c4b66fa75d73956b15aa750fafa70ab2225fd48 +EBUILD cptutils-1.71.ebuild 839 BLAKE2B b970ab9b0e62ad3082773234a269397b025236af3fce97c334228f71108d17c32b5cc7de8269c3638185f6d06668389ecdc5d679d64a3cb7949debe21ba29bd2 SHA512 6bd753a9ac65d2442ffc8f285013a91361d48f592bf53f9b7820fdc39735b43778ac47e53df45b710e572a93698f662b1cb68a91edf0080cb10703674590b390 MISC metadata.xml 255 BLAKE2B f12a1ca502ad96bd6de4c8b83dfb8887ab70dec78f10a8b52dcd4618eb182192477ddca18738d734a43f3c7ac3b5e0955f4ae9347ea80e788a92974c7d50a574 SHA512 b7bc93530a1726c2d4dfbc71ae29cfbb57712fd9fdd2e76fd52f35ab4368cba0497b50145d1527a3b79e465d459a380821bb1371a01c2e915dc9adc6c7fafd5f diff --git a/media-gfx/cptutils/cptutils-1.71.ebuild b/media-gfx/cptutils/cptutils-1.71.ebuild new file mode 100644 index 000000000000..9ad0b07f6f4b --- /dev/null +++ b/media-gfx/cptutils/cptutils-1.71.ebuild @@ -0,0 +1,41 @@ +# 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 + )" + +src_prepare() { + default + python_fix_shebang src/gradient-convert/gradient-convert.py +} + +src_configure() { + econf $(use_enable test tests) +} + +src_test() { + emake unit +} |