From a54afea60bb3a4af6244284d27e20e20493ffe17 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Thu, 2 Jun 2022 14:13:29 -0700 Subject: dev-libs/simdjson: add 2.0.3, drop 2.0.2 Signed-off-by: Patrick McLean --- dev-libs/simdjson/Manifest | 4 +- dev-libs/simdjson/simdjson-2.0.2.ebuild | 85 --------------------------------- dev-libs/simdjson/simdjson-2.0.3.ebuild | 85 +++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 87 deletions(-) delete mode 100644 dev-libs/simdjson/simdjson-2.0.2.ebuild create mode 100644 dev-libs/simdjson/simdjson-2.0.3.ebuild (limited to 'dev-libs/simdjson') diff --git a/dev-libs/simdjson/Manifest b/dev-libs/simdjson/Manifest index d95b2fa5ea31..aafaff2d184f 100644 --- a/dev-libs/simdjson/Manifest +++ b/dev-libs/simdjson/Manifest @@ -1,8 +1,8 @@ DIST simdjson-1.0.0.tar.gz 1546728 BLAKE2B 6b70416404776b4fcc30cd3ab07b8048899bbe3497af779504a685bc2459424e82bd40bf100d7ed8ccfa05e871a0a1edd9eebd11294cdc3d1780797d7f79ba1e SHA512 dbf8abfeec5c079f4d87e8bf31d1af27601f7f0578ebb8ad28a25f496b4b771b68a75f9a11f61706c539d54c36a493a2d2819bd15427c3b7f7a0b36811177f17 DIST simdjson-1.0.2.tar.gz 1551616 BLAKE2B 534e312de977b82604595ccf889348545ed355fb9cfb6f618d42236122578f6102ce7bcd31204c3013dbeeff17c35effaff62531a7e17e5e83ac07150b1456ab SHA512 04a3bee2d847680aa1f55115007ceec01652bebb8d5187cfbca0af81bedff355cbac949862a82e3060071da1a58b62d5b028bcd91562b962756aa5cab614f073 DIST simdjson-1.1.0.tar.gz 1555845 BLAKE2B 6dfd4e938b9f1f6a6314f39929b74a7e822fbb37510914eb3db0660b9bbf68ef0b2fb4c45aa2e1246f6530d3848d0055220d4c5ead3093f97956a6154b22a899 SHA512 f8718bd039e1a25f0b95880b957c43e6eba6eada6bb7f58cedde37669a46b15b3ff9f4c4ea775e1cf949657642ef0472fa8bac5bdc98882df63e7f292fb5a723 -DIST simdjson-2.0.2.tar.gz 1609595 BLAKE2B a0900275108771e5dd022cc03a73ef0887cbbc388a1fd5ea363e38cc8594a31c4cfe784bbc3493b52e29aef26e14f00fb50139728544b9234f12d866218d701d SHA512 7a508ef3c4b0034e5dd04b664a1ca9d2dbb0b8d2e214aced1ba61c221091c3fe7f1c88b2c9afd9042c84e5c4c0cfa13ba72ef0a19c04d9b86603c882799b2eb0 +DIST simdjson-2.0.3.tar.gz 1609988 BLAKE2B 048dd1c54a89f84ee388489b59f49217d9b4b7883541493e60ae8a17165ddbc2eaacda9f46be04c54aa475aaa5befbd359f9ea03da520393e44acfc446a29e90 SHA512 f07de33af3d1489d2597e531ef3edc416dd1491a72b5e863d906e3a3a37a0dc5a2656de31e59e6f0597237bc765f3c85626cd0b6a7ef704c2fd25866f2ad79be DIST simdjson-data-1.0.0.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1 DIST simdjson-data-1.0.2.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1 DIST simdjson-data-1.1.0.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1 -DIST simdjson-data-2.0.2.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1 +DIST simdjson-data-2.0.3.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1 diff --git a/dev-libs/simdjson/simdjson-2.0.2.ebuild b/dev-libs/simdjson/simdjson-2.0.2.ebuild deleted file mode 100644 index 01fbcc889778..000000000000 --- a/dev-libs/simdjson/simdjson-2.0.2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs cmake - -DATA_HASH="a5b13babe65c1bba7186b41b43d4cbdc20a5c470" -DESCRIPTION="SIMD accelerated C++ JSON library" -HOMEPAGE=" - https://simdjson.org/ - https://github.com/simdjson/simdjson -" -SRC_URI=" - https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/${PN}/${PN}-data/archive/${DATA_HASH}.tar.gz -> ${PN}-data-${PV}.tar.gz ) -" - -LICENSE="Apache-2.0 Boost-1.0 BSD MIT" -SLOT="0/9" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="test tools" - -BDEPEND=" - sys-apps/file - sys-apps/grep -" -DEPEND=" - tools? ( dev-libs/cxxopts:= ) -" - -REQUIRED_USE="test? ( tools )" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}/simdjson-1.0.0-dont-bundle-cxxopts.patch" - "${FILESDIR}/simdjson-0.9.0-tests.patch" - "${FILESDIR}/simdjson-1.0.0-dont-fetch-data-tarball.patch" - "${FILESDIR}/simdjson-1.0.0-install-tools.patch" - "${FILESDIR}/simdjson-1.0.0-tests.patch" -) - -DOCS=( - AUTHORS - CONTRIBUTING.md - CONTRIBUTORS - HACKING.md - README.md -) - -src_prepare() { - if use test; then - mv "${WORKDIR}/${PN}-data-${DATA_HASH}" "${S}/dependencies/${PN}-data" || die - fi - - sed -e 's:-Werror ::' -i cmake/developer-options.cmake || die - sed -e "s:^c++ :$(tc-getCXX) :" -i singleheader/README.md || die - mv tools/{,simd}jsonpointer.cpp || die - cmake_src_prepare -} - -src_configure() { - local -a mycmakeargs=( - -DSIMDJSON_ENABLE_THREADS=ON - ) - use test && mycmakeargs+=( - -DSIMDJSON_TESTS=ON - ) - - if use tools; then - mycmakeargs+=( - -DSIMDJSON_DEVELOPER_MODE=ON - -DSIMDJSON_ALLOW_DOWNLOADS=OFF - -DSIMDJSON_GOOGLE_BENCHMARKS=OFF - -DSIMDJSON_COMPETITION=OFF - -DSIMDJSON_TOOLS=ON - ) - elif ! use test; then - mycmakeargs+=( - -DSIMDJSON_DEVELOPER_MODE=OFF - ) - fi - - cmake_src_configure -} diff --git a/dev-libs/simdjson/simdjson-2.0.3.ebuild b/dev-libs/simdjson/simdjson-2.0.3.ebuild new file mode 100644 index 000000000000..01fbcc889778 --- /dev/null +++ b/dev-libs/simdjson/simdjson-2.0.3.ebuild @@ -0,0 +1,85 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs cmake + +DATA_HASH="a5b13babe65c1bba7186b41b43d4cbdc20a5c470" +DESCRIPTION="SIMD accelerated C++ JSON library" +HOMEPAGE=" + https://simdjson.org/ + https://github.com/simdjson/simdjson +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/${PN}/${PN}-data/archive/${DATA_HASH}.tar.gz -> ${PN}-data-${PV}.tar.gz ) +" + +LICENSE="Apache-2.0 Boost-1.0 BSD MIT" +SLOT="0/9" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test tools" + +BDEPEND=" + sys-apps/file + sys-apps/grep +" +DEPEND=" + tools? ( dev-libs/cxxopts:= ) +" + +REQUIRED_USE="test? ( tools )" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/simdjson-1.0.0-dont-bundle-cxxopts.patch" + "${FILESDIR}/simdjson-0.9.0-tests.patch" + "${FILESDIR}/simdjson-1.0.0-dont-fetch-data-tarball.patch" + "${FILESDIR}/simdjson-1.0.0-install-tools.patch" + "${FILESDIR}/simdjson-1.0.0-tests.patch" +) + +DOCS=( + AUTHORS + CONTRIBUTING.md + CONTRIBUTORS + HACKING.md + README.md +) + +src_prepare() { + if use test; then + mv "${WORKDIR}/${PN}-data-${DATA_HASH}" "${S}/dependencies/${PN}-data" || die + fi + + sed -e 's:-Werror ::' -i cmake/developer-options.cmake || die + sed -e "s:^c++ :$(tc-getCXX) :" -i singleheader/README.md || die + mv tools/{,simd}jsonpointer.cpp || die + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + -DSIMDJSON_ENABLE_THREADS=ON + ) + use test && mycmakeargs+=( + -DSIMDJSON_TESTS=ON + ) + + if use tools; then + mycmakeargs+=( + -DSIMDJSON_DEVELOPER_MODE=ON + -DSIMDJSON_ALLOW_DOWNLOADS=OFF + -DSIMDJSON_GOOGLE_BENCHMARKS=OFF + -DSIMDJSON_COMPETITION=OFF + -DSIMDJSON_TOOLS=ON + ) + elif ! use test; then + mycmakeargs+=( + -DSIMDJSON_DEVELOPER_MODE=OFF + ) + fi + + cmake_src_configure +} -- cgit v1.2.3-65-gdbad