Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libgit2: libgit2-0.22.3.ebuild ChangeLog libgit2-9999.ebuild
Date: Fri, 03 Jul 2015 03:36:25
Message-Id: 20150703033609.E3847743@oystercatcher.gentoo.org
1 radhermit 15/07/03 03:36:09
2
3 Modified: ChangeLog libgit2-9999.ebuild
4 Added: libgit2-0.22.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.33 dev-libs/libgit2/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/ChangeLog?rev=1.33&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/ChangeLog?rev=1.33&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/ChangeLog?r1=1.32&r2=1.33
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v
20 retrieving revision 1.32
21 retrieving revision 1.33
22 diff -u -r1.32 -r1.33
23 --- ChangeLog 29 May 2015 05:39:18 -0000 1.32
24 +++ ChangeLog 3 Jul 2015 03:36:09 -0000 1.33
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/libgit2
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v 1.32 2015/05/29 05:39:18 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v 1.33 2015/07/03 03:36:09 radhermit Exp $
30 +
31 +*libgit2-0.22.3 (03 Jul 2015)
32 +
33 + 03 Jul 2015; Tim Harder <radhermit@g.o> +libgit2-0.22.3.ebuild,
34 + libgit2-9999.ebuild:
35 + Version bump.
36
37 *libgit2-9999 (29 May 2015)
38
39
40
41
42 1.2 dev-libs/libgit2/libgit2-9999.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/libgit2-9999.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/libgit2-9999.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/libgit2-9999.ebuild?r1=1.1&r2=1.2
47
48 Index: libgit2-9999.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgit2/libgit2-9999.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- libgit2-9999.ebuild 29 May 2015 05:39:18 -0000 1.1
55 +++ libgit2-9999.ebuild 3 Jul 2015 03:36:09 -0000 1.2
56 @@ -1,19 +1,24 @@
57 # Copyright 1999-2015 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/libgit2-9999.ebuild,v 1.1 2015/05/29 05:39:18 mgorny Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/libgit2-9999.ebuild,v 1.2 2015/07/03 03:36:09 radhermit Exp $
61
62 EAPI=5
63
64 -EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
65 -inherit cmake-utils git-r3 multilib
66 +inherit cmake-utils multilib
67 +
68 +if [[ ${PV} == "9999" ]] ; then
69 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
70 + inherit git-r3
71 +else
72 + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
73 + KEYWORDS="~amd64 ~x86 ~ppc-macos"
74 +fi
75
76 DESCRIPTION="A linkable library for Git"
77 HOMEPAGE="http://libgit2.github.com/"
78 -SRC_URI=""
79
80 LICENSE="GPL-2-with-linking-exception"
81 -SLOT="0/22"
82 -KEYWORDS=""
83 +SLOT="0/23"
84 IUSE="examples gssapi ssh test threads trace"
85
86 RDEPEND="
87
88
89
90 1.1 dev-libs/libgit2/libgit2-0.22.3.ebuild
91
92 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/libgit2-0.22.3.ebuild?rev=1.1&view=markup
93 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgit2/libgit2-0.22.3.ebuild?rev=1.1&content-type=text/plain
94
95 Index: libgit2-0.22.3.ebuild
96 ===================================================================
97 # Copyright 1999-2015 Gentoo Foundation
98 # Distributed under the terms of the GNU General Public License v2
99 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/libgit2-0.22.3.ebuild,v 1.1 2015/07/03 03:36:09 radhermit Exp $
100
101 EAPI=5
102
103 inherit cmake-utils multilib
104
105 if [[ ${PV} == "9999" ]] ; then
106 EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
107 inherit git-r3
108 else
109 SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
110 KEYWORDS="~amd64 ~x86 ~ppc-macos"
111 fi
112
113 DESCRIPTION="A linkable library for Git"
114 HOMEPAGE="http://libgit2.github.com/"
115
116 LICENSE="GPL-2-with-linking-exception"
117 SLOT="0/22"
118 IUSE="examples gssapi ssh test threads trace"
119
120 RDEPEND="
121 dev-libs/openssl:0
122 sys-libs/zlib
123 net-libs/http-parser
124 gssapi? ( virtual/krb5 )
125 ssh? ( net-libs/libssh2 )
126 "
127 DEPEND="${RDEPEND}
128 virtual/pkgconfig
129 "
130
131 DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
132
133 src_prepare() {
134 # skip online tests
135 sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
136
137 cmake-utils_src_prepare
138 }
139
140 src_configure() {
141 local mycmakeargs=(
142 -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
143 $(cmake-utils_use_build test CLAR)
144 $(cmake-utils_use_enable trace TRACE)
145 $(cmake-utils_use_use gssapi GSSAPI)
146 $(cmake-utils_use_use ssh SSH)
147 $(cmake-utils_use threads THREADSAFE)
148 )
149 cmake-utils_src_configure
150 }
151
152 src_test() {
153 if [[ ${EUID} -eq 0 ]] ; then
154 # repo::iterator::fs_preserves_error fails if run as root
155 # since root can still access dirs with 0000 perms
156 ewarn "Skipping tests: non-root privileges are required for all tests to pass"
157 else
158 local TEST_VERBOSE=1
159 cmake-utils_src_test
160 fi
161 }
162
163 src_install() {
164 cmake-utils_src_install
165
166 if use examples ; then
167 find examples -name .gitignore -delete || die
168 dodoc -r examples
169 docompress -x /usr/share/doc/${PF}/examples
170 fi
171 }