Gentoo Archives: gentoo-commits

From: Denis Dupeyron <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/thunar-vcs-plugin/
Date: Thu, 30 Nov 2017 22:06:07
Message-Id: 1512079555.ac7501d462ace1e40bb28d863bcf3b569b070569.calchan@gentoo
1 commit: ac7501d462ace1e40bb28d863bcf3b569b070569
2 Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 30 22:05:36 2017 +0000
4 Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 30 22:05:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7501d4
7
8 xfce-extra/thunar-vcs-plugin: remove obsolete xfconf.eclass, migrate to EAPI6
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 xfce-extra/thunar-vcs-plugin/Manifest | 2 +-
13 ....5.ebuild => thunar-vcs-plugin-0.1.5-r1.ebuild} | 30 ++++++++++++++++------
14 2 files changed, 23 insertions(+), 9 deletions(-)
15
16 diff --git a/xfce-extra/thunar-vcs-plugin/Manifest b/xfce-extra/thunar-vcs-plugin/Manifest
17 index ac1da470e14..a60840fed8e 100644
18 --- a/xfce-extra/thunar-vcs-plugin/Manifest
19 +++ b/xfce-extra/thunar-vcs-plugin/Manifest
20 @@ -4,4 +4,4 @@ DIST thunar-vcs-plugin-0.1.4-ru.po.bz2 4323 SHA256 50f9f84162317e3bcc5243eb06882
21 DIST thunar-vcs-plugin-0.1.4-ug.po.bz2 4628 SHA256 ea50f843b721f7f1e31ec9abcba755a24c7834d2f3a64b309cf459e7a46f64e5 SHA512 563c6f235eb6e5a049846052e5bfad1ad6a40c598b013e83ad12d50c4a070bb3faec5362ec02c56bfac14d752918b65b7089bef729a1004245539c22d10255db WHIRLPOOL 2a4df5619f00580440308ceb0a6281ed67221ef3ca27ec4e88ec90dec6c5b73372f2c6cdd9c079a205677671844051069e40c7560a917dd3728a58f4da3acbe1
22 DIST thunar-vcs-plugin-0.1.4-uk.po.bz2 5469 SHA256 a43df313ce3a2968a83efa41a46193ef42b095913cbed27230d3ac092ca2b08a SHA512 e1b0b6ab444fb46d626c889b9b2509e21b00aa380c40da5b871a4e6c12fd34609bd0a74b2f7b5894601ad5fe4727fdb177ae7af0f0ef457f23021287d6dca8ff WHIRLPOOL afa9d171c22fdfa467958a1946ceb7d9b0726d7d3d80a8dacf1cd1241d45a5fa9e29f305d459a92656b9fb84c1c470ea36fdacf21e7922667b6790211a342c28
23 DIST thunar-vcs-plugin-0.1.4.tar.bz2 435835 SHA256 7dbbdb22113cec40f6dc46cf4fd113b47928af15ba64e9fc66305a01c4291d4c SHA512 037ca986ab9030146fc409d78d235a157b956b202449ef8e68de77dfce29ba2dd9a2dabc793215dd9ce455f97d8c5400ba51c8254b3c07b3e0d87572df672151 WHIRLPOOL ca5eafc6a3e0061c3b87afc93f1ede109b17919e8915565b004b3302d4e21493c1880b7645f90b2dcc288fde84c7249754f0652e8ebbe20139bab6d193b4ab1f
24 -DIST thunar-vcs-plugin-0.1.5.tar.bz2 478866 SHA256 7094f576865957397eefcdb1b05ba9be020a396c12949077507ea1573b1ef451 SHA512 0315613fe97d5cb2fa9589af49bdb5074f20c83b52d5f7d4a151091839679b4617e8e0b20df85914b7bcef2464173dc1bd2bc182312364c7d5a94171aba28983 WHIRLPOOL f5e90202bb852913414ff13de4bc2c0a35fd7cae572b7b64040cc0346bc83b16fc95b514f4f86cd73e6b6ca0b5faa19917af7bc76f9e27c0684665125131cd07
25 +DIST thunar-vcs-plugin-0.1.5.tar.bz2 478866 BLAKE2B 9bf2b060d88a4379f02c0e8af1829f4cf621e2590f7885f59d9af56d825c1d9d218c56c3b97420087b46eece0eb6c15146f6630569928c8523fa34bcfdbbcc22 SHA512 0315613fe97d5cb2fa9589af49bdb5074f20c83b52d5f7d4a151091839679b4617e8e0b20df85914b7bcef2464173dc1bd2bc182312364c7d5a94171aba28983
26
27 diff --git a/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.5.ebuild b/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.5-r1.ebuild
28 similarity index 66%
29 rename from xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.5.ebuild
30 rename to xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.5-r1.ebuild
31 index c7aec1616f9..f79a891d6f2 100644
32 --- a/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.5.ebuild
33 +++ b/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.5-r1.ebuild
34 @@ -1,8 +1,9 @@
35 -# Copyright 1999-2016 Gentoo Foundation
36 +# Copyright 1999-2017 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI=5
40 -inherit xfconf
41 +EAPI=6
42 +
43 +inherit gnome2-utils
44
45 DESCRIPTION="Adds Subversion and GIT actions to the context menu of thunar"
46 HOMEPAGE="https://goodies.xfce.org/projects/thunar-plugins/thunar-vcs-plugin"
47 @@ -11,7 +12,7 @@ SRC_URI="mirror://xfce/src/thunar-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
48 LICENSE="GPL-2"
49 SLOT="0"
50 KEYWORDS="~amd64 ~x86"
51 -IUSE="debug +git +subversion"
52 +IUSE="+git +subversion"
53
54 RDEPEND=">=dev-libs/glib-2.18:2=
55 >=x11-libs/gtk+-2.14:2=
56 @@ -27,12 +28,25 @@ DEPEND="${RDEPEND}
57 dev-util/intltool
58 virtual/pkgconfig"
59
60 -pkg_setup() {
61 - XFCONF=(
62 +DOCS=( AUTHORS ChangeLog NEWS README )
63 +
64 +src_configure() {
65 + local myconf=(
66 $(use_enable subversion)
67 $(use_enable git)
68 - $(xfconf_use_debug)
69 )
70 + econf "${myconf[@]}"
71 +}
72 +
73 +src_install() {
74 + default
75 + find "${D}" -name '*.la' -delete || die
76 +}
77 +
78 +pkg_postinst() {
79 + gnome2_icon_cache_update
80 +}
81
82 - DOCS=( AUTHORS ChangeLog NEWS README )
83 +pkg_postrm() {
84 + gnome2_icon_cache_update
85 }