diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-05-23 19:49:16 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-05-23 19:49:39 +0700 |
commit | cede311a22f0fe95ac87f4da322f937b9bde61bd (patch) | |
tree | 4ba2993452b6a61f9e6e6fe52b564afe9acfe111 /dev-util | |
parent | dev-python/vcrpy: Require <dev-python/urllib3-2 (diff) | |
download | gentoo-cede311a22f0fe95ac87f4da322f937b9bde61bd.tar.gz gentoo-cede311a22f0fe95ac87f4da322f937b9bde61bd.tar.bz2 gentoo-cede311a22f0fe95ac87f4da322f937b9bde61bd.zip |
dev-util/diffuse: bump to 0.8.2
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/diffuse/Manifest | 1 | ||||
-rw-r--r-- | dev-util/diffuse/diffuse-0.8.2.ebuild | 52 | ||||
-rw-r--r-- | dev-util/diffuse/metadata.xml | 2 |
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-util/diffuse/Manifest b/dev-util/diffuse/Manifest index d01f7b900813..f26fbdc543e3 100644 --- a/dev-util/diffuse/Manifest +++ b/dev-util/diffuse/Manifest @@ -1 +1,2 @@ DIST diffuse-0.7.7.tar.gz 620577 BLAKE2B 5c6cf09519e177404dd4d0fd8b27d176581ac08fb9d6dac5b4a90b130f7c28fce0f0f3802a99c7b3078e608f967a36851532d43f5e661854755242b5b23a64e8 SHA512 bf9576734ebd696252732b3b0ce6f1f18508a800520388459d9f27482a43251db879c2198c3a279bad9528afc08cf8e7f23a3253b58edad049db9b1c697fd6e0 +DIST diffuse-0.8.2.tar.gz 1187378 BLAKE2B 466cb2291dcc812a82ade4fb59c3e3faf1f632d741fc3efef886c00b100e8edebdddc1837e980d9bb86c18182172cf9afca3b1abc17a8258669f6aada0763beb SHA512 c2a5c1cac435bc0879fc6e6f10bcf10bd8e58e4a2cb603a4e1435c411b3d66373424680d1a41296d38c249e659aa53e67c8783eb26a3d02a42ef5c7e7fa1e245 diff --git a/dev-util/diffuse/diffuse-0.8.2.ebuild b/dev-util/diffuse/diffuse-0.8.2.ebuild new file mode 100644 index 000000000000..6c606d89d34a --- /dev/null +++ b/dev-util/diffuse/diffuse-0.8.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) +PLOCALES="cs de es fr it ja ka ko nl pl pt pt_BR ru sv th tr zh_CN zh_TW" +inherit meson plocale python-r1 xdg + +DESCRIPTION="A graphical tool to compare and merge text files" +HOMEPAGE="http://diffuse.sourceforge.net/ https://github.com/MightyCreak/diffuse/" +SRC_URI="https://github.com/MightyCreak/diffuse/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP},cairo] + ') + x11-libs/gtk+:3[introspection]" +# file collision, bug #279018 +DEPEND="${DEPEND} + !sci-chemistry/tinker" + +src_prepare() { + default + plocale_find_changes po '' '.po' + + rm_locale() { + rm -f po/${1}.po + rm -rf data/usr/share/man/${1} + rm -rf data/usr/share/gnome/help/${PN}/$1 + rm -f data/usr/share/omf/${PN}/${PN}-$1.omf + sed -e "/^${1}/d" -i po/LINGUAS + } + + plocale_for_each_disabled_locale rm_locale +} + +src_install() { + meson_src_install + rm "${D}"/usr/bin/${PN} || die "rm ${PN} failed" + python_foreach_impl python_doscript ../${P}-build/src/${PN}/${PN} + mkdir "${D}"/usr/share/metainfo || die "mkdir metainfo failed" + mv "${D}"/usr/share/appdata/* "${D}"/usr/share/metainfo/ \ + || die "mv appdata -> metainfo failed" + dodoc AUTHORS CHANGELOG.md README.md +} diff --git a/dev-util/diffuse/metadata.xml b/dev-util/diffuse/metadata.xml index c1a33ad7fc6e..2b41d624d4c8 100644 --- a/dev-util/diffuse/metadata.xml +++ b/dev-util/diffuse/metadata.xml @@ -6,6 +6,6 @@ <name>Andrey Grozin</name> </maintainer> <upstream> - <remote-id type="sourceforge">diffuse</remote-id> + <remote-id type="github">MightyCreak/diffuse</remote-id> </upstream> </pkgmetadata> |