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-libs/libgit2-glib/
Date: Tue, 18 Apr 2017 10:56:07
Message-Id: 1492512816.3899325e4e1729e5f5cecb0a68bd7a2fd725a4ac.leio@gentoo
1 commit: 3899325e4e1729e5f5cecb0a68bd7a2fd725a4ac
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 18 08:52:46 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 18 10:53:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3899325e
7
8 dev-libs/libgit2-glib: bump to 0.25.0
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-libs/libgit2-glib/Manifest | 1 +
13 dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild | 58 ++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest
17 index bf8d9f57082..0b89806a3e7 100644
18 --- a/dev-libs/libgit2-glib/Manifest
19 +++ b/dev-libs/libgit2-glib/Manifest
20 @@ -1 +1,2 @@
21 DIST libgit2-glib-0.24.4.tar.xz 458360 SHA256 3a211f756f250042f352b3070e7314a048c88e785dba9d118b851253a7c60220 SHA512 55874f77ded1474eab6f84d3426c8cddd56a42b04b8b3e50e4294f396b8c10025a38bc925c0b74ba3e52022c696f07e7f69b75c443bbd0af0f9e0769b7c4555f WHIRLPOOL 22a17e940a670ccb31cf0fc229b8f042794e10e7c5996d4059779d3a7b2ab5865b9cf1bc1a32a9297e88e5b069b281e7f20b2db636f91d5f8af9df8f14d23346
22 +DIST libgit2-glib-0.25.0.tar.xz 420500 SHA256 4a256b9acfb93ea70d37213a4083e2310e59b05f2c7595242fe3c239327bc565 SHA512 f265d5da4bba28de2aa7254d36fa596b9e348c6543cd559cbb9c1f9610d4b63af00c82fb4138f345e15109503e0d61101d3344c68539348cb268403387a4418e WHIRLPOOL beb276d2637edca19a96f7eca94bc8b318b31e6c014044e7526c9c397ec376dea38891eb0985351899ad26de1436f4713e3ac0d708966e4e41d41d516208072f
23
24 diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild
25 new file mode 100644
26 index 00000000000..d771ee339a5
27 --- /dev/null
28 +++ b/dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +GCONF_DEBUG="no"
35 +PYTHON_COMPAT=( python{3_4,3_5} )
36 +VALA_USE_DEPEND="vapigen"
37 +
38 +inherit eutils gnome2 python-r1 vala
39 +
40 +DESCRIPTION="Git library for GLib"
41 +HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
42 +
43 +LICENSE="LGPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +IUSE="python ssh +vala"
48 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
49 +
50 +# Specify libgit2 dependency with subslot because libgit2 upstream has a habit
51 +# of changing their API in each release in ways that break libgit2-glib
52 +RDEPEND="
53 + >=dev-libs/libgit2-0.25.0:0/25[ssh?]
54 + >=dev-libs/glib-2.44.0:2
55 + python? (
56 + ${PYTHON_DEPS}
57 + dev-python/pygobject:3[${PYTHON_USEDEP}] )
58 +"
59 +DEPEND="${RDEPEND}
60 + >=dev-util/gtk-doc-am-1.11
61 + virtual/pkgconfig
62 + vala? ( $(vala_depend) )
63 +"
64 +
65 +src_prepare() {
66 + use vala && vala_src_prepare
67 + gnome2_src_prepare
68 +}
69 +
70 +src_configure() {
71 + gnome2_src_configure \
72 + $(use_enable python) \
73 + $(use_enable ssh) \
74 + $(use_enable vala)
75 +}
76 +
77 +src_install() {
78 + gnome2_src_install
79 +
80 + if use python ; then
81 + install_gi_override() {
82 + python_moduleinto "$(python_get_sitedir)/gi/overrides"
83 + python_domodule "${S}"/${PN}/Ggit.py
84 + }
85 + python_foreach_impl install_gi_override
86 + fi
87 +}