From 7f45b425ad1777a3e486a6d59f933b03ed2bce8b Mon Sep 17 00:00:00 2001 From: Joe Kappus Date: Sun, 4 Jun 2023 02:52:13 -0400 Subject: [PATCH 01/37] dev-cpp/vectorwrapper: treeclean Signed-off-by: Joe Kappus --- dev-cpp/vectorwrapper/Manifest | 1 - dev-cpp/vectorwrapper/metadata.xml | 8 ----- .../vectorwrapper/vectorwrapper-1.1.2.ebuild | 36 ------------------- .../vectorwrapper/vectorwrapper-9999.ebuild | 36 ------------------- 4 files changed, 81 deletions(-) delete mode 100644 dev-cpp/vectorwrapper/Manifest delete mode 100644 dev-cpp/vectorwrapper/metadata.xml delete mode 100644 dev-cpp/vectorwrapper/vectorwrapper-1.1.2.ebuild delete mode 100644 dev-cpp/vectorwrapper/vectorwrapper-9999.ebuild diff --git a/dev-cpp/vectorwrapper/Manifest b/dev-cpp/vectorwrapper/Manifest deleted file mode 100644 index 44828bc28d..0000000000 --- a/dev-cpp/vectorwrapper/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST vectorwrapper-1.1.2.tar.gz 1018302 BLAKE2B 8cb0ba9d5b5e0c39bf963ccbc399ad3dfdf4157397fb565484d38831c63dd4f69a4d18cf5b28e3b68d5531f783b72fa4c9197a63d385c82e56d7b03a4afec467 SHA512 8484700c02baff9ffd32b080e49892e67a3db38bdddc2b3cd5774b45fa5f68daa6e7892883b4744dbd6f003afec2e6d2354950b309d7fb8e76790d353fe3a4a8 diff --git a/dev-cpp/vectorwrapper/metadata.xml b/dev-cpp/vectorwrapper/metadata.xml deleted file mode 100644 index 38233d2607..0000000000 --- a/dev-cpp/vectorwrapper/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - m.santullo@posteo.net - Michele Santullo - - diff --git a/dev-cpp/vectorwrapper/vectorwrapper-1.1.2.ebuild b/dev-cpp/vectorwrapper/vectorwrapper-1.1.2.ebuild deleted file mode 100644 index 9c03f349c5..0000000000 --- a/dev-cpp/vectorwrapper/vectorwrapper-1.1.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson - -DESCRIPTION="A template vector wrapper class for C++" -HOMEPAGE="https://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="http://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper.git" - inherit git-r3 -else - SRC_URI="https://alarmpi.no-ip.org/gitan/King_DuckZ/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" - S="${WORKDIR}"/"${PN}" -fi - -LICENSE="Apache-2.0" -SLOT="0" - -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest )" -BDEPEND="" - -src_configure() { - local emesonargs=( - $(meson_use test build_testing) - ) - meson_src_configure -} diff --git a/dev-cpp/vectorwrapper/vectorwrapper-9999.ebuild b/dev-cpp/vectorwrapper/vectorwrapper-9999.ebuild deleted file mode 100644 index 497b5a7710..0000000000 --- a/dev-cpp/vectorwrapper/vectorwrapper-9999.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson - -DESCRIPTION="A template vector wrapper class for C++" -HOMEPAGE="https://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="http://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper.git" - inherit git-r3 -else - SRC_URI="https://alarmpi.no-ip.org/gitan/King_DuckZ/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" - S="${WORKDIR}"/"${PN}" -fi - -LICENSE="Apache-2.0" -SLOT="0" - -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest )" -BDEPEND="" - -src_configure() { - local emesonargs=( - $(meson_use test build_testing) - ) - meson_src_configure -} From 6847d53bbd996ca2d118f42739c4d59ee0c9d1d9 Mon Sep 17 00:00:00 2001 From: Joe Kappus Date: Sun, 4 Jun 2023 03:01:32 -0400 Subject: [PATCH 02/37] app-office/lotus123r3: add missing ncurses dep Closes: https://bugs.gentoo.org/905831 Signed-off-by: Joe Kappus --- app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild b/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild index 66f42634ab..06126476ce 100644 --- a/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild +++ b/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild @@ -35,6 +35,7 @@ RDEPEND="${DEPEND}" BDEPEND=" app-alternatives/gzip[reference] sys-devel/binutils[multitarget] + sys-libs/ncurses[abi_x86_32(-)] " QA_PREBUILT="usr/bin/123" From 46141faad98e3a2dbaaea520e5c8b6ecc5cdfcff Mon Sep 17 00:00:00 2001 From: Joe Kappus Date: Sun, 4 Jun 2023 03:02:41 -0400 Subject: [PATCH 03/37] profiles: remove dev-cpp/vectorwrapper treeclean'd, just forgot to add this commit. Signed-off-by: Joe Kappus --- profiles/package.mask | 4 ---- 1 file changed, 4 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 2783824a88..adb9ef0466 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -35,10 +35,6 @@ dev-python/ufmt # Masked for removal in 30 days. dev-python/promise -# Joe Kappus (2023-04-30) -# Upstream disappeared months/years ago. Removing in 30 days. -dev-cpp/vectorwrapper - # Anna Vyalkova (2023-04-20) # Depends on masked java-virtuals/servlet-api. Unused Java library. # Removal on 2023-05-22. From 47275d79183d429c3c6d22f0c804c023ce213ec6 Mon Sep 17 00:00:00 2001 From: Quincy Fleming Date: Sun, 4 Jun 2023 10:26:36 -0500 Subject: [PATCH 04/37] app-misc/Clipboard: add 0.8.0 Signed-off-by: Quincy Fleming --- app-misc/Clipboard/Clipboard-0.8.0.ebuild | 54 +++++++++++++++++++++++ app-misc/Clipboard/Manifest | 1 + 2 files changed, 55 insertions(+) create mode 100644 app-misc/Clipboard/Clipboard-0.8.0.ebuild diff --git a/app-misc/Clipboard/Clipboard-0.8.0.ebuild b/app-misc/Clipboard/Clipboard-0.8.0.ebuild new file mode 100644 index 0000000000..281d4957df --- /dev/null +++ b/app-misc/Clipboard/Clipboard-0.8.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Cut, copy, and paste anything in your terminal" +HOMEPAGE="https://getclipboard.app/ https://github.com/Slackadays/Clipboard" +SRC_URI="https://github.com/Slackadays/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X wayland lto debug" + +RDEPEND="X? ( x11-libs/libX11 ) + wayland? ( + dev-libs/wayland-protocols + dev-libs/wayland + ) +" +PATCHES=( + "${FILESDIR}/disable-git-and-lto.patch" +) + +src_prepare() { + if ! use wayland; then + sed -i '/pkg_check_modules(WAYLAND_CLIENT wayland-client wayland-protocols)/d' CMakeLists.txt || die + fi + + if ! use debug; then + eapply "${FILESDIR}/disable-debug-info.patch" + fi + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + "-DCMAKE_INSTALL_LIBDIR=$(get_libdir)" + "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=$(usex lto TRUE FALSE)" + "-DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex X OFF ON)" + ) + cmake_src_configure +} + +pkg_postinst() { + ewarn "The new history feature makes CB incompatible with how older versions stored clipboard contents." + ewarn "If you have existing content when you upgrade, then it might not appear in CB, although it won't be deleted." + ewarn "To fix this, take everything stored in the data folder of your existing clipboards and move them to a \"0\" subfolder within data." + ewarn "So, if you have the file Foobar stored under data, the new setup will look like the folder 0 under data, and 0 stores the file Foobar." + ewarn "To find where CB keeps your clipboards, use the cb info command and check the line that says Stored in...." + ewarn "If you don't already have content stored with CB, then this warning doesn't apply to you." +} diff --git a/app-misc/Clipboard/Manifest b/app-misc/Clipboard/Manifest index e4b696d5fc..2c219c1c9c 100644 --- a/app-misc/Clipboard/Manifest +++ b/app-misc/Clipboard/Manifest @@ -1 +1,2 @@ DIST Clipboard-0.7.1.tar.gz 29187709 BLAKE2B 9e33b0aa81ea434936e6c4fb6584e1df82726ebb98e933740f469454095c0810cc3e979a85009d2774d27b8e12d46c7affb82f4345cbf8425179040b0c448c88 SHA512 29c50c73d5b6860bc49c41fccbd04a7b8904876a2925916471039b22abb6a964d04dbbdb5fa7a97da346c85c1c47ab5b76a3f9a77ce11446c6fc7a5754c699fe +DIST Clipboard-0.8.0.tar.gz 29340849 BLAKE2B 91635f16eee4c7fec588f3ceae34571e815680a34553ecf352f67b77c0749ad4c4ee848713d1b65d7e0a4dee0a2a597b29f59abab9082400dc02acba00ab7326 SHA512 b600e8425e48625ed2ad068500e381b1a0d40eacce92e05d45af21c1f5517dcac516287fbcdc1c03fe87cd5bdd5933258ffccf31460a03dfd7e306dc22442c63 From 5cb0bc1e583d228c6cc654b6959dc205920b21a3 Mon Sep 17 00:00:00 2001 From: Quincy Fleming Date: Sun, 4 Jun 2023 10:31:08 -0500 Subject: [PATCH 05/37] app-misc/Clipboard: reduced ewarn message length Signed-off-by: Quincy Fleming --- app-misc/Clipboard/Clipboard-0.8.0.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-misc/Clipboard/Clipboard-0.8.0.ebuild b/app-misc/Clipboard/Clipboard-0.8.0.ebuild index 281d4957df..d2aca6ef2f 100644 --- a/app-misc/Clipboard/Clipboard-0.8.0.ebuild +++ b/app-misc/Clipboard/Clipboard-0.8.0.ebuild @@ -47,8 +47,10 @@ src_configure() { pkg_postinst() { ewarn "The new history feature makes CB incompatible with how older versions stored clipboard contents." ewarn "If you have existing content when you upgrade, then it might not appear in CB, although it won't be deleted." - ewarn "To fix this, take everything stored in the data folder of your existing clipboards and move them to a \"0\" subfolder within data." - ewarn "So, if you have the file Foobar stored under data, the new setup will look like the folder 0 under data, and 0 stores the file Foobar." + ewarn "To fix this, take everything stored in the data folder of your existing clipboards" + ewarn "and move them to a \"0\" subfolder within data." + ewarn "So, if you have the file Foobar stored under data, the new setup will look like the folder 0 under data," + ewarn "and 0 stores the file Foobar." ewarn "To find where CB keeps your clipboards, use the cb info command and check the line that says Stored in...." ewarn "If you don't already have content stored with CB, then this warning doesn't apply to you." } From 61b7828726b4a941fd858d3c30dca087d1a88fec Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Sun, 4 Jun 2023 11:37:34 -0400 Subject: [PATCH 06/37] net-im/mautrix-signal: add py3.11, update DESCRIPTION Signed-off-by: Julien Roy --- net-im/mautrix-signal/mautrix-signal-0.4.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-im/mautrix-signal/mautrix-signal-0.4.2.ebuild b/net-im/mautrix-signal/mautrix-signal-0.4.2.ebuild index ea282e0594..8dc7290700 100644 --- a/net-im/mautrix-signal/mautrix-signal-0.4.2.ebuild +++ b/net-im/mautrix-signal/mautrix-signal-0.4.2.ebuild @@ -4,11 +4,11 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 optfeature systemd -DESCRIPTION="A Matrix-Telegram Messenger puppeting bridge " +DESCRIPTION="A Matrix-Signal Messenger puppeting bridge " HOMEPAGE="https://github.com/mautrix/signal/" SRC_URI="https://github.com/mautrix/signal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/signal-${PV}" From 4aaa7555495f66aa54c786b5121072d79b2811c1 Mon Sep 17 00:00:00 2001 From: Kevin Thomas Date: Sun, 4 Jun 2023 16:15:00 -0700 Subject: [PATCH 07/37] net-misc/xmrig-mo: add 6.19.3 Signed-off-by: Kevin Thomas --- net-misc/xmrig-mo/Manifest | 1 + net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild | 59 ++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest index 80e0012c07..40744c1161 100644 --- a/net-misc/xmrig-mo/Manifest +++ b/net-misc/xmrig-mo/Manifest @@ -7,3 +7,4 @@ DIST xmrig-mo-6.18.1-mo1.tar.gz 2452916 BLAKE2B bd52bfb1a83b5efeee713f376040cd8b DIST xmrig-mo-6.19.0-mo1.tar.gz 2468314 BLAKE2B 612bc689b5c8c3bba63ea4fa55edad4b36aebf8e35cdd2d2ea33eab865bc9c6c923d2f770b0bc15a71dfc95781942fcb388cf1d82d78c25f03de57af8ea6427f SHA512 d1e8140530bf847f667ba89a49b1803cf6140cc2a1678a6df1f7b6a1c1f99eb966506a8d8398f65a9f829bb527e3476f427f3203a9692dd89efa7bd879b75c5c DIST xmrig-mo-6.19.1-mo1.tar.gz 2468434 BLAKE2B b60767cfecb25ad526b025f81d8565c97ff2e7deebcd04f3aa466782e2c85d0a52e2878e6597de688f87db7b43ef8a1c91b70053e4bceec2022db9acfc87d8c7 SHA512 33c197a37de981510d3ace619aa4d55b5cd8ad74e918cc93d0be453e2b707f6437d67e3110f16db13e98b6a345c50f50455b4be9ebbb47de30cc7e95221961c3 DIST xmrig-mo-6.19.2-mo1.tar.gz 2468797 BLAKE2B 8918db8a82ed0d00dfe0e9c099939449b55143509f6a8f7afb814eece04286facbcf5c522a57515d6b4e711b44981e3f15347f09df5aa4d6b959a8fea76cf0ef SHA512 160aa795c97382c89e669b2753e32ef74a1ae546e531118dbfc4b3367af628aeed2f5965a587b5bc6cf3a903c31a1f73d1bc07259aaa16ab3c66083472a71f49 +DIST xmrig-mo-6.19.3-mo1.tar.gz 2469382 BLAKE2B ac4d7ab23d1f90885eaebd2f509f955c9cf88cdcf5d3296222f2b0990d5233022c5370c0e81d04eee0d5fa1002fa9fbf898d29bd831a6e44d4adde57e2501f8f SHA512 188445bd1071c062c9e98d67518b270ea8807317f3a74992c476546ab14b18a2e572dc3cfd3af6e21b1a1e908dcf4244367b8d31a98503dbff576ad5a66f1de0 diff --git a/net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild new file mode 100644 index 0000000000..93bea0a1a7 --- /dev/null +++ b/net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +MO_PV="mo1" +DESCRIPTION="MoneroOcean fork of xmrig that supports algo switching" +HOMEPAGE="https://github.com/MoneroOcean/xmrig" +SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz" +KEYWORDS="~amd64 ~arm64" + +LICENSE="Apache-2.0 GPL-3+ MIT" +SLOT="0" +IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl" + +DEPEND=" + dev-libs/libuv:= + hwloc? ( sys-apps/hwloc:= ) + opencl? ( virtual/opencl ) + ssl? ( dev-libs/openssl:= ) +" + +RDEPEND=" + ${DEPEND} + !arm64? ( sys-apps/msr-tools ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.12.2-nonotls.patch +) + +S="${WORKDIR}/xmrig-${PV}-${MO_PV}" + +src_prepare() { + if ! use donate ; then + sed -i 's/1;/0;/g' src/donate.h || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1) + -DWITH_HWLOC=$(usex hwloc) + -DWITH_TLS=$(usex ssl) + -DWITH_OPENCL=$(usex opencl) + -DWITH_CUDA=OFF + ) + + cmake_src_configure +} + +src_install() { + default + newbin "${BUILD_DIR}/xmrig" xmrig-mo +} From 9e1e844f36e2cca894b35dbe12eb129dd8cbf57d Mon Sep 17 00:00:00 2001 From: "Wolfgang E. Sanyer" Date: Sun, 4 Jun 2023 20:50:25 -0400 Subject: [PATCH 08/37] dev-python/b2sdk: Add python 3.11 to PYTHON_COMPAT Also address a few pkcheck scan lints Signed-off-by: Wolfgang E. Sanyer --- dev-python/b2sdk/b2sdk-1.17.2.ebuild | 25 ++++++++++++++----------- dev-python/b2sdk/metadata.xml | 3 +++ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/dev-python/b2sdk/b2sdk-1.17.2.ebuild b/dev-python/b2sdk/b2sdk-1.17.2.ebuild index a99cc31eb4..b489c7ec07 100644 --- a/dev-python/b2sdk/b2sdk-1.17.2.ebuild +++ b/dev-python/b2sdk/b2sdk-1.17.2.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_10 ) +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_10 python3_11) inherit distutils-r1 DESCRIPTION="The client library for BackBlaze's B2 product" @@ -39,6 +40,8 @@ BDEPEND+=" test? ( # These tests seem to require some b2 authentication (they're integration tests # so this is not unreasonable) python_test() { + # note: used to avoid an ExcessiveLineLength lint below. + local sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py" epytest \ --deselect test/integration/test_large_files.py::TestLargeFile::test_large_file \ --deselect test/integration/test_raw_api.py::test_raw_api \ @@ -46,14 +49,14 @@ python_test() { --deselect test/integration/test_download.py::TestDownload::test_small \ --deselect test/integration/test_download.py::TestDownload::test_small_unverified \ --deselect test/integration/test_download.py::TestDownload::test_gzip \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_invalid_profile_name \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_file_name \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_env_var \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_default_file_if_exists \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var \ - --deselect test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_default_file + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file } diff --git a/dev-python/b2sdk/metadata.xml b/dev-python/b2sdk/metadata.xml index 917b9a52a5..5cdee8c4ce 100644 --- a/dev-python/b2sdk/metadata.xml +++ b/dev-python/b2sdk/metadata.xml @@ -11,4 +11,7 @@ This program provides command-line access to the B2 service. + + Backblaze/b2-sdk-python + From 25e6715d4ba10603daa295b8f5026beb35c27009 Mon Sep 17 00:00:00 2001 From: "Wolfgang E. Sanyer" Date: Sun, 4 Jun 2023 20:58:35 -0400 Subject: [PATCH 09/37] dev-python/b2sdk: Bump to version 1.21.0 Signed-off-by: Wolfgang E. Sanyer --- dev-python/b2sdk/Manifest | 1 + dev-python/b2sdk/b2sdk-1.21.0.ebuild | 61 ++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-python/b2sdk/b2sdk-1.21.0.ebuild diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest index 38085fc652..f7ad942188 100644 --- a/dev-python/b2sdk/Manifest +++ b/dev-python/b2sdk/Manifest @@ -1 +1,2 @@ DIST b2sdk-1.17.2.tar.gz 308753 BLAKE2B 07b6f71f604475d861257a1a7c567fc561a90c1c8c5768d21d63a82ff1c57240a81f8ebf96f1b3113cbea181140a128ebad9ed524e410a9c163a04a1de1ee2a0 SHA512 e618e18de16b021dc86a4b5ee9d315294eba5c3421318a4ea668681dc0420d6c3798f17c17be6475dddad7cfada8bf615916a5dc41ef905b8ecd7623b2a0c7bb +DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab SHA512 3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62 diff --git a/dev-python/b2sdk/b2sdk-1.21.0.ebuild b/dev-python/b2sdk/b2sdk-1.21.0.ebuild new file mode 100644 index 0000000000..9d38ea11dc --- /dev/null +++ b/dev-python/b2sdk/b2sdk-1.21.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_10 python3_11) +inherit distutils-r1 + +DESCRIPTION="The client library for BackBlaze's B2 product" +HOMEPAGE="https://github.com/Backblaze/b2-sdk-python" +SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-1.17.2-disable-requirement-installation.patch" +) + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] + ') +" + +distutils_enable_tests pytest + +BDEPEND+=" test? ( + $(python_gen_cond_dep ' + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}] + ') +)" + +# These tests seem to require some b2 authentication (they're integration tests +# so this is not unreasonable) +python_test() { + # note: used to avoid an ExcessiveLineLength lint below. + local sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py" + epytest \ + --deselect test/integration/test_large_files.py::TestLargeFile::test_large_file \ + --deselect test/integration/test_raw_api.py::test_raw_api \ + --deselect test/integration/test_download.py::TestDownload::test_large_file \ + --deselect test/integration/test_download.py::TestDownload::test_small \ + --deselect test/integration/test_download.py::TestDownload::test_small_unverified \ + --deselect test/integration/test_download.py::TestDownload::test_gzip \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var \ + --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file +} From 9c8ef669a306d8bfeefab08eb114e31eba6f0a82 Mon Sep 17 00:00:00 2001 From: "Wolfgang E. Sanyer" Date: Sun, 4 Jun 2023 21:35:08 -0400 Subject: [PATCH 10/37] dev-python/phx-class-registry: Bump to 4.0.6 Also addressed some lints in 3.0.5 and bumped PYTHON_COMPAT to 3.11. Since it depends on nose though, it will go away soonish. Signed-off-by: Wolfgang E. Sanyer --- dev-python/phx-class-registry/Manifest | 1 + dev-python/phx-class-registry/metadata.xml | 3 +++ .../phx-class-registry-3.0.5-r1.ebuild | 3 ++- .../phx-class-registry-4.0.6.ebuild | 23 +++++++++++++++++++ 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild diff --git a/dev-python/phx-class-registry/Manifest b/dev-python/phx-class-registry/Manifest index 4622fc7764..3891dc45e3 100644 --- a/dev-python/phx-class-registry/Manifest +++ b/dev-python/phx-class-registry/Manifest @@ -1 +1,2 @@ DIST phx-class-registry-3.0.5.tar.gz 23756 BLAKE2B 7ba98323cb91a328b7dbe3df2def174d950c9f78da2fbd62c81dbf3803d570d42794a20ca3219b41f8f5b739efd3317ce8672f70169db492c2cda8a980460fb1 SHA512 324171cbf14132e02c58026d90c87d408fd321d95258cf8cd66de472a125177c4131ca1e47fad279db3384a8a3a50832eb1287a4b577c76c79a9391fa1d998c6 +DIST phx-class-registry-4.0.6.tar.gz 26010 BLAKE2B 8c0f65f97efbe0dbae15d11ab52c7081f62654a485a784a6668eb37dbe3dbecf16f1fbc62edab06aafb34afd25ad1cb411de5b8768c10d4a501debc385de715f SHA512 da6d328359aae7488b1a34b4248e480c2f5e9c52e1f82bfeeba2be6d43a6014231fec0c32430e9f73c6761206197bb7e3db0b6bad9c847a5643d1609c3534293 diff --git a/dev-python/phx-class-registry/metadata.xml b/dev-python/phx-class-registry/metadata.xml index a58f7abe89..6bf7032552 100644 --- a/dev-python/phx-class-registry/metadata.xml +++ b/dev-python/phx-class-registry/metadata.xml @@ -10,4 +10,7 @@ ClassRegistry. This package contains the python modules necessary to use this dessign pattern + + todofixthis/class-registry + diff --git a/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild b/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild index da930eef0b..fceff661e3 100644 --- a/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild +++ b/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_10 pypy3 ) +PYTHON_COMPAT=( python3_10 python3_11 pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="An intersection of the Registry and Factory pattern" diff --git a/dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild b/dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild new file mode 100644 index 0000000000..825c7fb508 --- /dev/null +++ b/dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild @@ -0,0 +1,23 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_10 python3_11 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="An intersection of the Registry and Factory pattern" +HOMEPAGE="https://github.com/todofixthis/class-registry" +SRC_URI="https://github.com/todofixthis/class-registry/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +S="${WORKDIR}/class-registry-${PV}" + +distutils_enable_tests unittest + +python_test() { + "${EPYTHON}" -m unittest || die "Tests failed with ${EPYTHON}" +} From b98316887ee5dbb1430461d26013bbe317687ae4 Mon Sep 17 00:00:00 2001 From: "Wolfgang E. Sanyer" Date: Sun, 4 Jun 2023 21:36:36 -0400 Subject: [PATCH 11/37] app-backup/b2: Bump PYTHON_COMPAT to 3.11 Also addressed a few lints Signed-off-by: Wolfgang E. Sanyer --- app-backup/b2/b2-3.4.0.ebuild | 4 ++-- app-backup/b2/metadata.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app-backup/b2/b2-3.4.0.ebuild b/app-backup/b2/b2-3.4.0.ebuild index 8e9a4ac794..1af6890ea7 100644 --- a/app-backup/b2/b2-3.4.0.ebuild +++ b/app-backup/b2/b2-3.4.0.ebuild @@ -3,8 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_10 ) - +PYTHON_COMPAT=( python3_10 python3_11 ) +DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 inherit distutils-r1 pypi diff --git a/app-backup/b2/metadata.xml b/app-backup/b2/metadata.xml index 917b9a52a5..cb84a31480 100644 --- a/app-backup/b2/metadata.xml +++ b/app-backup/b2/metadata.xml @@ -11,4 +11,7 @@ This program provides command-line access to the B2 service. + + Backblaze/B2_Command_Line_Tool + From 7bec09d5b280508b14e01f2a7dbb86f13133cec2 Mon Sep 17 00:00:00 2001 From: "Wolfgang E. Sanyer" Date: Sun, 4 Jun 2023 23:05:32 -0400 Subject: [PATCH 12/37] app-backup/b2: Bump to 3.9.0 Signed-off-by: Wolfgang E. Sanyer --- app-backup/b2/Manifest | 1 + app-backup/b2/b2-3.9.0.ebuild | 98 +++++++++++++++++++ ...9.0-disable-pip-requirement-installs.patch | 23 +++++ app-backup/b2/metadata.xml | 1 + 4 files changed, 123 insertions(+) create mode 100644 app-backup/b2/b2-3.9.0.ebuild create mode 100644 app-backup/b2/files/b2-3.9.0-disable-pip-requirement-installs.patch diff --git a/app-backup/b2/Manifest b/app-backup/b2/Manifest index 939d66585a..1bd1b86f8b 100644 --- a/app-backup/b2/Manifest +++ b/app-backup/b2/Manifest @@ -1 +1,2 @@ DIST b2-3.4.0.tar.gz 86706 BLAKE2B 2aa1f4934db0bcf8c1334a5def94fd74824a9ca19d293b201b29f8c4511e8d423fd77d71734c386aeb41e60747ea71d36d8c049676cf6fcd3e101354440da8cc SHA512 5b0f411301f9b022c066ab3a1170d2ef3b21a76fe9c4e668d1da0cbd07334d11614f93d283e5c0482cb4f6985466d28b0fe59b4c058a87643218dd7a96857418 +DIST b2-3.9.0.tar.gz 131326 BLAKE2B c357831b7c0b4ae6abc4fafb6e09690f8ffe833d2c58c05610ffdbf94ba276f5fa143dd1528f7e7424b6fa96857c8328be993e6ffc60b61c44037bd9ef0b0e96 SHA512 db2fab07e973d6d39db3931dd7f645ee3c9737f4de0ab29327490607d52aad4df2e9049782ef347ee44f80b76dbe91f495ce273285001d49195abe91d5b2cb5d diff --git a/app-backup/b2/b2-3.9.0.ebuild b/app-backup/b2/b2-3.9.0.ebuild new file mode 100644 index 0000000000..e7159e74cd --- /dev/null +++ b/app-backup/b2/b2-3.9.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_10 python3_11 ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Command-line tool for BackBlaze's B2 product" +HOMEPAGE="https://github.com/Backblaze/B2_Command_Line_Tool" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-2.5.0-nameclash.patch" + "${FILESDIR}/${PN}-3.9.0-disable-pip-requirement-installs.patch" +) + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/argcomplete-2.1.2[${PYTHON_USEDEP}] + >=dev-python/arrow-1.0.2[${PYTHON_USEDEP}] + >=dev-python/b2sdk-1.21.0[${PYTHON_USEDEP}] + >=dev-python/docutils-0.19[${PYTHON_USEDEP}] + >=dev-python/phx-class-registry-4.0.6[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + >=dev-python/rst2ansi-0.1.5[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.65.0[${PYTHON_USEDEP}] + ') + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-3.3.0[${PYTHON_USEDEP}] + ' pypy3 python3_8) +" + +DEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/backoff-2.2.1[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests pytest + +# - integration tests require an application key and id (which is reasonable) +# - sync tests require network access +python_test() { + epytest \ + --deselect test/integration/test_autocomplete.py::test_autocomplete_b2_bucket_n_file_name \ + --deselect test/integration/test_autocomplete.py::test_autocomplete_b2_commands \ + --deselect test/integration/test_autocomplete.py::test_autocomplete_b2_only_matching_commands \ + --deselect test/integration/test_b2_command_line.py::test_integration \ + --deselect test/integration/test_b2_command_line.py::test_download \ + --deselect test/integration/test_b2_command_line.py::test_basic \ + --deselect test/integration/test_b2_command_line.py::test_bucket \ + --deselect test/integration/test_b2_command_line.py::test_key_restrictions \ + --deselect test/integration/test_b2_command_line.py::test_account \ + --deselect test/integration/test_b2_command_line.py::test_sync_up \ + --deselect test/integration/test_b2_command_line.py::test_sync_up_sse_b2 \ + --deselect test/integration/test_b2_command_line.py::test_sync_up_sse_c \ + --deselect test/integration/test_b2_command_line.py::test_sync_up_no_prefix \ + --deselect test/integration/test_b2_command_line.py::test_sync_down \ + --deselect test/integration/test_b2_command_line.py::test_sync_down_no_prefix \ + --deselect test/integration/test_b2_command_line.py::test_sync_down_sse_c_no_prefix \ + --deselect test/integration/test_b2_command_line.py::test_sync_copy \ + --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_default_encryption \ + --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_no_encryption \ + --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_sse_b2 \ + --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_sse_c \ + --deselect test/integration/test_b2_command_line.py::test_sync_copy_sse_c_single_bucket \ + --deselect test/integration/test_b2_command_line.py::test_sync_long_path \ + --deselect test/integration/test_b2_command_line.py::test_default_sse_b2 \ + --deselect test/integration/test_b2_command_line.py::test_sse_b2 \ + --deselect test/integration/test_b2_command_line.py::test_sse_c \ + --deselect test/integration/test_b2_command_line.py::test_license[True] \ + --deselect test/integration/test_b2_command_line.py::test_license[False] \ + --deselect test/integration/test_b2_command_line.py::test_file_lock \ + --deselect test/integration/test_b2_command_line.py::test_profile_switch \ + --deselect test/integration/test_b2_command_line.py::test_replication_basic \ + --deselect test/integration/test_b2_command_line.py::test_replication_setup \ + --deselect test/integration/test_b2_command_line.py::test_replication_monitoring \ + --deselect test/integration/test_b2_command_line.py::test_enable_file_lock_first_retention_second \ + --deselect test/integration/test_b2_command_line.py::test_enable_file_lock_and_set_retention_at_once \ + --deselect test/integration/test_b2_command_line.py::test_cut \ + --deselect test/unit/test_console_tool.py::TestConsoleTool::test_sync_exclude_if_modified_after_exact \ + --deselect test/unit/test_console_tool.py::TestConsoleTool::test_sync_exclude_if_modified_after_in_range +} + +pkg_postinst() { + elog "The b2 executable has been renamed to backblaze2 in order to" + elog "avoid a name clash with b2 from boost-build" +} diff --git a/app-backup/b2/files/b2-3.9.0-disable-pip-requirement-installs.patch b/app-backup/b2/files/b2-3.9.0-disable-pip-requirement-installs.patch new file mode 100644 index 0000000000..e9ec96911e --- /dev/null +++ b/app-backup/b2/files/b2-3.9.0-disable-pip-requirement-installs.patch @@ -0,0 +1,23 @@ +# These configurations attempt to install missing dependencies using pip, which +# violates the network sandbox. Instead, we'll manage the dependencies in +# portage. +--- a/setup.py ++++ b/setup.py +@@ -104,7 +104,7 @@ + # requirements files see: + # https://packaging.python.org/en/latest/requirements.html + dependency_links=[], +- install_requires=read_requirements(), ++ # install_requires=read_requirements(), + + # List additional groups of dependencies here (e.g. development + # dependencies). You can install these using the following syntax, +@@ -114,7 +114,7 @@ + 'doc': read_requirements('doc'), + 'license': read_requirements('license'), + }, +- setup_requires=['setuptools_scm<6.0'], ++ # setup_requires=['setuptools_scm<6.0'], + use_scm_version=True, + + # If there are data files included in your packages that need to be diff --git a/app-backup/b2/metadata.xml b/app-backup/b2/metadata.xml index cb84a31480..fbab36376f 100644 --- a/app-backup/b2/metadata.xml +++ b/app-backup/b2/metadata.xml @@ -13,5 +13,6 @@ Backblaze/B2_Command_Line_Tool + b2 From 06b05f7f04a3a846163e2dc9bf517be96704362f Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Mon, 5 Jun 2023 15:01:21 +0800 Subject: [PATCH 13/37] dev-libs/unordered_dense: add 2.0.1 Signed-off-by: Huang Rui --- dev-libs/unordered_dense/Manifest | 1 + .../unordered_dense-2.0.1.ebuild | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-libs/unordered_dense/unordered_dense-2.0.1.ebuild diff --git a/dev-libs/unordered_dense/Manifest b/dev-libs/unordered_dense/Manifest index 1d46111f97..6199f7344c 100644 --- a/dev-libs/unordered_dense/Manifest +++ b/dev-libs/unordered_dense/Manifest @@ -1,2 +1,3 @@ DIST unordered_dense-2.0.0.tar.gz 307275 BLAKE2B d579740134a8e67e8487c1d6779bc5ea2bf0b3ab70ce60f3b8b68d1fdabc9b45a099e49500b417f21a3fc4c88d2aadbf96afa7b56a8d7d581a0d3f3f6badf61b SHA512 8c7d582abd2142310b50d835ce3cb9a0731a6f7bc6419d01742860cbcb0ade31aad393c93523b8ff82ce456f6cbab5a3d93f91f95c8eb5f7f960fa4793f57d8d +DIST unordered_dense-2.0.1.tar.gz 307477 BLAKE2B bca5564eba6811cedc4fc392dcd3b273209262123d69dcf7d2f6950d90b6d9e6da5754f279b0bbac18e67fa37214a5bc31a11a79d3ddfe6db2e30e9ba8ef7906 SHA512 26ac0ab296b10b0668291370b43df9dcb37e5145328f77233f8fcc2ab9cb2df4d00489d80cde167c0a4ab868547bd3148ca80500400331c7fb0039adb122bfeb DIST unordered_dense-3.1.1.tar.gz 308854 BLAKE2B 3addc3f559cb9de37d0dfd6408b020b2f2d8cd066c565d3cae8b3c834a97c652a10f3272a628feaaddee2442132db8f196d326ee3a766e42841674ee5493c95a SHA512 5cab1affaa8e49e14c4db6c35bd00cf7f9c967e46be65a80b995b0bf78bea1a52d074abd43e4e65b8c102469ef07dface929f83920edef493e8b6af2eaeebafd diff --git a/dev-libs/unordered_dense/unordered_dense-2.0.1.ebuild b/dev-libs/unordered_dense/unordered_dense-2.0.1.ebuild new file mode 100644 index 0000000000..c2d63f1dc1 --- /dev/null +++ b/dev-libs/unordered_dense/unordered_dense-2.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit cmake + +DESCRIPTION="A fast and densely stored hashmap and hashset" +HOMEPAGE="https://github.com/martinus/unordered_dense" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/martinus/${PN}.git" +else + SRC_URI="https://github.com/martinus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + S="${WORKDIR}/${P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" + +DEPEND=" + ${RDEPEND} +" + +src_configure() { + local mycmakeargs=( + -D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -D BUILD_SHARED_LIBS=ON + ) + cmake_src_configure +} From 4af819aae196097615a49e15b388fdc1ba6bfb2e Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Mon, 5 Jun 2023 15:01:46 +0800 Subject: [PATCH 14/37] dev-libs/unordered_dense: add 4.0.1 Signed-off-by: Huang Rui --- dev-libs/unordered_dense/Manifest | 1 + .../unordered_dense-4.0.1.ebuild | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-libs/unordered_dense/unordered_dense-4.0.1.ebuild diff --git a/dev-libs/unordered_dense/Manifest b/dev-libs/unordered_dense/Manifest index 6199f7344c..6bdef4a155 100644 --- a/dev-libs/unordered_dense/Manifest +++ b/dev-libs/unordered_dense/Manifest @@ -1,3 +1,4 @@ DIST unordered_dense-2.0.0.tar.gz 307275 BLAKE2B d579740134a8e67e8487c1d6779bc5ea2bf0b3ab70ce60f3b8b68d1fdabc9b45a099e49500b417f21a3fc4c88d2aadbf96afa7b56a8d7d581a0d3f3f6badf61b SHA512 8c7d582abd2142310b50d835ce3cb9a0731a6f7bc6419d01742860cbcb0ade31aad393c93523b8ff82ce456f6cbab5a3d93f91f95c8eb5f7f960fa4793f57d8d DIST unordered_dense-2.0.1.tar.gz 307477 BLAKE2B bca5564eba6811cedc4fc392dcd3b273209262123d69dcf7d2f6950d90b6d9e6da5754f279b0bbac18e67fa37214a5bc31a11a79d3ddfe6db2e30e9ba8ef7906 SHA512 26ac0ab296b10b0668291370b43df9dcb37e5145328f77233f8fcc2ab9cb2df4d00489d80cde167c0a4ab868547bd3148ca80500400331c7fb0039adb122bfeb DIST unordered_dense-3.1.1.tar.gz 308854 BLAKE2B 3addc3f559cb9de37d0dfd6408b020b2f2d8cd066c565d3cae8b3c834a97c652a10f3272a628feaaddee2442132db8f196d326ee3a766e42841674ee5493c95a SHA512 5cab1affaa8e49e14c4db6c35bd00cf7f9c967e46be65a80b995b0bf78bea1a52d074abd43e4e65b8c102469ef07dface929f83920edef493e8b6af2eaeebafd +DIST unordered_dense-4.0.1.tar.gz 364688 BLAKE2B 190ecdf53c2e476702e362e474dc2f692fd6dd6b15e9313a59710dce3f520aa3f53304e52a00f5d81194a6dbff7346c145be3ab0b083246df018e1bbedadb736 SHA512 105eb88deeb89c9424973d2b5425a6e176f3f66a45f11cf6ed520cce177918cd5345e840d10561f6f790b6cc11b7b6e1357bd2fc4d199254a360de88ce553fe0 diff --git a/dev-libs/unordered_dense/unordered_dense-4.0.1.ebuild b/dev-libs/unordered_dense/unordered_dense-4.0.1.ebuild new file mode 100644 index 0000000000..c2d63f1dc1 --- /dev/null +++ b/dev-libs/unordered_dense/unordered_dense-4.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit cmake + +DESCRIPTION="A fast and densely stored hashmap and hashset" +HOMEPAGE="https://github.com/martinus/unordered_dense" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/martinus/${PN}.git" +else + SRC_URI="https://github.com/martinus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + S="${WORKDIR}/${P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" + +DEPEND=" + ${RDEPEND} +" + +src_configure() { + local mycmakeargs=( + -D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -D BUILD_SHARED_LIBS=ON + ) + cmake_src_configure +} From 1cd0ce4df71a54475abc840aec0cd80231f6f7c2 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Mon, 5 Jun 2023 15:15:45 +0800 Subject: [PATCH 15/37] sci-electronics/slang: fix unordered_dense depend Signed-off-by: Huang Rui --- .../slang/{slang-2.0-r1.ebuild => slang-2.0-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename sci-electronics/slang/{slang-2.0-r1.ebuild => slang-2.0-r2.ebuild} (93%) diff --git a/sci-electronics/slang/slang-2.0-r1.ebuild b/sci-electronics/slang/slang-2.0-r2.ebuild similarity index 93% rename from sci-electronics/slang/slang-2.0-r1.ebuild rename to sci-electronics/slang/slang-2.0-r2.ebuild index b06b86cf6f..e37c0ccce4 100644 --- a/sci-electronics/slang/slang-2.0-r1.ebuild +++ b/sci-electronics/slang/slang-2.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI="8" -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit cmake python-single-r1 DESCRIPTION="SystemVerilog compiler and language services" @@ -31,7 +31,7 @@ RDEPEND=" ${PYTHON_DEPS} >=dev-cpp/catch-3.0.1 >=dev-libs/libfmt-9.1.0 - >=dev-libs/unordered_dense-2.0.0 =dev-libs/unordered_dense-2.0.0 =dev-python/pybind11-2.10[${PYTHON_USEDEP}] ') From 6d80ebc55eb9d0977ed7a1688e490258b7be34a9 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Mon, 5 Jun 2023 15:16:24 +0800 Subject: [PATCH 16/37] sci-electronics/slang: add 3.0 Signed-off-by: Huang Rui --- sci-electronics/slang/Manifest | 1 + sci-electronics/slang/slang-3.0.ebuild | 64 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 sci-electronics/slang/slang-3.0.ebuild diff --git a/sci-electronics/slang/Manifest b/sci-electronics/slang/Manifest index 37c981edb0..1788d079b4 100644 --- a/sci-electronics/slang/Manifest +++ b/sci-electronics/slang/Manifest @@ -1,2 +1,3 @@ DIST slang-1.0.tar.gz 1239664 BLAKE2B 98355987b5c355eb914dd0d38c7441d5d39b7a0259e557d9cfd6271fd35aab642db6036d55228f75522fef0c31a4c82dea4d09cdb04ea33c60d843a3ca14caf0 SHA512 25ef7f5abb1b73928f61b853db5462baf72077a47daa9419311aba1f8fdca0bd499518c2f64dfff95b3c0671e52f2b1cd37edb7d1c74fb983b74de08fe7eea37 DIST slang-2.0.tar.gz 1026299 BLAKE2B d55e0f419e030a37ff80aef3c0b16a96ee402707c758797fea3d1914e29247d22d240693cd873f95f634438fad5b8ed65961a324c69788fc3e62f83ce0a94869 SHA512 3d18961cda7eb40877932e937364b19cfcef3127a8467fbfc70febd1d6ef8b267aeae8244355a4b0206197ef126ee5a65aa4a4fb49d0970fe6c626725b7e6b21 +DIST slang-3.0.tar.gz 1097223 BLAKE2B 87f7ac55fb719e64049e56792af9edbe20c39cebcd496f3fa3c980f54490a885f8bc3443b0c841930baf1d57854aba54747acf3f6a8debda3e1cb110dae364f0 SHA512 3d340ccdd7573d61b9e391861712d6b97a2c686b2bae351c1b25f11539146f6d00539b044c69f7dc362ed160828a1bb00f180553dcb760affe912e521bc56a8a diff --git a/sci-electronics/slang/slang-3.0.ebuild b/sci-electronics/slang/slang-3.0.ebuild new file mode 100644 index 0000000000..52a6206604 --- /dev/null +++ b/sci-electronics/slang/slang-3.0.ebuild @@ -0,0 +1,64 @@ +# 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-single-r1 + +DESCRIPTION="SystemVerilog compiler and language services" +HOMEPAGE=" + https://sv-lang.com + https://github.com/MikePopoloski/slang +" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/MikePopoloski/${PN}.git" +else + SRC_URI="https://github.com/MikePopoloski/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + S="${WORKDIR}/${P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="python test" +REQUIRED_USE=" ${PYTHON_REQUIRED_USE} " +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-cpp/catch-3.0.1 + >=dev-libs/libfmt-9.1.0 + >=dev-libs/unordered_dense-2.0.1 =dev-python/pybind11-2.10[${PYTHON_USEDEP}] + ') +" + +DEPEND=" + ${RDEPEND} +" + +src_configure() { + python_setup + local mycmakeargs=( + -D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -D BUILD_SHARED_LIBS=ON + -D SLANG_USE_BOOST=OFF + -D SLANG_INCLUDE_PYLIB=$(usex python) + -D SLANG_INCLUDE_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use python; then + # fix python unexpected paths QA + mkdir -p "${D}/$(python_get_sitedir)" || die + mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die + fi +} From 853c9b05164401b93246f92f327656bf01231a54 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Mon, 5 Jun 2023 14:10:55 +0500 Subject: [PATCH 17/37] net-misc/moonlight: treeclean duplicate Signed-off-by: Anna (cybertailor) Vyalkova --- net-misc/moonlight/Manifest | 1 - .../files/4.3.1-respect-cflags.patch | 53 ------------------ net-misc/moonlight/metadata.xml | 16 ------ net-misc/moonlight/moonlight-4.3.1.ebuild | 54 ------------------- 4 files changed, 124 deletions(-) delete mode 100644 net-misc/moonlight/Manifest delete mode 100644 net-misc/moonlight/files/4.3.1-respect-cflags.patch delete mode 100644 net-misc/moonlight/metadata.xml delete mode 100644 net-misc/moonlight/moonlight-4.3.1.ebuild diff --git a/net-misc/moonlight/Manifest b/net-misc/moonlight/Manifest deleted file mode 100644 index acf0147bd9..0000000000 --- a/net-misc/moonlight/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST MoonlightSrc-4.3.1.tar.gz 71454450 BLAKE2B cd6d8d95c3d53dbf73850cd30f86bdb9837806a642472454d70f6abee20ae91bc79c0671c4da0a74fb5f43086841a8318718c4f2f4e4768b395fb4b38d1dde9e SHA512 f5f7b23929aadb87716470522a315cba40d8155be6b76297eab4107e0fef71b48f9f4c9a4cc2b58bd48579db052a8ca8ecda9b49c78c3d229863a30886cf1847 diff --git a/net-misc/moonlight/files/4.3.1-respect-cflags.patch b/net-misc/moonlight/files/4.3.1-respect-cflags.patch deleted file mode 100644 index caf053e666..0000000000 --- a/net-misc/moonlight/files/4.3.1-respect-cflags.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff --git a/globaldefs.pri b/globaldefs.pri -index a767cbf9..e40abe6b 100644 ---- a/globaldefs.pri -+++ b/globaldefs.pri -@@ -2,7 +2,7 @@ - CONFIG += debug_and_release - - # Ensure symbols are always generated --CONFIG += force_debug_info -+# CONFIG += force_debug_info - - # Disable asserts on release builds - CONFIG(release, debug|release) { -Submodule h264bitstream/h264bitstream contains modified content -diff --git a/h264bitstream/h264bitstream/m4/ax_check_debug.m4 b/h264bitstream/h264bitstream/m4/ax_check_debug.m4 -index 1f5252e..df1f444 100644 ---- a/h264bitstream/h264bitstream/m4/ax_check_debug.m4 -+++ b/h264bitstream/h264bitstream/m4/ax_check_debug.m4 -@@ -26,7 +26,7 @@ AC_DEFUN([AX_CHECK_DEBUG], - else - AC_DEFINE([NDEBUG],[],[Release Mode]) - #-O3 anyone? Kills using -g in release mode so we'll stick with O2 for now. -- AM_CFLAGS="$AM_CFLAGS -O2 -g -Wall" -+ AM_CFLAGS="$AM_CFLAGS -Wall" - fi - AC_SUBST([AM_CFLAGS]) - ]) -Submodule moonlight-common-c/moonlight-common-c contains modified content -Submodule enet contains modified content -diff --git a/moonlight-common-c/moonlight-common-c/enet/enet_dll.cbp b/moonlight-common-c/moonlight-common-c/enet/enet_dll.cbp -index 961274c..e9e4ea9 100644 ---- a/moonlight-common-c/moonlight-common-c/enet/enet_dll.cbp -+++ b/moonlight-common-c/moonlight-common-c/enet/enet_dll.cbp -@@ -13,9 +13,6 @@ -