diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-10 00:49:41 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-10 00:55:10 +0200 |
commit | 18f904c5fc23b428b189db6ff67734258807c9a7 (patch) | |
tree | 780e8ef583d86fb965c8be9e552ce2b41d799c84 /dev-libs/libgit2-glib | |
parent | dev-libs/appstream-glib: version bump 0.5.16 → 0.6.3 (diff) | |
download | gentoo-18f904c5fc23b428b189db6ff67734258807c9a7.tar.gz gentoo-18f904c5fc23b428b189db6ff67734258807c9a7.tar.bz2 gentoo-18f904c5fc23b428b189db6ff67734258807c9a7.zip |
dev-libs/libgit2-glib: version bump 0.24.3 → 0.24.4
Fix multiple python installation, bug #571368.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/libgit2-glib')
-rw-r--r-- | dev-libs/libgit2-glib/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest index 14d3f4dd9aca..8ed39e7a5ce3 100644 --- a/dev-libs/libgit2-glib/Manifest +++ b/dev-libs/libgit2-glib/Manifest @@ -2,3 +2,4 @@ DIST libgit2-glib-0.22.8.tar.xz 429300 SHA256 05c9453b195f1af0df2a5d8bc71472c9fb DIST libgit2-glib-0.23.10.tar.xz 450552 SHA256 398ea6ff5fb1eafa61f2908da5ff8722dc051a2081be6cbed76a2ab07ecab1af SHA512 bf85ca562bb1e00fb65d499d133daaa9deeb8abe37e1caa33148c469e91f43f685c222fe976985b4a5e9cef4ebaec9e92d90d5a87287f0c6012f798ed9755a07 WHIRLPOOL 91d55e52c507a80d28f110f7feb183dd046db4389732ff4a68996156ef2a04e956c71ef485c36c9b8f945208f699bed883d5c914eb8e53db1301c7e9b59eb1f1 DIST libgit2-glib-0.24.0.tar.xz 456724 SHA256 d616c268821c28ff8dc1a6419dbf8555fa48e31dc6509c10f5151be7690f4845 SHA512 d613fc1aa17543500c448a6d0d90f7e0c17bacd1cced4a9d7a126fb1ebf96981fe9613b96cea397e7cfe46c2bb17b4c9de0535e5985f682bcb388fe5dd4dcc0a WHIRLPOOL f827845587794904d603527d82d6b10ae226e9e4709695b2e00cb1b640eb1d34c7751e5e5d78d59d694cf9696c4cd95bcc246e346524d114f846ae836d2ce987 DIST libgit2-glib-0.24.3.tar.xz 458316 SHA256 0c4f781d293a57758a81d67e22964e78389f7a4e860ac37c86788a763a625969 SHA512 ae21e2b56cd65838af820c17c0a041bb5517ea38f38eb0674fa5643e926f7f06547f58644cb9d28db39735ac975ade0b6f4e24d3cd2e98731168729c0470b49d WHIRLPOOL 8932846c68829df8189b9f74e5462e7559eb09edd4f7ddcab213ab9b1e9e0219a8b59f82be8c3d9c2fe3bfae568523c08e3331308b851d8cc736db2dfc172e83 +DIST libgit2-glib-0.24.4.tar.xz 458360 SHA256 3a211f756f250042f352b3070e7314a048c88e785dba9d118b851253a7c60220 SHA512 55874f77ded1474eab6f84d3426c8cddd56a42b04b8b3e50e4294f396b8c10025a38bc925c0b74ba3e52022c696f07e7f69b75c443bbd0af0f9e0769b7c4555f WHIRLPOOL 22a17e940a670ccb31cf0fc229b8f042794e10e7c5996d4059779d3a7b2ab5865b9cf1bc1a32a9297e88e5b069b281e7f20b2db636f91d5f8af9df8f14d23346 diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild new file mode 100644 index 000000000000..0bc09edc7209 --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG="no" +PYTHON_COMPAT=( python{3_3,3_4,3_5} ) +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 python-r1 vala + +DESCRIPTION="Git library for GLib" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="python ssh +vala" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# Specify libgit2 dependency with subslot because libgit2 upstream has a habit +# of changing their API in each release in ways that break libgit2-glib +RDEPEND=" + >=dev-libs/libgit2-0.24.0:0/24[ssh?] + >=dev-libs/glib-2.44.0:2 + >=dev-libs/gobject-introspection-0.10.1:= + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable python) \ + $(use_enable ssh) \ + $(use_enable vala) +} + +src_install() { + gnome2_src_install + + if use python ; then + install_gi_override() { + python_moduleinto "$(python_get_sitedir)/gi/overrides" + python_domodule "${S}"/${PN}/Ggit.py + } + python_foreach_impl install_gi_override + fi +} |