diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-20 12:25:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-20 12:25:59 +0100 |
commit | c431a44e3cfa102e5ef2c9d6bbac48e28c9b15cb (patch) | |
tree | 763b8a8b758bcb259d7f7325aac3170f62061933 /dev-cpp | |
parent | 1f3e27f8fde0df9246ce9151ced7d2dd4e96cb07 (diff) |
gentoo auto-resync : 20:08:2024 - 12:25:59
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/Manifest.gz | bin | 14609 -> 14606 bytes | |||
-rw-r--r-- | dev-cpp/benchmark/Manifest | 7 | ||||
-rw-r--r-- | dev-cpp/benchmark/benchmark-1.8.4.ebuild | 2 | ||||
-rw-r--r-- | dev-cpp/benchmark/benchmark-1.9.0.ebuild | 74 | ||||
-rw-r--r-- | dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch | 47 | ||||
-rw-r--r-- | dev-cpp/benchmark/metadata.xml | 29 |
6 files changed, 153 insertions, 6 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz Binary files differindex e32fb9a3a9a1..081b1ac3b616 100644 --- a/dev-cpp/Manifest.gz +++ b/dev-cpp/Manifest.gz diff --git a/dev-cpp/benchmark/Manifest b/dev-cpp/benchmark/Manifest index d03b8ab1bd4f..1a5dac932faf 100644 --- a/dev-cpp/benchmark/Manifest +++ b/dev-cpp/benchmark/Manifest @@ -1,8 +1,11 @@ AUX benchmark-1.8.3-backport-pr1753.patch 3386 BLAKE2B a89175e07a3aeca05e076e3c4a4506cfaf80b23f0ebc1ec1b28fa5b7ef78faf133f881aea0eab1b7336b47fed798f3e1b55e120adf0a78fc61d27a1867d259e6 SHA512 55d49b89c450a3a89ad82186826f8629d1bc92697e1d54ab804046d67c7e7b6b7b60ca78c741df5a16a0f50281efb70b86f700fbecae5d68019685cf00ea5cf1 AUX benchmark-1.8.3-backport-pr1756.patch 2836 BLAKE2B ea3b1c34e9502488c0e6e6a343ba3c29083bdf0623e935008ac03f0ac7815fa9020327bab7e8b6be4fccf5d10bae8c305ea0220936fb608b02e0acf4cfa5ab82 SHA512 aed107584a5b81685a29b055221e903dc8aa4c92f67ac6654a1a120a507a0c51b20109eafb8ad5a459e9a609ca6e5e2d50234af1bddbe36e8eb9391ba3017cfd AUX benchmark-1.8.3-fix-32bit-test.patch 809 BLAKE2B 22adc089c727de1f93a19dbaed2549536b7b97b705e472c3126af6ebccb56665c1b4cf835a2e5e306233bc6415eed59401295645f79f679315a68a2275e60d91 SHA512 a14a9adc33e0ffb57177b946d6eae2e3a4faf34a24715b5acf0b0ff9fca372a27357b225eb5ffea05b8ebf033244752c6e7b15714946ec2f036fee483199e994 +AUX benchmark-1.9.0-fix-documentation-installation.patch 1476 BLAKE2B 7c5848f7542c14f9cfe3c79e01153efb416b1f8892945b1cc3962908a246e83945b191581f544a8dc6972da00fe9af217eb9a70c29ae02f2a6dcc84e20ff1ecf SHA512 f6a7aef337539f0057b3f4c4ffa3e79e1de7451c7d0cb6bbc9a0374e04da38488e7cba9891857d240d9f0cc4a5cfed9d4c67a613cc5919843c80db3328f35432 DIST benchmark-1.8.3.tar.gz 250206 BLAKE2B 14b4af17184a88378314d11623b73c27368999fcff6e50986407a08739fdf388cdcbd140471b629cd2a9948f81073796f8a6c38d015be8413b7e4d4759715f97 SHA512 4e12114251c79a426873cfba6e27270b69fc980cef9a68e9cb3170f8e2e203f77dee19ab1e65cad51cd67e60991d3bbfdd52553f22522ce5e6c611b5aa07602c DIST benchmark-1.8.4.tar.gz 253916 BLAKE2B 78a290a5013d8371e87b7c918e518e3ec0e8247e25e211d160ab8dea51d8871d8dac54ee91ee0c512af86a60d1f4e9baedadc20d4a7fa28ef790411fda0399c8 SHA512 835d12b88fe52309ce6b2ffbc8b3c178ac594be7d249b5daca0373d1d03ec83ea3c7b94224f67f22d21919376985867eeff0d1c0721501cfd8a9e9b8a9c48882 +DIST benchmark-1.9.0.tar.gz 253961 BLAKE2B fdac0018435622e3ee2c1cde02c8140a15f2579b9059d1592b588033e6935bd8d54c874f4ea912696e8e1d5f7eebae30ba849f77cc3f74f006b4b03c712685ed SHA512 0e91e0e5a2222d7650fd8bd9cafb2f0e7c1689cd1b87b2cc529c738db12bfef31162aa5a4da78f7b0aa7f0101dc08b626802c58d39862458f82f9fea9316ca25 EBUILD benchmark-1.8.3-r1.ebuild 1029 BLAKE2B 2e1bb67da33327d494ae1b02f9267b54ed9a27319ef8759b772d6bd0f1edb92ac8bb6d80a394109c1bfd2f777e06d50104db95ce75fe88321bcda21ca376e7c4 SHA512 39a95f93725ad39ed236ff99c86b0e9d61cb54caa7077c61a4c4fa56a1e50cf74a5e3894d4fcc7eace809c5992e36139125b991cfe7b02e14ad18a16e92517ee -EBUILD benchmark-1.8.4.ebuild 883 BLAKE2B 35342f464a4c745a4d88cf3baf5f45856f2364e0cdc09305d54a424b8275476d89df38e64e91c827648a2c63eec2190717c44148fc6931e5e6e40158de5076ec SHA512 08da12ac6dd07aeeabdfa5ca3456df587add67aad35dd9664d79d0687144afd113379b36a861a9dfe2007cf72699872d6874826b1797843a9035b91c9d59b72b -MISC metadata.xml 390 BLAKE2B f76ee36d10b6deea1fd4f90c20947023b5e088a5a5ba56115c137ae487ccdc564b3e5cd39721b7efd0cb7958a652fc9334f30d1341f0c539de6c9c7f5e192337 SHA512 b9b2787e558e7c350f6f3b007a5e799a6cf5746ee59fbe5de0ed439a0665fac516b8788601bcd1b10589cd876e25f135b98a241d159899612c189ca1224cfb20 +EBUILD benchmark-1.8.4.ebuild 878 BLAKE2B 6233945fe9650081b11d16dceaa507dd71c715a1a97e195e6928789edf70fcf49bd05ac34a4509b4d0689713764d1a9e28e783d47ebfd99bfe1e72c8d46b7d2e SHA512 613d30096278b361be2b1963507c4c295fab63e61bd9fa84214da5af0c24197fc6b33e4390d26d5588b772465fab0c018f0dd8c3142cf6956abd2d77925cea3a +EBUILD benchmark-1.9.0.ebuild 1780 BLAKE2B 452be25bb5d3d9fd2875a825ba82b9a8b4c5b187ff657b5bec2d4aff37d4979ba08f5308587929bad0771dbc110ebf54c1dd1c9f05984211ce2fc58469f5e4c0 SHA512 953327af83b2792fae811eb5b1ae6d1b6ac7736c5df9e5ed38346dd4fa9ce8741b284d8514fb53dbd63e1c3c52db67a1454ca728589d97f59ab9dd3866e1d6e9 +MISC metadata.xml 1447 BLAKE2B 84a378fdce6b9590457deb8f273fde40828c3156ca70b38f58e81248468d349f228d8eeb4fc4325614ce4b1e77fd4c8c4c275156b8cc125b7cb3c874da6acbc6 SHA512 3c8e6088b0ecd4f1075cb35972db3ac200636a9be7e63036777f840145195fb3b977829efcdd12649d9fb1913925a2d731c3d29abf581613f8d8e9dbe2006577 diff --git a/dev-cpp/benchmark/benchmark-1.8.4.ebuild b/dev-cpp/benchmark/benchmark-1.8.4.ebuild index a48b13d02eb4..3ba3a6651fab 100644 --- a/dev-cpp/benchmark/benchmark-1.8.4.ebuild +++ b/dev-cpp/benchmark/benchmark-1.8.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86" IUSE="debug doc test" RESTRICT="!test? ( test )" diff --git a/dev-cpp/benchmark/benchmark-1.9.0.ebuild b/dev-cpp/benchmark/benchmark-1.9.0.ebuild new file mode 100644 index 000000000000..90c9239289bf --- /dev/null +++ b/dev-cpp/benchmark/benchmark-1.9.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_12 ) + +inherit cmake-multilib python-single-r1 + +DESCRIPTION="A microbenchmark support library" +HOMEPAGE="https://github.com/google/benchmark/" +SRC_URI="https://github.com/google/benchmark/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc +exceptions libcxx libpfm lto test +tools" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + libcxx? ( sys-libs/libcxx[${MULTILIB_USEDEP}] ) + libpfm? ( dev-libs/libpfm:= ) +" + +BDEPEND=" + >=dev-build/cmake-3.10 + doc? ( app-text/doxygen ) + test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + tools? ( + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/scipy-1.10.0[${PYTHON_USEDEP}] + ') + + ${PYTHON_DEPS} + ) +" + +PATCHES=( "${FILESDIR}/${P}-fix-documentation-installation.patch" ) + +pkg_setup() { + use tools && python-single-r1_pkg_setup +} + +multilib_src_configure() { + local mycmakeargs=( + -DBENCHMARK_ENABLE_DOXYGEN="$(usex doc)" + -DBENCHMARK_ENABLE_EXCEPTIONS="$(usex exceptions)" + -DBENCHMARK_ENABLE_GTEST_TESTS="$(usex test)" + -DBENCHMARK_ENABLE_LTO="$(usex lto)" + -DBENCHMARK_ENABLE_LIBPFM="$(usex libpfm)" + -DBENCHMARK_ENABLE_TESTING="$(usex test)" + -DBENCHMARK_ENABLE_WERROR=OFF + -DBENCHMARK_INSTALL_DOCS="$(usex doc)" + -DBENCHMARK_USE_BUNDLED_GTEST=OFF + -DBENCHMARK_USE_LIBCXX="$(usex libcxx)" + ) + + cmake_src_configure +} + +multilib_src_install_all() { + dodoc CONTRIBUTING.md + dodoc CONTRIBUTORS + + if use tools; then + python_domodule tools/gbench + python_doscript tools/compare.py + python_doscript tools/strip_asm.py + fi +} diff --git a/dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch b/dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch new file mode 100644 index 000000000000..631e01881aa8 --- /dev/null +++ b/dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch @@ -0,0 +1,47 @@ +From 009874342ddcf6446bec308686c54bd387a212a4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matt=C3=A9o=20Rossillol=E2=80=91=E2=80=91Laruelle?= + <beatussum@protonmail.com> +Date: Mon, 19 Aug 2024 09:12:57 +0200 +Subject: [PATCH] fix documentation installation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +HTML pages generated by Doxygen are now installed into +/usr/share/doc/${PF}/html. + +The content of the docs directory is always installed even if HTML pages are +installed. + +Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> +--- + src/CMakeLists.txt | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 32126c0..40e75e0 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -169,12 +169,12 @@ if (BENCHMARK_ENABLE_DOXYGEN) + if (BENCHMARK_ENABLE_INSTALL AND BENCHMARK_INSTALL_DOCS) + install( + DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/" +- DESTINATION ${CMAKE_INSTALL_DOCDIR}) +- endif() +-else() +- if (BENCHMARK_ENABLE_INSTALL AND BENCHMARK_INSTALL_DOCS) +- install( +- DIRECTORY "${PROJECT_SOURCE_DIR}/docs/" +- DESTINATION ${CMAKE_INSTALL_DOCDIR}) ++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/html/") + endif() + endif() ++ ++if (BENCHMARK_ENABLE_INSTALL AND BENCHMARK_INSTALL_DOCS) ++ install( ++ DIRECTORY "${PROJECT_SOURCE_DIR}/docs/" ++ DESTINATION ${CMAKE_INSTALL_DOCDIR}) ++endif() +-- +2.44.2 + diff --git a/dev-cpp/benchmark/metadata.xml b/dev-cpp/benchmark/metadata.xml index 7b3ec03c0ee6..0f523bea9937 100644 --- a/dev-cpp/benchmark/metadata.xml +++ b/dev-cpp/benchmark/metadata.xml @@ -1,10 +1,33 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>beatussum@protonmail.com</email> + <name>Mattéo Rossillol‑‑Laruelle</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="exceptions">Enable the use of exceptions in the benchmark library</flag> + <flag name="libcxx">Use <pkg>sys-libs/libcxx</pkg> instead of libstdc++ as the default stdlib</flag> + <flag name="libpfm">Enable <pkg>dev-libs/libpfm</pkg> support</flag> + <flag name="tools">Install some additional Python tools</flag> + </use> + <use lang="fr"> + <flag name="exceptions">Utiliser les exceptions inclues dans la bibliothèque</flag> + <flag name="libcxx">Utiliser <pkg>sys-libs/libcxx</pkg> à la place de libstdc++ comme bibliothèque standard</flag> + <flag name="libpfm">Activer le support de <pkg>dev-libs/libpfm</pkg></flag> + <flag name="tools">Installer des outils Python additionnels</flag> + </use> <upstream> - <bugs-to>https://github.com/google/benchmark/issues</bugs-to> - <doc lang="en">https://github.com/google/benchmark/tree/master/docs/</doc> + <maintainer status="active"> + <name>Google</name> + <email>opensource@google.com</email> + </maintainer> + <bugs-to>https://github.com/google/benchmark/issues/</bugs-to> + <doc>https://github.com/google/benchmark/tree/master/docs/</doc> <remote-id type="github">google/benchmark</remote-id> </upstream> </pkgmetadata> |