1 |
commit: 3245d0a42587fb8919b1c76c6a56e045e99ac004 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 15:24:10 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 15:25:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3245d0a4 |
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 | 2 - |
13 |
dev-libs/libgit2/libgit2-0.28.4.ebuild | 72 -------------------------------- |
14 |
dev-libs/libgit2/libgit2-1.0.0-r1.ebuild | 71 ------------------------------- |
15 |
3 files changed, 145 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest |
18 |
index d37345743d1..0282dedfe53 100644 |
19 |
--- a/dev-libs/libgit2/Manifest |
20 |
+++ b/dev-libs/libgit2/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST libgit2-0.28.4.tar.gz 4991720 BLAKE2B 7dc94dce69c27f6de3736b94b4d80b727e3e2a7db255a9eab7422cebd93a3ea1a6f47d1de6c3fbe4ba5bcb28ade9b23a989c5b54c06eafeaf30e382f3b859cdf SHA512 b81160608003b25d9b922d259ebbbbf941b6bd5100fa1875497c8cd29de320e292fff568c757a7a85b2b3044ddc1cb92c74dbcb13d630d62ecf9a8559b619d15 |
23 |
DIST libgit2-0.28.5.tar.gz 4998481 BLAKE2B 71a3502af125a3d1c91700539d5e235a62922b32ca5e62288581b496f4cb680c01bfe70ae092ab730fc45df1dd96c2c9167f51d551a50acd57c857b4ea07634d SHA512 abfea885f46444b0304ae57c32c06f4252afb0093c924da5e1ba10aaed952824d1b84036adb79b5b8ad8bea56a6331a51c62f3b9839aead16c7b26cb4554b53a |
24 |
-DIST libgit2-1.0.0.tar.gz 5312324 BLAKE2B 4106b934d32233e9df8a405570a83c3b7ab097e3301dc973230df511f992733e237e1fdc48924522b16a6d202dc4e81461f522e0f5fd867c9f3ad261921af3ba SHA512 7e3b6582dd1567fd5ebfc829a98e22acfd5566ba08f2fb9b7a6783fa87f5e8952ac67f1a2c13adb543e56753d858e73a03204bac17a096c72f5daf4ba376d904 |
25 |
DIST libgit2-1.0.1.tar.gz 5312878 BLAKE2B 7eb97bb97d66240ce135e21d348f6dea0c5626992b608f8944b75f9bae5de933fffa07edd536c0353841f8d02c950feec1451008003e35f53554f3c59b069a7f SHA512 7c307822b22e3771e5e908b115600310f7901b3250287532c498003b25a5b1e007bfa23592f16ec4d83c1567a9213710526f78cab7c120316e9a8fc74c5e57a9 |
26 |
|
27 |
diff --git a/dev-libs/libgit2/libgit2-0.28.4.ebuild b/dev-libs/libgit2/libgit2-0.28.4.ebuild |
28 |
deleted file mode 100644 |
29 |
index a1fcb8f7235..00000000000 |
30 |
--- a/dev-libs/libgit2/libgit2-0.28.4.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,72 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{6,7} ) |
39 |
-inherit cmake python-any-r1 |
40 |
- |
41 |
-if [[ ${PV} == "9999" ]] ; then |
42 |
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
43 |
- inherit git-r3 |
44 |
-else |
45 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~ppc-macos" |
47 |
-fi |
48 |
- |
49 |
-DESCRIPTION="A linkable library for Git" |
50 |
-HOMEPAGE="https://libgit2.org" |
51 |
- |
52 |
-LICENSE="GPL-2-with-linking-exception" |
53 |
-SLOT="0/28" |
54 |
-IUSE="examples gssapi libressl +ssh test +threads trace" |
55 |
-RESTRICT="!test? ( test )" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- !libressl? ( dev-libs/openssl:0= ) |
59 |
- libressl? ( dev-libs/libressl:0= ) |
60 |
- sys-libs/zlib |
61 |
- net-libs/http-parser:= |
62 |
- gssapi? ( virtual/krb5 ) |
63 |
- ssh? ( net-libs/libssh2 ) |
64 |
-" |
65 |
-DEPEND="${RDEPEND} |
66 |
- ${PYTHON_DEPS} |
67 |
- virtual/pkgconfig |
68 |
-" |
69 |
- |
70 |
-S=${WORKDIR}/${P/_/-} |
71 |
- |
72 |
-src_configure() { |
73 |
- local mycmakeargs=( |
74 |
- -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" |
75 |
- -DBUILD_CLAR=$(usex test) |
76 |
- -DENABLE_TRACE=$(usex trace) |
77 |
- -DUSE_GSSAPI=$(usex gssapi) |
78 |
- -DUSE_SSH=$(usex ssh) |
79 |
- -DTHREADSAFE=$(usex threads) |
80 |
- ) |
81 |
- cmake_src_configure |
82 |
-} |
83 |
- |
84 |
-src_test() { |
85 |
- if [[ ${EUID} -eq 0 ]] ; then |
86 |
- # repo::iterator::fs_preserves_error fails if run as root |
87 |
- # since root can still access dirs with 0000 perms |
88 |
- ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
89 |
- else |
90 |
- local TEST_VERBOSE=1 |
91 |
- cmake_src_test -R offline |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- cmake_src_install |
97 |
- dodoc docs/*.{md,txt} |
98 |
- |
99 |
- if use examples ; then |
100 |
- find examples -name '.gitignore' -delete || die |
101 |
- dodoc -r examples |
102 |
- docompress -x /usr/share/doc/${PF}/examples |
103 |
- fi |
104 |
-} |
105 |
|
106 |
diff --git a/dev-libs/libgit2/libgit2-1.0.0-r1.ebuild b/dev-libs/libgit2/libgit2-1.0.0-r1.ebuild |
107 |
deleted file mode 100644 |
108 |
index b9b87e7ffc9..00000000000 |
109 |
--- a/dev-libs/libgit2/libgit2-1.0.0-r1.ebuild |
110 |
+++ /dev/null |
111 |
@@ -1,71 +0,0 @@ |
112 |
-# Copyright 1999-2020 Gentoo Authors |
113 |
-# Distributed under the terms of the GNU General Public License v2 |
114 |
- |
115 |
-EAPI=7 |
116 |
- |
117 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
118 |
-inherit cmake python-any-r1 |
119 |
- |
120 |
-DESCRIPTION="A linkable library for Git" |
121 |
-HOMEPAGE="https://libgit2.org" |
122 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
123 |
-S=${WORKDIR}/${P/_/-} |
124 |
- |
125 |
-LICENSE="GPL-2-with-linking-exception" |
126 |
-SLOT="0/1.0" |
127 |
-KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~ppc-macos" |
128 |
-IUSE="examples gssapi libressl +ssh test +threads trace" |
129 |
-RESTRICT="!test? ( test )" |
130 |
- |
131 |
-RDEPEND=" |
132 |
- !libressl? ( dev-libs/openssl:0= ) |
133 |
- libressl? ( dev-libs/libressl:0= ) |
134 |
- sys-libs/zlib |
135 |
- net-libs/http-parser:= |
136 |
- gssapi? ( virtual/krb5 ) |
137 |
- ssh? ( net-libs/libssh2 ) |
138 |
-" |
139 |
-DEPEND="${RDEPEND} |
140 |
- ${PYTHON_DEPS} |
141 |
- virtual/pkgconfig |
142 |
-" |
143 |
- |
144 |
-src_prepare() { |
145 |
- cmake_src_prepare |
146 |
- # relying on forked http-parser to support some obscure URI form |
147 |
- sed -i -e '/empty_port/s:test:_&:' tests/network/urlparse.c || die |
148 |
-} |
149 |
- |
150 |
-src_configure() { |
151 |
- local mycmakeargs=( |
152 |
- -DBUILD_CLAR=$(usex test) |
153 |
- -DENABLE_TRACE=$(usex trace ON OFF) |
154 |
- -DUSE_GSSAPI=$(usex gssapi ON OFF) |
155 |
- -DUSE_SSH=$(usex ssh) |
156 |
- -DTHREADSAFE=$(usex threads) |
157 |
- -DUSE_HTTP_PARSER=system |
158 |
- ) |
159 |
- cmake_src_configure |
160 |
-} |
161 |
- |
162 |
-src_test() { |
163 |
- if [[ ${EUID} -eq 0 ]] ; then |
164 |
- # repo::iterator::fs_preserves_error fails if run as root |
165 |
- # since root can still access dirs with 0000 perms |
166 |
- ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
167 |
- else |
168 |
- local TEST_VERBOSE=1 |
169 |
- cmake_src_test -R offline |
170 |
- fi |
171 |
-} |
172 |
- |
173 |
-src_install() { |
174 |
- cmake_src_install |
175 |
- dodoc docs/*.{md,txt} |
176 |
- |
177 |
- if use examples ; then |
178 |
- find examples -name '.gitignore' -delete || die |
179 |
- dodoc -r examples |
180 |
- docompress -x /usr/share/doc/${PF}/examples |
181 |
- fi |
182 |
-} |