Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2/files/, dev-libs/libgit2/
Date: Fri, 28 Aug 2015 06:22:22
Message-Id: 1440742812.50ae254059bfd9b73856ab0133a17d4ad1e44a32.radhermit@gentoo
1 commit: 50ae254059bfd9b73856ab0133a17d4ad1e44a32
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 06:19:53 2015 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 06:20:12 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ae2540
7
8 dev-libs/libgit2: remove old
9
10 dev-libs/libgit2/Manifest | 8 ---
11 dev-libs/libgit2/files/libgit2-0.17.0-cflags.patch | 12 ----
12 .../files/libgit2-0.19.0-automagic-libssh2.patch | 23 --------
13 dev-libs/libgit2/libgit2-0.16.0.ebuild | 39 ------------
14 dev-libs/libgit2/libgit2-0.17.0.ebuild | 41 -------------
15 dev-libs/libgit2/libgit2-0.18.0.ebuild | 39 ------------
16 dev-libs/libgit2/libgit2-0.19.0-r1.ebuild | 44 --------------
17 dev-libs/libgit2/libgit2-0.21.3.ebuild | 63 --------------------
18 dev-libs/libgit2/libgit2-0.22.0.ebuild | 66 ---------------------
19 dev-libs/libgit2/libgit2-0.22.1.ebuild | 66 ---------------------
20 dev-libs/libgit2/libgit2-0.22.2.ebuild | 69 ----------------------
21 11 files changed, 470 deletions(-)
22
23 diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
24 index 6a6b375..cd852c5 100644
25 --- a/dev-libs/libgit2/Manifest
26 +++ b/dev-libs/libgit2/Manifest
27 @@ -1,13 +1,5 @@
28 -DIST libgit2-0.16.0.tar.gz 1042613 SHA256 b84e5353ebc41e785f777a4977da9fa3eaf19f71c07eb2a2c23c2ceafb811597 SHA512 cc12ce986ee9d179a7e5b01607d69ee212a4885b0487a06d5cfaba3ecb538932fc9baec86dcb44936e47ab8eb43838b9b4108541c07833d9d688e36cd03ab8c6 WHIRLPOOL 5f557998f3be9e984c78c89fd5a6036f1b44100bcf1c6c12c9dd8a59193dea827498a3ba5e1fc822eb537880607f152ddc9daa1693c972a62098947196d78dd1
29 -DIST libgit2-0.17.0.tar.gz 2096159 SHA256 068eed0b8fe852a7cc55aae46d2299e9c9e3e00badc1c293d72a9dd122226018 SHA512 a51420ae78be1f81104afdb58fdb9d7681a1a3ec3ee907b04bc2f2c5a8629a331b34d0fc67fa8e98d809a4352971149307553bbfec6799d919e84d292456a764 WHIRLPOOL c37f0301487375b47b77f4f7869830e2dc9d0c4227c36e3a7e8e72b7f27794be321dd047f13394f2828016bcbeb1375784ad873743b2c0e45bfb85b2c8a463cb
30 -DIST libgit2-0.18.0.tar.gz 2958095 SHA256 88a6ef6f87905e0b574123b85c5746025a408c6169e754906e939acbca75ac5f SHA512 3fc1610667a4a0bb9d7ace11e65d590178bcd8687a2866fa7687123468bad7dcaf6365b3e593b686e727bc62746e655eb4a08d5ddb7d69e65c5bad1b1e6fc2be WHIRLPOOL 9ffa51954b893bb0ef5ac6a1866282e11ffbd6e9277e20222ddb34e45af16df8a0ab1014425ae956baf0ab905cc0875a67ad9c7c86e02ac700b43940a1be301a
31 -DIST libgit2-0.19.0.tar.gz 3122978 SHA256 f526f8cf5547c70fe00169d587ca18367541a95fad5849352c3e2ffc94d583bf SHA512 e14b71e5e9b0c97255b47d35dd216ad24aeba04050a3407a90ac422b27df87cc0ad97b538230d07b7299863c7d1c3919dc2912713add31b7c585949cd4b436be WHIRLPOOL 0e551738f1dedf13a103a71f8e4149620e341a36da2f737c5fb10cd461ba77e1367f8bdff9304142b72919c6940db9d7afc40cfd5ab7e661fe6c4b60b36d54a2
32 DIST libgit2-0.20.0.tar.gz 3255478 SHA256 509ab8091623df5b745cd13682539ca2dc2372051d3418355a7acc5b4a20c2f1 SHA512 0512a2d6daa149f6c6bada3b9ea8b228d6ba9180d7030cf41f3e9888fb15f068ef7c7722f636f8750c4643b58453299179d73e0b71e08ae79439060a27efe9d6 WHIRLPOOL 996a3639bd8f598b07f12115a2af0b5d28de51163338c34b39872046776a0144e57a0598ab493dcf717fa16ed093d9b00546009d2a4426a27a0451e97759783b
33 -DIST libgit2-0.21.3.tar.gz 3454810 SHA256 7c40cb783e5b7bcae46986e35e531794d378872574237f4b5f34e3a7d2a25c32 SHA512 399e16c9ca9d5a9e95ac929d7bd327038ba0e590e37ceee2aab062472f28a32905e90b5ee59990dad428d04c1c0d3f388381e3e44f775dfaafe37b21dbd7c892 WHIRLPOOL 4facdc843c3f8d66fe1290708a402476263484fd1a1365ced406a0e21515d4d65f1da2e73615fdfb241fc33bdb575a9f688140e17a82ec2e5002648e46c975cc
34 DIST libgit2-0.21.5.tar.gz 3460366 SHA256 46ca07becbdcda0da96a553d9f45e64ead29276ba14049e4bc8e2730ed1aa494 SHA512 080624aa1479b9b393d4b3341b2dd5640e7d61f21c44b04c54bdd6be589fcdfc628219046f3dfda48f563560a1db1f9ddf0626d2802a1f60122b9609d0412dce WHIRLPOOL 6bdc7d40afb9bf427ffe96d87a920b4421f902f0548018477324d69a563751696a1288c5564d87efbabac779273f1992f6d79f9ac101814cfbcbcdc11584dba3
35 -DIST libgit2-0.22.0.tar.gz 3586058 SHA256 b70965b35e6d0adc891ba2edb28d982cb27729a3f2bb02186084f692e94922b2 SHA512 08d939f9fe6000587ce3695e215e92fba77de32c7b4e898d8ceeacd8e6f6151dd69bd160ef9e38a0e073a970712d61d34955320847d51e3c67910a413e909d42 WHIRLPOOL a167e1957cbe6c0ad5b46daed379fe92178848e517ab90d41d2281ff285775eb2a61ed231149cee40699d1919153cdf38bf9bcce1bbbb0892f66bc5b16dc7e0f
36 -DIST libgit2-0.22.1.tar.gz 3590204 SHA256 c7f1bf99ed8aeba65a485489869e2a50f022f3cd847df85e192fc99fdd6c8b5e SHA512 0fae8562c9b2f5575f908f23773da36d29554cdafb71e551abb68dc18e6cee36e5b96d3a7e585a235e520acc49983caf7a78d8f0b6dd43b378dc6cdf0cef42c9 WHIRLPOOL 933f9b574ff77ef298eb21fca4696d7910d4cd49738f0b6cd8f8a64dd75b21423168cc0ef7cdbd1e08dd53b5f2647c5c5b614767ba6b8a3b385001ac6d5cb39d
37 -DIST libgit2-0.22.2.tar.gz 3591643 SHA256 3109f2579180d561fc736bad8bd917d7241477aab11633755c8a273beac53cdc SHA512 ab97a2a548fa0e9be113bfe58f6d4e97dda9d7b10b4979b5736c6d410a8f1f3fb6801d691aad246481567eecc99b6f658f7bab639076ffdf21d30561243c8eb9 WHIRLPOOL 39a55c3a76f7c9f24efb8c72d5322afd35ee4880a06be2e22106690da8321b9d0a685128657c08d332c6c154e0dab6148cf740e676b6b16e9731eb9d99bb49d8
38 DIST libgit2-0.22.3.tar.gz 3594098 SHA256 511fe60e7c12c3525b4e0489861e5c1fe0e331d604bee9a3dfb8420c2f288f60 SHA512 2bbb04789702d206e65b18d96752113d2c1b0af7b7779cf7c90c326ec47f535b36327b0171ae1f614179c24275e2c04c51d62e44eedba87530509a29c15ab25c WHIRLPOOL 2fbb2739856e6cef3ae1a103e1b999b3362c79536423e5cd6d46d60276a14e87298ec36e2e03e8ea0fa8ebe28a140ba20ce077fb30ab3fc0d1337ec3b04fde87
39 DIST libgit2-0.23.0.tar.gz 3714985 SHA256 49d75c601eb619481ecc0a79f3356cc26b89dfa646f2268e434d7b4c8d90c8a1 SHA512 e0f414529ba6faf877b1848101fda3f5dc4b84e75c56996378c098d1bdc5f03e60c22a1ee5768a8a9a5d5aab313f52ce8df5b1bd3f9bfb2c36aae7117a368f22 WHIRLPOOL 9716f3ac340bd28d151814488898a09df8f867b7a40b59e71c12b6d7d8af3c7ac41ac0ae8de239be0743db03b4451ca87462835faac7f6938d5a82564a7b1f13
40 DIST libgit2-0.23.1.tar.gz 3717102 SHA256 113748018e5876bea84af5c749af25b62f58cb4ca82730dcbffaac90c87f7056 SHA512 3932c7d50dc9b6a78ca38edc76be9c78d969062bad4e0a81d46d9f461e35b7bf2afc3bdaf0024ed889db49c02c5a20163cf6e559f06e7364bc5290d6322de14e WHIRLPOOL f3cbe285cee813b92059765c2fb2672b26e154d671604609f2d26fcb26534e3f831d47b09a006718451fe0c40fa01fd58e740a3776aa84afca59fbf2884a2956
41
42 diff --git a/dev-libs/libgit2/files/libgit2-0.17.0-cflags.patch b/dev-libs/libgit2/files/libgit2-0.17.0-cflags.patch
43 deleted file mode 100644
44 index fbf7600..0000000
45 --- a/dev-libs/libgit2/files/libgit2-0.17.0-cflags.patch
46 +++ /dev/null
47 @@ -1,12 +0,0 @@
48 ---- libgit2-0.17.0/CMakeLists.txt
49 -+++ libgit2-0.17.0/CMakeLists.txt
50 -@@ -70,8 +70,7 @@
51 -
52 - # Precompiled headers
53 - ELSE ()
54 -- 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}")
55 -- SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
56 -+ 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}")
57 - IF (NOT MINGW) # MinGW always does PIC and complains if we tell it to
58 - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
59 - ENDIF ()
60
61 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
62 deleted file mode 100644
63 index afd8935..0000000
64 --- a/dev-libs/libgit2/files/libgit2-0.19.0-automagic-libssh2.patch
65 +++ /dev/null
66 @@ -1,23 +0,0 @@
67 ---- libgit2-0.19.0/CMakeLists.txt
68 -+++ libgit2-0.19.0/CMakeLists.txt
69 -@@ -20,6 +20,7 @@
70 - # Build options
71 - #
72 - OPTION( SONAME "Set the (SO)VERSION of the target" ON )
73 -+OPTION( ENABLE_SSH "Enable SSH transport support" OFF )
74 - OPTION( BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" ON )
75 - OPTION( THREADSAFE "Build libgit2 as threadsafe" OFF )
76 - OPTION( BUILD_CLAR "Build Tests using the Clar suite" ON )
77 -@@ -151,10 +152,8 @@
78 - FILE(GLOB SRC_ZLIB deps/zlib/*.c)
79 - ENDIF()
80 -
81 --IF(NOT LIBSSH2_LIBRARY)
82 -- FIND_PACKAGE(LIBSSH2 QUIET)
83 --ENDIF()
84 --IF (LIBSSH2_FOUND)
85 -+IF(ENABLE_SSH)
86 -+ FIND_PACKAGE(LIBSSH2 REQUIRED)
87 - ADD_DEFINITIONS(-DGIT_SSH)
88 - INCLUDE_DIRECTORIES(${LIBSSH2_INCLUDE_DIR})
89 - SET(SSH_LIBRARIES ${LIBSSH2_LIBRARIES})
90
91 diff --git a/dev-libs/libgit2/libgit2-0.16.0.ebuild b/dev-libs/libgit2/libgit2-0.16.0.ebuild
92 deleted file mode 100644
93 index 5cb2e4c..0000000
94 --- a/dev-libs/libgit2/libgit2-0.16.0.ebuild
95 +++ /dev/null
96 @@ -1,39 +0,0 @@
97 -# Copyright 1999-2012 Gentoo Foundation
98 -# Distributed under the terms of the GNU General Public License v2
99 -# $Id$
100 -
101 -EAPI=4
102 -
103 -inherit cmake-utils multilib
104 -
105 -DESCRIPTION="A linkable library for Git"
106 -HOMEPAGE="https://libgit2.github.com/"
107 -SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
108 -
109 -LICENSE="GPL-2-with-linking-exception"
110 -SLOT="0"
111 -KEYWORDS="~amd64 ~x86 ~ppc-macos"
112 -IUSE="examples test"
113 -
114 -RDEPEND="sys-libs/zlib"
115 -DEPEND="${RDEPEND}"
116 -
117 -DOCS=( README.md )
118 -
119 -src_configure() {
120 - local mycmakeargs=(
121 - -DINSTALL_LIB="${EPREFIX}/usr/$(get_libdir)"
122 - $(cmake-utils_use_build test TESTS)
123 - )
124 - cmake-utils_src_configure
125 -}
126 -
127 -src_install() {
128 - cmake-utils_src_install
129 -
130 - if use examples ; then
131 - find examples -name .gitignore -delete
132 - dodoc -r examples
133 - docompress -x /usr/share/doc/${PF}/examples
134 - fi
135 -}
136
137 diff --git a/dev-libs/libgit2/libgit2-0.17.0.ebuild b/dev-libs/libgit2/libgit2-0.17.0.ebuild
138 deleted file mode 100644
139 index e9eda37..0000000
140 --- a/dev-libs/libgit2/libgit2-0.17.0.ebuild
141 +++ /dev/null
142 @@ -1,41 +0,0 @@
143 -# Copyright 1999-2012 Gentoo Foundation
144 -# Distributed under the terms of the GNU General Public License v2
145 -# $Id$
146 -
147 -EAPI=4
148 -
149 -inherit cmake-utils multilib
150 -
151 -DESCRIPTION="A linkable library for Git"
152 -HOMEPAGE="https://libgit2.github.com/"
153 -SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
154 -
155 -LICENSE="GPL-2-with-linking-exception"
156 -SLOT="0"
157 -KEYWORDS="~amd64 ~x86 ~ppc-macos"
158 -IUSE="examples test"
159 -
160 -RDEPEND="sys-libs/zlib"
161 -DEPEND="${RDEPEND}"
162 -
163 -DOCS=( README.md )
164 -
165 -PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
166 -
167 -src_configure() {
168 - local mycmakeargs=(
169 - -DINSTALL_LIB="${EPREFIX}/usr/$(get_libdir)"
170 - $(cmake-utils_use_build test CLAR)
171 - )
172 - cmake-utils_src_configure
173 -}
174 -
175 -src_install() {
176 - cmake-utils_src_install
177 -
178 - if use examples ; then
179 - find examples -name .gitignore -delete
180 - dodoc -r examples
181 - docompress -x /usr/share/doc/${PF}/examples
182 - fi
183 -}
184
185 diff --git a/dev-libs/libgit2/libgit2-0.18.0.ebuild b/dev-libs/libgit2/libgit2-0.18.0.ebuild
186 deleted file mode 100644
187 index ef9ed48..0000000
188 --- a/dev-libs/libgit2/libgit2-0.18.0.ebuild
189 +++ /dev/null
190 @@ -1,39 +0,0 @@
191 -# Copyright 1999-2013 Gentoo Foundation
192 -# Distributed under the terms of the GNU General Public License v2
193 -# $Id$
194 -
195 -EAPI=5
196 -
197 -inherit cmake-utils multilib
198 -
199 -DESCRIPTION="A linkable library for Git"
200 -HOMEPAGE="https://libgit2.github.com/"
201 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
202 -
203 -LICENSE="GPL-2-with-linking-exception"
204 -SLOT="0"
205 -KEYWORDS="~amd64 ~x86 ~ppc-macos"
206 -IUSE="examples test"
207 -
208 -RDEPEND="sys-libs/zlib"
209 -DEPEND="${RDEPEND}"
210 -
211 -DOCS=( README.md )
212 -
213 -src_configure() {
214 - local mycmakeargs=(
215 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
216 - $(cmake-utils_use_build test CLAR)
217 - )
218 - cmake-utils_src_configure
219 -}
220 -
221 -src_install() {
222 - cmake-utils_src_install
223 -
224 - if use examples ; then
225 - find examples -name .gitignore -delete
226 - dodoc -r examples
227 - docompress -x /usr/share/doc/${PF}/examples
228 - fi
229 -}
230
231 diff --git a/dev-libs/libgit2/libgit2-0.19.0-r1.ebuild b/dev-libs/libgit2/libgit2-0.19.0-r1.ebuild
232 deleted file mode 100644
233 index b8e913c..0000000
234 --- a/dev-libs/libgit2/libgit2-0.19.0-r1.ebuild
235 +++ /dev/null
236 @@ -1,44 +0,0 @@
237 -# Copyright 1999-2013 Gentoo Foundation
238 -# Distributed under the terms of the GNU General Public License v2
239 -# $Id$
240 -
241 -EAPI=5
242 -
243 -inherit cmake-utils multilib
244 -
245 -DESCRIPTION="A linkable library for Git"
246 -HOMEPAGE="https://libgit2.github.com/"
247 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
248 -
249 -LICENSE="GPL-2-with-linking-exception"
250 -SLOT="0"
251 -KEYWORDS="amd64 x86 ~ppc-macos"
252 -IUSE="examples ssh test"
253 -
254 -RDEPEND="sys-libs/zlib
255 - net-libs/http-parser
256 - ssh? ( net-libs/libssh2 )"
257 -DEPEND="${RDEPEND}"
258 -
259 -DOCS=( README.md )
260 -
261 -PATCHES=( "${FILESDIR}"/${P}-automagic-libssh2.patch )
262 -
263 -src_configure() {
264 - local mycmakeargs=(
265 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
266 - $(cmake-utils_use_enable ssh SSH)
267 - $(cmake-utils_use_build test CLAR)
268 - )
269 - cmake-utils_src_configure
270 -}
271 -
272 -src_install() {
273 - cmake-utils_src_install
274 -
275 - if use examples ; then
276 - find examples -name .gitignore -delete
277 - dodoc -r examples
278 - docompress -x /usr/share/doc/${PF}/examples
279 - fi
280 -}
281
282 diff --git a/dev-libs/libgit2/libgit2-0.21.3.ebuild b/dev-libs/libgit2/libgit2-0.21.3.ebuild
283 deleted file mode 100644
284 index 45e670e..0000000
285 --- a/dev-libs/libgit2/libgit2-0.21.3.ebuild
286 +++ /dev/null
287 @@ -1,63 +0,0 @@
288 -# Copyright 1999-2014 Gentoo Foundation
289 -# Distributed under the terms of the GNU General Public License v2
290 -# $Id$
291 -
292 -EAPI=5
293 -
294 -inherit cmake-utils multilib
295 -
296 -DESCRIPTION="A linkable library for Git"
297 -HOMEPAGE="https://libgit2.github.com/"
298 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
299 -
300 -LICENSE="GPL-2-with-linking-exception"
301 -SLOT="0/21"
302 -KEYWORDS="~amd64 ~x86 ~ppc-macos"
303 -IUSE="examples ssh test threads trace"
304 -
305 -RDEPEND="
306 - sys-libs/zlib
307 - net-libs/http-parser
308 - ssh? ( net-libs/libssh2 )"
309 -DEPEND="${RDEPEND}"
310 -
311 -DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
312 -
313 -src_prepare() {
314 - # skip online tests
315 - sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
316 -
317 - cmake-utils_src_prepare
318 -}
319 -
320 -src_configure() {
321 - local mycmakeargs=(
322 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
323 - $(cmake-utils_use_build test CLAR)
324 - $(cmake-utils_use_enable trace TRACE)
325 - $(cmake-utils_use_use ssh SSH)
326 - $(cmake-utils_use threads THREADSAFE)
327 - )
328 - cmake-utils_src_configure
329 -}
330 -
331 -src_test() {
332 - if [[ ${EUID} -eq 0 ]] ; then
333 - # repo::iterator::fs_preserves_error fails if run as root
334 - # since root can still access dirs with 0000 perms
335 - ewarn "Skipping tests: non-root privileges are required for all tests to pass"
336 - else
337 - local TEST_VERBOSE=1
338 - cmake-utils_src_test
339 - fi
340 -}
341 -
342 -src_install() {
343 - cmake-utils_src_install
344 -
345 - if use examples ; then
346 - find examples -name .gitignore -delete || die
347 - dodoc -r examples
348 - docompress -x /usr/share/doc/${PF}/examples
349 - fi
350 -}
351
352 diff --git a/dev-libs/libgit2/libgit2-0.22.0.ebuild b/dev-libs/libgit2/libgit2-0.22.0.ebuild
353 deleted file mode 100644
354 index 9788c2d..0000000
355 --- a/dev-libs/libgit2/libgit2-0.22.0.ebuild
356 +++ /dev/null
357 @@ -1,66 +0,0 @@
358 -# Copyright 1999-2015 Gentoo Foundation
359 -# Distributed under the terms of the GNU General Public License v2
360 -# $Id$
361 -
362 -EAPI=5
363 -
364 -inherit cmake-utils multilib
365 -
366 -DESCRIPTION="A linkable library for Git"
367 -HOMEPAGE="https://libgit2.github.com/"
368 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
369 -
370 -LICENSE="GPL-2-with-linking-exception"
371 -SLOT="0/22"
372 -KEYWORDS="~amd64 ~x86 ~ppc-macos"
373 -IUSE="examples gssapi ssh test threads trace"
374 -
375 -RDEPEND="
376 - sys-libs/zlib
377 - net-libs/http-parser
378 - gssapi? ( virtual/krb5 )
379 - ssh? ( net-libs/libssh2 )"
380 -DEPEND="${RDEPEND}
381 - virtual/pkgconfig"
382 -
383 -DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
384 -
385 -src_prepare() {
386 - # skip online tests
387 - sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
388 -
389 - cmake-utils_src_prepare
390 -}
391 -
392 -src_configure() {
393 - local mycmakeargs=(
394 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
395 - $(cmake-utils_use_build test CLAR)
396 - $(cmake-utils_use_enable trace TRACE)
397 - $(cmake-utils_use_use gssapi GSSAPI)
398 - $(cmake-utils_use_use ssh SSH)
399 - $(cmake-utils_use threads THREADSAFE)
400 - )
401 - cmake-utils_src_configure
402 -}
403 -
404 -src_test() {
405 - if [[ ${EUID} -eq 0 ]] ; then
406 - # repo::iterator::fs_preserves_error fails if run as root
407 - # since root can still access dirs with 0000 perms
408 - ewarn "Skipping tests: non-root privileges are required for all tests to pass"
409 - else
410 - local TEST_VERBOSE=1
411 - cmake-utils_src_test
412 - fi
413 -}
414 -
415 -src_install() {
416 - cmake-utils_src_install
417 -
418 - if use examples ; then
419 - find examples -name .gitignore -delete || die
420 - dodoc -r examples
421 - docompress -x /usr/share/doc/${PF}/examples
422 - fi
423 -}
424
425 diff --git a/dev-libs/libgit2/libgit2-0.22.1.ebuild b/dev-libs/libgit2/libgit2-0.22.1.ebuild
426 deleted file mode 100644
427 index 9788c2d..0000000
428 --- a/dev-libs/libgit2/libgit2-0.22.1.ebuild
429 +++ /dev/null
430 @@ -1,66 +0,0 @@
431 -# Copyright 1999-2015 Gentoo Foundation
432 -# Distributed under the terms of the GNU General Public License v2
433 -# $Id$
434 -
435 -EAPI=5
436 -
437 -inherit cmake-utils multilib
438 -
439 -DESCRIPTION="A linkable library for Git"
440 -HOMEPAGE="https://libgit2.github.com/"
441 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
442 -
443 -LICENSE="GPL-2-with-linking-exception"
444 -SLOT="0/22"
445 -KEYWORDS="~amd64 ~x86 ~ppc-macos"
446 -IUSE="examples gssapi ssh test threads trace"
447 -
448 -RDEPEND="
449 - sys-libs/zlib
450 - net-libs/http-parser
451 - gssapi? ( virtual/krb5 )
452 - ssh? ( net-libs/libssh2 )"
453 -DEPEND="${RDEPEND}
454 - virtual/pkgconfig"
455 -
456 -DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
457 -
458 -src_prepare() {
459 - # skip online tests
460 - sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
461 -
462 - cmake-utils_src_prepare
463 -}
464 -
465 -src_configure() {
466 - local mycmakeargs=(
467 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
468 - $(cmake-utils_use_build test CLAR)
469 - $(cmake-utils_use_enable trace TRACE)
470 - $(cmake-utils_use_use gssapi GSSAPI)
471 - $(cmake-utils_use_use ssh SSH)
472 - $(cmake-utils_use threads THREADSAFE)
473 - )
474 - cmake-utils_src_configure
475 -}
476 -
477 -src_test() {
478 - if [[ ${EUID} -eq 0 ]] ; then
479 - # repo::iterator::fs_preserves_error fails if run as root
480 - # since root can still access dirs with 0000 perms
481 - ewarn "Skipping tests: non-root privileges are required for all tests to pass"
482 - else
483 - local TEST_VERBOSE=1
484 - cmake-utils_src_test
485 - fi
486 -}
487 -
488 -src_install() {
489 - cmake-utils_src_install
490 -
491 - if use examples ; then
492 - find examples -name .gitignore -delete || die
493 - dodoc -r examples
494 - docompress -x /usr/share/doc/${PF}/examples
495 - fi
496 -}
497
498 diff --git a/dev-libs/libgit2/libgit2-0.22.2.ebuild b/dev-libs/libgit2/libgit2-0.22.2.ebuild
499 deleted file mode 100644
500 index b234580..0000000
501 --- a/dev-libs/libgit2/libgit2-0.22.2.ebuild
502 +++ /dev/null
503 @@ -1,69 +0,0 @@
504 -# Copyright 1999-2015 Gentoo Foundation
505 -# Distributed under the terms of the GNU General Public License v2
506 -# $Id$
507 -
508 -EAPI=5
509 -
510 -inherit cmake-utils multilib
511 -
512 -DESCRIPTION="A linkable library for Git"
513 -HOMEPAGE="https://libgit2.github.com/"
514 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
515 -
516 -LICENSE="GPL-2-with-linking-exception"
517 -SLOT="0/22"
518 -KEYWORDS="~amd64 ~x86 ~ppc-macos"
519 -IUSE="examples gssapi ssh test threads trace"
520 -
521 -RDEPEND="
522 - dev-libs/openssl:0
523 - sys-libs/zlib
524 - net-libs/http-parser
525 - gssapi? ( virtual/krb5 )
526 - ssh? ( net-libs/libssh2 )
527 -"
528 -DEPEND="${RDEPEND}
529 - virtual/pkgconfig
530 -"
531 -
532 -DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
533 -
534 -src_prepare() {
535 - # skip online tests
536 - sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
537 -
538 - cmake-utils_src_prepare
539 -}
540 -
541 -src_configure() {
542 - local mycmakeargs=(
543 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
544 - $(cmake-utils_use_build test CLAR)
545 - $(cmake-utils_use_enable trace TRACE)
546 - $(cmake-utils_use_use gssapi GSSAPI)
547 - $(cmake-utils_use_use ssh SSH)
548 - $(cmake-utils_use threads THREADSAFE)
549 - )
550 - cmake-utils_src_configure
551 -}
552 -
553 -src_test() {
554 - if [[ ${EUID} -eq 0 ]] ; then
555 - # repo::iterator::fs_preserves_error fails if run as root
556 - # since root can still access dirs with 0000 perms
557 - ewarn "Skipping tests: non-root privileges are required for all tests to pass"
558 - else
559 - local TEST_VERBOSE=1
560 - cmake-utils_src_test
561 - fi
562 -}
563 -
564 -src_install() {
565 - cmake-utils_src_install
566 -
567 - if use examples ; then
568 - find examples -name .gitignore -delete || die
569 - dodoc -r examples
570 - docompress -x /usr/share/doc/${PF}/examples
571 - fi
572 -}