summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-04-10 16:31:24 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-10 17:07:21 +0200
commit1e4ca566e3d2368f98b1b0753805a0b84e54d30d (patch)
tree3f6d3ea7d74afa57e7d5cd9a7d8229a465ce3ff3 /dev-libs
parentdev-libs/libgit2-glib: Drop old (diff)
downloadgentoo-1e4ca566e3d2368f98b1b0753805a0b84e54d30d.tar.gz
gentoo-1e4ca566e3d2368f98b1b0753805a0b84e54d30d.tar.bz2
gentoo-1e4ca566e3d2368f98b1b0753805a0b84e54d30d.zip
dev-libs/libgit2: Update live ebuild
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libgit2/libgit2-9999.ebuild24
1 files changed, 6 insertions, 18 deletions
diff --git a/dev-libs/libgit2/libgit2-9999.ebuild b/dev-libs/libgit2/libgit2-9999.ebuild
index d10065358a4f..bfad5c3fdc15 100644
--- a/dev-libs/libgit2/libgit2-9999.ebuild
+++ b/dev-libs/libgit2/libgit2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -18,18 +18,15 @@ DESCRIPTION="A linkable library for Git"
HOMEPAGE="https://libgit2.github.com/"
LICENSE="GPL-2-with-linking-exception"
-SLOT="0/27"
-IUSE="+curl examples gssapi libressl +ssh test +threads trace"
+SLOT="0/28"
+IUSE="examples gssapi libressl +ssh test +threads trace"
+RESTRICT="!test? ( test )"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
sys-libs/zlib
net-libs/http-parser:=
- curl? (
- !libressl? ( net-misc/curl:=[curl_ssl_openssl(-)] )
- libressl? ( net-misc/curl:=[curl_ssl_libressl(-)] )
- )
gssapi? ( virtual/krb5 )
ssh? ( net-libs/libssh2 )
"
@@ -38,15 +35,6 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
-DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
-
-src_prepare() {
- # skip online tests
- sed -i '/libgit2_clar/s/-ionline/-xonline/' tests/CMakeLists.txt || die
-
- cmake-utils_src_prepare
-}
-
src_configure() {
local mycmakeargs=(
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
@@ -55,7 +43,6 @@ src_configure() {
-DUSE_GSSAPI=$(usex gssapi)
-DUSE_SSH=$(usex ssh)
-DTHREADSAFE=$(usex threads)
- -DCURL=$(usex curl)
)
cmake-utils_src_configure
}
@@ -67,12 +54,13 @@ src_test() {
ewarn "Skipping tests: non-root privileges are required for all tests to pass"
else
local TEST_VERBOSE=1
- cmake-utils_src_test
+ cmake-utils_src_test -R offline
fi
}
src_install() {
cmake-utils_src_install
+ dodoc docs/*.{md,txt}
if use examples ; then
find examples -name '.gitignore' -delete || die