From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-util/diffuse/Manifest | 5 +++ dev-util/diffuse/diffuse-0.4.8.ebuild | 57 +++++++++++++++++++++++++++++++++++ dev-util/diffuse/metadata.xml | 12 ++++++++ 3 files changed, 74 insertions(+) create mode 100644 dev-util/diffuse/Manifest create mode 100644 dev-util/diffuse/diffuse-0.4.8.ebuild create mode 100644 dev-util/diffuse/metadata.xml (limited to 'dev-util/diffuse') diff --git a/dev-util/diffuse/Manifest b/dev-util/diffuse/Manifest new file mode 100644 index 000000000000..6c9d48773e54 --- /dev/null +++ b/dev-util/diffuse/Manifest @@ -0,0 +1,5 @@ +DIST diffuse-0.4.8.tar.bz2 557966 SHA256 c1d3b79bba9352fcb9aa4003537d3fece248fb824781c5e21f3fcccafd42df2b SHA512 0c62976526804a328f1cc1775f842e9575fab50309cc964171af5ee89d8f303d4cbdf66a078ed64bb8826f5a57c2cc7fc59afc1ee87646ece340212d34f2514e WHIRLPOOL d1f044497103c6c429f9980fa759e3df019176359adf13bd71d07c030188aad7c297a2b202290ac7124beed3536172ba17aca18d1e7a4b535218e3dd2cb015d3 +EBUILD diffuse-0.4.8.ebuild 1206 SHA256 4dffe8e812dba2ee84f8fb2084704e021b0fc4931d6bd433433015f1a29c7551 SHA512 f2965164c8a5823457c6923961efb955043fea45a8cfe3fb71c39ef26d9387c197697b6ab4264785277512be1d6cc4b028d8ed45693109fa5592e171844098df WHIRLPOOL 946565d2ef03d5115d86165504506f705fb9dfacf5f880f2fe13c6700e1f28eb629cc6b2d3afb53cb436d0dc02f52b37363340611ca72449d56796956f3af65c +MISC ChangeLog 2429 SHA256 eac384c6c87524d73c6a606ebbc4059695d813938fb9bce5c3d95810ecf13505 SHA512 7956cbf829a32e97defc601577d6ac67c76a5c596924d4d4dbdfcea5b633431a7c5d5985de898562685a103e3c9416c4542eced0e2414fddc8042941231c6d1e WHIRLPOOL b79e8483513397bcff1fb5a367c92a389e5ee441f0dee430c470f68b86657d84cfeabe5ae2b32261b160c6c1d932328b843f959fc81f6d19ee224d1823f23c7f +MISC ChangeLog-2015 3361 SHA256 85eabefc89ec1f0260bb35f7f86fcedf8d48259502a7705ab2e63bdc9a39900a SHA512 4dfbb7eac6787c58ca17472c5e0ec7c8a16ac6c15dede92e95e77f0461da0c5e2355f1aa90a116ab84220365136506aaabfc340ba43871897ea1265795fddcca WHIRLPOOL 827af16f78eddda221852543c467e4bb02b1de022722dc323ef79fad465ba458e13581ced96a758a7291be6c2d7129f4bd5c6f5c0a4b660c649be89f0a87d596 +MISC metadata.xml 408 SHA256 a10290d2ec196b8de07d6c33a46da7b19e9bbcafb5deb736d2ba62403e9716d4 SHA512 9c4f4f53b106582296f9cd3cd52e86587f0fb4767e01b0bb0464a19ba9aa0badd27f25b4438e1693313b685293c4db652a81c60c338e8673717a5a8ad6791458 WHIRLPOOL 03a629071841a78a069c4c5760880bc28d9684a818a76be67f5d471b39236161786ac9960bdb06c296cae6e044a84c8b27c60db408f67bde95a2b83f5d3d3c8f diff --git a/dev-util/diffuse/diffuse-0.4.8.ebuild b/dev-util/diffuse/diffuse-0.4.8.ebuild new file mode 100644 index 000000000000..93a43809a4d2 --- /dev/null +++ b/dev-util/diffuse/diffuse-0.4.8.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit fdo-mime python-single-r1 + +DESCRIPTION="A graphical tool to compare and merge text files" +HOMEPAGE="http://diffuse.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~x64-solaris" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-python/pygtk[${PYTHON_USEDEP}]" +# file collision, bug #279018 +DEPEND="${DEPEND} + !sci-chemistry/tinker" + +src_prepare() { + local i p + + # linguas handling wrt #406433 + if [[ -n "${LINGUAS+x}" ]] ; then + for i in $(for p in translations/*.po ; do echo ${p%.po} ; done) ; do + if ! has ${i##*/} ${LINGUAS} ; then + rm "${S}"/${i}.po || die + fi + done + fi + + python_fix_shebang src/usr/bin/diffuse +} + +src_install() { + "${PYTHON}" install.py \ + --prefix="${EPREFIX}"/usr \ + --sysconfdir="${EPREFIX}"/etc \ + --files-only \ + --destdir="${D}" \ + || die "Installation failed" + dodoc AUTHORS ChangeLog README +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/dev-util/diffuse/metadata.xml b/dev-util/diffuse/metadata.xml new file mode 100644 index 000000000000..ef53d12f435f --- /dev/null +++ b/dev-util/diffuse/metadata.xml @@ -0,0 +1,12 @@ + + + + + grozin@gentoo.org + Andrey Grozin + + A graphical tool to compare and merge text files + + diffuse + + -- cgit v1.2.3