1 |
commit: 2c2a77969fcd449eb76f92caa95734d23a2fa2f1 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 19 20:01:33 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 19 20:03:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2a7796 |
7 |
|
8 |
dev-libs/libgit2: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/libgit2/Manifest | 2 - |
13 |
dev-libs/libgit2/libgit2-0.24.6.ebuild | 75 ---------------------------------- |
14 |
dev-libs/libgit2/libgit2-0.25.1.ebuild | 75 ---------------------------------- |
15 |
3 files changed, 152 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest |
18 |
index d36a541d8c4..1d84cb54928 100644 |
19 |
--- a/dev-libs/libgit2/Manifest |
20 |
+++ b/dev-libs/libgit2/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST libgit2-0.24.6.tar.gz 4178476 BLAKE2B 5bb1bad874581f987e2b10eb6fba8265c2e17c3eb0f05ff4b0db1e4bed81842331b56d7e360cbaae7fed7431cf6e36e2863342bfb76b7df8d33d77958f9304cc SHA512 ea928629450f6619c17e76cf32e5d76ddd9e00d914b8a0fc2efdcc32ae271637c124a27a8d4c595b8dcf2048551b22f1bc3c5b6394b3022a2f852a06f7ab3396 |
23 |
-DIST libgit2-0.25.1.tar.gz 4252130 BLAKE2B d5e6270ef8967d36094182eafe68673a07c667bec062c48aa036c02ecec493b0b7cc874681faed68be95d8ccb1635a155e77b7afcc489cb0b9e09ecedfdc8f7e SHA512 bbd0d27c95406b548185ce02e2a9288a9dcb8c3b28476ba20f4f4917f6bd67f1ddee80de3054d30b79cdb9d973c3061a15ea7847c79bfa4e0c62e41d5195cb99 |
24 |
DIST libgit2-0.26.0.tar.gz 4697149 BLAKE2B 468e679bd7093004fb19a7947102d09bb90c653f3957615ce5468fe4c602f61804877072445a90447d83c70277529d02762cd3f35d0879708ea8355c44fe3456 SHA512 988c616c99637f2c1f80c498de34820296b78c0601669475eba9d194490cfd2047131987e63a799599277893e5741f9bcc226ffa594327356047ed563f07d346 |
25 |
|
26 |
diff --git a/dev-libs/libgit2/libgit2-0.24.6.ebuild b/dev-libs/libgit2/libgit2-0.24.6.ebuild |
27 |
deleted file mode 100644 |
28 |
index 02472f65a33..00000000000 |
29 |
--- a/dev-libs/libgit2/libgit2-0.24.6.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,75 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=5 |
36 |
- |
37 |
-inherit cmake-utils multilib |
38 |
- |
39 |
-if [[ ${PV} == "9999" ]] ; then |
40 |
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
41 |
- inherit git-r3 |
42 |
-else |
43 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- KEYWORDS="amd64 ~arm ~ppc x86 ~ppc-macos" |
45 |
-fi |
46 |
- |
47 |
-DESCRIPTION="A linkable library for Git" |
48 |
-HOMEPAGE="https://libgit2.github.com/" |
49 |
- |
50 |
-LICENSE="GPL-2-with-linking-exception" |
51 |
-SLOT="0/24" |
52 |
-IUSE="examples gssapi libressl ssh test threads trace" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- !libressl? ( dev-libs/openssl:0 ) |
56 |
- libressl? ( dev-libs/libressl ) |
57 |
- sys-libs/zlib |
58 |
- net-libs/http-parser:= |
59 |
- gssapi? ( virtual/krb5 ) |
60 |
- ssh? ( net-libs/libssh2 ) |
61 |
-" |
62 |
-DEPEND="${RDEPEND} |
63 |
- virtual/pkgconfig |
64 |
-" |
65 |
- |
66 |
-DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) |
67 |
- |
68 |
-src_prepare() { |
69 |
- # skip online tests |
70 |
- sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die |
71 |
- |
72 |
- cmake-utils_src_prepare |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- local mycmakeargs=( |
77 |
- -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" |
78 |
- $(cmake-utils_use_build test CLAR) |
79 |
- $(cmake-utils_use_enable trace TRACE) |
80 |
- $(cmake-utils_use_use gssapi GSSAPI) |
81 |
- $(cmake-utils_use_use ssh SSH) |
82 |
- $(cmake-utils_use threads THREADSAFE) |
83 |
- ) |
84 |
- cmake-utils_src_configure |
85 |
-} |
86 |
- |
87 |
-src_test() { |
88 |
- if [[ ${EUID} -eq 0 ]] ; then |
89 |
- # repo::iterator::fs_preserves_error fails if run as root |
90 |
- # since root can still access dirs with 0000 perms |
91 |
- ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
92 |
- else |
93 |
- local TEST_VERBOSE=1 |
94 |
- cmake-utils_src_test |
95 |
- fi |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- cmake-utils_src_install |
100 |
- |
101 |
- if use examples ; then |
102 |
- egit_clean examples |
103 |
- dodoc -r examples |
104 |
- docompress -x /usr/share/doc/${PF}/examples |
105 |
- fi |
106 |
-} |
107 |
|
108 |
diff --git a/dev-libs/libgit2/libgit2-0.25.1.ebuild b/dev-libs/libgit2/libgit2-0.25.1.ebuild |
109 |
deleted file mode 100644 |
110 |
index 110fc1f0df8..00000000000 |
111 |
--- a/dev-libs/libgit2/libgit2-0.25.1.ebuild |
112 |
+++ /dev/null |
113 |
@@ -1,75 +0,0 @@ |
114 |
-# Copyright 1999-2017 Gentoo Foundation |
115 |
-# Distributed under the terms of the GNU General Public License v2 |
116 |
- |
117 |
-EAPI=5 |
118 |
- |
119 |
-inherit cmake-utils multilib |
120 |
- |
121 |
-if [[ ${PV} == "9999" ]] ; then |
122 |
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
123 |
- inherit git-r3 |
124 |
-else |
125 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
126 |
- KEYWORDS="~amd64 ~arm ~ppc ~x86 ~ppc-macos" |
127 |
-fi |
128 |
- |
129 |
-DESCRIPTION="A linkable library for Git" |
130 |
-HOMEPAGE="https://libgit2.github.com/" |
131 |
- |
132 |
-LICENSE="GPL-2-with-linking-exception" |
133 |
-SLOT="0/25" |
134 |
-IUSE="examples gssapi libressl ssh test threads trace" |
135 |
- |
136 |
-RDEPEND=" |
137 |
- !libressl? ( dev-libs/openssl:0 ) |
138 |
- libressl? ( dev-libs/libressl ) |
139 |
- sys-libs/zlib |
140 |
- net-libs/http-parser:= |
141 |
- gssapi? ( virtual/krb5 ) |
142 |
- ssh? ( net-libs/libssh2 ) |
143 |
-" |
144 |
-DEPEND="${RDEPEND} |
145 |
- virtual/pkgconfig |
146 |
-" |
147 |
- |
148 |
-DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) |
149 |
- |
150 |
-src_prepare() { |
151 |
- # skip online tests |
152 |
- sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die |
153 |
- |
154 |
- cmake-utils_src_prepare |
155 |
-} |
156 |
- |
157 |
-src_configure() { |
158 |
- local mycmakeargs=( |
159 |
- -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" |
160 |
- $(cmake-utils_use_build test CLAR) |
161 |
- $(cmake-utils_use_enable trace TRACE) |
162 |
- $(cmake-utils_use_use gssapi GSSAPI) |
163 |
- $(cmake-utils_use_use ssh SSH) |
164 |
- $(cmake-utils_use threads THREADSAFE) |
165 |
- ) |
166 |
- cmake-utils_src_configure |
167 |
-} |
168 |
- |
169 |
-src_test() { |
170 |
- if [[ ${EUID} -eq 0 ]] ; then |
171 |
- # repo::iterator::fs_preserves_error fails if run as root |
172 |
- # since root can still access dirs with 0000 perms |
173 |
- ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
174 |
- else |
175 |
- local TEST_VERBOSE=1 |
176 |
- cmake-utils_src_test |
177 |
- fi |
178 |
-} |
179 |
- |
180 |
-src_install() { |
181 |
- cmake-utils_src_install |
182 |
- |
183 |
- if use examples ; then |
184 |
- egit_clean examples |
185 |
- dodoc -r examples |
186 |
- docompress -x /usr/share/doc/${PF}/examples |
187 |
- fi |
188 |
-} |