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: Fri, 18 Sep 2020 09:38:20
Message-Id: 1600421878.0ba51c5cd73f28549628a633cec5da566c32c7b2.mgorny@gentoo
1 commit: 0ba51c5cd73f28549628a633cec5da566c32c7b2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 18 09:27:07 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 18 09:37:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba51c5c
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 | 1 -
13 dev-libs/libgit2/libgit2-0.28.5.ebuild | 72 ----------------------------------
14 2 files changed, 73 deletions(-)
15
16 diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
17 index 0282dedfe53..a527e14c097 100644
18 --- a/dev-libs/libgit2/Manifest
19 +++ b/dev-libs/libgit2/Manifest
20 @@ -1,2 +1 @@
21 -DIST libgit2-0.28.5.tar.gz 4998481 BLAKE2B 71a3502af125a3d1c91700539d5e235a62922b32ca5e62288581b496f4cb680c01bfe70ae092ab730fc45df1dd96c2c9167f51d551a50acd57c857b4ea07634d SHA512 abfea885f46444b0304ae57c32c06f4252afb0093c924da5e1ba10aaed952824d1b84036adb79b5b8ad8bea56a6331a51c62f3b9839aead16c7b26cb4554b53a
22 DIST libgit2-1.0.1.tar.gz 5312878 BLAKE2B 7eb97bb97d66240ce135e21d348f6dea0c5626992b608f8944b75f9bae5de933fffa07edd536c0353841f8d02c950feec1451008003e35f53554f3c59b069a7f SHA512 7c307822b22e3771e5e908b115600310f7901b3250287532c498003b25a5b1e007bfa23592f16ec4d83c1567a9213710526f78cab7c120316e9a8fc74c5e57a9
23
24 diff --git a/dev-libs/libgit2/libgit2-0.28.5.ebuild b/dev-libs/libgit2/libgit2-0.28.5.ebuild
25 deleted file mode 100644
26 index 567e2678a2d..00000000000
27 --- a/dev-libs/libgit2/libgit2-0.28.5.ebuild
28 +++ /dev/null
29 @@ -1,72 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{6,7,8} )
36 -inherit cmake python-any-r1
37 -
38 -if [[ ${PV} == "9999" ]] ; then
39 - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
40 - inherit git-r3
41 -else
42 - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 - KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~ppc-macos"
44 -fi
45 -
46 -DESCRIPTION="A linkable library for Git"
47 -HOMEPAGE="https://libgit2.org"
48 -
49 -LICENSE="GPL-2-with-linking-exception"
50 -SLOT="0/28"
51 -IUSE="examples gssapi libressl +ssh test +threads trace"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND="
55 - !libressl? ( dev-libs/openssl:0= )
56 - libressl? ( dev-libs/libressl:0= )
57 - sys-libs/zlib
58 - net-libs/http-parser:=
59 - gssapi? ( virtual/krb5 )
60 - ssh? ( net-libs/libssh2 )
61 -"
62 -DEPEND="${RDEPEND}
63 - ${PYTHON_DEPS}
64 - virtual/pkgconfig
65 -"
66 -
67 -S=${WORKDIR}/${P/_/-}
68 -
69 -src_configure() {
70 - local mycmakeargs=(
71 - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
72 - -DBUILD_CLAR=$(usex test)
73 - -DENABLE_TRACE=$(usex trace)
74 - -DUSE_GSSAPI=$(usex gssapi)
75 - -DUSE_SSH=$(usex ssh)
76 - -DTHREADSAFE=$(usex threads)
77 - )
78 - cmake_src_configure
79 -}
80 -
81 -src_test() {
82 - if [[ ${EUID} -eq 0 ]] ; then
83 - # repo::iterator::fs_preserves_error fails if run as root
84 - # since root can still access dirs with 0000 perms
85 - ewarn "Skipping tests: non-root privileges are required for all tests to pass"
86 - else
87 - local TEST_VERBOSE=1
88 - cmake_src_test -R offline
89 - fi
90 -}
91 -
92 -src_install() {
93 - cmake_src_install
94 - dodoc docs/*.{md,txt}
95 -
96 - if use examples ; then
97 - find examples -name '.gitignore' -delete || die
98 - dodoc -r examples
99 - docompress -x /usr/share/doc/${PF}/examples
100 - fi
101 -}