diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 11:43:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 11:43:14 +0100 |
commit | 128025db16ea525715d1f5170c635c4f42ce4881 (patch) | |
tree | 07a1048840d97aefa9778386f8a8abc27940c708 /dev-libs/libgit2 | |
parent | 37cf2a8dbadd546a550aac7c8079c3f77427cb63 (diff) |
gentoo auto-resync : 13:04:2023 - 11:43:14
Diffstat (limited to 'dev-libs/libgit2')
-rw-r--r-- | dev-libs/libgit2/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.6.4.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest index b5744d1287a1..73bb931f2351 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.3.tar.gz 6666855 BLAKE2B c0a588e962c182c09b91e257760484bc0ebf2ab07fdd89b7b90db1dd6749d7fb65b8e3fcd20e8a46a6381038aeac8759161dc409be36eadc776a55d74290e59c SHA512 5a390030395d5e00217ca3229ff1374f064b41c7c14c332618778af7067c378bca5ffee5c072ad144a71126f7e8cfcd770746b6af8eccf086c8a8b8afa1733f1 +DIST libgit2-1.6.4.tar.gz 6666964 BLAKE2B 103af9ea9ed1310b1066a48859bbefc162647d787519bb3df83d7ea1957cda5934537271970d3d180f91daa6edc3bbc05387d6293812f0d849dda966419d29ba SHA512 fd73df91710f19b0d6c3765c37c7f529233196da91cf4d58028a8d3840244f11df44abafabd74a8ed1cbe4826d1afd6ff9f01316d183ace0924c65e7cf0eb8d5 EBUILD libgit2-1.5.1.ebuild 1686 BLAKE2B 4ae895e2af20af5b8af29d7b62f2638ef4a804254d185e1416b9661593e97922d1c92e39de13f1c1e48be244b1603092251d4924004a91fce75c88250763aede SHA512 3bc83d51903b44085685b6c284c44d8c0590eb71db919f1bdb8b7f41daba68a56e8978c51e5b2b861d51df84f603a366526abf7127fb05b14c4ab50c6745b7e9 EBUILD libgit2-1.5.2.ebuild 1687 BLAKE2B 89390e28a4964bd07c9bbad9bb4a3a44636c9ae0aaa464a68bcbd6dda407dbb2a1a9dd2089aff96845a864d42004833da20a3a59fc91054d59a0d3352d7e49a8 SHA512 8610b01f7345b9b7f9a24bfefd64f41ce66169e44a7b24ecc3e5fc43ffe38373411362da46383d68cfed0063f143041ab8408318410b845035f435d16dae99bf EBUILD libgit2-1.6.3.ebuild 1508 BLAKE2B 937d1a37c77c61ce75c1d687fa922df122d61ae1e5c51ab3db6c6b7b0006a7916583769b1d88977a59ac733a2d9a4081badcf5a964eb02ed81ca998d0af9175e SHA512 9c863f9a95555b6c7ac0f5acb74af64b0637b0b8b460fcd56e59a22b3393255900915ac6ef1d4aebb7f6a894e2a5e6e3d7e780f6711757d929a4124fae27ba4a +EBUILD libgit2-1.6.4.ebuild 1508 BLAKE2B 937d1a37c77c61ce75c1d687fa922df122d61ae1e5c51ab3db6c6b7b0006a7916583769b1d88977a59ac733a2d9a4081badcf5a964eb02ed81ca998d0af9175e SHA512 9c863f9a95555b6c7ac0f5acb74af64b0637b0b8b460fcd56e59a22b3393255900915ac6ef1d4aebb7f6a894e2a5e6e3d7e780f6711757d929a4124fae27ba4a MISC metadata.xml 916 BLAKE2B c5fb3724d2e9ef35c5be3df76c79dfc80a34d238a12d6b16f3f16d919076e216dcb085c4c182102c8fe7338982ab862a749ff9d25d8c0a0561fc133db6e07682 SHA512 78b668f9fef202fb86abc1564c4b240f7084bb3ed6ac0b77a8e26940721be6db5bfff1b927403aaa561f3dc20400bac677cc9b0a0204542b5b304ab8491c08c7 diff --git a/dev-libs/libgit2/libgit2-1.6.4.ebuild b/dev-libs/libgit2/libgit2-1.6.4.ebuild new file mode 100644 index 000000000000..fd4006780f80 --- /dev/null +++ b/dev-libs/libgit2/libgit2-1.6.4.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 +} |