1 |
commit: 563b9da5dd7f0818e1241a70e48f810776df1547 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 27 08:41:33 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 27 08:42:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=563b9da5 |
7 |
|
8 |
dev-libs/libgit2: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libgit2/Manifest | 1 - |
13 |
dev-libs/libgit2/libgit2-1.4.4.ebuild | 75 ----------------------------------- |
14 |
2 files changed, 76 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest |
17 |
index 3e4085a0fb76..e71d0db1db79 100644 |
18 |
--- a/dev-libs/libgit2/Manifest |
19 |
+++ b/dev-libs/libgit2/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST libgit2-1.3.2.tar.gz 5824473 BLAKE2B 521512721d5959274898046e4341e000c3d0bb28cffde9c1c5f9640f73c74fb3b5330a2329b57a92490acd93f6b59f9b53d9940b50a1056c15f52632db9fdfe6 SHA512 580ad6f3e2cb992014d7fecef4d834dd0fda169c4439ec5d566322edb457b2173910b25a49ba50d5bd05518ad771ee2f42e47ab48ce417c297b6a93dd0cb502d |
22 |
-DIST libgit2-1.4.4.tar.gz 5855349 BLAKE2B 2668e351521e1cd9d2998c45c65e2a8c30f3436d94f86ebaa10382d01afb136bbde28c71d359fb57757ebbd44b1cef1bacd302023d0803a23697aee10f03ebac SHA512 8f4cc43de9b92866ac12e01613efe0ff808deca29ff82b6da98a38c814bb711ff3133145d0219210af7015955fbe381be6f1cb98915811d3c37e92b01eb522e9 |
23 |
DIST libgit2-1.5.0.tar.gz 5893437 BLAKE2B 4108de0e8fc6a02e4172f47cb69cdfe8c85a0a72235432ca58b02d94e0bcb8390caf0c710060772551cc3a392291778ae14b561256c6d88058d0ae5a277f2fbf SHA512 7a32b27cd32bd03ce7be6c127317f82a4ac6f16615c3234699676781f4858d057edb0410b2fe36fd2e634b00748a8b0be17f23809e09a7602ba48185134300f7 |
24 |
|
25 |
diff --git a/dev-libs/libgit2/libgit2-1.4.4.ebuild b/dev-libs/libgit2/libgit2-1.4.4.ebuild |
26 |
deleted file mode 100644 |
27 |
index ffa36ded3160..000000000000 |
28 |
--- a/dev-libs/libgit2/libgit2-1.4.4.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,75 +0,0 @@ |
31 |
-# Copyright 1999-2022 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=8 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_{8..11} ) |
37 |
-inherit cmake python-any-r1 |
38 |
- |
39 |
-DESCRIPTION="A linkable library for Git" |
40 |
-HOMEPAGE="https://libgit2.org/" |
41 |
-SRC_URI=" |
42 |
- https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
43 |
-" |
44 |
-S=${WORKDIR}/${P/_/-} |
45 |
- |
46 |
-LICENSE="GPL-2-with-linking-exception" |
47 |
-SLOT="0/$(ver_cut 1-2)" |
48 |
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~ppc-macos" |
49 |
-IUSE="examples gssapi +ssh test +threads trace" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- dev-libs/libpcre2:= |
54 |
- net-libs/http-parser:= |
55 |
- sys-libs/zlib |
56 |
- dev-libs/openssl:0= |
57 |
- gssapi? ( virtual/krb5 ) |
58 |
- ssh? ( net-libs/libssh2 ) |
59 |
-" |
60 |
-DEPEND=" |
61 |
- ${RDEPEND} |
62 |
-" |
63 |
-BDEPEND=" |
64 |
- ${PYTHON_DEPS} |
65 |
- virtual/pkgconfig |
66 |
-" |
67 |
- |
68 |
-src_prepare() { |
69 |
- cmake_src_prepare |
70 |
- # relying on forked http-parser to support some obscure URI form |
71 |
- sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die |
72 |
-} |
73 |
- |
74 |
-src_configure() { |
75 |
- local mycmakeargs=( |
76 |
- -DBUILD_TESTS=$(usex test) |
77 |
- -DUSE_SSH=$(usex ssh) |
78 |
- -DUSE_GSSAPI=$(usex gssapi ON OFF) |
79 |
- -DUSE_HTTP_PARSER=system |
80 |
- -DREGEX_BACKEND=pcre2 |
81 |
- ) |
82 |
- cmake_src_configure |
83 |
-} |
84 |
- |
85 |
-src_test() { |
86 |
- if [[ ${EUID} -eq 0 ]] ; then |
87 |
- # repo::iterator::fs_preserves_error fails if run as root |
88 |
- # since root can still access dirs with 0000 perms |
89 |
- ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
90 |
- else |
91 |
- local TEST_VERBOSE=1 |
92 |
- cmake_src_test -R offline |
93 |
- fi |
94 |
-} |
95 |
- |
96 |
-src_install() { |
97 |
- cmake_src_install |
98 |
- dodoc docs/*.{md,txt} |
99 |
- |
100 |
- if use examples ; then |
101 |
- find examples -name '.gitignore' -delete || die |
102 |
- dodoc -r examples |
103 |
- docompress -x /usr/share/doc/${PF}/examples |
104 |
- fi |
105 |
-} |