Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/diffuse/
Date: Sun, 05 Jun 2022 11:37:49
Message-Id: 1654428927.43e1cf8702a04537ac197c31f9f7640a8b0e44f8.grozin@gentoo
1 commit: 43e1cf8702a04537ac197c31f9f7640a8b0e44f8
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 11:35:27 2022 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 11:35:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e1cf87
7
8 dev-util/diffuse: remove old versions
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 dev-util/diffuse/Manifest | 2 --
14 dev-util/diffuse/diffuse-0.6.0.ebuild | 57 -----------------------------------
15 dev-util/diffuse/diffuse-0.7.3.ebuild | 52 --------------------------------
16 3 files changed, 111 deletions(-)
17
18 diff --git a/dev-util/diffuse/Manifest b/dev-util/diffuse/Manifest
19 index 2027a61878b7..7b0d98557a35 100644
20 --- a/dev-util/diffuse/Manifest
21 +++ b/dev-util/diffuse/Manifest
22 @@ -1,3 +1 @@
23 -DIST diffuse-0.6.0.tar.gz 621120 BLAKE2B c39cbe55edb6e1734d4db1343a0b0029ab146fe92ef4edc58cd6ea82bc6780e3f789d6765d2bddecd941fa458781c59ddde71a010f1b90d4ca238e6d6b233dc2 SHA512 fe9842738560dbefe9c546c8bba3f9f1cefcf4c327ad644430c512ec6bb1b4877986ca2b816af75226975eefa9b0f70120a4ed574e2ed90058b0a92380e8995a
24 -DIST diffuse-0.7.3.tar.gz 519865 BLAKE2B 2980e919cd3fb5c88fef631f83fe6587511791a7fb63cf9b3b7c6b08445baac2f59811a516bb01cad0f2d30d11e113de5c672f26f7d1a17322c711d1ffeaa42d SHA512 b490ba761375092b759daf2e2a89fd0ad3e69d3043487d82c0635c2d35d1ebdad5e32922e53ff3496684e8b02ea8e1f123313d891695e9b0647a775c12b80ea7
25 DIST diffuse-0.7.5.tar.gz 509048 BLAKE2B f69d9afea243069bdb9d313059556cc83283cd037e2f32de4b1221a2b53c493cb8a0a9bf8b4fc4d8a50e94fc60fe6043d30e3b5e7b7ceb2cec8529d8e136db0f SHA512 466cdc834e1103ad794979a287838b5005379712ee1d77e400d5fe71dcf5e79097decb39e26b213669077a4a2a525444db99b5587929f01b8b2df9f31ec190fd
26
27 diff --git a/dev-util/diffuse/diffuse-0.6.0.ebuild b/dev-util/diffuse/diffuse-0.6.0.ebuild
28 deleted file mode 100644
29 index 7f6bd593c6d2..000000000000
30 --- a/dev-util/diffuse/diffuse-0.6.0.ebuild
31 +++ /dev/null
32 @@ -1,57 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -PYTHON_COMPAT=( python3_{8..9} )
38 -PLOCALES="cs de es it ja ko pl pt ru sv th zh_CN zh_TW"
39 -inherit meson plocale python-single-r1 xdg-utils
40 -
41 -DESCRIPTION="A graphical tool to compare and merge text files"
42 -HOMEPAGE="http://diffuse.sourceforge.net/ https://github.com/MightyCreak/diffuse/"
43 -SRC_URI="https://github.com/MightyCreak/diffuse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -IUSE=""
49 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 -
51 -DEPEND="${PYTHON_DEPS}"
52 -RDEPEND="${DEPEND}
53 - $(python_gen_cond_dep '
54 - dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
55 - ')
56 - x11-libs/gtk+:3[introspection]"
57 -# file collision, bug #279018
58 -DEPEND="${DEPEND}
59 - !sci-chemistry/tinker"
60 -
61 -src_prepare() {
62 - default
63 - plocale_find_changes translations '' '.po'
64 -
65 - rm_locale() {
66 - rm -f translations/${1}.po
67 - rm -rf src/usr/share/man/${1}
68 - rm -rf src/usr/share/gnome/help/${PN}/$1
69 - rm -f src/usr/share/omf/${PN}/${PN}-$1.omf
70 - sed -e "/^${1}/d" -i translations/LINGUAS
71 - }
72 -
73 - plocale_for_each_disabled_locale rm_locale
74 -}
75 -
76 -src_install() {
77 - meson_src_install
78 - dodoc AUTHORS CHANGELOG.md README.md
79 -}
80 -
81 -pkg_postinst() {
82 - xdg_desktop_database_update
83 - xdg_icon_cache_update
84 -}
85 -
86 -pkg_postrm() {
87 - xdg_desktop_database_update
88 - xdg_icon_cache_update
89 -}
90
91 diff --git a/dev-util/diffuse/diffuse-0.7.3.ebuild b/dev-util/diffuse/diffuse-0.7.3.ebuild
92 deleted file mode 100644
93 index b2550df09ec4..000000000000
94 --- a/dev-util/diffuse/diffuse-0.7.3.ebuild
95 +++ /dev/null
96 @@ -1,52 +0,0 @@
97 -# Copyright 1999-2022 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=8
101 -PYTHON_COMPAT=( python3_{8..10} )
102 -PLOCALES="cs de es it ja ko pl pt pt_BR ru sv th zh_CN zh_TW"
103 -inherit meson plocale python-r1 xdg
104 -
105 -DESCRIPTION="A graphical tool to compare and merge text files"
106 -HOMEPAGE="http://diffuse.sourceforge.net/ https://github.com/MightyCreak/diffuse/"
107 -SRC_URI="https://github.com/MightyCreak/diffuse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
108 -
109 -LICENSE="GPL-2"
110 -SLOT="0"
111 -KEYWORDS="~amd64 ~x86"
112 -IUSE=""
113 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
114 -
115 -DEPEND="${PYTHON_DEPS}"
116 -RDEPEND="${DEPEND}
117 - $(python_gen_cond_dep '
118 - dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
119 - ')
120 - x11-libs/gtk+:3[introspection]"
121 -# file collision, bug #279018
122 -DEPEND="${DEPEND}
123 - !sci-chemistry/tinker"
124 -
125 -src_prepare() {
126 - default
127 - plocale_find_changes po '' '.po'
128 -
129 - rm_locale() {
130 - rm -f po/${1}.po
131 - rm -rf data/usr/share/man/${1}
132 - rm -rf data/usr/share/gnome/help/${PN}/$1
133 - rm -f data/usr/share/omf/${PN}/${PN}-$1.omf
134 - sed -e "/^${1}/d" -i po/LINGUAS
135 - }
136 -
137 - plocale_for_each_disabled_locale rm_locale
138 -}
139 -
140 -src_install() {
141 - meson_src_install
142 - rm "${D}"/usr/bin/${PN} || die "rm ${PN} failed"
143 - python_foreach_impl python_doscript ../${P}-build/src/${PN}/${PN}
144 - mkdir "${D}"/usr/share/metainfo || die "mkdir metainfo failed"
145 - mv "${D}"/usr/share/appdata/* "${D}"/usr/share/metainfo/ \
146 - || die "mv appdata -> metainfo failed"
147 - dodoc AUTHORS CHANGELOG.md README.md
148 -}