diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-13 13:36:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-13 13:36:46 +0100 |
commit | 7b02e37a04e4051a91a109814d386711f41f9a4b (patch) | |
tree | d0689f14f1d1df3a6a2525512a6812b146064a9e /dev-libs/libgit2 | |
parent | 5c0c70d5917e66743293789a6d6fd7d72250eb32 (diff) |
gentoo auto-resync : 13:07:2022 - 13:36:46
Diffstat (limited to 'dev-libs/libgit2')
-rw-r--r-- | dev-libs/libgit2/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/libgit2/files/libgit2-1.4.3-test.patch | 30 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.3.0.ebuild | 72 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.3.1.ebuild | 76 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.3.2.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.4.2-r1.ebuild | 71 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.4.2.ebuild | 71 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.4.3.ebuild | 79 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.4.4.ebuild | 2 |
9 files changed, 4 insertions, 413 deletions
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest index 2aceb3a0409f..7cc4dc21969a 100644 --- a/dev-libs/libgit2/Manifest +++ b/dev-libs/libgit2/Manifest @@ -1,15 +1,5 @@ -AUX libgit2-1.4.3-test.patch 1230 BLAKE2B 155f958aab27ec7d941ac0303e8d65d87ea82b22e592060e4ca67e865aac519901c6509d2f57c36285864b0d15c94bed8357ca616c8e4838cf09e97156ecf541 SHA512 a6fcb8acc119634ad1f1f9290da0c72076233a1af63f4a66346a0bb37beedd079c72be1ca48746bfeb75c2e94b4e48f6b3881adcb2cbf90b186c86ef384da066 -DIST libgit2-1.3.0.tar.gz 5599575 BLAKE2B b701c105bb0a5bdcdd5ed1db180662ad4949c540944664d5d8c2f5d78998f15d15bd3669ae3e3d43bfa1b81207c0a94b7e49fc76e57f4cc8ef791ab26e62fc70 SHA512 842a648a67ff23ba9e6bf14b706ba9081164866e14000ebf3858442b7046925f05e1dbf00a7d740dc4bf32280e260730e23a9492e817094aa90736ae335ee76e -DIST libgit2-1.3.1.tar.gz 5602265 BLAKE2B ecf1fb30fbc40b09edcd3862d0831bc7d4d1da1aa8e738c78cf77bda5a0bd5d9c6a60fe7ce9827e058c04ac88d89a7d6c05c54c01bd77d1a8b0b091495bbf871 SHA512 012ffda7e8b9557923758fdbe68869875977d419bfa60b61f90adadc056600e2b1cc2db1c2a003315ea0e193c0145c1f431054f7bd960c5e6e14fa541e46cba3 DIST libgit2-1.3.2.tar.gz 5824473 BLAKE2B 521512721d5959274898046e4341e000c3d0bb28cffde9c1c5f9640f73c74fb3b5330a2329b57a92490acd93f6b59f9b53d9940b50a1056c15f52632db9fdfe6 SHA512 580ad6f3e2cb992014d7fecef4d834dd0fda169c4439ec5d566322edb457b2173910b25a49ba50d5bd05518ad771ee2f42e47ab48ce417c297b6a93dd0cb502d -DIST libgit2-1.4.2.tar.gz 5629585 BLAKE2B 61e269fd08beb9579838a13b661b4270f1e8d2d3d1e67f6b8357e92a5ee4aaccbe637644dc87cc8b04d9c181e37808352077b75fed8753a4b2d8868eaf248b62 SHA512 144bec7f8e66d97b20335d87d1eb68d522f5e59064b0c557505c088d3c486d45704f023d701f51de572efa8e2eb111e3136eb5d23c035e29d16698206b5ec277 -DIST libgit2-1.4.3.tar.gz 5631981 BLAKE2B 9308100ede912eae9d1fa4011c67f88f225aa11a49adf845389559fcbc213f31b0f91e4a5b496d282d42ac7f843f03c4ef7236f2d200331c615013d1250f6c31 SHA512 3dfa16c1c705b99fbda55e5e86e67703621d6f8fb62a03cfe998c834d242f33f4200fc0b6bc5d32fe5254c8b8e845259688e4bea9c2dbfc2b7df91841c335d28 DIST libgit2-1.4.4.tar.gz 5855349 BLAKE2B 2668e351521e1cd9d2998c45c65e2a8c30f3436d94f86ebaa10382d01afb136bbde28c71d359fb57757ebbd44b1cef1bacd302023d0803a23697aee10f03ebac SHA512 8f4cc43de9b92866ac12e01613efe0ff808deca29ff82b6da98a38c814bb711ff3133145d0219210af7015955fbe381be6f1cb98915811d3c37e92b01eb522e9 -EBUILD libgit2-1.3.0.ebuild 1691 BLAKE2B 60ba697df7bf967756ee9c0d2501e035803f09a0b4ffdc20274788d174de2735afa3d5a2cde3ec248e07e9c843a62547c240514edd9897f4dab1cd4a8c4455c8 SHA512 c3c00367cdd0f9d4699fc017f760eb193c324ed280149b8264d8f2680824308948437e771ab0ea901185e558a9fa535c13e906ffa0aca732fe2480874492554f -EBUILD libgit2-1.3.1.ebuild 1702 BLAKE2B bf7205c0208ed8c8e1ec6085c24832189e193d5690aaacff611b39d19cb35a6c4dac81a9bfc7599d802727b6aeec271432f3c783bab51266aead3a407599afd1 SHA512 03104047c0650f07ec2d98dc0b77deb64646bb70c2a21fe1e1eb6fb5554f26577fad01717742f5e2185f7e76de47cb4058f2733a5baeda0a94859744dbb9470e -EBUILD libgit2-1.3.2.ebuild 1701 BLAKE2B 82f9fccd3a43e201c111ea6ca4b62bf2948a83c40f30ac50de0481bdc0fd82414f92ff9932bfa66b7c79d40c4763ffeca38a784608f82c2f385f0c3e66587736 SHA512 3adba047f8b0a4b63c7fb5568659a1aed57d244519be3956320a2bf6f2ee621a75ffb73dc569acf6c51af67d155256e60b3bb3bda82686e45e55b1f5fbe3cfbb -EBUILD libgit2-1.4.2-r1.ebuild 1654 BLAKE2B e3f7bd625d0b8b0907419152e36efb41fa741ceb86b0a1054e5f46051e3738e7824d1c256b180b08d46035211b4b9bc17c1c8ff0af81aaaa47e3a5ed1bb5a0c9 SHA512 c37e36aee1b72ddf33bf190b4e7ee39d80b20e5e8d3297185aabe4af1db35a6de97e5eb7c3ac3c79437b493371e1001f798ecbae6fd7da10ee5131e8a482873d -EBUILD libgit2-1.4.2.ebuild 1646 BLAKE2B 91667e774f00a64aeb4a78cca562eb99f04130ac87320d152f77fd16f345d888eafeabf02515f938dbe66904bd867390065dc72ec51195441d5ec67dc5a5c0c7 SHA512 7da2def0d3ff13b956234d2c2819fbdc1215dca6874c3707c867173137f5b64e2e305ab9ea75034d76a5d4073318e203d74f1f773e1dfb632a8c14e3cf4ae162 -EBUILD libgit2-1.4.3.ebuild 1699 BLAKE2B 23f3196cbf11b5dd91af8231344989e917f3f81502821c15a61bb4d0b19991bfafc9a217498112e0ff943b7244ae261bd2b5d045129173d1df6f8a0585f62f34 SHA512 28af72c276b82ed0a2bdd5f80f3fff5d107f50f379668d3261ee1d58ac128dc2ceef1e107c142c11544eeb00e3438b172b0df2cdae97b50fad03c7cd25990b05 -EBUILD libgit2-1.4.4.ebuild 1658 BLAKE2B 38907665a09b927163f912b3e58a6113cdc913607bc8dbaf9f27d74f25e5a89b0c579a2bc63b51f9b8c33cf9f222e0e53a79b45c4035c7477e93811057ea0d1c SHA512 2883d2e13632231b06d6e78b8065f1cffc579fc9fec4a891928336114e91851e379b0d7684e4c1815ffb31d3f5d8b5042be1f549773fe7da55f448e009fbde3a +EBUILD libgit2-1.3.2.ebuild 1698 BLAKE2B 2dc3632795ce43e35c4f8f0d8b0a9e6eece80299c6c6cae21f7a6c8fedfc9c2da3021b97495968a17b966f90bbf48072a79c39757e4adf37aa25999a9f2aad7d SHA512 0ac8c62508780fecccf0052c8545afa9fd49dc8ec908cf83ebb064f1257330009fb728c11d7f7bb19b6c59d457b526ed919dd9b1375f8b33e1945d8d8d4d7989 +EBUILD libgit2-1.4.4.ebuild 1655 BLAKE2B 395acbb358de3c8b5f6dc1ebb7194ccc72ce43fee00b40e57cd6510c9019269f544d2838d05df1b0bb565e783fbd3ec6028398b19c52e2e4c6cfaa73cfab2d3f SHA512 5167d46a27a52272c85cfb191c1e8596034ada2e6580e35ae0bf7ea0f5426fd5e8c0eb5b2f6a481885d30dc7621aefc089762b30be41a7231e8d87a979cf072c MISC metadata.xml 916 BLAKE2B c5fb3724d2e9ef35c5be3df76c79dfc80a34d238a12d6b16f3f16d919076e216dcb085c4c182102c8fe7338982ab862a749ff9d25d8c0a0561fc133db6e07682 SHA512 78b668f9fef202fb86abc1564c4b240f7084bb3ed6ac0b77a8e26940721be6db5bfff1b927403aaa561f3dc20400bac677cc9b0a0204542b5b304ab8491c08c7 diff --git a/dev-libs/libgit2/files/libgit2-1.4.3-test.patch b/dev-libs/libgit2/files/libgit2-1.4.3-test.patch deleted file mode 100644 index 23349e6307ef..000000000000 --- a/dev-libs/libgit2/files/libgit2-1.4.3-test.patch +++ /dev/null @@ -1,30 +0,0 @@ -From c013fca6b091e36805659ebb26ccaaffae8806dc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= <carlosmn@github.com> -Date: Tue, 3 May 2022 09:28:43 +0200 -Subject: [PATCH] revparse: adjust reflog test as we move away from the dates - -The dates we use in `refs::revparse::date` has just passed the ten years, so -now everything is beyond ten years, leading to an unexpected commit being -returned. - -Adjust it to 11 years so it all looks fine again. ---- - tests/refs/revparse.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/refs/revparse.c b/tests/refs/revparse.c -index 0bd2ae5bc..93d7ce6db 100644 ---- a/tests/refs/revparse.c -+++ b/tests/refs/revparse.c -@@ -399,7 +399,7 @@ void test_refs_revparse__date(void) - * a65fedf HEAD@{1335806603 -0900}: commit: - * be3563a HEAD@{1335806563 -0700}: clone: from /Users/ben/src/libgit2/tests/resour - */ -- test_object("HEAD@{10 years ago}", "be3563ae3f795b2b4353bcce3a527ad0a4f7f644"); -+ test_object("HEAD@{11 years ago}", "be3563ae3f795b2b4353bcce3a527ad0a4f7f644"); - - test_object("HEAD@{1 second}", "a65fedf39aefe402d3bb6e24df4d4f5fe4547750"); - test_object("HEAD@{1 second ago}", "a65fedf39aefe402d3bb6e24df4d4f5fe4547750"); --- -2.35.1 - diff --git a/dev-libs/libgit2/libgit2-1.3.0.ebuild b/dev-libs/libgit2/libgit2-1.3.0.ebuild deleted file mode 100644 index 573a05a4d9b0..000000000000 --- a/dev-libs/libgit2/libgit2-1.3.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -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 ppc ppc64 ~riscv x86 ~ppc-macos" -IUSE="examples gssapi +ssh test +threads trace" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libpcre:= - 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_prepare() { - cmake_src_prepare - # relying on forked http-parser to support some obscure URI form - sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CLAR=$(usex test) - -DENABLE_TRACE=$(usex trace ON OFF) - -DUSE_GSSAPI=$(usex gssapi ON OFF) - -DUSE_SSH=$(usex ssh) - -DTHREADSAFE=$(usex threads) - -DUSE_HTTP_PARSER=system - ) - 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 -} diff --git a/dev-libs/libgit2/libgit2-1.3.1.ebuild b/dev-libs/libgit2/libgit2-1.3.1.ebuild deleted file mode 100644 index d4e03744381c..000000000000 --- a/dev-libs/libgit2/libgit2-1.3.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -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 ~ppc ~ppc64 ~riscv x86 ~ppc-macos" -IUSE="examples gssapi +ssh test +threads trace" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libpcre:= - 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_prepare() { - cmake_src_prepare - # relying on forked http-parser to support some obscure URI form - sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CLAR=$(usex test) - -DENABLE_TRACE=$(usex trace ON OFF) - -DUSE_GSSAPI=$(usex gssapi ON OFF) - -DUSE_SSH=$(usex ssh) - -DTHREADSAFE=$(usex threads) - -DUSE_HTTP_PARSER=system - ) - 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 -} diff --git a/dev-libs/libgit2/libgit2-1.3.2.ebuild b/dev-libs/libgit2/libgit2-1.3.2.ebuild index 2b00acdfff78..6b1791d917a0 100644 --- a/dev-libs/libgit2/libgit2-1.3.2.ebuild +++ b/dev-libs/libgit2/libgit2-1.3.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 ~ppc ~ppc64 ~riscv ~x86 ~ppc-macos" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~ppc-macos" IUSE="examples gssapi +ssh test +threads trace" RESTRICT="!test? ( test )" diff --git a/dev-libs/libgit2/libgit2-1.4.2-r1.ebuild b/dev-libs/libgit2/libgit2-1.4.2-r1.ebuild deleted file mode 100644 index 1e4d9b1196a3..000000000000 --- a/dev-libs/libgit2/libgit2-1.4.2-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -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 ~ppc ~ppc64 ~riscv ~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_prepare() { - cmake_src_prepare - # relying on forked http-parser to support some obscure URI form - sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die -} - -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 -} diff --git a/dev-libs/libgit2/libgit2-1.4.2.ebuild b/dev-libs/libgit2/libgit2-1.4.2.ebuild deleted file mode 100644 index c607c9e82f59..000000000000 --- a/dev-libs/libgit2/libgit2-1.4.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -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 ppc ppc64 ~riscv x86 ~ppc-macos" -IUSE="examples gssapi +ssh test +threads trace" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libpcre:= - 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_prepare() { - cmake_src_prepare - # relying on forked http-parser to support some obscure URI form - sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DUSE_SSH=$(usex ssh) - -DUSE_GSSAPI=$(usex gssapi ON OFF) - -DUSE_HTTP_PARSER=system - -DREGEX_BACKEND=pcre - ) - 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 -} diff --git a/dev-libs/libgit2/libgit2-1.4.3.ebuild b/dev-libs/libgit2/libgit2-1.4.3.ebuild deleted file mode 100644 index a957a5adafb3..000000000000 --- a/dev-libs/libgit2/libgit2-1.4.3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..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 ppc ppc64 ~riscv 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 -" - -PATCHES=( - "${FILESDIR}"/${P}-test.patch -) - -src_prepare() { - cmake_src_prepare - # relying on forked http-parser to support some obscure URI form - sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die -} - -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 -} diff --git a/dev-libs/libgit2/libgit2-1.4.4.ebuild b/dev-libs/libgit2/libgit2-1.4.4.ebuild index dc2287b2b344..ffa36ded3160 100644 --- a/dev-libs/libgit2/libgit2-1.4.4.ebuild +++ b/dev-libs/libgit2/libgit2-1.4.4.ebuild @@ -15,7 +15,7 @@ S=${WORKDIR}/${P/_/-} LICENSE="GPL-2-with-linking-exception" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~x86 ~ppc-macos" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~ppc-macos" IUSE="examples gssapi +ssh test +threads trace" RESTRICT="!test? ( test )" |