From: Tim Harder Date: Fri, 28 Aug 2015 06:19:53 +0000 (-0400) Subject: dev-libs/libgit2: remove old X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=50ae254059bfd9b73856ab0133a17d4ad1e44a32;p=gentoo.git dev-libs/libgit2: remove old --- diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest index 6a6b3756a77d..cd852c5d4d09 100644 --- a/dev-libs/libgit2/Manifest +++ b/dev-libs/libgit2/Manifest @@ -1,13 +1,5 @@ -DIST libgit2-0.16.0.tar.gz 1042613 SHA256 b84e5353ebc41e785f777a4977da9fa3eaf19f71c07eb2a2c23c2ceafb811597 SHA512 cc12ce986ee9d179a7e5b01607d69ee212a4885b0487a06d5cfaba3ecb538932fc9baec86dcb44936e47ab8eb43838b9b4108541c07833d9d688e36cd03ab8c6 WHIRLPOOL 5f557998f3be9e984c78c89fd5a6036f1b44100bcf1c6c12c9dd8a59193dea827498a3ba5e1fc822eb537880607f152ddc9daa1693c972a62098947196d78dd1 -DIST libgit2-0.17.0.tar.gz 2096159 SHA256 068eed0b8fe852a7cc55aae46d2299e9c9e3e00badc1c293d72a9dd122226018 SHA512 a51420ae78be1f81104afdb58fdb9d7681a1a3ec3ee907b04bc2f2c5a8629a331b34d0fc67fa8e98d809a4352971149307553bbfec6799d919e84d292456a764 WHIRLPOOL c37f0301487375b47b77f4f7869830e2dc9d0c4227c36e3a7e8e72b7f27794be321dd047f13394f2828016bcbeb1375784ad873743b2c0e45bfb85b2c8a463cb -DIST libgit2-0.18.0.tar.gz 2958095 SHA256 88a6ef6f87905e0b574123b85c5746025a408c6169e754906e939acbca75ac5f SHA512 3fc1610667a4a0bb9d7ace11e65d590178bcd8687a2866fa7687123468bad7dcaf6365b3e593b686e727bc62746e655eb4a08d5ddb7d69e65c5bad1b1e6fc2be WHIRLPOOL 9ffa51954b893bb0ef5ac6a1866282e11ffbd6e9277e20222ddb34e45af16df8a0ab1014425ae956baf0ab905cc0875a67ad9c7c86e02ac700b43940a1be301a -DIST libgit2-0.19.0.tar.gz 3122978 SHA256 f526f8cf5547c70fe00169d587ca18367541a95fad5849352c3e2ffc94d583bf SHA512 e14b71e5e9b0c97255b47d35dd216ad24aeba04050a3407a90ac422b27df87cc0ad97b538230d07b7299863c7d1c3919dc2912713add31b7c585949cd4b436be WHIRLPOOL 0e551738f1dedf13a103a71f8e4149620e341a36da2f737c5fb10cd461ba77e1367f8bdff9304142b72919c6940db9d7afc40cfd5ab7e661fe6c4b60b36d54a2 DIST libgit2-0.20.0.tar.gz 3255478 SHA256 509ab8091623df5b745cd13682539ca2dc2372051d3418355a7acc5b4a20c2f1 SHA512 0512a2d6daa149f6c6bada3b9ea8b228d6ba9180d7030cf41f3e9888fb15f068ef7c7722f636f8750c4643b58453299179d73e0b71e08ae79439060a27efe9d6 WHIRLPOOL 996a3639bd8f598b07f12115a2af0b5d28de51163338c34b39872046776a0144e57a0598ab493dcf717fa16ed093d9b00546009d2a4426a27a0451e97759783b -DIST libgit2-0.21.3.tar.gz 3454810 SHA256 7c40cb783e5b7bcae46986e35e531794d378872574237f4b5f34e3a7d2a25c32 SHA512 399e16c9ca9d5a9e95ac929d7bd327038ba0e590e37ceee2aab062472f28a32905e90b5ee59990dad428d04c1c0d3f388381e3e44f775dfaafe37b21dbd7c892 WHIRLPOOL 4facdc843c3f8d66fe1290708a402476263484fd1a1365ced406a0e21515d4d65f1da2e73615fdfb241fc33bdb575a9f688140e17a82ec2e5002648e46c975cc DIST libgit2-0.21.5.tar.gz 3460366 SHA256 46ca07becbdcda0da96a553d9f45e64ead29276ba14049e4bc8e2730ed1aa494 SHA512 080624aa1479b9b393d4b3341b2dd5640e7d61f21c44b04c54bdd6be589fcdfc628219046f3dfda48f563560a1db1f9ddf0626d2802a1f60122b9609d0412dce WHIRLPOOL 6bdc7d40afb9bf427ffe96d87a920b4421f902f0548018477324d69a563751696a1288c5564d87efbabac779273f1992f6d79f9ac101814cfbcbcdc11584dba3 -DIST libgit2-0.22.0.tar.gz 3586058 SHA256 b70965b35e6d0adc891ba2edb28d982cb27729a3f2bb02186084f692e94922b2 SHA512 08d939f9fe6000587ce3695e215e92fba77de32c7b4e898d8ceeacd8e6f6151dd69bd160ef9e38a0e073a970712d61d34955320847d51e3c67910a413e909d42 WHIRLPOOL a167e1957cbe6c0ad5b46daed379fe92178848e517ab90d41d2281ff285775eb2a61ed231149cee40699d1919153cdf38bf9bcce1bbbb0892f66bc5b16dc7e0f -DIST libgit2-0.22.1.tar.gz 3590204 SHA256 c7f1bf99ed8aeba65a485489869e2a50f022f3cd847df85e192fc99fdd6c8b5e SHA512 0fae8562c9b2f5575f908f23773da36d29554cdafb71e551abb68dc18e6cee36e5b96d3a7e585a235e520acc49983caf7a78d8f0b6dd43b378dc6cdf0cef42c9 WHIRLPOOL 933f9b574ff77ef298eb21fca4696d7910d4cd49738f0b6cd8f8a64dd75b21423168cc0ef7cdbd1e08dd53b5f2647c5c5b614767ba6b8a3b385001ac6d5cb39d -DIST libgit2-0.22.2.tar.gz 3591643 SHA256 3109f2579180d561fc736bad8bd917d7241477aab11633755c8a273beac53cdc SHA512 ab97a2a548fa0e9be113bfe58f6d4e97dda9d7b10b4979b5736c6d410a8f1f3fb6801d691aad246481567eecc99b6f658f7bab639076ffdf21d30561243c8eb9 WHIRLPOOL 39a55c3a76f7c9f24efb8c72d5322afd35ee4880a06be2e22106690da8321b9d0a685128657c08d332c6c154e0dab6148cf740e676b6b16e9731eb9d99bb49d8 DIST libgit2-0.22.3.tar.gz 3594098 SHA256 511fe60e7c12c3525b4e0489861e5c1fe0e331d604bee9a3dfb8420c2f288f60 SHA512 2bbb04789702d206e65b18d96752113d2c1b0af7b7779cf7c90c326ec47f535b36327b0171ae1f614179c24275e2c04c51d62e44eedba87530509a29c15ab25c WHIRLPOOL 2fbb2739856e6cef3ae1a103e1b999b3362c79536423e5cd6d46d60276a14e87298ec36e2e03e8ea0fa8ebe28a140ba20ce077fb30ab3fc0d1337ec3b04fde87 DIST libgit2-0.23.0.tar.gz 3714985 SHA256 49d75c601eb619481ecc0a79f3356cc26b89dfa646f2268e434d7b4c8d90c8a1 SHA512 e0f414529ba6faf877b1848101fda3f5dc4b84e75c56996378c098d1bdc5f03e60c22a1ee5768a8a9a5d5aab313f52ce8df5b1bd3f9bfb2c36aae7117a368f22 WHIRLPOOL 9716f3ac340bd28d151814488898a09df8f867b7a40b59e71c12b6d7d8af3c7ac41ac0ae8de239be0743db03b4451ca87462835faac7f6938d5a82564a7b1f13 DIST libgit2-0.23.1.tar.gz 3717102 SHA256 113748018e5876bea84af5c749af25b62f58cb4ca82730dcbffaac90c87f7056 SHA512 3932c7d50dc9b6a78ca38edc76be9c78d969062bad4e0a81d46d9f461e35b7bf2afc3bdaf0024ed889db49c02c5a20163cf6e559f06e7364bc5290d6322de14e WHIRLPOOL f3cbe285cee813b92059765c2fb2672b26e154d671604609f2d26fcb26534e3f831d47b09a006718451fe0c40fa01fd58e740a3776aa84afca59fbf2884a2956 diff --git a/dev-libs/libgit2/files/libgit2-0.17.0-cflags.patch b/dev-libs/libgit2/files/libgit2-0.17.0-cflags.patch deleted file mode 100644 index fbf760038de1..000000000000 --- a/dev-libs/libgit2/files/libgit2-0.17.0-cflags.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- libgit2-0.17.0/CMakeLists.txt -+++ libgit2-0.17.0/CMakeLists.txt -@@ -70,8 +70,7 @@ - - # Precompiled headers - ELSE () -- SET(CMAKE_C_FLAGS "-O2 -g -D_GNU_SOURCE -fvisibility=hidden -Wall -Wextra -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wmissing-prototypes ${CMAKE_C_FLAGS}") -- SET(CMAKE_C_FLAGS_DEBUG "-O0 -g") -+ SET(CMAKE_C_FLAGS "-D_GNU_SOURCE -fvisibility=hidden -Wall -Wextra -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wmissing-prototypes ${CMAKE_C_FLAGS}") - IF (NOT MINGW) # MinGW always does PIC and complains if we tell it to - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") - ENDIF () diff --git a/dev-libs/libgit2/files/libgit2-0.19.0-automagic-libssh2.patch b/dev-libs/libgit2/files/libgit2-0.19.0-automagic-libssh2.patch deleted file mode 100644 index afd8935dc893..000000000000 --- a/dev-libs/libgit2/files/libgit2-0.19.0-automagic-libssh2.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- libgit2-0.19.0/CMakeLists.txt -+++ libgit2-0.19.0/CMakeLists.txt -@@ -20,6 +20,7 @@ - # Build options - # - OPTION( SONAME "Set the (SO)VERSION of the target" ON ) -+OPTION( ENABLE_SSH "Enable SSH transport support" OFF ) - OPTION( BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" ON ) - OPTION( THREADSAFE "Build libgit2 as threadsafe" OFF ) - OPTION( BUILD_CLAR "Build Tests using the Clar suite" ON ) -@@ -151,10 +152,8 @@ - FILE(GLOB SRC_ZLIB deps/zlib/*.c) - ENDIF() - --IF(NOT LIBSSH2_LIBRARY) -- FIND_PACKAGE(LIBSSH2 QUIET) --ENDIF() --IF (LIBSSH2_FOUND) -+IF(ENABLE_SSH) -+ FIND_PACKAGE(LIBSSH2 REQUIRED) - ADD_DEFINITIONS(-DGIT_SSH) - INCLUDE_DIRECTORIES(${LIBSSH2_INCLUDE_DIR}) - SET(SSH_LIBRARIES ${LIBSSH2_LIBRARIES}) diff --git a/dev-libs/libgit2/libgit2-0.16.0.ebuild b/dev-libs/libgit2/libgit2-0.16.0.ebuild deleted file mode 100644 index 5cb2e4c104e6..000000000000 --- a/dev-libs/libgit2/libgit2-0.16.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc-macos" -IUSE="examples test" - -RDEPEND="sys-libs/zlib" -DEPEND="${RDEPEND}" - -DOCS=( README.md ) - -src_configure() { - local mycmakeargs=( - -DINSTALL_LIB="${EPREFIX}/usr/$(get_libdir)" - $(cmake-utils_use_build test TESTS) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - if use examples ; then - find examples -name .gitignore -delete - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-libs/libgit2/libgit2-0.17.0.ebuild b/dev-libs/libgit2/libgit2-0.17.0.ebuild deleted file mode 100644 index e9eda376878d..000000000000 --- a/dev-libs/libgit2/libgit2-0.17.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc-macos" -IUSE="examples test" - -RDEPEND="sys-libs/zlib" -DEPEND="${RDEPEND}" - -DOCS=( README.md ) - -PATCHES=( "${FILESDIR}"/${P}-cflags.patch ) - -src_configure() { - local mycmakeargs=( - -DINSTALL_LIB="${EPREFIX}/usr/$(get_libdir)" - $(cmake-utils_use_build test CLAR) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - if use examples ; then - find examples -name .gitignore -delete - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-libs/libgit2/libgit2-0.18.0.ebuild b/dev-libs/libgit2/libgit2-0.18.0.ebuild deleted file mode 100644 index ef9ed48ff47c..000000000000 --- a/dev-libs/libgit2/libgit2-0.18.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc-macos" -IUSE="examples test" - -RDEPEND="sys-libs/zlib" -DEPEND="${RDEPEND}" - -DOCS=( README.md ) - -src_configure() { - local mycmakeargs=( - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" - $(cmake-utils_use_build test CLAR) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - if use examples ; then - find examples -name .gitignore -delete - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-libs/libgit2/libgit2-0.19.0-r1.ebuild b/dev-libs/libgit2/libgit2-0.19.0-r1.ebuild deleted file mode 100644 index b8e913ccc6b6..000000000000 --- a/dev-libs/libgit2/libgit2-0.19.0-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="amd64 x86 ~ppc-macos" -IUSE="examples ssh test" - -RDEPEND="sys-libs/zlib - net-libs/http-parser - ssh? ( net-libs/libssh2 )" -DEPEND="${RDEPEND}" - -DOCS=( README.md ) - -PATCHES=( "${FILESDIR}"/${P}-automagic-libssh2.patch ) - -src_configure() { - local mycmakeargs=( - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" - $(cmake-utils_use_enable ssh SSH) - $(cmake-utils_use_build test CLAR) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - if use examples ; then - find examples -name .gitignore -delete - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-libs/libgit2/libgit2-0.21.3.ebuild b/dev-libs/libgit2/libgit2-0.21.3.ebuild deleted file mode 100644 index 45e670efcd7a..000000000000 --- a/dev-libs/libgit2/libgit2-0.21.3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0/21" -KEYWORDS="~amd64 ~x86 ~ppc-macos" -IUSE="examples ssh test threads trace" - -RDEPEND=" - sys-libs/zlib - net-libs/http-parser - ssh? ( net-libs/libssh2 )" -DEPEND="${RDEPEND}" - -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 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 - find examples -name .gitignore -delete || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-libs/libgit2/libgit2-0.22.0.ebuild b/dev-libs/libgit2/libgit2-0.22.0.ebuild deleted file mode 100644 index 9788c2d6189f..000000000000 --- a/dev-libs/libgit2/libgit2-0.22.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0/22" -KEYWORDS="~amd64 ~x86 ~ppc-macos" -IUSE="examples gssapi ssh test threads trace" - -RDEPEND=" - 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 - find examples -name .gitignore -delete || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-libs/libgit2/libgit2-0.22.1.ebuild b/dev-libs/libgit2/libgit2-0.22.1.ebuild deleted file mode 100644 index 9788c2d6189f..000000000000 --- a/dev-libs/libgit2/libgit2-0.22.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0/22" -KEYWORDS="~amd64 ~x86 ~ppc-macos" -IUSE="examples gssapi ssh test threads trace" - -RDEPEND=" - 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 - find examples -name .gitignore -delete || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-libs/libgit2/libgit2-0.22.2.ebuild b/dev-libs/libgit2/libgit2-0.22.2.ebuild deleted file mode 100644 index b23458060314..000000000000 --- a/dev-libs/libgit2/libgit2-0.22.2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils multilib - -DESCRIPTION="A linkable library for Git" -HOMEPAGE="https://libgit2.github.com/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0/22" -KEYWORDS="~amd64 ~x86 ~ppc-macos" -IUSE="examples gssapi ssh test threads trace" - -RDEPEND=" - dev-libs/openssl:0 - 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 - find examples -name .gitignore -delete || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -}