summaryrefslogtreecommitdiff
path: root/dev-libs/libgit2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-22 00:41:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-22 00:41:01 +0000
commit23b767af73549eeb4dd3069e09d0f2fcb88669a8 (patch)
tree7ad731ac748d72a48ae7079bc8fb0718c554d65d /dev-libs/libgit2
parent3003897133b1bcfe9a241c2708e938903879aee3 (diff)
gentoo auto-resync : 22:03:2023 - 00:41:01
Diffstat (limited to 'dev-libs/libgit2')
-rw-r--r--dev-libs/libgit2/Manifest4
-rw-r--r--dev-libs/libgit2/libgit2-1.5.2.ebuild2
-rw-r--r--dev-libs/libgit2/libgit2-1.6.3.ebuild69
3 files changed, 73 insertions, 2 deletions
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
index a37155ac7f06..766250313bdf 100644
--- a/dev-libs/libgit2/Manifest
+++ b/dev-libs/libgit2/Manifest
@@ -1,7 +1,9 @@
DIST libgit2-1.5.1.tar.gz 5895483 BLAKE2B 4df80216523f4065e46c1ce99fd0747d2f8516571691c8c2b5638e32c805f5ce08d3add769e6d5ce29ac69b35419db82ce56c6b3019e70573c4ad63aca2e440d SHA512 04cf389e30cd9fb787704e3c8997acaaeea5c13e1e2f9eaf9f5598d35c2e85f3cf04b47312cae9e7278236ecb089c2d33addd852e38d3c7d2daa87929b077f39
DIST libgit2-1.5.2.tar.gz 5896845 BLAKE2B b89c48c953d8804c1ea1997e0c81f45aeb66f87a7cad100069dc3a8364e0658f6d6e41e49adf123cc950b2da46f805aa05f07af234990f62aa78d38d5e8e78d5 SHA512 0de5e82953482bf57e9cd221406581a12c6acfbeeea0cebbb9b701d288804ec085b7c0902ba1f04ad7cdaaead9d472be21ffe8d730050db5c77101a93448fb3a
DIST libgit2-1.6.2.tar.gz 6666383 BLAKE2B 7a42d8440fbe0afa24057bf53d52bcb04b4e8654f71cfa55871a7e77a150297731879d8f5be51df61ad91556656b66b102536a508cf61d9c11e8658e841fc560 SHA512 ef9feef36c5876776f3aa608101115c9e7a0970e6dd752851d930cb85b4b1789ed68f42700ebea51095ff54600e37c18a4de0c0678d9a4d7d4aba83668890c09
+DIST libgit2-1.6.3.tar.gz 6666855 BLAKE2B c0a588e962c182c09b91e257760484bc0ebf2ab07fdd89b7b90db1dd6749d7fb65b8e3fcd20e8a46a6381038aeac8759161dc409be36eadc776a55d74290e59c SHA512 5a390030395d5e00217ca3229ff1374f064b41c7c14c332618778af7067c378bca5ffee5c072ad144a71126f7e8cfcd770746b6af8eccf086c8a8b8afa1733f1
EBUILD libgit2-1.5.1.ebuild 1686 BLAKE2B 4ae895e2af20af5b8af29d7b62f2638ef4a804254d185e1416b9661593e97922d1c92e39de13f1c1e48be244b1603092251d4924004a91fce75c88250763aede SHA512 3bc83d51903b44085685b6c284c44d8c0590eb71db919f1bdb8b7f41daba68a56e8978c51e5b2b861d51df84f603a366526abf7127fb05b14c4ab50c6745b7e9
-EBUILD libgit2-1.5.2.ebuild 1693 BLAKE2B a69495e5cd140062bf2017408bef133926cdab66debe8e31f94c4a72076582ac6f334e67e31b450b152f433abfc13f2a4d916706ef9e7f63ee7b76c29e8b5d12 SHA512 359e355243406050ae03c33f043b2b942ee2a19789232219c613af3eb99061d8ee6831603ffbae2395328e999fb613213abf6efe0a12ed4b093ecdd8cf0747a1
+EBUILD libgit2-1.5.2.ebuild 1689 BLAKE2B b7e1f5104aa59c6a34ffa718f4939504e73b57490db9dc9bf5add97a80f2331ba46dc13a67f649ad6e9aedbd59ab8708bfad96c26ecbceae9d4f69654c71f0bf SHA512 3f8587be764b78ead9c6a2dae00fe7556cba48d8b178434e249f2f53b360eb626e602020ec7b47aae7d12dab2ff4db3cef2f706a20207c33311f4739622aa233
EBUILD libgit2-1.6.2.ebuild 1508 BLAKE2B 937d1a37c77c61ce75c1d687fa922df122d61ae1e5c51ab3db6c6b7b0006a7916583769b1d88977a59ac733a2d9a4081badcf5a964eb02ed81ca998d0af9175e SHA512 9c863f9a95555b6c7ac0f5acb74af64b0637b0b8b460fcd56e59a22b3393255900915ac6ef1d4aebb7f6a894e2a5e6e3d7e780f6711757d929a4124fae27ba4a
+EBUILD libgit2-1.6.3.ebuild 1508 BLAKE2B 937d1a37c77c61ce75c1d687fa922df122d61ae1e5c51ab3db6c6b7b0006a7916583769b1d88977a59ac733a2d9a4081badcf5a964eb02ed81ca998d0af9175e SHA512 9c863f9a95555b6c7ac0f5acb74af64b0637b0b8b460fcd56e59a22b3393255900915ac6ef1d4aebb7f6a894e2a5e6e3d7e780f6711757d929a4124fae27ba4a
MISC metadata.xml 916 BLAKE2B c5fb3724d2e9ef35c5be3df76c79dfc80a34d238a12d6b16f3f16d919076e216dcb085c4c182102c8fe7338982ab862a749ff9d25d8c0a0561fc133db6e07682 SHA512 78b668f9fef202fb86abc1564c4b240f7084bb3ed6ac0b77a8e26940721be6db5bfff1b927403aaa561f3dc20400bac677cc9b0a0204542b5b304ab8491c08c7
diff --git a/dev-libs/libgit2/libgit2-1.5.2.ebuild b/dev-libs/libgit2/libgit2-1.5.2.ebuild
index 2769e48033fe..0f4637ec27e8 100644
--- a/dev-libs/libgit2/libgit2-1.5.2.ebuild
+++ b/dev-libs/libgit2/libgit2-1.5.2.ebuild
@@ -15,7 +15,7 @@ S=${WORKDIR}/${P/_/-}
LICENSE="GPL-2-with-linking-exception"
SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~ppc-macos"
IUSE="examples gssapi +ssh test +threads trace"
RESTRICT="!test? ( test )"
diff --git a/dev-libs/libgit2/libgit2-1.6.3.ebuild b/dev-libs/libgit2/libgit2-1.6.3.ebuild
new file mode 100644
index 000000000000..fd4006780f80
--- /dev/null
+++ b/dev-libs/libgit2/libgit2-1.6.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake python-any-r1
+
+DESCRIPTION="A linkable library for Git"
+HOMEPAGE="https://libgit2.org/"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+S=${WORKDIR}/${P/_/-}
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos"
+IUSE="examples gssapi +ssh test +threads trace"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libpcre2:=
+ net-libs/http-parser:=
+ sys-libs/zlib
+ dev-libs/openssl:0=
+ gssapi? ( virtual/krb5 )
+ ssh? ( net-libs/libssh2 )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test)
+ -DUSE_SSH=$(usex ssh)
+ -DUSE_GSSAPI=$(usex gssapi ON OFF)
+ -DUSE_HTTP_PARSER=system
+ -DREGEX_BACKEND=pcre2
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ if [[ ${EUID} -eq 0 ]] ; then
+ # repo::iterator::fs_preserves_error fails if run as root
+ # since root can still access dirs with 0000 perms
+ ewarn "Skipping tests: non-root privileges are required for all tests to pass"
+ else
+ local TEST_VERBOSE=1
+ cmake_src_test -R offline
+ fi
+}
+
+src_install() {
+ cmake_src_install
+ dodoc docs/*.{md,txt}
+
+ if use examples ; then
+ find examples -name '.gitignore' -delete || die
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}