Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitg/
Date: Tue, 18 Apr 2017 10:56:07
Message-Id: 1492512821.e55d9d07cf0b0b66254df9982a9e983f764e56fb.leio@gentoo
1 commit: e55d9d07cf0b0b66254df9982a9e983f764e56fb
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 18 10:42:20 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 18 10:53:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e55d9d07
7
8 dev-vcs/gitg: bump to 3.23.90
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-vcs/gitg/Manifest | 1 +
13 dev-vcs/gitg/gitg-3.23.90.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 85 insertions(+)
15
16 diff --git a/dev-vcs/gitg/Manifest b/dev-vcs/gitg/Manifest
17 index 93647cf603d..7368a751250 100644
18 --- a/dev-vcs/gitg/Manifest
19 +++ b/dev-vcs/gitg/Manifest
20 @@ -1 +1,2 @@
21 DIST gitg-3.22.0.tar.xz 1507056 SHA256 ba6895f85c18748294075980a5e03e0936ad4e84534dbb0d8f9e29aa874ddeaf SHA512 2d59af3bb725c111966544ed6977002a901a862f0280c9acf117b2b613b00d889039ea780cad83bd624de5099256e48b99cdf0421362f154a8380e98f5f977da WHIRLPOOL 088819c4580c14268f420a6f745cc68f5ec0e22c88ce318792071773dc8ecf0a1e99d78639ec0dc561ba22366d8f9a1673be4c939cd5074c6c335fc03f86a819
22 +DIST gitg-3.23.90.tar.xz 1688752 SHA256 afb9903e33796ca5149651569280ce15dd53e7d38722146a91db408b9e426f54 SHA512 97af27fd699bffb0268f01287a2a2e015211f4f09cf92687e8a944cad21b60fb2b8b0dbb6fce4167b283dd241e8f946e4cd8e0dcc47007193f1969a1d375e0e6 WHIRLPOOL 3201e107767dd01152ca44ed639f124aaab3e78a373e949c68c83bbcb5c2c7624b720c259ebd57be62474613e82d96109a306ae57c5b5e4264d929e2f0c44f57
23
24 diff --git a/dev-vcs/gitg/gitg-3.23.90.ebuild b/dev-vcs/gitg/gitg-3.23.90.ebuild
25 new file mode 100644
26 index 00000000000..b8f4bb95294
27 --- /dev/null
28 +++ b/dev-vcs/gitg/gitg-3.23.90.ebuild
29 @@ -0,0 +1,84 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +GNOME2_LA_PUNT="yes"
35 +PYTHON_COMPAT=( python{3_4,3_5} )
36 +VALA_MIN_API_VERSION="0.32" # Needed when gtk+-3.20 is found
37 +
38 +inherit gnome2 pax-utils python-r1 vala
39 +
40 +DESCRIPTION="git repository viewer for GNOME"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Gitg"
42 +
43 +LICENSE="|| ( GPL-2 GPL-3 )"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
46 +
47 +IUSE="glade +python"
48 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
49 +
50 +# test if unbundling of libgd is possible
51 +# Currently it seems not to be (unstable API/ABI)
52 +RDEPEND="
53 + app-crypt/libsecret
54 + dev-libs/libgee:0.8[introspection]
55 + >=app-text/gtkspell-3.0.3:3
56 + >=dev-libs/glib-2.38:2[dbus]
57 + >=dev-libs/gobject-introspection-0.10.1:=
58 + dev-libs/libgit2:=[threads]
59 +
60 + >=dev-libs/libgit2-glib-0.25.0[ssh]
61 + <dev-libs/libgit2-glib-0.26.0
62 +
63 + >=dev-libs/libpeas-1.5.0[gtk]
64 + >=dev-libs/libxml2-2.9.0:2
65 + net-libs/libsoup:2.4
66 + >=gnome-base/gsettings-desktop-schemas-0.1.1
67 + >=x11-libs/gtk+-3.20.0:3
68 + >=x11-libs/gtksourceview-3.10:3.0
69 + x11-themes/adwaita-icon-theme
70 + glade? ( >=dev-util/glade-3.2:3.10 )
71 + python? (
72 + ${PYTHON_DEPS}
73 + dev-python/pygobject:3[${PYTHON_USEDEP}]
74 + )
75 +"
76 +DEPEND="${RDEPEND}
77 + $(vala_depend)
78 + >=dev-libs/libgit2-glib-0.24.4[vala]
79 + >=dev-util/intltool-0.40
80 + gnome-base/gnome-common
81 + >=sys-devel/gettext-0.17
82 + virtual/pkgconfig
83 +"
84 +
85 +pkg_setup() {
86 + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
87 +}
88 +
89 +src_prepare() {
90 + gnome2_src_prepare
91 + vala_src_prepare
92 +}
93 +
94 +src_configure() {
95 + gnome2_src_configure \
96 + --disable-static \
97 + --disable-deprecations \
98 + $(use_enable glade glade-catalog) \
99 + $(use_enable python)
100 +}
101 +
102 +src_install() {
103 + # -j1: bug #???
104 + gnome2_src_install -j1
105 +
106 + if use python ; then
107 + install_gi_override() {
108 + python_moduleinto "$(python_get_sitedir)/gi/overrides"
109 + python_domodule "${S}"/libgitg-ext/GitgExt.py
110 + }
111 + python_foreach_impl install_gi_override
112 + fi
113 +}