Merge branch 'feature/clean-libgit2' into 'master'
removed ebuild for libgit2, as version 0.24.0 is in the official tree See merge request !53
This commit is contained in:
commit
5d473b162a
3 changed files with 0 additions and 104 deletions
|
@ -1,3 +0,0 @@
|
|||
DIST libgit2-0.24.0_rc1.tar.gz 4165326 SHA256 e956fb569ddaf2d1d29307b4dc361121160ea7ab052eb3dc1c07b95175cb842d SHA512 c73bee9aaba3a36fca35fa0e3183e5636fa9be2ba98b1b93562f390e5f74b0be817ba73781a13e7ae5f880411465877864ca244ad6ac52ccd89d905d5b103e6c WHIRLPOOL 9d442e2894548462e3bda477bbacf4ac2190e8b9cb8c2b34e443568249b6ab63dd316d267e12fad84acfbfbc0af8aa3674e9c5dd717fa8deac4d07e586f82377
|
||||
EBUILD libgit2-0.24.0_rc1-r1.ebuild 1778 SHA256 8a11b0d2430f71863d7036e919700cae0afa5422acda67876a720518c12d1be6 SHA512 b67bee4c60fb380548a43bcd91b66613e0ea7a8634d721753493708975e97e989e467645b904b7acead1663353b589731f1524f8cabebac3407341ad55660a8a WHIRLPOOL fd9e1a15d3fdf820f4faf77b35bb61ffdd6147edd67d46f47f10a864ca3fc10a91b927d83e6e8eae4c14c1e858d2f0ea2da8cd0f6b59d1d2d8ce69b3f06ed2f0
|
||||
MISC metadata.xml 802 SHA256 446c2a35f3209339e906828d8250d3d784cb3796c4da5740cbd6ebf301d92f4a SHA512 9d2dba83bfd1791e2cf2afd2b939ed66456e4db0723f2789ea3b1227e14b0a7d685d9a7adcaae050b6574e99a9301ff1c484b024dbf8e3dcd44e56a14d84ee99 WHIRLPOOL 268fb7c0d932e4c7b8ce4554c2d04341c77eba94ba25066746b7289111e76446f3c411efc454b3a639aaa98b67c030392c6fab77185f8bc9dac4dce9b4a47e36
|
|
@ -1,80 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils multilib
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A linkable library for Git"
|
||||
HOMEPAGE="https://libgit2.github.com/"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="0/24"
|
||||
IUSE="examples gssapi libressl ssh test threads trace"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
sys-libs/zlib
|
||||
net-libs/http-parser:=
|
||||
gssapi? ( virtual/krb5 )
|
||||
ssh? ( net-libs/libssh2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
# skip online tests
|
||||
sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
$(cmake-utils_use_build test CLAR)
|
||||
$(cmake-utils_use_enable trace TRACE)
|
||||
$(cmake-utils_use_use gssapi GSSAPI)
|
||||
$(cmake-utils_use_use ssh SSH)
|
||||
$(cmake-utils_use threads THREADSAFE)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ ${EUID} -eq 0 ]] ; then
|
||||
# repo::iterator::fs_preserves_error fails if run as root
|
||||
# since root can still access dirs with 0000 perms
|
||||
ewarn "Skipping tests: non-root privileges are required for all tests to pass"
|
||||
else
|
||||
local TEST_VERBOSE=1
|
||||
cmake-utils_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use examples ; then
|
||||
egit_clean examples
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>manuel@fritteli.ch</email>
|
||||
<name>Manuel Friedli</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
libgit2 is a portable, pure C implementation of the Git core methods provided
|
||||
as a re-entrant linkable library with a solid API, allowing you to write native
|
||||
speed custom Git applications in any language which supports C bindings.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="gssapi">Enable GSSAPI support for SPNEGO auth</flag>
|
||||
<flag name="ssh">Enable SSH transport support</flag>
|
||||
<flag name="trace">Enable tracing support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">libgit2/libgit2</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue