1 |
commit: 9d15a1c12b3c4f98445a45c051733eb2a67fdb28 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 11:30:54 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 11:30:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d15a1c1 |
7 |
|
8 |
dev-libs/libgit2: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
|
12 |
dev-libs/libgit2/Manifest | 1 + |
13 |
dev-libs/libgit2/libgit2-0.23.3.ebuild | 76 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest |
17 |
index dced38d..3b4bc5e 100644 |
18 |
--- a/dev-libs/libgit2/Manifest |
19 |
+++ b/dev-libs/libgit2/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST libgit2-0.22.3.tar.gz 3594098 SHA256 511fe60e7c12c3525b4e0489861e5c1fe0e331 |
21 |
DIST libgit2-0.23.0.tar.gz 3714985 SHA256 49d75c601eb619481ecc0a79f3356cc26b89dfa646f2268e434d7b4c8d90c8a1 SHA512 e0f414529ba6faf877b1848101fda3f5dc4b84e75c56996378c098d1bdc5f03e60c22a1ee5768a8a9a5d5aab313f52ce8df5b1bd3f9bfb2c36aae7117a368f22 WHIRLPOOL 9716f3ac340bd28d151814488898a09df8f867b7a40b59e71c12b6d7d8af3c7ac41ac0ae8de239be0743db03b4451ca87462835faac7f6938d5a82564a7b1f13 |
22 |
DIST libgit2-0.23.1.tar.gz 3717102 SHA256 113748018e5876bea84af5c749af25b62f58cb4ca82730dcbffaac90c87f7056 SHA512 3932c7d50dc9b6a78ca38edc76be9c78d969062bad4e0a81d46d9f461e35b7bf2afc3bdaf0024ed889db49c02c5a20163cf6e559f06e7364bc5290d6322de14e WHIRLPOOL f3cbe285cee813b92059765c2fb2672b26e154d671604609f2d26fcb26534e3f831d47b09a006718451fe0c40fa01fd58e740a3776aa84afca59fbf2884a2956 |
23 |
DIST libgit2-0.23.2.tar.gz 3717748 SHA256 20c0a6ee92c0e19207dac6ddc336b4ae4a1c4ddf91be0891e4b6e6ccba16df0b SHA512 aa11be93a135eeddd07d2f2a4cba019d42e33f185141caac1d0f89083652aa612f1381e3011396c6078b46f8bbeea894eb5fc25fcebbe13cb14dd9dfd8f40240 WHIRLPOOL 0f83fb7a15f77a13b5e06d81337f0f28bc2e55340b204d8009f5fb7e6ab47e7beb4c79c264a27e581696c87c5fe42927bbef15124c036d2f634ff47a5f8197a9 |
24 |
+DIST libgit2-0.23.3.tar.gz 3718675 SHA256 2d5c80426675928cda6e9a313ae38b2a72c1a55b7c3d4884dc21f7b312ff1eae SHA512 5c4a33e9d0a34bd3c4ab61c9c3fd45fe84204c6941506cd989acda552932205e2edadd9b731cb19c650b1ea69e5ac1ac313c55ea7881ccb8a17f3a3c8db03ef8 WHIRLPOOL 068d1de53a7f8d832ebf38dec674de613327a9ba7c791c270f63e681c5ca09ed578e87361d5f69976883e109b7e818d3b3c7b27c6ae474db197cfe0fe5f735be |
25 |
|
26 |
diff --git a/dev-libs/libgit2/libgit2-0.23.3.ebuild b/dev-libs/libgit2/libgit2-0.23.3.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..3b1c958 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libgit2/libgit2-0.23.3.ebuild |
31 |
@@ -0,0 +1,76 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+inherit cmake-utils multilib |
39 |
+ |
40 |
+if [[ ${PV} == "9999" ]] ; then |
41 |
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
42 |
+ inherit git-r3 |
43 |
+else |
44 |
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~x86 ~ppc-macos" |
46 |
+fi |
47 |
+ |
48 |
+DESCRIPTION="A linkable library for Git" |
49 |
+HOMEPAGE="https://libgit2.github.com/" |
50 |
+ |
51 |
+LICENSE="GPL-2-with-linking-exception" |
52 |
+SLOT="0/23" |
53 |
+IUSE="examples gssapi libressl ssh test threads trace" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ !libressl? ( dev-libs/openssl:0 ) |
57 |
+ libressl? ( dev-libs/libressl ) |
58 |
+ sys-libs/zlib |
59 |
+ net-libs/http-parser |
60 |
+ gssapi? ( virtual/krb5 ) |
61 |
+ ssh? ( net-libs/libssh2 ) |
62 |
+" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ virtual/pkgconfig |
65 |
+" |
66 |
+ |
67 |
+DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ # skip online tests |
71 |
+ sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die |
72 |
+ |
73 |
+ cmake-utils_src_prepare |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ local mycmakeargs=( |
78 |
+ -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" |
79 |
+ $(cmake-utils_use_build test CLAR) |
80 |
+ $(cmake-utils_use_enable trace TRACE) |
81 |
+ $(cmake-utils_use_use gssapi GSSAPI) |
82 |
+ $(cmake-utils_use_use ssh SSH) |
83 |
+ $(cmake-utils_use threads THREADSAFE) |
84 |
+ ) |
85 |
+ cmake-utils_src_configure |
86 |
+} |
87 |
+ |
88 |
+src_test() { |
89 |
+ if [[ ${EUID} -eq 0 ]] ; then |
90 |
+ # repo::iterator::fs_preserves_error fails if run as root |
91 |
+ # since root can still access dirs with 0000 perms |
92 |
+ ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
93 |
+ else |
94 |
+ local TEST_VERBOSE=1 |
95 |
+ cmake-utils_src_test |
96 |
+ fi |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ cmake-utils_src_install |
101 |
+ |
102 |
+ if use examples ; then |
103 |
+ find examples -name .gitignore -delete || die |
104 |
+ dodoc -r examples |
105 |
+ docompress -x /usr/share/doc/${PF}/examples |
106 |
+ fi |
107 |
+} |