Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2/
Date: Tue, 21 Dec 2021 09:43:09
Message-Id: 1640079766.abdf9201b3f7394c95edb47cac0cdf4159ea6289.mgorny@gentoo
1 commit: abdf9201b3f7394c95edb47cac0cdf4159ea6289
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 21 07:10:30 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 21 09:42:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abdf9201
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-1.1.1.ebuild | 72 -----------------------------------
14 dev-libs/libgit2/libgit2-1.2.0.ebuild | 72 -----------------------------------
15 3 files changed, 146 deletions(-)
16
17 diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
18 index 153c0cf03a5d..4f8bf13b9779 100644
19 --- a/dev-libs/libgit2/Manifest
20 +++ b/dev-libs/libgit2/Manifest
21 @@ -1,3 +1 @@
22 -DIST libgit2-1.1.1.tar.gz 5451203 BLAKE2B 46842ea270fc457d0960c1a825928eb2747b236e689ff785e9fc2bce919744d1da95a89e6fcf928bbe6a4981e2ff6a02989df92026ba181f2743e949982a18df SHA512 287255c81e5baa04d8fbce95efca8174cb34da8025cab979445d41e8361955f1d8c582d7705666ae9fc03c5215fc4f4f57e51d73d14ca9b063ed94077f88e6bc
23 -DIST libgit2-1.2.0.tar.gz 5589147 BLAKE2B b612e3a30b4675431879792132adee22cce57986b4f307507b896d823329f7e37514d9008e008075c395a4eca26aaf6ed6eb3943cf97370a0b04086240a5e1fc SHA512 428188de153fdf8ff5bf78949f4a3a89fba57b87a8b641f92fed501df6a8cfdb72e0ffe0bf61a98adf210a2867134eb4421ea4b8d8219331aabc3daddd92f5fc
24 DIST libgit2-1.3.0.tar.gz 5599575 BLAKE2B b701c105bb0a5bdcdd5ed1db180662ad4949c540944664d5d8c2f5d78998f15d15bd3669ae3e3d43bfa1b81207c0a94b7e49fc76e57f4cc8ef791ab26e62fc70 SHA512 842a648a67ff23ba9e6bf14b706ba9081164866e14000ebf3858442b7046925f05e1dbf00a7d740dc4bf32280e260730e23a9492e817094aa90736ae335ee76e
25
26 diff --git a/dev-libs/libgit2/libgit2-1.1.1.ebuild b/dev-libs/libgit2/libgit2-1.1.1.ebuild
27 deleted file mode 100644
28 index f4e094bff971..000000000000
29 --- a/dev-libs/libgit2/libgit2-1.1.1.ebuild
30 +++ /dev/null
31 @@ -1,72 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -inherit cmake python-any-r1
39 -
40 -DESCRIPTION="A linkable library for Git"
41 -HOMEPAGE="https://libgit2.org"
42 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -S=${WORKDIR}/${P/_/-}
44 -
45 -LICENSE="GPL-2-with-linking-exception"
46 -SLOT="0/1.1"
47 -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~ppc-macos"
48 -IUSE="examples gssapi +ssh test +threads trace"
49 -RESTRICT="!test? ( test )"
50 -
51 -RDEPEND="
52 - dev-libs/libpcre:=
53 - net-libs/http-parser:=
54 - sys-libs/zlib
55 - dev-libs/openssl:0=
56 - gssapi? ( virtual/krb5 )
57 - ssh? ( net-libs/libssh2 )
58 -"
59 -DEPEND="${RDEPEND}"
60 -BDEPEND="
61 - ${PYTHON_DEPS}
62 - virtual/pkgconfig
63 -"
64 -
65 -src_prepare() {
66 - cmake_src_prepare
67 - # relying on forked http-parser to support some obscure URI form
68 - sed -i -e '/empty_port/s:test:_&:' tests/network/urlparse.c || die
69 -}
70 -
71 -src_configure() {
72 - local mycmakeargs=(
73 - -DBUILD_CLAR=$(usex test)
74 - -DENABLE_TRACE=$(usex trace ON OFF)
75 - -DUSE_GSSAPI=$(usex gssapi ON OFF)
76 - -DUSE_SSH=$(usex ssh)
77 - -DTHREADSAFE=$(usex threads)
78 - -DUSE_HTTP_PARSER=system
79 - )
80 - cmake_src_configure
81 -}
82 -
83 -src_test() {
84 - if [[ ${EUID} -eq 0 ]] ; then
85 - # repo::iterator::fs_preserves_error fails if run as root
86 - # since root can still access dirs with 0000 perms
87 - ewarn "Skipping tests: non-root privileges are required for all tests to pass"
88 - else
89 - local TEST_VERBOSE=1
90 - cmake_src_test -R offline
91 - fi
92 -}
93 -
94 -src_install() {
95 - cmake_src_install
96 - dodoc docs/*.{md,txt}
97 -
98 - if use examples ; then
99 - find examples -name '.gitignore' -delete || die
100 - dodoc -r examples
101 - docompress -x /usr/share/doc/${PF}/examples
102 - fi
103 -}
104
105 diff --git a/dev-libs/libgit2/libgit2-1.2.0.ebuild b/dev-libs/libgit2/libgit2-1.2.0.ebuild
106 deleted file mode 100644
107 index f2c774a8b63c..000000000000
108 --- a/dev-libs/libgit2/libgit2-1.2.0.ebuild
109 +++ /dev/null
110 @@ -1,72 +0,0 @@
111 -# Copyright 1999-2021 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=8
115 -
116 -PYTHON_COMPAT=( python3_{8..10} )
117 -inherit cmake python-any-r1
118 -
119 -DESCRIPTION="A linkable library for Git"
120 -HOMEPAGE="https://libgit2.org"
121 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
122 -S=${WORKDIR}/${P/_/-}
123 -
124 -LICENSE="GPL-2-with-linking-exception"
125 -SLOT="0/1.2"
126 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~ppc-macos"
127 -IUSE="examples gssapi +ssh test +threads trace"
128 -RESTRICT="!test? ( test )"
129 -
130 -RDEPEND="
131 - dev-libs/libpcre:=
132 - net-libs/http-parser:=
133 - sys-libs/zlib
134 - dev-libs/openssl:0=
135 - gssapi? ( virtual/krb5 )
136 - ssh? ( net-libs/libssh2 )
137 -"
138 -DEPEND="${RDEPEND}"
139 -BDEPEND="
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/url/parse.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 -}