diff --git a/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r1.ebuild b/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r1.ebuild index 57422030df4b4..f18c1f6f88637 100644 --- a/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r1.ebuild +++ b/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ppc x86" RDEPEND=">=app-accessibility/emacspeak-18" diff --git a/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild b/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild deleted file mode 100644 index 7eb873e8bb766..0000000000000 --- a/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="adds support for several speech synthesizers to emacspeak" -HOMEPAGE="http://leb.net/blinux/" -SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND="" -RDEPEND=">=app-accessibility/emacspeak-18" - -PATCHES=( - "${FILESDIR}"/gentoo-apollo-fix.patch -) - -src_prepare() { - default - tc-export CC -} - -src_install() { - emake \ - prefix="${D}"/usr \ - man1dir="${D}"/usr/share/man/man1 \ - install - dodoc CREDITS ChangeLog OtherSynthesizers TODO TROUBLESHOOTING README* -} diff --git a/app-accessibility/sphinx2/sphinx2-0.6-r1.ebuild b/app-accessibility/sphinx2/sphinx2-0.6-r1.ebuild index fa5b70bb70c61..62369fd89d98c 100644 --- a/app-accessibility/sphinx2/sphinx2-0.6-r1.ebuild +++ b/app-accessibility/sphinx2/sphinx2-0.6-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ppc x86" DOCS=( AUTHORS ChangeLog README NEWS doc/{README.{bin,lib},SCHMM_format,filler.dict,phoneset{,-old}} ) diff --git a/app-accessibility/sphinx2/sphinx2-0.6.ebuild b/app-accessibility/sphinx2/sphinx2-0.6.ebuild deleted file mode 100644 index 5a6921cdfb183..0000000000000 --- a/app-accessibility/sphinx2/sphinx2-0.6.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -MY_P=${P/_/} - -DESCRIPTION="CMU Speech Recognition-engine" -HOMEPAGE="https://cmusphinx.github.io" -SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="static-libs" - -S=${WORKDIR}/${MY_P} -PATCHES=( "${FILESDIR}"/${P}-as-needed.patch ) - -src_prepare() { - default - mv configure.{in,ac} || die - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - HTML_DOCS=( doc/{phoneset_s2,sphinx2}.html ) - default - dodoc doc/{README.{bin,lib},SCHMM_format,filler.dict,phoneset{,-old}} - - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -} diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index a869db6a39b03..4a197e84bcb03 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -4,3 +4,5 @@ DIST aws-cli-1.29.54.gh.tar.gz 2550145 BLAKE2B 75c11a59218e4b0def9313f342c076c0c DIST aws-cli-1.29.55.gh.tar.gz 2551493 BLAKE2B 79ea509819519d54c20068f6db7ba90aa9c43de83b1bf0ddad9d88e029b6a54f56c5f75a4aa30e5b29a5c84d5a7dd8ab7b07e0f451da67d96b440a25ea042df2 SHA512 32083c906650bf0e8dd6739220498d4c706cc3e844f7bbe1cf9934e25cfd0e85f349ebf56527366193d5a39af77afe030a8df77de1f49f3b75e110977d163873 DIST aws-cli-1.29.56.gh.tar.gz 2554744 BLAKE2B ed08837a56f8bf1f58dbd35a08aa79333b69428e20b47447f0cf9bef18def2b0f2ff3c552fa5394eb48d5f515831e4bc5ceaec582159be683af74c783ce3e1be SHA512 73a31164e099f70f689599df10d65e9bd5bcbfbe7398eeccd9b9ac4f6fee3701be37d5ac3946f3bf7a8588dd4755a15237848e5346bc66497f87d08dc2917b6b DIST aws-cli-1.29.57.gh.tar.gz 2556732 BLAKE2B 8bbd17041c28e18f1b94421e624e3e7209a751bcd5508b75ff5473aba814e00453159151ddbc1daca5013d06cf418384af1703a34ddf9ecb7b6dbdfe5b91c3c9 SHA512 4cbc7df76930ce5626b45a100e1fe62695d470f02af025e483eb161f92828d2d535e91b3200f9c55dc50f30955b88e5f74e015e229649e2debac0acb2da5345b +DIST aws-cli-1.29.58.gh.tar.gz 2557504 BLAKE2B 3325dc80048feda09ebaa096b3c7be6b3da54991bf31d581a1f004844a7dd041e233d101f9f23bcfc977c02c5ed07ed08ee912a3b32b96292f68af507bec92af SHA512 5a84840be3e480651860962f8b9c6f9bf23bdef68bb521af840f4609aa4b577f43219f07e6c3440b0e25a9263359b342caec877696767a51daba6397f959aa7b +DIST aws-cli-1.29.59.gh.tar.gz 2558295 BLAKE2B 16d38585064cd75b1c2e1e804bc2fa4224634032b2eb905bb55f64be53b6737748ce688349ee51f54bedf73c3d2f50da92c9465fc2604fc288b6c07613ed3fe3 SHA512 7f7c850211ae172387809a04aeecafc250f31b513bc35028fb5ca6425190524071c51fc722962e1a069282a6281afb9baed0f5b5c2e66534c362e6947bf3b07e diff --git a/app-admin/awscli/awscli-1.29.58.ebuild b/app-admin/awscli/awscli-1.29.58.ebuild new file mode 100644 index 0000000000000..941051349113c --- /dev/null +++ b/app-admin/awscli/awscli-1.29.58.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# botocore is x.(y+2).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)" +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # broken xdist (signal() works only in main thread) + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows + tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking + tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success + tests/unit/test_compat.py::TestIgnoreUserSignals + tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c + tests/unit/test_help.py::TestHelpPager::test_can_render_contents + tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + + insinto /usr/share/zsh/site-functions + newins bin/aws_zsh_completer.sh _aws + + distutils-r1_python_install_all + + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die +} diff --git a/app-admin/awscli/awscli-1.29.59.ebuild b/app-admin/awscli/awscli-1.29.59.ebuild new file mode 100644 index 0000000000000..941051349113c --- /dev/null +++ b/app-admin/awscli/awscli-1.29.59.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# botocore is x.(y+2).z +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)" +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # broken xdist (signal() works only in main thread) + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows + tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking + tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success + tests/unit/test_compat.py::TestIgnoreUserSignals + tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c + tests/unit/test_help.py::TestHelpPager::test_can_render_contents + tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + + insinto /usr/share/zsh/site-functions + newins bin/aws_zsh_completer.sh _aws + + distutils-r1_python_install_all + + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die +} diff --git a/app-admin/ccze/ccze-0.2.1-r4.ebuild b/app-admin/ccze/ccze-0.2.1-r4.ebuild deleted file mode 100644 index b2374ea76464b..0000000000000 --- a/app-admin/ccze/ccze-0.2.1-r4.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools fixheadtails toolchain-funcs - -DESCRIPTION="A flexible and fast logfile colorizer" -HOMEPAGE="https://git.madhouse-project.org/archive/ccze" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" - -RESTRICT="test" - -DEPEND="dev-libs/libpcre - sys-libs/ncurses:0=" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ ) - -PATCHES=( - "${FILESDIR}"/ccze-fbsd.patch - "${FILESDIR}"/ccze-segfault.patch - "${FILESDIR}"/ccze-ldflags.patch - "${FILESDIR}"/${P}-tinfo.patch -) - -src_prepare() { - default - - # GCC 4.x fixes - sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \ - -i src/Makefile.in || die - sed -e '/AC_CHECK_TYPE(error_t, int)/d' \ - -i configure.ac || die - - eautoreconf - - ht_fix_file Rules.mk.in - - tc-export CC -} diff --git a/app-admin/ccze/ccze-0.2.1-r5.ebuild b/app-admin/ccze/ccze-0.2.1-r5.ebuild index 3ec8e0d7bea11..ee9d43a6124f9 100644 --- a/app-admin/ccze/ccze-0.2.1-r5.ebuild +++ b/app-admin/ccze/ccze-0.2.1-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc x86" +KEYWORDS="amd64 ~arm ppc x86" RESTRICT="test" # bug 913965 diff --git a/app-admin/cronolog/cronolog-1.6.2-r5.ebuild b/app-admin/cronolog/cronolog-1.6.2-r5.ebuild deleted file mode 100644 index f8b32bd5968e2..0000000000000 --- a/app-admin/cronolog/cronolog-1.6.2-r5.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="Log rotation software" -HOMEPAGE="https://github.com/fordmason/cronolog" -SRC_URI="http://cronolog.org/download/${P}.tar.gz" - -LICENSE="GPL-2+ Apache-1.0" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" - -PATCHES=( - "${FILESDIR}"/${PV}-patches - # rename and move into ${PV}-patches after -r3 removal - "${FILESDIR}"/${P}-umask.patch -) - -src_prepare() { - default - mv configure.{in,ac} || die - eautoreconf -} diff --git a/app-admin/cronolog/cronolog-1.6.2-r6.ebuild b/app-admin/cronolog/cronolog-1.6.2-r6.ebuild index b671c75b43d74..913f65fbd788c 100644 --- a/app-admin/cronolog/cronolog-1.6.2-r6.ebuild +++ b/app-admin/cronolog/cronolog-1.6.2-r6.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://cronolog.org/download/${P}.tar.gz" LICENSE="GPL-2+ Apache-1.0" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc x86" +KEYWORDS="amd64 ~arm ppc x86" PATCHES=( "${FILESDIR}"/${PV}-patches diff --git a/app-admin/ide-smart/ide-smart-1.4-r2.ebuild b/app-admin/ide-smart/ide-smart-1.4-r2.ebuild deleted file mode 100644 index b064d1e5e2224..0000000000000 --- a/app-admin/ide-smart/ide-smart-1.4-r2.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="A tool to read SMART information from harddiscs" -HOMEPAGE="http://www.linalco.com/comunidad.html http://www.linux-ide.org/smart.html" -SRC_URI="http://www.linalco.com/ragnar/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86" -IUSE="" - -src_compile() { - $(tc-getCC) ${CFLAGS} -Wall ${LDFLAGS} -o ${PN} ${PN}.c || die "compile" -} - -src_install() { - dobin ide-smart - doman ide-smart.8 - dodoc README -} diff --git a/app-admin/ide-smart/ide-smart-1.4-r3.ebuild b/app-admin/ide-smart/ide-smart-1.4-r3.ebuild index a74faf6fb3980..c83f7dcaf4b6d 100644 --- a/app-admin/ide-smart/ide-smart-1.4-r3.ebuild +++ b/app-admin/ide-smart/ide-smart-1.4-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.linalco.com/ragnar/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc sparc x86" +KEYWORDS="amd64 ppc sparc x86" src_compile() { edo $(tc-getCC) ${CFLAGS} ${CPPFLAGS} -Wall ${LDFLAGS} -o ${PN} ${PN}.c diff --git a/app-admin/logcheck/logcheck-1.4.3-r1.ebuild b/app-admin/logcheck/logcheck-1.4.3-r2.ebuild similarity index 98% rename from app-admin/logcheck/logcheck-1.4.3-r1.ebuild rename to app-admin/logcheck/logcheck-1.4.3-r2.ebuild index 76743bb9b2200..5331024d608ae 100644 --- a/app-admin/logcheck/logcheck-1.4.3-r1.ebuild +++ b/app-admin/logcheck/logcheck-1.4.3-r2.ebuild @@ -29,6 +29,7 @@ RDEPEND=" dev-lang/perl dev-perl/mime-construct virtual/mailx + cron? ( app-admin/sudo ) " DOC_CONTENTS=" diff --git a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild deleted file mode 100644 index 3613336e1ebdb..0000000000000 --- a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Automatically monitor system logs and mail security violations" -# Seems that the project has been discontinued by CISCO? -HOMEPAGE="https://sourceforge.net/projects/sentrytools/" -SRC_URI="mirror://gentoo/${P}.tar.gz" -S="${WORKDIR}"/logcheck-${PV} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ~mips ppc ~s390 sparc x86" -IUSE="selinux" - -RDEPEND=" - virtual/mailx - selinux? ( sec-policy/selinux-logsentry ) -" - -src_compile() { - einfo "compile and install mixed in the package makefile" -} - -src_install() { - dodir /usr/bin /var/tmp/logcheck /etc/logcheck - - cp systems/linux/logcheck.sh{,.orig} || die - - sed -i \ - -e 's:/usr/local/bin:/usr/bin:' \ - -e 's:/usr/local/etc:/etc/logcheck:' \ - -e 's:/etc/logcheck/tmp:/var/tmp/logcheck:' \ - systems/linux/logcheck.sh || \ - die "sed logcheck.sh failed" - sed -i \ - -e "s:/usr/local/bin:${D}/usr/bin:" \ - -e "s:/usr/local/etc:${D}/etc/logcheck:" \ - -e "s:/etc/logcheck/tmp:/var/tmp/logcheck:" \ - -e "s:\$(CC):& \$(LDFLAGS):" \ - Makefile || die "sed Makefile failed" - - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux - - dodoc README* CHANGES CREDITS - dodoc systems/linux/README.* - - cat << EOF > "${S}"/logsentry.cron || die -#!/bin/sh -# -# Uncomment the following if you want -# logsentry (logcheck) to run hourly -# -# this is part of the logsentry package -# -# - -#/bin/sh /etc/logcheck/logcheck.sh -EOF - - exeinto /etc/cron.hourly - doexe logsentry.cron -} - -pkg_postinst() { - elog - elog "Uncomment the logcheck line in /etc/cron.hourly/logsentry.cron," - elog "or add directly to root's crontab" - elog -} diff --git a/app-admin/logsentry/logsentry-1.1.1-r3.ebuild b/app-admin/logsentry/logsentry-1.1.1-r3.ebuild index 1f3bfd76f1bc0..8676acdc4a74d 100644 --- a/app-admin/logsentry/logsentry-1.1.1-r3.ebuild +++ b/app-admin/logsentry/logsentry-1.1.1-r3.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}"/logcheck-${PV} LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm ~mips ~ppc ~s390 sparc x86" +KEYWORDS="amd64 arm ~mips ppc ~s390 sparc x86" IUSE="selinux" RDEPEND=" diff --git a/app-admin/mkosi/Manifest b/app-admin/mkosi/Manifest index 033979cc38cc6..cb5de898dac6b 100644 --- a/app-admin/mkosi/Manifest +++ b/app-admin/mkosi/Manifest @@ -1 +1,2 @@ DIST mkosi-15.1.tar.gz 120606 BLAKE2B 36171c08c18dd3ba3c2e54c8a3374fad2a9b008f8253e6cd57cedf7b7e8216b6610b30f9f46aa634de62ebf257d1e8eff94a83b07c027708e4875e24bc0a8305 SHA512 3b65c6b964aa2bde12117b7b2c3e4be0ac72036a92a115f1e93e7be0b3b0aa0bd3adb753ee49865723a9bc677bc4492416caafff4fec3ffd942de78357c11608 +DIST mkosi-17.1.tar.gz 133505 BLAKE2B 96824568dd53cd83a1f8b95072c750e1a0bbd06356df19c62ea9799a5d8f1b2e55f108a3ec3cf171f5dfdefcc1ac5bc86785a60d80def38a5e1817b91f1d9486 SHA512 59988a6a81c0456df6fa9673032d1e25c5cc382b45fd0299c974559d573279c4c38f5600b4e14a71ecdaa013d9b97b90cc815b3b601a7dd061924519cd8b76bf diff --git a/app-admin/mkosi/mkosi-17.1-r1.ebuild b/app-admin/mkosi/mkosi-17.1-r1.ebuild new file mode 100644 index 0000000000000..a01776550dcf2 --- /dev/null +++ b/app-admin/mkosi/mkosi-17.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Build Bespoke OS Images" +HOMEPAGE="https://github.com/systemd/mkosi" +SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +RDEPEND=" + app-emulation/qemu + sys-apps/bubblewrap + >=sys-apps/systemd-254 + sys-firmware/edk2-ovmf" +BDEPEND="virtual/pandoc" + +distutils_enable_tests pytest + +src_compile() { + distutils-r1_src_compile + + ./tools/make-man-page.sh || die +} + +src_install() { + distutils-r1_src_install + + doman mkosi/resources/mkosi.1 +} + +pkg_postinst() { + optfeature "For debian support: " dev-util/debootstrap +} diff --git a/app-admin/ps_mem/ps_mem-3.14-r1.ebuild b/app-admin/ps_mem/ps_mem-3.14-r1.ebuild index ff05b4f720e5a..59f3c0578f525 100644 --- a/app-admin/ps_mem/ps_mem-3.14-r1.ebuild +++ b/app-admin/ps_mem/ps_mem-3.14-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/pixelb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ppc64 sparc x86" +KEYWORDS="amd64 ~arm64 ppc64 sparc x86" IUSE="" python_install() { diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest index 603bd4cea9400..ebb92c6431fe7 100644 --- a/app-admin/setools/Manifest +++ b/app-admin/setools/Manifest @@ -1,3 +1 @@ -DIST setools-4.4.0.tar.bz2 275218 BLAKE2B f716a78dd628e0309d3802f2155ef3a045dd8ebee7dec42be9f8b5fc0069b0df4e3d827b0a0cc03f7f02f5a3dff1d7ab7e4eee0d83d6cf4c87af82fe756a9321 SHA512 2ec92d7a6e30261549b6a8d2f17175d4a7d8313ef0cd81f4a19a91c53fe0107bac9a89c19dd67a4c534ee51ec520590795b4312f9e03e69fdf1763b0c35291f8 -DIST setools-4.4.1.tar.bz2 262328 BLAKE2B 328a54b8efd570fad03b27a9e52b7c573e0afb6fe23a245ad248fe8931dd737729aac5d9b6371c163d1939043a777b69cf78091cde8c33e5ef7670110615285e SHA512 af1844f7f7232729eb7e93f6680775818cda93532c62524c5385a4ac7437c51bdb58ebd970a9f61f6e1b018367853d35303d3c5ee1cc087e0e26e893be42d559 DIST setools-4.4.2.tar.bz2 261962 BLAKE2B 7c8e47d8c15f1eb72d93da5d3ae1a64e857ed0a75e1a47bbad9e4b0d11180581d9e4705ebe942e460acbc4d68261f06f9b03a8c4af1516cc388c201e30dca75e SHA512 4e8cba61ca28459387d862136a2d8ee0914c4bcd254a6d39792cbfcbbf7e58cb82223c05d66c114b08aebbd75c11cef11517c51f674ddb3c1913dc85414546c1 diff --git a/app-admin/setools/files/0001-__init__.py-Make-NetworkX-dep-optional.patch b/app-admin/setools/files/0001-__init__.py-Make-NetworkX-dep-optional.patch deleted file mode 100644 index 3137f1a89f9ab..0000000000000 --- a/app-admin/setools/files/0001-__init__.py-Make-NetworkX-dep-optional.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 32eed2ae8fcd868179a317d48cfd61d828c834df Mon Sep 17 00:00:00 2001 -From: Jason Zaman -Date: Sun, 19 Sep 2021 14:12:44 +0200 -Subject: [PATCH] __init__.py: Make NetworkX dep optional - -selinux commit ba23ba068364ab11ff51f52bd1e20e3c63798a62 -"python: Import specific modules from setools for less deps" -Makes userspace tools only need specific parts of setools so that the -NetworkX dep can be dropped for minimal installations. -Unfortunately the __init__ still imports the parts which require -NetworkX. Wrap them in try except to guard for missing NetworkX. - -$ semanage export -Traceback (most recent call last): - File "/usr/lib/python-exec/python3.9/semanage", line 29, in - import seobject - File "/usr/lib/python3.9/site-packages/seobject.py", line 33, in - import sepolicy - File "/usr/lib/python3.9/site-packages/sepolicy/__init__.py", line 15, in - from setools.boolquery import BoolQuery - File "/usr/lib/python3.9/site-packages/setools/__init__.py", line 94, in - from .infoflow import InfoFlowAnalysis - File "/usr/lib/python3.9/site-packages/setools/infoflow.py", line 24, in - import networkx as nx -ModuleNotFoundError: No module named 'networkx' - -Bug: https://bugs.gentoo.org/809038 -Signed-off-by: Jason Zaman ---- - setools/__init__.py | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/setools/__init__.py b/setools/__init__.py -index d72d343..e583737 100644 ---- a/setools/__init__.py -+++ b/setools/__init__.py -@@ -91,11 +91,20 @@ from .pcideviceconquery import PcideviceconQuery - from .devicetreeconquery import DevicetreeconQuery - - # Information Flow Analysis --from .infoflow import InfoFlowAnalysis -+try: -+ from .infoflow import InfoFlowAnalysis -+except ImportError: -+ # NetworkX is optional -+ pass -+ - from .permmap import PermissionMap, RuleWeight, Mapping - - # Domain Transition Analysis --from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition -+try: -+ from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition -+except ImportError: -+ # NetworkX is optional -+ pass - - # Policy difference - from .diff import PolicyDifference --- -2.32.0 - diff --git a/app-admin/setools/files/setools-4.4.0-remove-gui.patch b/app-admin/setools/files/setools-4.4.0-remove-gui.patch deleted file mode 100644 index 01b40adb29db0..0000000000000 --- a/app-admin/setools/files/setools-4.4.0-remove-gui.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/setup.py 2021-03-17 22:56:42.016632635 +0000 -+++ b/setup.py 2021-03-17 23:02:33.625713629 +0000 -@@ -139,10 +139,10 @@ setup(name='setools', - author_email='pebenito@ieee.org', - url='https://github.com/SELinuxProject/setools', - cmdclass={'build_qhc': QtHelpCommand, 'clean': CleanCommand}, -- packages=['setools', 'setools.checker', 'setools.diff', 'setoolsgui', 'setoolsgui.apol'], -- scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta', 'sechecker'], -+ packages=['setools', 'setools.checker', 'setools.diff'], -+ scripts=['sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta', 'sechecker'], - data_files=installed_data, -- package_data={'': ['*.ui', '*.qhc', '*.qch'], 'setools': ['perm_map']}, -+ package_data={'setools': ['perm_map']}, - ext_modules=cythonize(ext_py_mods, include_path=['setools/policyrep'], - annotate=cython_annotate, - compiler_directives={"language_level": 3, diff --git a/app-admin/setools/metadata.xml b/app-admin/setools/metadata.xml index 9e77647c601c1..2367a4105f5c6 100644 --- a/app-admin/setools/metadata.xml +++ b/app-admin/setools/metadata.xml @@ -5,9 +5,6 @@ selinux@gentoo.org SELinux Team - - Depend on dev-python/networkx to use seinfoflow - SELinuxProject/setools diff --git a/app-admin/setools/setools-4.4.0-r3.ebuild b/app-admin/setools/setools-4.4.0-r3.ebuild deleted file mode 100644 index 7281dedc39049..0000000000000 --- a/app-admin/setools/setools-4.4.0-r3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Policy Analysis Tools for SELinux" -HOMEPAGE="https://github.com/SELinuxProject/setools/wiki" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git" -else - SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2" - KEYWORDS="amd64 arm arm64 x86" -fi - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -IUSE="test infoflow X" -RESTRICT="!test? ( test )" -S="${WORKDIR}/${PN}" - -RDEPEND="${PYTHON_DEPS} - dev-python/setuptools[${PYTHON_USEDEP}] - >=sys-libs/libsepol-3.2:= - >=sys-libs/libselinux-3.2:= - infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] ) - X? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND}" -BDEPEND="=dev-python/networkx-2.0[${PYTHON_USEDEP}] - sys-apps/checkpolicy - )" - -python_prepare_all() { - sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror" - sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \ - die "failed to set lib_dirs" - - local PATCHES=( "${FILESDIR}"/0001-__init__.py-Make-NetworkX-dep-optional.patch ) - use X || PATCHES+=( "${FILESDIR}"/setools-4.4.0-remove-gui.patch ) - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test -} diff --git a/app-admin/setools/setools-4.4.1-r1.ebuild b/app-admin/setools/setools-4.4.1-r1.ebuild deleted file mode 100644 index b47388f730189..0000000000000 --- a/app-admin/setools/setools-4.4.1-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_EXT=1 -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Policy Analysis Tools for SELinux" -HOMEPAGE="https://github.com/SELinuxProject/setools/wiki" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git" - S="${WORKDIR}/${P}" -else - SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" - S="${WORKDIR}/${PN}" -fi - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -IUSE="test infoflow X" -RESTRICT="!test? ( test )" - -RDEPEND="${PYTHON_DEPS} - dev-python/setuptools[${PYTHON_USEDEP}] - >=sys-libs/libsepol-3.2:= - >=sys-libs/libselinux-3.2:= - infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] ) - X? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND}" -BDEPEND=">=dev-python/cython-0.27[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/networkx-2.0[${PYTHON_USEDEP}] - sys-apps/checkpolicy - )" - -PATCHES=( - "${FILESDIR}"/0001-__init__.py-Make-NetworkX-dep-optional.patch - "${FILESDIR}"/${P}-cython3.patch -) - -distutils_enable_tests setup.py - -python_prepare_all() { - sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror" - sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \ - die "failed to set lib_dirs" - - use X || PATCHES+=( "${FILESDIR}"/setools-4.4.0-remove-gui.patch ) - distutils-r1_python_prepare_all -} diff --git a/app-admin/setools/setools-4.4.1.ebuild b/app-admin/setools/setools-4.4.1.ebuild deleted file mode 100644 index 52dcc404d73cd..0000000000000 --- a/app-admin/setools/setools-4.4.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Policy Analysis Tools for SELinux" -HOMEPAGE="https://github.com/SELinuxProject/setools/wiki" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git" - S="${WORKDIR}/${P}" -else - SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" - S="${WORKDIR}/${PN}" -fi - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -IUSE="test infoflow X" -RESTRICT="!test? ( test )" - -RDEPEND="${PYTHON_DEPS} - dev-python/setuptools[${PYTHON_USEDEP}] - >=sys-libs/libsepol-3.2:= - >=sys-libs/libselinux-3.2:= - infoflow? ( >=dev-python/networkx-2.0[${PYTHON_USEDEP}] ) - X? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND}" -BDEPEND=">=dev-python/cython-0.27[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/networkx-2.0[${PYTHON_USEDEP}] - sys-apps/checkpolicy - )" - -python_prepare_all() { - sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror" - sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \ - die "failed to set lib_dirs" - - PATCHES=( "${FILESDIR}"/0001-__init__.py-Make-NetworkX-dep-optional.patch ) - use X || PATCHES+=( "${FILESDIR}"/setools-4.4.0-remove-gui.patch ) - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test -} diff --git a/app-admin/sxid/sxid-4.2-r2.ebuild b/app-admin/sxid/sxid-4.2-r2.ebuild deleted file mode 100644 index 18bb7f556062d..0000000000000 --- a/app-admin/sxid/sxid-4.2-r2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="suid, sgid file and directory checking" -HOMEPAGE="http://linukz.org/sxid.shtml https://github.com/taem/sxid" -SRC_URI="http://linukz.org/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="selinux" - -RDEPEND=" - virtual/mailx - selinux? ( sec-policy/selinux-sxid ) -" - -DOCS=( docs/sxid.{conf,cron}.example ) - -src_prepare() { - default - # this is an admin application and really requires root to run correctly - # we need to move the binary to the sbin directory - sed -i s/bindir/sbindir/g source/Makefile.in || die - eautoreconf -} - -pkg_postinst() { - elog - elog "You will need to configure sxid.conf for your system using the manpage and example" - elog -} diff --git a/app-admin/sxid/sxid-4.2-r3.ebuild b/app-admin/sxid/sxid-4.2-r3.ebuild index 098530470c414..42953f3c0b36a 100644 --- a/app-admin/sxid/sxid-4.2-r3.ebuild +++ b/app-admin/sxid/sxid-4.2-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://linukz.org/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ppc x86" IUSE="selinux" RDEPEND=" diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest index 5b493e21435af..d832a4da562d4 100644 --- a/app-backup/dar/Manifest +++ b/app-backup/dar/Manifest @@ -1,2 +1,2 @@ DIST dar-2.7.10.tar.gz 2418752 BLAKE2B 31365e900cdcd89c297f78953e82d7288cec524cc3f01a71f659a4e0238797d72c0c629d6fcfad00fa7bdaae1b846d86daa50c7857b13cac0ffac9e98bc398ef SHA512 3b75f06013d13f315280625b3ebf147e833b91164646f271ff81aa0961b788eb12a4dc6a743bbd8de4c7347bad03f2372fd8f5c038d0a83d45f3479cdba4cece -DIST dar-2.7.12.tar.gz 2421683 BLAKE2B 3dc5fc362dbdc47acef33a57c07b21bb2e1cd197bb3475ecf27cf2cb8b54f13a962a386a8e472fc53e3069bbc6acc549e66fadafd1572cbba93eb41f1d493661 SHA512 55b4215da23ca63de479ab34f0d50e4eeb13548891e537702971ec6fc6e6a19e44282a6a711549f468abd507bc1d67f9df08fb76b4b5208c6e8843b3042d5ad2 +DIST dar-2.7.13.tar.gz 2425559 BLAKE2B 321a43b04553505279de6f6b27e332883f4209bbe81e24c418188f028b7ba7a794d4e0f510f2c6a22a57fbdbc0501d4fcf7201aadb8cca3e65c6649bff7cfedf SHA512 e7a4bd89ccefaca1d9251d05c39e80f9861b8154f414cd578ba98c3cf3a9f945738c6225fd007b5e73c2d7c2e4abe547e9a2e2deec2cb7e0ec5860603add64fb diff --git a/app-backup/dar/dar-2.7.12.ebuild b/app-backup/dar/dar-2.7.13.ebuild similarity index 97% rename from app-backup/dar/dar-2.7.12.ebuild rename to app-backup/dar/dar-2.7.13.ebuild index e6bca3c7f42f5..f1fd127a9c8dc 100644 --- a/app-backup/dar/dar-2.7.12.ebuild +++ b/app-backup/dar/dar-2.7.13.ebuild @@ -34,7 +34,10 @@ RDEPEND=" dev-libs/libgcrypt:0= dev-libs/libgpg-error ) - gpg? ( app-crypt/gpgme:= ) + gpg? ( + app-crypt/gpgme:= + dev-libs/libassuan + ) lz4? ( app-arch/lz4:= ) lzo? ( dev-libs/lzo:2 ) nls? ( virtual/libintl ) diff --git a/app-benchmarks/geekbench/Manifest b/app-benchmarks/geekbench/Manifest index 7ad7f65002dac..b09c3a46fd3b0 100644 --- a/app-benchmarks/geekbench/Manifest +++ b/app-benchmarks/geekbench/Manifest @@ -6,5 +6,5 @@ DIST Geekbench-5.5.1-Linux.tar.gz 93199992 BLAKE2B e2ff24da19134778dd1b3036ac3fb DIST Geekbench-5.5.1-LinuxARMPreview.tar.gz 111581640 BLAKE2B be413e306a77c0612be380d0ec0d589067365ac1c4091b55a08b722d469180c9cf9126cc0597e3f3c8a75acf77d2a0423bc43b753f30a219924b1a7df640243d SHA512 1d76b9a7928f89f1fdfa0e3cc9859c305e109cbbe72b013b4c249b03722273c985ad1e5d818341a6e399e9e7b3c61136856df87c9f5e61bcc9e7e0455f80e61b DIST Geekbench-6.1.0-Linux.tar.gz 227951888 BLAKE2B f741eac75043bbe9468597bd791d9a5b69fbab7c085a037b846bbaf985a30066748439fd6dbab11e86a01eab1dfe587767bfd211ea3f8a7d1b70de24d4a45656 SHA512 0d98ced1d7ad259cdd957231a6690d5eaedd345ed5550573d9503c56caef5a6724c3290207305e79dafc6660b209a4748801b52a9baf5fdeda0b81fdec80bcf6 DIST Geekbench-6.1.0-LinuxARMPreview.tar.gz 191699484 BLAKE2B 0702d7e52a06b1e01d87aac1fba1739be0584ca7afb59f17b5eafdcc290a20ed631a15e28c027b1f5df57ce7882dea4c4cc18b02b7a0a133b00cf403bcbea18a SHA512 82047365bfce6dd45d926628435f1a8b85297aac05a358f35254a2d827981f080f1582a4e4ca6b943ac4c527164fa9b50c8f612907de66e5d5751994ee5e5ee0 -DIST Geekbench-6.2.0-Linux.tar.gz 227978869 BLAKE2B 8ec3620ec8f9907e823001285c754be9bbe68d7f0c56e617caa264d4b1c94a01555ffc33e10d99d0f3ce3d5b328435c34fb5f48495d697a2a21a85a2bf6e36ab SHA512 8aadd89feb2da51edeca1c804f68419f37554e714ca58bcc3696c52a564a901bb8c8a27411855e5345afe26b74b091bd76eccfc39ea76b2ead013ba21aa880a5 -DIST Geekbench-6.2.0-LinuxARMPreview.tar.gz 191730360 BLAKE2B a35b699d22302f05ad7c4c62c14ff37755b031f751140947bbb03cc6d131d4b5cfd02fec99aaa6df838518829c58a3df6cc6b19187b51736701c52cfd97c2117 SHA512 a0924920ae634a40931be11df76099a81e5844c3bd3fdd68e88a068e0a32cc2632a702df7612246e96a967a35ecf734569d61d3a6b1207ea87cb417f615004e8 +DIST Geekbench-6.2.1-Linux.tar.gz 227986935 BLAKE2B 1a7e17b91cfab4f6e6ded5d82189f135b410719fb65a64b179a5648a662401c6a81ce0f4f57eeeeb4ce86e78255da5fee556b3c7a0bc491e8415e26ad8b3c0d3 SHA512 37aa1ed8e626eacb962e748059e6c61dc0eff8c78fc4cd7c307b992ec5699814ddfab329296f1874a551d09ad0911939cf3c7b801b3de8eb0a4d598fc28e3fc7 +DIST Geekbench-6.2.1-LinuxARMPreview.tar.gz 191740987 BLAKE2B cde50e718f50974b8ed3840b57e4891132ded77b88afddc2d9199f043e5f86a380314f93ba75a7f813c654d9c010567c51aa1c43341fd9386b895c291f8ed731 SHA512 387b1207cb06bbb305fcd7e1c6bb03ed0ec0bd707284f9b71fb570e12ffe6014dd3f9afa9019046301423a022c4803ec159c8bfbe9342e1171e11b18ff33a175 diff --git a/app-benchmarks/geekbench/geekbench-6.2.0.ebuild b/app-benchmarks/geekbench/geekbench-6.2.1.ebuild similarity index 100% rename from app-benchmarks/geekbench/geekbench-6.2.0.ebuild rename to app-benchmarks/geekbench/geekbench-6.2.1.ebuild diff --git a/app-containers/docker-bench-security/Manifest b/app-containers/docker-bench-security/Manifest index 343ff9b85b6d4..92012dead76a1 100644 --- a/app-containers/docker-bench-security/Manifest +++ b/app-containers/docker-bench-security/Manifest @@ -1,2 +1 @@ -DIST docker-bench-security-1.3.2.tar.gz 414608 BLAKE2B 27977df473c341783aab400bbe5064e267d6f53aa62ffd6f95386572e059616750eb06b98ad3044efaf565f929e6ebfb5d57607b227718032fa33d70ce65eed5 SHA512 7d271167584ff99fdaff15b1d303f1cedeb5888057437cc3bfae8260aff96f98d8a0173c4d4e5718bf8ee4e0ffe3ae0280f0026cf386ae32c38e8302159a2226 DIST docker-bench-security-1.3.3.tar.gz 274361 BLAKE2B b0a3fef0fedd7353a11f18603af0a9bd5a9c5674df8e0c2988f3b7430739b1fe1c37b3bc29323f39604e8f9d3af66e4a64b97c1e4bb1ef253cc39e9b1e1cb6e2 SHA512 0b9a8bb3cc0bf0887f3b3462c3529568f6cc4d327f66fe482ceb24865a3df51ffee48a1a12c93ca13401f23bf1cd47b3e8b25c99537f63a823ff173d54994fe9 diff --git a/app-containers/docker-bench-security/docker-bench-security-1.3.2.ebuild b/app-containers/docker-bench-security/docker-bench-security-1.3.2.ebuild deleted file mode 100644 index 7f98da2072059..0000000000000 --- a/app-containers/docker-bench-security/docker-bench-security-1.3.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Test for best practices around deploying docker containers" -HOMEPAGE="https://github.com/docker/docker-bench-security" -SRC_URI="https://github.com/docker/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=">=app-containers/docker-1.10" - -src_install() { -dobin "${FILESDIR}/docker-bench-security" -exeinto /usr/lib/${PN} -doexe ${PN}.sh -insinto /usr/lib/${PN} -doins -r *lib.sh tests - dodoc -r benchmark_log.png CONTRIBUTING.md distros docker-compose.yml \ - Dockerfile MAINTAINERS README.md -} diff --git a/app-containers/s6-overlay/Manifest b/app-containers/s6-overlay/Manifest index 4b3eabe8b046b..b5a39bab89bfb 100644 --- a/app-containers/s6-overlay/Manifest +++ b/app-containers/s6-overlay/Manifest @@ -1,2 +1 @@ -DIST s6-overlay-1.18.1.3.tar.gz 20067 BLAKE2B 7006549052fb27c8e7ec2a756854ebd82a41a88e14be45657c375321f4c18f482aefc8d21f1d57d8432ff1b836f114aac75a28b56bdd7722b14de3c06330024d SHA512 2b17b86a93e1efc27181a100bb86aacbce2e2c58cfd0d0855a293b99ba5c871a2f17bd10fa14b173b297816ae2d1658aaee2e6a6e25b957ad60f93d535955775 DIST s6-overlay-2.1.0.2.tar.gz 30688 BLAKE2B 14d631a23be831d9dbc62a7e5ca341320eb8a0f46ae94d243bba4d6ba8fe9f6102dc818555398af64a207ea3056eb2cbbe045b5ec3baaf7d3a058217ad20e4f7 SHA512 6ff18566c64031fca985b36d6cbba646c3fb5c7f16a9d2dcca74e66ed4de5f10399c2142453e550c4e711f716158b91dd5777c7f6a03a91ed61ca9e81d6cef30 diff --git a/app-containers/s6-overlay/s6-overlay-1.18.1.3.ebuild b/app-containers/s6-overlay/s6-overlay-1.18.1.3.ebuild deleted file mode 100644 index c9dd1445da215..0000000000000 --- a/app-containers/s6-overlay/s6-overlay-1.18.1.3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} = 9999 ]]; then - EGIT_REPO_URI="https://github.com/just-containers/${PN}" - inherit git-r3 -else - SRC_URI="https://github.com/just-containers/${PN}/archive/v${PV}.tar.gz -> - ${P}.tar.gz" - KEYWORDS="~amd64" - inherit vcs-snapshot -fi - -DESCRIPTION="an s6-based init system for containers" -HOMEPAGE="https://github.com/just-containers/s6-overlay" - -LICENSE="ISC" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="sys-apps/s6 - sys-apps/s6-portable-utils" - -src_install() { - dodoc *.md - cd builder/overlay-rootfs - dobin usr/bin/{fix-attrs,logutil*,print*,with*} - - insinto / - doins -r etc init - - # create must exist directories - dodir /etc/{cont-init.d,cont-finish.d,fix-attrs.d,services.d} - dodir /etc/s6/init/env-stage2 - - # create "supervise" directory in fdholder, its needed for no-catchall - # stage2 wake up - dodir /etc/s6/services/s6-fdholderd/supervise - fperms 0700 /etc/s6/services/s6-fdholderd/supervise - - # fix misc permissions - fperms 0755 /init - fperms 0755 /etc/s6/init/init-stage1 \ - /etc/s6/init/init-stage2 \ - /etc/s6/init/init-stage2-redirfd \ - /etc/s6/init/init-stage3 - fperms 0755 /etc/s6/init-catchall/init-stage1 \ - /etc/s6/init-catchall/init-stage2 - fperms 0755 /etc/s6/init-no-catchall/init-stage1 \ - /etc/s6/init-no-catchall/init-stage2 - fperms 0755 /etc/s6/services/.s6-svscan/crash - fperms 0755 /etc/s6/services/.s6-svscan/finish - fperms 0755 /etc/s6/services/s6-fdholderd/run - fperms 0755 /etc/s6/services/s6-svscan-log/run -} diff --git a/app-containers/snapd/Manifest b/app-containers/snapd/Manifest index f946383558e02..6fbf0bccd5a27 100644 --- a/app-containers/snapd/Manifest +++ b/app-containers/snapd/Manifest @@ -1,3 +1,4 @@ DIST snapd-2.57.6.tar.xz 6889052 BLAKE2B 5d1190f3d1ccc6446f950cc95c09180707c3a96285bcdd197aef06b2d69cfef6daf85a93844f105dd434b29b73d3b9c832dfcbebcdc2451443eb5421046de849 SHA512 cd74fa92cddff3452448a50536ded504c68ca6f786b465b8561ccc43c02856742a895efb71bf92b8d125173e0d083faf61ca563f69da03ebf3c4df1b0b0b8d5e DIST snapd-2.58.tar.xz 6980916 BLAKE2B d3de507513db808fa4f85498b5c238de143f06660f1d677186c8c763b38643a2486e25b747977b3eb584619d79ea0a12e88dc5a909045a853c1d8f849f2c1638 SHA512 555915b8b4d9d2d91a3ba19e9e78cf6b19d9683a9f390ad225aa5876320cb8595b464d6133706c4923fc15fbe04ba2b65a47e403c9a2d8859adae827f8ec000a DIST snapd-2.60.3.tar.xz 7184964 BLAKE2B c40c4e041a91de1732c23b5845a322873498da76d50e0c91e97941d1fc4f6f1991fe2b009414952bf0ebb614e8e19a0015c698ff09c61a12940349ea714f77f0 SHA512 630738c956773354006c195bfe954902b0d082e94345b54c6a6795139d36e1f95a236c6e9a8947338e03caca03520c6e8c1a1c44d3788ec93107f7f97b2d952d +DIST snapd-2.60.4.tar.xz 7187708 BLAKE2B 488ca5b70e9174f07ac54cbc221a323607e337dbde45e7c4d11669ed2f61409fa7bb21b4a5432cd84fb312d92cacf19e5bccc80ef77b71233e19e158d937ac04 SHA512 3035e4e5d52fef00606bc532f855817200d9f6035f660b0377d5dccf5bb64bbf0a94a4e3b8f3941e54b62259378dae4084baa2a29fb5120c714559c899c33c0e diff --git a/app-containers/snapd/snapd-2.60.4.ebuild b/app-containers/snapd/snapd-2.60.4.ebuild new file mode 100644 index 0000000000000..7bd5d8f6f6e38 --- /dev/null +++ b/app-containers/snapd/snapd-2.60.4.ebuild @@ -0,0 +1,179 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools bash-completion-r1 flag-o-matic go-module linux-info readme.gentoo-r1 systemd tmpfiles xdg-utils + +DESCRIPTION="Service and tools for management of snap packages" +HOMEPAGE="http://snapcraft.io/" + +SRC_URI="https://github.com/snapcore/snapd/releases/download/${PV}/snapd_${PV}.vendor.tar.xz -> ${P}.tar.xz" +MY_PV=${PV} +KEYWORDS="~amd64" + +LICENSE="GPL-3 Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT" +SLOT="0" +IUSE="apparmor +forced-devmode gtk kde systemd" +REQUIRED_USE="!forced-devmode? ( apparmor ) systemd" + +CONFIG_CHECK="~CGROUPS + ~CGROUP_DEVICE + ~CGROUP_FREEZER + ~NAMESPACES + ~SQUASHFS + ~SQUASHFS_ZLIB + ~SQUASHFS_LZO + ~SQUASHFS_XZ + ~BLK_DEV_LOOP + ~SECCOMP + ~SECCOMP_FILTER" + +RDEPEND=" + sys-libs/libseccomp:= + apparmor? ( + sec-policy/apparmor-profiles + sys-apps/apparmor:= + ) + dev-libs/glib + virtual/libudev + systemd? ( sys-apps/systemd ) + sys-libs/libcap:= + sys-fs/squashfs-tools[lzma,lzo]" + +DEPEND="${RDEPEND}" + +BDEPEND=" + >=dev-lang/go-1.9 + dev-python/docutils + sys-devel/gettext + sys-fs/xfsprogs" + +PDEPEND="sys-auth/polkit[gtk?,kde?]" + +README_GENTOO_SUFFIX="" + +pkg_setup() { + if use apparmor; then + CONFIG_CHECK+=" ~SECURITY_APPARMOR" + fi + linux-info_pkg_setup + + # Seems to have issues building with -O3, switch to -O2 + replace-flags -O3 -O2 +} + +src_prepare() { + default + # Update apparmor profile to allow libtinfow.so* + sed -i 's/libtinfo/libtinfo{,w}/' \ + "cmd/snap-confine/snap-confine.apparmor.in" || die + + if ! use forced-devmode; then + sed -e 's#return !apparmorFull#if !apparmorFull {\n\t\tpanic("USE=forced-devmode is disabled")\n\t}\n\treturn false#' \ + -i "sandbox/forcedevmode.go" || die + grep -q 'panic("USE=forced-devmode is disabled")' "sandbox/forcedevmode.go" || die "failed to disable forced-devmode" + fi + + sed -i 's:command -v git >/dev/null:false:' -i "mkversion.sh" || die + + ./mkversion.sh "${PV}" + pushd "cmd" >/dev/null || die + eautoreconf +} + +src_configure() { + SNAPD_MAKEARGS=( + "BINDIR=${EPREFIX}/usr/bin" + "DBUSSERVICESDIR=${EPREFIX}/usr/share/dbus-1/services" + "LIBEXECDIR=${EPREFIX}/usr/lib" + "SNAP_MOUNT_DIR=${EPREFIX}/var/lib/snapd/snap" + "SYSTEMDSYSTEMUNITDIR=$(systemd_get_systemunitdir)" + ) + export CGO_ENABLED="1" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + pushd "${S}/cmd" >/dev/null || die + econf --libdir="${EPREFIX}/usr/lib" \ + --libexecdir="${EPREFIX}/usr/lib/snapd" \ + $(use_enable apparmor) \ + --enable-nvidia-biarch \ + --with-snap-mount-dir="${EPREFIX}/var/lib/snapd/snap" +} + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME + export GOBIN="${S}/bin" + + local file + for file in "${S}/po/"*.po; do + msgfmt "${file}" -o "${file%.po}.mo" || die + done + + emake -C "${S}/data" "${SNAPD_MAKEARGS[@]}" + + local -a flags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath) + local -a staticflags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS} -static'" -trimpath) + + local cmd + for cmd in snap snapd snapd-apparmor snap-bootstrap snap-failure snap-preseed snap-recovery-chooser snap-repair snap-seccomp; do + go build ${GOFLAGS} -mod=vendor -o "${GOBIN}/${cmd}" "${flags[@]}" \ + -v -x "github.com/snapcore/${PN}/cmd/${cmd}" + [[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}" + done + for cmd in snapctl snap-exec snap-update-ns; do + go build ${GOFLAGS} -mod=vendor -o "${GOBIN}/${cmd}" "${staticflags[@]}" \ + -v -x "github.com/snapcore/${PN}/cmd/${cmd}" + [[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}" + done +} + +src_install() { + emake -C "${S}/data" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}" + emake -C "${S}/cmd" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}" + + if use apparmor; then + mv "${ED}/etc/apparmor.d/usr.lib.snapd.snap-confine"{,.real} || die + keepdir /var/lib/snapd/apparmor/profiles + fi + keepdir /var/lib/snapd/{apparmor/snap-confine,cache,cookie,snap,void} + fperms 700 /var/lib/snapd/{cache,cookie} + + dobin "${GOBIN}/"{snap,snapctl} + ln "${ED}/usr/bin/snapctl" "${ED}/usr/lib/snapd/snapctl" || die + + exeinto /usr/lib/snapd + doexe "${GOBIN}/"{snapd,snapd-apparmor,snap-bootstrap,snap-failure,snap-exec,snap-preseed,snap-recovery-chooser,snap-repair,snap-seccomp,snap-update-ns} \ + "${S}/"{cmd/snap-discard-ns/snap-discard-ns,cmd/snap-gdb-shim/snap-gdb-shim,cmd/snap-mgmt/snap-mgmt} \ + "${S}/data/completion/bash/"{complete.sh,etelpmoc.sh,} + + dobashcomp "${S}/data/completion/bash/snap" + + insinto /usr/share/zsh/site-functions + doins "${S}/data/completion/zsh/_snap" + + insinto "/usr/share/polkit-1/actions" + doins "${S}/data/polkit/io.snapcraft.snapd.policy" + + dodoc "${S}/packaging/ubuntu-16.04/changelog" + domo "${S}/po/"*.mo + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + xdg_desktop_database_update + tmpfiles_process snapd.conf + + if use apparmor && [[ -z ${ROOT} && -e /sys/kernel/security/apparmor/profiles && + $(wc -l < /sys/kernel/security/apparmor/profiles) -gt 0 ]]; then + apparmor_parser -r "${EPREFIX}/etc/apparmor.d/usr.lib.snapd.snap-confine.real" + fi +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/app-dicts/edictionary/Manifest b/app-dicts/edictionary/Manifest deleted file mode 100644 index 2e5a01db70544..0000000000000 --- a/app-dicts/edictionary/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST edict-2.6.tar.gz 51300 BLAKE2B dd074c4b4d771921c21cc63e3960951ff6e62e8485ee2a9e967751670562e29ae434d7a2a79886797093f315bdba2134f7d45c024a0657c4a53314d96c66fbce SHA512 03a9977df6d150e7e99805f8dc5f62e1f6d84360d79684210a4cbd8105ccf541777513c99bf77934a9b8e26e4aad8d88b84146b165d9e1a21dff80587f900677 diff --git a/app-dicts/edictionary/edictionary-2.6-r1.ebuild b/app-dicts/edictionary/edictionary-2.6-r1.ebuild deleted file mode 100644 index a52cefdaa6de6..0000000000000 --- a/app-dicts/edictionary/edictionary-2.6-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="edict" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Command line dictionary and thesaurus" -HOMEPAGE="http://edictionary.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" - -RDEPEND="" -DEPEND="dev-lang/perl" - -S="${WORKDIR}/${MY_PN}" - -src_install() { - make prefix="${ED}/usr/bin" install - dodoc Changelog ReleaseNotes README TODO -} diff --git a/app-dicts/edictionary/metadata.xml b/app-dicts/edictionary/metadata.xml deleted file mode 100644 index f47833bb7f5bc..0000000000000 --- a/app-dicts/edictionary/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - edictionary - - diff --git a/app-doc/python-docs/Manifest b/app-doc/python-docs/Manifest index 26cc55c450b7f..6facb207d03fd 100644 --- a/app-doc/python-docs/Manifest +++ b/app-doc/python-docs/Manifest @@ -1,5 +1,7 @@ DIST python-2.7.18-docs-html.tar.bz2 4634932 BLAKE2B c48e2dede15d8186231acf65709641e0844c42e924262d6ee21a55e515aaf4d023bf394681bab780ab83998de9f409685e2d5870506810432145acc6422eff9d SHA512 db39390577ec86f13c9b6b57c01cba36fe9fd89092a773dc94f1a6a19d912759d097c4d80e765d3657b572abc731c1da9e7b4cd4c38065cd444606b906744abe DIST python-3.10.13-docs-html.tar.bz2 7429989 BLAKE2B 7ddd11dbc4012cebf2f5980653b761ee35b986b75d96d582800f84e4c371aee4b82fcc2001c744e7f14991e766b0930a9ef4cb46869544e0aa403e513c4bd418 SHA512 be2cb6a2ece7849b1c259e9d86b7cf5e2a91c30a976b155c4055fc229d35a1762a90321a6227e890b6d5be51ab3377b9059b9662eed683933ec676fc2dc5f9a9 DIST python-3.11.5-docs-html.tar.bz2 7861520 BLAKE2B ed43fba98f8446b758c1d81ccd4af297232499b666045d6b9b4190d33871e0fbb4e6e166783d54e923b02694a49bdfd791664c7bcab1392ab86254c45d9fe81d SHA512 911a70145aa919687982b9fb34fc0cedafcf654cf3f1e6908a6077d27718aedabc923ea49648d453584f7a7171138e19c1a99f32cb8d41731e5d9c50dc30df2d +DIST python-3.11.6-docs-html.tar.bz2 7881012 BLAKE2B b20cb04dc32d6eacc904aaf3505a919c6a17dce9105899632571574e734c42693ce5f469bb5f2194bcc16eb4458b6df382c5b4fd24b398f21660c6388b87702a SHA512 a0b118ea3d8f17e5c0a4abec353bc8fd04603db2da51375272e164f8c93be7e3a992eaac3d256a9d05c2db26f830e4b4add40cdb2e1108b936ff4d358cbbb40c +DIST python-3.12.0-docs-html.tar.bz2 8200382 BLAKE2B e322d9c18a5a0af4b17ab7a670def1e6aa8f3022d37bd190d49bef1780a71371c6abcf5d9cf81b22a08d4115857e3caa6e8200bbf9b2f5f486f13cbef7366eac SHA512 4fa12af1d1280455063e7c37b479136483478296bcc99302b0bdd4696a84cee82456d1de37cc378fede97f3681bc75ffa535034da5bb76e86d01cb283c425733 DIST python-3.8.18-docs-html.tar.bz2 6729312 BLAKE2B 431b8d5029d09fc2f54fdc998799298ccb6571a68c735320c95469a81e62bc7c2a9ec0ec11caa9886ad6a2d643b8d715e6866c398ec153d101b16efb85cda656 SHA512 80bdbec04355644f4b114e74da3334b4980d783a52ac8c999ede72f39b6137d94f1aaca248a386cfa02d778a10bdd7919ad82932f0aa000b16c102c8cee67e52 DIST python-3.9.18-docs-html.tar.bz2 7023072 BLAKE2B 92273a711cc8c2a35104f7c35bdca50ee0e9794c72aa14e9c4e613298dd6f2ecebbe977a35f1520a8585f1ea3112e8ea8e477c0e3503b025b6cec875fe40033e SHA512 d123266c72db81703c386dc0d436243a36996c39cde382939cebea31ff7a0c049470daa27efc34a3a0d55310bc6fe489ba01572ca961f67ba7a098038f2cb5af diff --git a/app-doc/python-docs/python-docs-3.11.6.ebuild b/app-doc/python-docs/python-docs-3.11.6.ebuild new file mode 100644 index 0000000000000..2ab918028481e --- /dev/null +++ b/app-doc/python-docs/python-docs-3.11.6.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="HTML documentation for Python" +HOMEPAGE="https://www.python.org/doc/" +SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2" +S="${WORKDIR}/python-${PV}-docs-html" + +LICENSE="PSF-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +src_install() { + rm -r _sources || die + docinto html + dodoc -r . + + newenvd - 60python-docs-${SLOT} <<-EOF + PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library" + EOF +} diff --git a/app-doc/python-docs/python-docs-3.12.0.ebuild b/app-doc/python-docs/python-docs-3.12.0.ebuild new file mode 100644 index 0000000000000..2ab918028481e --- /dev/null +++ b/app-doc/python-docs/python-docs-3.12.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="HTML documentation for Python" +HOMEPAGE="https://www.python.org/doc/" +SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2" +S="${WORKDIR}/python-${PV}-docs-html" + +LICENSE="PSF-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +src_install() { + rm -r _sources || die + docinto html + dodoc -r . + + newenvd - 60python-docs-${SLOT} <<-EOF + PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library" + EOF +} diff --git a/app-editors/ghex/ghex-44.2.ebuild b/app-editors/ghex/ghex-44.2.ebuild index 426c793f459d7..3a7df523826bf 100644 --- a/app-editors/ghex/ghex-44.2.ebuild +++ b/app-editors/ghex/ghex-44.2.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git" SRC_URI="" else - KEYWORDS="amd64 ~arm ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" fi LICENSE="GPL-2+ FDL-1.1+" diff --git a/app-editors/ghex/ghex-45_beta.ebuild b/app-editors/ghex/ghex-45_beta.ebuild index 7d5199d0588bc..4562fb2fe62e1 100644 --- a/app-editors/ghex/ghex-45_beta.ebuild +++ b/app-editors/ghex/ghex-45_beta.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git" SRC_URI="" else - KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" fi LICENSE="GPL-2+ FDL-1.1+" diff --git a/app-editors/gnome-text-editor/gnome-text-editor-45.0.ebuild b/app-editors/gnome-text-editor/gnome-text-editor-45.0.ebuild index 55a29a4ca087a..5c700b81ec168 100644 --- a/app-editors/gnome-text-editor/gnome-text-editor-45.0.ebuild +++ b/app-editors/gnome-text-editor/gnome-text-editor-45.0.ebuild @@ -14,7 +14,7 @@ SLOT="0" IUSE="spell" -KEYWORDS="~amd64 ~loong ~riscv" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv" DEPEND=" >=dev-libs/glib-2.73.0:2 diff --git a/app-editors/neovim/files/neovim-0.9.0-cmake-darwin.patch b/app-editors/neovim/files/neovim-0.9.0-cmake-darwin.patch deleted file mode 100644 index cba966a4ebfad..0000000000000 --- a/app-editors/neovim/files/neovim-0.9.0-cmake-darwin.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/src/nvim/CMakeLists.txt -+++ b/src/nvim/CMakeLists.txt -@@ -394,10 +394,6 @@ foreach(gen_include ${prop}) - list(APPEND gen_cflags "-I${gen_include}") - endforeach() - list(APPEND gen_cflags "-I${DEPS_PREFIX}/include") --if(APPLE AND CMAKE_OSX_SYSROOT) -- list(APPEND gen_cflags "-isysroot") -- list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}") --endif() - set(gen_cflags ${gen_cflags} -O2) - - set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h) diff --git a/app-editors/retext/retext-8.0.1.ebuild b/app-editors/retext/retext-8.0.1.ebuild index aa9aaadfcf57f..0deb07a931c0d 100644 --- a/app-editors/retext/retext-8.0.1.ebuild +++ b/app-editors/retext/retext-8.0.1.ebuild @@ -18,7 +18,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/retext-project/retext.git" else inherit pypi - KEYWORDS="~amd64" + KEYWORDS="amd64" fi LICENSE="GPL-2+" diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 21e44227fdd6b..937e527820e99 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -7,3 +7,6 @@ DIST vscode-1.82.1-arm64.tar.gz 132333024 BLAKE2B 7d686c83083f2d864d8d98c55fb1ce DIST vscode-1.82.2-amd64.tar.gz 135438033 BLAKE2B 377fc7065853b55f785c3580a55762631e95bfcb96938f446cc7ccdb132d4f9dac98740195d544bb12ad124039f5dab9092e5b5a052c03f49e5b6ba0e91c9781 SHA512 d0f6232e1cafd833ee330c187a8b50a97d8a0f0c06bac9f37fd12c0dc41171f49516918e7e7b9a993959df8b996ade4b22d30461efd5e2a0fea1e05fe1a44a15 DIST vscode-1.82.2-arm.tar.gz 122191456 BLAKE2B 6acf227590aef535396ad52aa1bbf6634368e4f05ff411b7df3f5a33feb640c4a0dfb922fbc2e388c9f1cc369894616537a8b6106d89ca5efee0001046a301e7 SHA512 f155c2a574c80ed21bd937a8164fb4ba75137e5908dcda105188fd8e32cacf82a9d4e985d7911df71054bfc92e778a8113c565bae8d58ed8386bea27daab8a38 DIST vscode-1.82.2-arm64.tar.gz 132356434 BLAKE2B 4d74c79286a3294a73db629eb318af70109a4debf8be56d6bac2bd6d6780ae0272fad7d290fe303808355b23872a22cf3d7f7ecb23e89dbdc9794e04f1673510 SHA512 4b2f522f7bba974544afd17c4c6b48bd7060a8dd21002d9cefa2c1190f7850ccdcde8bb9f269944c29eaaf0cf369b5e1e7461c490a932cd4082363271f46131b +DIST vscode-1.82.3-amd64.tar.gz 135431570 BLAKE2B 044ac09d4a75f0bc075e164061be763663e75798f28bbe88b9bb049a80791692fab6b6016e9f07e1b8360370e0faa3d4cce6ad1e3300600851dab268afcebf4b SHA512 f5365fd13e365241e6de2acd2ee86a4616fd346d5db6b81e40a384de5107c602e6fac5d14d02b500f4587cf05a65d0519756b13581f1c92040b47bd39bc2916c +DIST vscode-1.82.3-arm.tar.gz 122196444 BLAKE2B 1c2d7f9dcf08c4f47faf599c39afb8580ecf4812f28cfd83ee7d09e1ffc28ef956ee9e69a9b431e16b8d80028936eb376fab17330e5d0176642ba3d387882018 SHA512 f5e97eeccd1cc4b8dda881cd10534b41bf7f648aee121f1538f8e1afabeb965c4784eb123000e27f3fbb0d866d0b9818e042c7b4401de9793a34c321ada822cd +DIST vscode-1.82.3-arm64.tar.gz 132356391 BLAKE2B 04252655fc0473db6850b946aee1d3e6532c936841f4cea22508e3e42b36d9b5e04861688d53a2ced09de284e11ae534022e11523b6ade66218511ebff856c36 SHA512 76c3255170aab5606c5fc18312973152a0b5bdb60f19b5d295d0d7419ae4233d4df5ba64897c2f7dc3f74093efad9b8c4fa419256b01d149e80e16e7dedd2463 diff --git a/app-editors/vscode/vscode-1.82.3.ebuild b/app-editors/vscode/vscode-1.82.3.ebuild new file mode 100644 index 0000000000000..8a367acedd942 --- /dev/null +++ b/app-editors/vscode/vscode-1.82.3.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" +HOMEPAGE="https://code.visualstudio.com" +SRC_URI=" + amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz ) + arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz ) + arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz ) +" +S="${WORKDIR}" + +RESTRICT="mirror strip bindist" + +LICENSE=" + Apache-2.0 + BSD + BSD-1 + BSD-2 + BSD-4 + CC-BY-4.0 + ISC + LGPL-2.1+ + Microsoft-vscode + MIT + MPL-2.0 + openssl + PYTHON + TextMate-bundle + Unlicense + UoI-NCSA + W3C +" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="kerberos" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + sys-apps/util-linux + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libxshmfence + x11-libs/pango + kerberos? ( app-crypt/mit-krb5 ) +" + +QA_PREBUILT="*" + +src_install() { + if use amd64; then + cd "${WORKDIR}/VSCode-linux-x64" || die + elif use arm; then + cd "${WORKDIR}/VSCode-linux-armhf" || die + elif use arm64; then + cd "${WORKDIR}/VSCode-linux-arm64" || die + else + die "Visual Studio Code only supports amd64, arm and arm64" + fi + + # Cleanup + rm -r ./resources/app/ThirdPartyNotices.txt || die + + # Disable update server + sed -e "/updateUrl/d" -i ./resources/app/product.json || die + + if ! use kerberos; then + rm -r ./resources/app/node_modules.asar.unpacked/kerberos || die + fi + + # Install + pax-mark m code + mkdir -p "${ED}/opt/${PN}" || die + cp -r . "${ED}/opt/${PN}" || die + fperms 4711 /opt/${PN}/chrome-sandbox + + dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode" + dosym -r "/opt/${PN}/bin/code" "usr/bin/code" + domenu "${FILESDIR}/vscode.desktop" + domenu "${FILESDIR}/vscode-url-handler.desktop" + domenu "${FILESDIR}/vscode-wayland.desktop" + domenu "${FILESDIR}/vscode-url-handler-wayland.desktop" + newicon "resources/app/resources/linux/code.png" "vscode.png" +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "keyring support inside vscode" "virtual/secret-service" +} diff --git a/app-emacs/apel/apel-10.8_p20220721.ebuild b/app-emacs/apel/apel-10.8_p20220721.ebuild index fdb9f15cbca4b..4c36cfff957a6 100644 --- a/app-emacs/apel/apel-10.8_p20220721.ebuild +++ b/app-emacs/apel/apel-10.8_p20220721.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${GITHUB_SHA1}" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SITEFILE="50apel-gentoo.el" diff --git a/app-emacs/clojure-mode/clojure-mode-5.16.2.ebuild b/app-emacs/clojure-mode/clojure-mode-5.16.2.ebuild index 56641b38dafad..3fd67bd1f3f2e 100644 --- a/app-emacs/clojure-mode/clojure-mode-5.16.2.ebuild +++ b/app-emacs/clojure-mode/clojure-mode-5.16.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" SLOT="0" IUSE="test" RESTRICT="!test? ( test )" diff --git a/app-emacs/haskell-mode/haskell-mode-17.4.ebuild b/app-emacs/haskell-mode/haskell-mode-17.4.ebuild index 015e5777a278e..b1e45dbb23927 100644 --- a/app-emacs/haskell-mode/haskell-mode-17.4.ebuild +++ b/app-emacs/haskell-mode/haskell-mode-17.4.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]] ; then else SRC_URI="https://github.com/haskell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~sparc ~x86" + KEYWORDS="amd64 ppc ~sparc x86" fi LICENSE="GPL-3+ FDL-1.2+" diff --git a/app-emacs/helm/helm-3.9.4.ebuild b/app-emacs/helm/helm-3.9.4.ebuild index 76671b3b26bc5..afb4c7ddeceba 100644 --- a/app-emacs/helm/helm-3.9.4.ebuild +++ b/app-emacs/helm/helm-3.9.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/emacs-helm/${PN}/archive/v${PV}.tar.gz LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" app-emacs/async diff --git a/app-emacs/markdown-mode/markdown-mode-2.6.ebuild b/app-emacs/markdown-mode/markdown-mode-2.6.ebuild index 62b49e2f34bc8..ee6e95415f6e9 100644 --- a/app-emacs/markdown-mode/markdown-mode-2.6.ebuild +++ b/app-emacs/markdown-mode/markdown-mode-2.6.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]] ; then else SRC_URI="https://github.com/jrblevin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" fi LICENSE="GPL-3+" diff --git a/app-emacs/org-mode/org-mode-9.6.8.ebuild b/app-emacs/org-mode/org-mode-9.6.8.ebuild index 77e4614e18c62..2747f4956985e 100644 --- a/app-emacs/org-mode/org-mode-9.6.8.ebuild +++ b/app-emacs/org-mode/org-mode-9.6.8.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ppc x86" IUSE="doc odt-schema" RESTRICT="test" diff --git a/app-emacs/semi/semi-1.14.7_p20230811.ebuild b/app-emacs/semi/semi-1.14.7_p20230811.ebuild index d44d99c43d258..26f90e96c6fc9 100644 --- a/app-emacs/semi/semi-1.14.7_p20230811.ebuild +++ b/app-emacs/semi/semi-1.14.7_p20230811.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${GITHUB_SHA1}" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="l10n_ja" RDEPEND=">=app-emacs/apel-10.8 diff --git a/app-emacs/transient/transient-0.4.3.ebuild b/app-emacs/transient/transient-0.4.3.ebuild index 8fae47219ad7c..494c0c3673605 100644 --- a/app-emacs/transient/transient-0.4.3.ebuild +++ b/app-emacs/transient/transient-0.4.3.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]] ; then else SRC_URI="https://github.com/magit/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" fi LICENSE="GPL-3+" diff --git a/app-emacs/with-editor/with-editor-3.3.1.ebuild b/app-emacs/with-editor/with-editor-3.3.1.ebuild index fd92a84646612..b87c51a42c6a8 100644 --- a/app-emacs/with-editor/with-editor-3.3.1.ebuild +++ b/app-emacs/with-editor/with-editor-3.3.1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}"/${P}/lisp LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=app-emacs/compat-29.1.4.1 diff --git a/app-emulation/diskimage-builder/diskimage-builder-3.31.0.ebuild b/app-emulation/diskimage-builder/diskimage-builder-3.31.0.ebuild index 2f2696ced6ca8..fb1ca62b65dcb 100644 --- a/app-emulation/diskimage-builder/diskimage-builder-3.31.0.ebuild +++ b/app-emulation/diskimage-builder/diskimage-builder-3.31.0.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == 9999* ]]; then EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git" else inherit pypi - KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" fi LICENSE="Apache-2.0" diff --git a/app-emulation/dxvk/dxvk-2.3.ebuild b/app-emulation/dxvk/dxvk-2.3.ebuild index cb316e1bb60b1..92af875703e3a 100644 --- a/app-emulation/dxvk/dxvk-2.3.ebuild +++ b/app-emulation/dxvk/dxvk-2.3.ebuild @@ -28,7 +28,7 @@ else https://github.com/KhronosGroup/Vulkan-Headers/archive/${HASH_VULKAN}.tar.gz -> ${PN}-vulkan-headers-${HASH_VULKAN::10}.tar.gz https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info/-/archive/${HASH_DISPLAYINFO}/${PN}-libdisplay-info-${HASH_DISPLAYINFO::10}.tar.bz2" - KEYWORDS="-* ~amd64 ~x86" + KEYWORDS="-* amd64 x86" fi # setup_dxvk.sh is no longer provided, fetch old until a better solution SRC_URI+=" https://raw.githubusercontent.com/doitsujin/dxvk/cd21cd7fa3b0df3e0819e21ca700b7627a838d69/setup_dxvk.sh" diff --git a/app-emulation/libvirt/libvirt-9.4.0-r3.ebuild b/app-emulation/libvirt/libvirt-9.4.0-r3.ebuild index 0bb1e876baab0..1118dfad61ae4 100644 --- a/app-emulation/libvirt/libvirt-9.4.0-r3.ebuild +++ b/app-emulation/libvirt/libvirt-9.4.0-r3.ebuild @@ -21,7 +21,7 @@ if [[ ${PV} = *9999* ]]; then else SRC_URI="https://libvirt.org/sources/${P}.tar.xz verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" + KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" fi DESCRIPTION="C toolkit to manipulate virtual machines" diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild index e290854b34082..e25d27adcaa5b 100644 --- a/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild +++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild @@ -34,7 +34,7 @@ else -> ${PN}-spirv-headers-${HASH_SPIRV_DXIL::10}.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/${HASH_VULKAN}.tar.gz -> ${PN}-vulkan-headers-${HASH_VULKAN::10}.tar.gz" - KEYWORDS="-* ~amd64 ~x86" + KEYWORDS="-* amd64 x86" fi DESCRIPTION="Fork of VKD3D, development branches for Proton's Direct3D 12 implementation" diff --git a/app-emulation/wine-staging/Manifest b/app-emulation/wine-staging/Manifest index aa494e6fadb89..1b02ec7ca60fe 100644 --- a/app-emulation/wine-staging/Manifest +++ b/app-emulation/wine-staging/Manifest @@ -9,4 +9,5 @@ DIST wine-staging-8.13.tar.gz 9785058 BLAKE2B 6c797cd50276009cc23619447a70ac972b DIST wine-staging-8.14.tar.gz 9847486 BLAKE2B 62762efe15007b7a275c4f30c79b398f77078e5ba7ca44f9159d300cc7688439d8efbfae1c7c2faa73a17ceab0de82dbc1fc6338e99f3714fc1212b6e1bf71a8 SHA512 c126ddd49f2c89b61448c71779f022f7031b19f1bc346d4aa1e8dbe4845f2c5d80e92810db5e0bbc0cae3d5f8466e2ab9a2c5685923318aedfb766669504a7db DIST wine-staging-8.15.tar.gz 9856164 BLAKE2B 9313c88a436cd73e5b1b0cc44d0c781babcd870cdf89c4111ef1eef6012362123c244360bb7ae39b65317b39f3dfffd0530dd5674507bc0c1824d9d2efeabd3e SHA512 23d956dd9a5d5b8cb4efd5dcb5a0fd5926539b7e45d230920e20a84d27ecd6e4b1cc8285d328a0be622f66c48d453b577a4eeb096f8a866760da81cc47410a2a DIST wine-staging-8.16.tar.gz 9865735 BLAKE2B 83848d86b55961e3f84013bac2c5280dd6a281470ee09cd7f7cfccb1b91f5e62d73e0214bdeb2cfcfb255f387fe8de3b90e50b2e5e96c165f315fd6eb81aea58 SHA512 3748c9e41aa4c50e10f2dc7301d059bfeb614adc859bacad3b1d7ff00fa72a8ee65fd527c6ce2c065523002df353b82f17ff601b4cbbc4f7b84b1197ece3d9e2 +DIST wine-staging-8.17.1.tar.gz 9569937 BLAKE2B 8db9aa679d18b8a6da6d287e0b4ad717ab76bc809e14a8117d1b2fddf91d232c4face730f327884ae294f295b5f7d5ca9a113361389c7b5c0889e71775c0d795 SHA512 ae015251c5dd1bf23be038362ec2acbf351836a9bd9e7c2ef2d005fa36b75de18919ecba99b43b881e2fa63edc99b07ad1665a25b9efb486a986cf06d51083a6 DIST wine-staging-8.17.tar.gz 9570270 BLAKE2B f031961be2d42a3e29c63a5c085ec4d56ffead908f6433791aaff47a3fcd55bca17c5f526618da698c7c312693d2dae703e17ec5c658afea8613bd2c49a634af SHA512 699d3caec080686986a3b66a6c905d4542a3f06a12def3f30ad9d97484c9a0c2ba00ab81ae75a8ec83eaad0ef8029fcc702ac2c1f0a46c60118b9e451afe7613 diff --git a/app-emulation/wine-staging/wine-staging-8.13.ebuild b/app-emulation/wine-staging/wine-staging-8.13.ebuild index 9f4dff71c714c..7814d829f0719 100644 --- a/app-emulation/wine-staging/wine-staging-8.13.ebuild +++ b/app-emulation/wine-staging/wine-staging-8.13.ebuild @@ -5,7 +5,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools edo flag-o-matic multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper diff --git a/app-emulation/wine-staging/wine-staging-8.14.ebuild b/app-emulation/wine-staging/wine-staging-8.14.ebuild index 9f4dff71c714c..7814d829f0719 100644 --- a/app-emulation/wine-staging/wine-staging-8.14.ebuild +++ b/app-emulation/wine-staging/wine-staging-8.14.ebuild @@ -5,7 +5,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools edo flag-o-matic multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper diff --git a/app-emulation/wine-staging/wine-staging-8.15.ebuild b/app-emulation/wine-staging/wine-staging-8.15.ebuild index 9f4dff71c714c..7814d829f0719 100644 --- a/app-emulation/wine-staging/wine-staging-8.15.ebuild +++ b/app-emulation/wine-staging/wine-staging-8.15.ebuild @@ -5,7 +5,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools edo flag-o-matic multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper diff --git a/app-emulation/wine-staging/wine-staging-8.16.ebuild b/app-emulation/wine-staging/wine-staging-8.16.ebuild index 9f4dff71c714c..7814d829f0719 100644 --- a/app-emulation/wine-staging/wine-staging-8.16.ebuild +++ b/app-emulation/wine-staging/wine-staging-8.16.ebuild @@ -5,7 +5,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools edo flag-o-matic multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper diff --git a/app-emulation/wine-staging/wine-staging-8.17.1.ebuild b/app-emulation/wine-staging/wine-staging-8.17.1.ebuild new file mode 100644 index 0000000000000..7814d829f0719 --- /dev/null +++ b/app-emulation/wine-staging/wine-staging-8.17.1.ebuild @@ -0,0 +1,457 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) +PYTHON_COMPAT=( python3_{10..12} ) +inherit autotools edo flag-o-matic multilib multilib-build +inherit prefix python-any-r1 toolchain-funcs wrapper + +WINE_GECKO=2.47.4 +WINE_MONO=8.0.0 +WINE_P=wine-$(ver_cut 1-2) + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine-staging.git" + WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git" +else + (( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0 + SRC_URI=" + https://dl.winehq.org/wine/source/${WINE_SDIR}/${WINE_P}.tar.xz + https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="-* ~amd64 ~x86" +fi +S="${WORKDIR}/${WINE_P}" + +DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset" +HOMEPAGE=" + https://wiki.winehq.org/Wine-Staging + https://gitlab.winehq.org/wine/wine-staging/" + +LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff" +SLOT="${PV}" +IUSE=" + +X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos + llvm-libunwind custom-cflags +fontconfig +gecko gphoto2 +gstreamer + kerberos +mingw +mono netapi nls opencl +opengl osmesa pcap perl + pulseaudio samba scanner +sdl selinux smartcard +ssl +strip + +truetype udev udisks +unwind usb v4l +vulkan wayland wow64 + +xcomposite xinerama" +# bug #551124 for truetype +# TODO: wow64 can be done without mingw if using clang (needs bug #912237) +REQUIRED_USE=" + X? ( truetype ) + crossdev-mingw? ( mingw ) + wow64? ( abi_x86_64 !abi_x86_32 mingw )" + +# tests are non-trivial to run, can hang easily, don't play well with +# sandbox, and several need real opengl/vulkan or network access +RESTRICT="test" + +# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked +WINE_DLOPEN_DEPEND=" + X? ( + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + opengl? ( + media-libs/libglvnd[X,${MULTILIB_USEDEP}] + osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] ) + ) + xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] ) + xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) + ) + cups? ( net-print/cups[${MULTILIB_USEDEP}] ) + fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + netapi? ( net-fs/samba[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] ) + ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] ) + truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] ) + udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] ) + vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )" +WINE_COMMON_DEPEND=" + ${WINE_DLOPEN_DEPEND} + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] ) + gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) + gstreamer? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] + media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] + ) + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) + pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] ) + smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] ) + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) + unwind? ( + llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] ) + !llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] ) + ) + usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] ) + wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )" +RDEPEND=" + ${WINE_COMMON_DEPEND} + app-emulation/wine-desktop-common + dos? ( + || ( + games-emulation/dosbox + games-emulation/dosbox-staging + ) + ) + gecko? ( + app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] + wow64? ( app-emulation/wine-gecko[abi_x86_32] ) + ) + gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] ) + mono? ( app-emulation/wine-mono:${WINE_MONO} ) + perl? ( + dev-lang/perl + dev-perl/XML-LibXML + ) + samba? ( net-fs/samba[winbind] ) + selinux? ( sec-policy/selinux-wine ) + udisks? ( sys-fs/udisks:2 )" +DEPEND=" + ${WINE_COMMON_DEPEND} + sys-kernel/linux-headers + X? ( x11-base/xorg-proto )" +# gitapply.sh prefers git but can fallback to patch+extras +BDEPEND=" + ${PYTHON_DEPS} + || ( + dev-vcs/git + ( + sys-apps/gawk + sys-apps/util-linux + ) + ) + || ( + sys-devel/binutils + sys-devel/lld + ) + dev-lang/perl + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + mingw? ( !crossdev-mingw? ( + >=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}] + wow64? ( dev-util/mingw64-toolchain[abi_x86_32] ) + ) ) + nls? ( sys-devel/gettext ) + wayland? ( dev-util/wayland-scanner )" +IDEPEND=">=app-eselect/eselect-wine-2" + +QA_CONFIG_IMPL_DECL_SKIP=( + __clear_cache # unused on amd64+x86 (bug #900334) + res_getservers # false positive +) +QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects +QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext + +PATCHES=( + "${FILESDIR}"/${PN}-7.17-noexecstack.patch + "${FILESDIR}"/${PN}-7.20-unwind.patch + "${FILESDIR}"/${PN}-8.13-rpath.patch +) + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then + local mingw=-w64-mingw32 + for mingw in $(usev abi_x86_64 x86_64${mingw}) \ + $(use abi_x86_32 || use wow64 && echo i686${mingw}); do + if ! type -P ${mingw}-gcc >/dev/null; then + eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain" + eerror "yourself by installing sys-devel/crossdev then running:" + eerror + eerror " crossdev --target ${mingw}" + eerror + eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw" + die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found" + fi + done + fi +} + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + EGIT_CHECKOUT_DIR=${WORKDIR}/${P} + git-r3_src_unpack + + # hack: use subshell to preserve state (including what git-r3 unpack + # sets) for smart-live-rebuild as this is not the repo to look at + ( + EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die + EGIT_REPO_URI=${WINE_EGIT_REPO_URI} + EGIT_CHECKOUT_DIR=${S} + einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})" + git-r3_src_unpack + ) + else + default + fi +} + +src_prepare() { + local patchinstallargs=( + --all + --no-autoconf + ${MY_WINE_STAGING_CONF} + ) + + edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}" + + # sanity check, bumping these has a history of oversights + local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \ + dlls/appwiz.cpl/addons.c || die) + if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then + local gmfatal= + [[ ${PV} == *9999 ]] && gmfatal=nonfatal + ${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)" + fi + + default + + if tc-is-clang; then + if use mingw; then + # -mabi=ms was ignored by /dev/null) != @(LLD|GNU\ ld)* ]] + then + has_version -b sys-devel/binutils && + append-ldflags -fuse-ld=bfd || + append-ldflags -fuse-ld=lld + strip-unsupported-flags + fi + + if use mingw; then + use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + + filter-flags -fno-plt # build failure + + # CROSSCC was formerly recognized by wine, thus been using similar + # variables (subject to change, esp. if ever make a mingw.eclass). + local mingwcc_amd64=${CROSSCC:-${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}} + local mingwcc_x86=${CROSSCC:-${CROSSCC_x86:-i686-w64-mingw32-gcc}} + local -n mingwcc=mingwcc_$(usex abi_x86_64 amd64 x86) + + conf+=( + ac_cv_prog_x86_64_CC="${mingwcc_amd64}" + ac_cv_prog_i386_CC="${mingwcc_x86}" + + CROSSCFLAGS="${CROSSCFLAGS:-$( + filter-flags '-fstack-protector*' #870136 + filter-flags '-mfunction-return=thunk*' #878849 + + # -mavx with mingw-gcc has a history of obscure issues and + # disabling is seen as safer, e.g. `WINEARCH=win32 winecfg` + # crashes with -march=skylake >=wine-8.10, similar issues with + # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 + append-cflags -mno-avx #912268 + + CC=${mingwcc} test-flags-CC ${CFLAGS:--O2} + )}" + + CROSSLDFLAGS="${CROSSLDFLAGS:-$( + filter-flags '-fuse-ld=*' + + CC=${mingwcc} test-flags-CCLD ${LDFLAGS} + )}" + ) + fi + + # order matters with multilib: configure+compile 64->32, install 32->64 + local -i bits + for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do + ( + einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..." + + mkdir ../build${bits} || die + cd ../build${bits} || die + + if (( bits == 64 )); then + conf+=( --enable-win64 ) + elif use amd64; then + conf+=( + $(usev abi_x86_64 --with-wine64=../build64) + TARGETFLAGS=-m32 # for widl + ) + # _setup is optional, but use over Wine's auto-detect (+#472038) + multilib_toolchain_setup x86 + fi + + ECONF_SOURCE=${S} econf "${conf[@]}" + ) + done +} + +src_compile() { + use abi_x86_64 && emake -C ../build64 # do first + use abi_x86_32 && emake -C ../build32 +} + +src_install() { + use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install + use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last + + # Ensure both wine64 and wine are available if USE=abi_x86_64 (wow64, + # -abi_x86_32, and/or EXTRA_ECONF could cause varying scenarios where + # one or the other could be missing and that is unexpected for users + # and some tools like winetricks) + if use abi_x86_64; then + if [[ -e ${ED}${WINE_PREFIX}/bin/wine64 && ! -e ${ED}${WINE_PREFIX}/bin/wine ]]; then + dosym wine64 ${WINE_PREFIX}/bin/wine + dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader + + # also install wine(1) man pages (incl. translations) + local man + for man in ../build64/loader/wine.*man; do + : "${man##*/wine}" + : "${_%.*}" + insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1 + newins ${man} wine.1 + done + elif [[ ! -e ${ED}${WINE_PREFIX}/bin/wine64 && -e ${ED}${WINE_PREFIX}/bin/wine ]]; then + dosym wine ${WINE_PREFIX}/bin/wine64 + dosym wine-preloader ${WINE_PREFIX}/bin/wine64-preloader + fi + fi + + use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \ + "${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die + + # create variant wrappers for eselect-wine + local bin + for bin in "${ED}"${WINE_PREFIX}/bin/*; do + make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}" + done + + if use mingw; then + # don't let portage try to strip PE files with the wrong + # strip executable and instead handle it here (saves ~120MB) + dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows + + if use strip; then + ebegin "Stripping Windows (PE) binaries" + find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \ + -exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + + eend ${?} || die + fi + fi + + dodoc ANNOUNCE AUTHORS README* documentation/README* +} + +pkg_postinst() { + if use !abi_x86_32 && use !wow64; then + ewarn "32bit support is disabled. While 64bit applications themselves will" + ewarn "work, be warned that it is not unusual that installers or other helpers" + ewarn "will attempt to use 32bit and fail. If do not want full USE=abi_x86_32," + ewarn "note the experimental/WIP USE=wow64 can allow 32bit without multilib." + elif use abi_x86_32 && { use opengl || use vulkan; } && + has_version 'x11-drivers/nvidia-drivers[-abi_x86_32]' + then + ewarn "x11-drivers/nvidia-drivers is installed but is built without" + ewarn "USE=abi_x86_32 (ABI_X86=32), hardware acceleration with 32bit" + ewarn "applications under ${PN} will likely not be usable." + fi + + eselect wine update --if-unset || die +} + +pkg_postrm() { + eselect wine update --if-unset || die +} diff --git a/app-emulation/wine-staging/wine-staging-8.17.ebuild b/app-emulation/wine-staging/wine-staging-8.17.ebuild index 9f4dff71c714c..7814d829f0719 100644 --- a/app-emulation/wine-staging/wine-staging-8.17.ebuild +++ b/app-emulation/wine-staging/wine-staging-8.17.ebuild @@ -5,7 +5,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools edo flag-o-matic multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index 9f4dff71c714c..7814d829f0719 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -5,7 +5,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) PYTHON_COMPAT=( python3_{10..12} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools edo flag-o-matic multilib multilib-build inherit prefix python-any-r1 toolchain-funcs wrapper diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild b/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild index a3fad03a1c4d0..fb89e272b6ea1 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild @@ -4,7 +4,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools flag-o-matic multilib multilib-build inherit prefix toolchain-funcs wrapper diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.14.ebuild b/app-emulation/wine-vanilla/wine-vanilla-8.14.ebuild index a3fad03a1c4d0..fb89e272b6ea1 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-8.14.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-8.14.ebuild @@ -4,7 +4,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools flag-o-matic multilib multilib-build inherit prefix toolchain-funcs wrapper diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.15.ebuild b/app-emulation/wine-vanilla/wine-vanilla-8.15.ebuild index a3fad03a1c4d0..fb89e272b6ea1 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-8.15.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-8.15.ebuild @@ -4,7 +4,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools flag-o-matic multilib multilib-build inherit prefix toolchain-funcs wrapper diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.16.ebuild b/app-emulation/wine-vanilla/wine-vanilla-8.16.ebuild index a3fad03a1c4d0..fb89e272b6ea1 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-8.16.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-8.16.ebuild @@ -4,7 +4,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools flag-o-matic multilib multilib-build inherit prefix toolchain-funcs wrapper diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.17.ebuild b/app-emulation/wine-vanilla/wine-vanilla-8.17.ebuild index a3fad03a1c4d0..fb89e272b6ea1 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-8.17.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-8.17.ebuild @@ -4,7 +4,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools flag-o-matic multilib multilib-build inherit prefix toolchain-funcs wrapper diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild index a3fad03a1c4d0..fb89e272b6ea1 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild @@ -4,7 +4,6 @@ EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) -# note: multilib+wrapper are not unused, currently a pkgcheck false positive inherit autotools flag-o-matic multilib multilib-build inherit prefix toolchain-funcs wrapper diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.4.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.4.ebuild index d550239de5e75..728ff9efb5d85 100644 --- a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.4.ebuild +++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.4.ebuild @@ -21,7 +21,7 @@ fi LICENSE="GPL-2+ GPL-3+" SLOT="4" -KEYWORDS="amd64 ~ppc ppc64 ~riscv x86" +KEYWORDS="amd64 ppc ppc64 ~riscv x86" IUSE="dictionary-manager" BDEPEND=">=app-i18n/fcitx-4.2.9:4 diff --git a/app-i18n/ibus-typing-booster/Manifest b/app-i18n/ibus-typing-booster/Manifest index 48bb187152ca2..bad7a7ee8bb2e 100644 --- a/app-i18n/ibus-typing-booster/Manifest +++ b/app-i18n/ibus-typing-booster/Manifest @@ -1,3 +1,3 @@ -DIST ibus-typing-booster-2.23.4.tar.gz 11514625 BLAKE2B e4f2e79bc2e5f85581dd36bab82b1aca1a1a6232341cc35aeb717fbbc8e2f44c14364554c7f257cd70213fe1c5b7b7e1d6a891a5c751ed45c7c8a4703d620bed SHA512 ae13f5ed078fddd31dc81676516e2455ebe78bf9b621a44685da238db0f2eb792766875a49919ebaa3b91a225897558257d2e38901f2c5a6d890023a7b8c9606 DIST ibus-typing-booster-2.24.0.tar.gz 12225906 BLAKE2B 0f783054bb7da452ed46073b925d1138b3f5cf9c56c67939af9a1b0a374082fe6a2a86474c72173244e84f5458d030dd4fa1123cad5a96d7c83a2a6765304746 SHA512 15e1869f547e3285352c3d18d248102c6427fe7866554337c40748697bbf58df196441f593de8c89f04268952efe0349995ee8c9ffc072880470d383c6861258 DIST ibus-typing-booster-2.24.1.tar.gz 12218815 BLAKE2B dcc7e08d41d7a98bf1b7e14fa38bafeaa10427126d400d04b478724eb91039da11d1bd2332d1e081d140f916c77dd3a6fc0eddcb7d7797f3a8d5b0607808b8fb SHA512 e05a42f442db8047415336485ab88405f3abb221e05fc882505e423587905002d8c0d616b208e4f1cfdcfea7bc27bcab5ffe57eb06aaa10650bae062d114505e +DIST ibus-typing-booster-2.24.2.tar.gz 12216471 BLAKE2B 069faa9340d79676c124451af09d020116894b3bc9bc5c8aed229d7315a2fb0222822c00974d5ac4fbe8410640a3b4f3ca0a6c73d8c9b1f52bc7411e8b372026 SHA512 6eb2cc058ce86ba0ffdb0261abf39d36340b3bf1cb7ef68af0db59b00fb7e739a5638e2090761acdce812382354bb3debd37ca44162dbf92a074499fcfd20d55 diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.24.0.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.24.0.ebuild index 564f684f98091..172808cc06508 100644 --- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.24.0.ebuild +++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.24.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.g LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" RESTRICT="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.23.4.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.24.2.ebuild similarity index 98% rename from app-i18n/ibus-typing-booster/ibus-typing-booster-2.23.4.ebuild rename to app-i18n/ibus-typing-booster/ibus-typing-booster-2.24.2.ebuild index 172808cc06508..564f684f98091 100644 --- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.23.4.ebuild +++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.24.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.g LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/app-i18n/imhangul/imhangul-3.1.1.ebuild b/app-i18n/imhangul/imhangul-3.1.1.ebuild index 98d2088887114..ff9b578fc3a2d 100644 --- a/app-i18n/imhangul/imhangul-3.1.1.ebuild +++ b/app-i18n/imhangul/imhangul-3.1.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go LICENSE="LGPL-2.1" SLOT="3" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ppc x86" IUSE="" RDEPEND="app-i18n/libhangul diff --git a/app-i18n/nkf/nkf-2.1.5-r1.ebuild b/app-i18n/nkf/nkf-2.1.5-r1.ebuild index c39a4c68fac43..44490ab3b00bb 100644 --- a/app-i18n/nkf/nkf-2.1.5-r1.ebuild +++ b/app-i18n/nkf/nkf-2.1.5-r1.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://sourceforge.jp/${PN}/70406/${P}.tar.gz LICENSE="ZLIB python? ( BSD )" SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86" IUSE="perl python l10n_ja" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/app-i18n/uim/uim-1.8.9-r1.ebuild b/app-i18n/uim/uim-1.8.9-r1.ebuild index fc373fa65ce65..ec51cd6da6de1 100644 --- a/app-i18n/uim/uim-1.8.9-r1.ebuild +++ b/app-i18n/uim/uim-1.8.9-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2" LICENSE="BSD GPL-2 LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm ~hppa ppc ppc64 ~riscv x86" IUSE="X +anthy curl eb emacs expat libffi gtk gtk2 kde l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify m17n-lib ncurses nls qt5 skk sqlite ssl static-libs xft" RESTRICT="test" REQUIRED_USE="gtk? ( X ) diff --git a/app-i18n/unicode-emoji/Manifest b/app-i18n/unicode-emoji/Manifest index b6ee19ae19a11..94561b116e4cf 100644 --- a/app-i18n/unicode-emoji/Manifest +++ b/app-i18n/unicode-emoji/Manifest @@ -1,10 +1,10 @@ -DIST unicode-emoji-data-14.0.txt 109396 BLAKE2B f4268938ef60de5200f78856c6a0886a463d6c3c0de9bb3220f58328aa53c709dc4fd79f5d2f607bd5b07f46100026fb08f4a413803d5d3720fd61dc75d708fb SHA512 364dc7413a1ab959e886f787450071dd8d139ec3d2dc8ca382c700661d93002a4406511e74de27f3cf7b9db793e8a3b48649128e786b20c02cd710350e07c8ca DIST unicode-emoji-data-15.0.txt 111505 BLAKE2B fd4e4b590956b6e496b30f7dd2b7d49c5810f1c9432fe4388e537df4efbcae495568806a10dd7284244bc31f29085ec1d03f3ad7635a85a9887b0156478eaf15 SHA512 115ad36f0f94eda11065f4a44b12e4ae9ccf9c14cc7d9d2075c2572cd678aae89a3ab0efeb3b65ec23ab43ee010c4d29008bad7b9f72f591d69acec838250feb -DIST unicode-emoji-sequences-14.0.txt 188859 BLAKE2B 40dd76c52c329b5c0296a72d3f92bf41a55d63a57f094b49d449ee3624b7275562575e76fd5cc877c17ccab9923cd07538e4370615b8f05324706d3c861285e8 SHA512 527a763fe43e4679b7a689c2b736a4cba9a76ebdd601a0550992391d98431a5248ebec3ba35b20e8bd34cfb3075bad399825371c8f11ffe78e12e0fe09bbc181 +DIST unicode-emoji-data-15.1.txt 111505 BLAKE2B a5b3ccb6a22f4399dee08812a4d8d587cd7020ab83df6dcc9824b74ca690bf0a6ce9b895fba430c1a90d8b1f839d2db85703a86d1664386402af04100b1ad745 SHA512 bd8bde3d6296994ada56d336b0e31802fd1b73175e3d07b719f7629484412d4331d5e3b0585a38e4bfadca1ac26b9d5a1c69a6c6b7dffcf0edfc4edaacadf97e DIST unicode-emoji-sequences-15.0.txt 191560 BLAKE2B 130991e733699da2eafe69ec5352d15e862c77f46b8ab71d813a0ae3a801d8970cdf7ecbd10e819e28c8fb4017d6bd24abaf09ec4835be04a2b98c562206153c SHA512 8081b75cee79bbeea6c01f6bfba207ea03fbc72226a093057813c65ccfbcbf5276bbbca6385527ab39ea2fa8c39f4d4c3e086889caf2eb4d49805ebee531f632 -DIST unicode-emoji-test-14.0.txt 589717 BLAKE2B 2413d55c386607a88114cfeab5805476ba676a480a7d4de99eaecc7c6e825d883ab6e1217a2e0cd33ab951ae2f39a6b3547fdaace31bcf6985113d42b4e5f9b7 SHA512 693fe5c225e28a694d7aa436d3c6546c3376854878bb92d15f1c88b2d6ce3e9f67ddf66bd08e6aa99930d2965a28f8ed4dd3a895fdf5311abb0a323de27e1a12 +DIST unicode-emoji-sequences-15.1.txt 191562 BLAKE2B d16d7b923895d4aadba0f69ed07391b2e7df114c2eabca8a00c82c3b7ae97619e81b2c3fcc3658542fd340074fadfd4e1515613cc3233aa0c5ceede3edd34ce8 SHA512 19cf9b366a76d472d35e3e5d2adcb70e962397bce60a65e7685e9b203310dab2b63ee45fae8691c06dc6fedfac4e5c3730f9aadde119e3a7f4560c9ff325fd8a DIST unicode-emoji-test-15.0.txt 593240 BLAKE2B 4a57ccac493dd759d29dcfff512a613051a843dfd83d182bfc041605171fc41d73456692cc8e139a9115fa56633a20eb21c41628a35f186efa84b153e6985bb9 SHA512 894d2036867f2a117b8e5fd59b33148b3bb88d09b022d4a09f57df7e6135c3468b9c3d0fa8c80010ace3b916190b8039ad622f04b790abb1db8697c3f2050015 -DIST unicode-emoji-variation-sequences-14.0.txt 36547 BLAKE2B fa63c1924a00026489465f6a949b1124661fbd1877baaf10560424f8fdd59289947f2759e7873632f644b14213e1309601e764c1545e25ee9b94aea2ea813848 SHA512 d54dc787796609546140d1d730ce3574afe15a6dc4c947d171929df96a1189f5e65c8335d2c7429c06d8a9abe20a3f6332e551629e9808fd1e7f5b2ed6cbc24e +DIST unicode-emoji-test-15.1.txt 639405 BLAKE2B e338db1b4334f9e1f86eeb357c5187f14667a10f4ea65ea1fc622230cec6d305c1c13e08233931f06f99787af0a6c7b2b5f3d09039642ea99c9b4159d2c51b2b SHA512 1e267845f2cc72aed60455a60e7cb8774433e0a1d0a9be98de6169304047184c8a7d5919117dd085dccfc4a7b507cb8938a3a6e34fd6fd9216fda27f8c126e5e DIST unicode-emoji-variation-sequences-15.0.txt 36542 BLAKE2B ddc6051c8a0dfa8d169712811406ef1331abe112a08121078a222b4b4ed90bf9d72ea6d0df583b80520cf2fe315759157b47a291f4bb02bdb81ac1095a1b279e SHA512 ac258b1cc1b241f686552c29ff4d2f514b9140c759567fcb9559fec521db91a1a9cd6579c119216956e55ac302ab5866c91cbd6518b16eea00351e03ba97020c -DIST unicode-emoji-zwj-sequences-14.0.txt 231001 BLAKE2B faf8389549d9977ac87605af8c209d340261c4a14adec9932bdf41690997730c8dfb3a3261fcbca8b4c24f5f20ed8e3355330049c850680b4159afa73e935b01 SHA512 f1098393fbea76ece6838b509b985f06d92ac3f3ee0a0faf14cc92dc1dce73c3d3b7517fb940d48de27243141568acac88bb5b4438ead445cec9434826932e59 +DIST unicode-emoji-variation-sequences-15.1.txt 38358 BLAKE2B 6d55aa432c701c419def0414a5c656f68fa0fe1dd31aed88c420449a754b5b1a104bfbc604fc4344a7e34f5feb1852b00f103113ca0067195f77cebd32b28858 SHA512 86a4843448e66488fcdcfaa9777f4be7352c679661d90318abf11e498a9d8e263e8e34aab0e49575a5e613be771541c67c28dc8b64351141ee56639106b90a17 DIST unicode-emoji-zwj-sequences-15.0.txt 231164 BLAKE2B 95718b16488f1bb4b2b432067ea913b053c2ed80fb5ca05fbaad4280bc7feaa1264efe06a4351b12d293a6e274ab2df2362ac4df048567e3184b6bbd2249aafa SHA512 84cd29d74d5e10a364e5ca495f63aa310b0741d54ae483d6dbb8d31b8397f5d55a69e66ab95e655af6bb5f9693164de6b909172ee8e96b4d276aff59977c85a4 +DIST unicode-emoji-zwj-sequences-15.1.txt 251595 BLAKE2B 84a643d46edc4428ff5379431059e386fa45dbf4252abf44bb2429fe295daf3c051e93af6d80465bdf0cb17730b955c05062f795e7f47ceccf6e2ba594bda069 SHA512 b9be3543cb44b8b394be12f06b9d3a27aa7da134cc5060d51681e2759c2aa0ce2604edf9f8782f8d3606e9765f2703b35807a932d36914b24261e59a07fffed1 diff --git a/app-i18n/unicode-emoji/unicode-emoji-14.0.ebuild b/app-i18n/unicode-emoji/unicode-emoji-15.1.ebuild similarity index 87% rename from app-i18n/unicode-emoji/unicode-emoji-14.0.ebuild rename to app-i18n/unicode-emoji/unicode-emoji-15.1.ebuild index a5d60ffa357ea..7dcd074d8d81c 100644 --- a/app-i18n/unicode-emoji/unicode-emoji-14.0.ebuild +++ b/app-i18n/unicode-emoji/unicode-emoji-15.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -15,7 +15,7 @@ SRC_URI="${DATA_URI}/${PN#*-}-sequences.txt -> ${PN}-sequences-${PV}.txt LICENSE="unicode" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="" RDEPEND="" diff --git a/app-misc/broot/broot-1.25.0.ebuild b/app-misc/broot/broot-1.25.0.ebuild index 55e2bcfc72144..6b50a06b4d298 100644 --- a/app-misc/broot/broot-1.25.0.ebuild +++ b/app-misc/broot/broot-1.25.0.ebuild @@ -327,7 +327,7 @@ SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="X" RDEPEND=" diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index f0e97c8be656f..437879139129f 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,2 +1,2 @@ DIST fastfetch-1.12.2.tar.gz 538194 BLAKE2B bc6badbc7f690dacbe1408479286a0d42ec687526f776ff4d2ec7b0eb767032e5781cbbe37778f4dc03a5d386979a9ae2aab84c466be997b82d9a9a6c81ea78f SHA512 a82a7c7ae365335c20d659a82215cf320c4c6b07ff127c4dad322a0a01f7ec57e34d229f4953108daadcd0d243c84f8504a3b4367df5e255e5a06e685fd6739a -DIST fastfetch-2.0.5.tar.gz 772840 BLAKE2B f8eb5a662455ac1599eea5b6486ea2208487b363464c23a94ca9f1c19e275ab81f3b033789527bb7137b8379f74b52a313e593c9a4dd590acafb5a2af77e383b SHA512 91c506407538f1e59c38ade63d7112be9d1040e5b322d578698e3e35e857d7f473a13805760548a49b0e0757a93c54339b6a9b09a3675e0d7e86f1527b9b2cde +DIST fastfetch-2.1.0.tar.gz 793673 BLAKE2B 3d974f80ff014b951388124e1c6e61f10cca75ba7480341c1d7341a31710c71883b043bd423457f3908cabffaef2b28daadba6d8c6489141fe394bcd059ad8b3 SHA512 6163f31e5424e2750a6e5cd0f8573ceb88bc31426e81ca02c19f5ed6348f2572626e33b68709c6947067c7611dbbb73024d5087e1408c2343609b5716c47fb88 diff --git a/app-misc/fastfetch/fastfetch-2.0.5-r1.ebuild b/app-misc/fastfetch/fastfetch-2.1.0.ebuild similarity index 100% rename from app-misc/fastfetch/fastfetch-2.0.5-r1.ebuild rename to app-misc/fastfetch/fastfetch-2.1.0.ebuild diff --git a/app-misc/solaar/solaar-1.1.9.ebuild b/app-misc/solaar/solaar-1.1.9.ebuild index 4a11b012e5726..1a46b5cb53cbc 100644 --- a/app-misc/solaar/solaar-1.1.9.ebuild +++ b/app-misc/solaar/solaar-1.1.9.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} =~ 9999* ]]; then EGIT_REPO_URI="https://github.com/pwr-Solaar/Solaar" else SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> ${P/_rc/rc}.tar.gz" - KEYWORDS="amd64 ~arm x86" + KEYWORDS="amd64 ~arm ~arm64 x86" S="${WORKDIR}"/Solaar-${PV/_rc/rc} fi diff --git a/app-misc/tracker-miners/Manifest b/app-misc/tracker-miners/Manifest index 045e7d1303a2c..cd467f0d928e2 100644 --- a/app-misc/tracker-miners/Manifest +++ b/app-misc/tracker-miners/Manifest @@ -1,2 +1,3 @@ DIST tracker-miners-3.5.2.tar.xz 7513024 BLAKE2B 6f144bb5e263c08c32b940dd18f98faa4201cfa1c40fa9c97b7e0406b6ed1c9547b1925337e0b3a7e5448dd7c2518b78f62e04e5beab221a55f464506baa151b SHA512 adb29549c94c68a46e2c5ede8a51bac2d014f772a5dc1c63f5cc6950da7f941e735bf5858c3306d2ad988ce2f60126bc97e5db746afe757b9b7cbc4f90518648 DIST tracker-miners-3.6.0.tar.xz 7506144 BLAKE2B bb223fce64901580bf33970fe350692f578d35b5fdb5f1d8bcdf3dcd8a0b0aaac083de60f90d6c4a5aa810b8912971a75517309e75d252c3772997f0d7ec2f0b SHA512 c56c182ee2200d8d264826d77ccc0f22fd1d27bf0953dbdf75538ab70981707fb384943f77db632c202a54ae3b990a9c852a619172c701e14288b7c4f4c70917 +DIST tracker-miners-3.6.1.tar.xz 7506716 BLAKE2B 73791820082611023f0a275eca0b92eea8cbbf56cd198143c43f1d9be4b47c2004de081618767dd8a929d899b4fa19128d1ddb2c03988b86c7b638b59cab6c09 SHA512 08685983e6ffd9b6ce435465e8996c07fd83775c0f00cafa991fbb1bda6227bb6ef52cfad7ebc9fa5854b06c4ee15d6f94dc81192efa9e9d798f22cee404026f diff --git a/app-misc/tracker-miners/tracker-miners-3.6.1.ebuild b/app-misc/tracker-miners/tracker-miners-3.6.1.ebuild new file mode 100644 index 0000000000000..d4adb19cc0c56 --- /dev/null +++ b/app-misc/tracker-miners/tracker-miners-3.6.1.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 systemd xdg + +DESCRIPTION="Collection of data extractors for Tracker/Nepomuk" +HOMEPAGE="https://wiki.gnome.org/Projects/Tracker" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3" +IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg networkmanager +pdf +playlist raw +rss seccomp test +tiff upower +xml xmp xps" + +REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg +RESTRICT="!test? ( test )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); +# so choose ICU over enca always here for the time being (ICU is preferred) +RDEPEND=" + >=dev-libs/glib-2.70:2 + >=app-misc/tracker-3.6_rc:3 + + >=sys-apps/dbus-1.3.1 + xmp? ( >=media-libs/exempi-2.1.0:= ) + raw? ( media-libs/gexiv2 ) + cue? ( media-libs/libcue:= ) + exif? ( >=media-libs/libexif-0.6 ) + gsf? ( >=gnome-extra/libgsf-1.14.24:= ) + xps? ( app-text/libgxps ) + iptc? ( media-libs/libiptcdata ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + iso? ( >=sys-libs/libosinfo-1.10.0-r1 ) + >=media-libs/libpng-1.2:0= + seccomp? ( >=sys-libs/libseccomp-2.0 ) + tiff? ( media-libs/tiff:= ) + xml? ( >=dev-libs/libxml2-2.6 ) + pdf? ( >=app-text/poppler-0.16.0:=[cairo] ) + playlist? ( >=dev-libs/totem-pl-parser-3:= ) + sys-apps/util-linux + + gif? ( media-libs/giflib:= ) + + networkmanager? ( net-misc/networkmanager ) + + rss? ( >=net-libs/libgrss-0.7:0 ) + app-arch/gzip + + upower? ( >=sys-power/upower-0.9.0:= ) + + >=dev-libs/icu-4.8.1.1:= + + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0 + >=media-plugins/gst-plugins-meta-1.20:1.0 ) + !gstreamer? ( + ffmpeg? ( media-video/ffmpeg:0= ) ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/asciidoc + dev-libs/libxslt + dev-util/glib-utils + dev-util/gdbus-codegen + + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]') + gstreamer? ( + media-libs/gstreamer:1.0[introspection] + || ( + media-plugins/gst-plugins-libav:1.0 + media-plugins/gst-plugins-openh264:1.0 + ) + ) + ) +" + +python_check_deps() { + python_has_version -b \ + "dev-python/pygobject[${PYTHON_USEDEP}]" \ + "dev-python/tappy[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + + # Avoid gst-inspect calls that may trigger sandbox; + # instead assume the detection will succeed and add the needed test deps for that + if use gstreamer; then + sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die + else + sed -i -e 's:detect-h264-codec.sh:/bin/false:' tests/functional-tests/meson.build || die + fi + gnome2_environment_reset # sets gstreamer safety variables +} + +src_configure() { + append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS + + local media_extractor="none" + if use gstreamer ; then + media_extractor="gstreamer" + elif use ffmpeg ; then + media_extractor="libav" + fi + + local emesonargs=( + -Dtracker_core=system + + -Dman=true + -Dextract=true + $(meson_use test functional_tests) + $(meson_use test tests_tap_protocol) + -Dminer_fs=true + $(meson_use rss miner_rss) + -Dwriteback=true + -Dabiword=true + -Dicon=true + -Dmp3=true + -Dps=true + -Dtext=true + -Dunzip_ps_gz_files=true # spawns gunzip + + $(meson_feature networkmanager network_manager) + $(meson_feature cue) + $(meson_feature exif) + $(meson_feature gif) + $(meson_feature gsf) + $(meson_feature iptc) + $(meson_feature iso) + $(meson_feature jpeg) + $(meson_feature pdf) + $(meson_feature playlist) + -Dpng=enabled + $(meson_feature raw) + $(meson_feature tiff) + $(meson_feature xml) + $(meson_feature xmp) + $(meson_feature xps) + + -Dbattery_detection=$(usex upower upower none) + # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca + -Dcharset_detection=icu + -Dgeneric_media_extractor=${media_extractor} + # gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default + -Dsystemd_user_services_dir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +src_test() { + export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory") + export PYTHONPATH="${EROOT}"/usr/$(get_libdir)/tracker-3.0 + dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/app-misc/vit/Manifest b/app-misc/vit/Manifest index f3c8bd8ad40bc..b00d38a0276c7 100644 --- a/app-misc/vit/Manifest +++ b/app-misc/vit/Manifest @@ -1,2 +1 @@ -DIST vit-2.3.0.tar.gz 72136 BLAKE2B d2988924d9fce8ac2a14f812654ab385bc84f112f3c4d5d150fa04e8151c4cbad7dc5d2d161cc890aa40ceb8a66ac629a1ff53f99531b6166747b379b45764c5 SHA512 49574ebb5dd3127936ec45ab825d927e221c96c32d0966d2c35220b27f5de1df556ff168769aca0b9c22e25f7b86e39d985d326fafe4a33712a3f0c5fa8d9d02 DIST vit-2.3.1.tar.gz 72143 BLAKE2B 288e21083fc39d47aa1df6d3adf5b5973a50ab0463ad53a40ad70c1dbc627821ed4e567cd269749cca470fb7705f0f1792dca9db58cd16b504d5e0a0c2471097 SHA512 930c02ab2f399a0338a1a7f328a99452c1448bd9352c1f0535c720b6d4437ff29345a23a73af107aeac1091ad33829a563ce69daae53a44b684cf71a54d70d4b diff --git a/app-misc/vit/vit-2.3.0.ebuild b/app-misc/vit/vit-2.3.0.ebuild deleted file mode 100644 index 9d7895ed14873..0000000000000 --- a/app-misc/vit/vit-2.3.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=yes -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A lightweight, fast, curses-based front end to Taskwarrior" -HOMEPAGE=" - https://github.com/vit-project/vit - https://pypi.org/project/vit/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - app-misc/task - $(python_gen_cond_dep ' - >=dev-python/tasklib-2.4.3[${PYTHON_USEDEP}] - >=dev-python/urwid-2.1.2[${PYTHON_USEDEP}] - ') -" - -distutils_enable_tests pytest diff --git a/app-office/libalkimia/Manifest b/app-office/libalkimia/Manifest index b20ca311fdc97..fd7f6ff2dbd73 100644 --- a/app-office/libalkimia/Manifest +++ b/app-office/libalkimia/Manifest @@ -1,2 +1 @@ -DIST alkimia-8.1.1.tar.xz 252332 BLAKE2B 35c5cbca47e993d0a771ec723fcdd764265b2d0706a77ac06bb892b0717f791bfbceb2611b64810abe9fb209ed065abae1545efa512009003a3626aa84940181 SHA512 3e96f5b32da3d8a7f23b3b0f0a0ba7923e472b972c06b35f918c7f00d1745fa747afb6b8fdc1d596b2c1d9757a8037de04a039047f47eb46383070721da05258 DIST alkimia-8.1.2.tar.xz 267008 BLAKE2B 2b82f09c773d965385dc81765ee6c9c01a20cb1e67c30058d95ec829a052181c8928774070977fe3da18cc36389fd5fd37abeb1b899def1cafc57ad161bc01b2 SHA512 019bb04623204efeb8a7a066213972cfdcb2634969f61adc8cc75deba89842a7d3e6cda056e05b68ad1f20a5ed6739c03531b10362732d7c7c92efc20bc58a1b diff --git a/app-office/libalkimia/files/libalkimia-8.1.0-cmake-webengine.patch b/app-office/libalkimia/files/libalkimia-8.1.0-cmake-webengine.patch deleted file mode 100644 index 7d1140ca75095..0000000000000 --- a/app-office/libalkimia/files/libalkimia-8.1.0-cmake-webengine.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 09a11cee26af4ca55e5839dd44e32400147dc119 Mon Sep 17 00:00:00 2001 -From: Alexander Lohnau -Date: Sun, 11 Sep 2022 11:55:49 +0200 -Subject: [PATCH] Fix finding of WebEngineWidgets - ---- - src/LibAlkimiaConfig.cmake.in | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/LibAlkimiaConfig.cmake.in b/src/LibAlkimiaConfig.cmake.in -index 5c2dfc3..1ad866e 100644 ---- a/src/LibAlkimiaConfig.cmake.in -+++ b/src/LibAlkimiaConfig.cmake.in -@@ -9,7 +9,9 @@ if("@BUILD_QT4@" STREQUAL "ON" OR "@BUILD_QT4@" STREQUAL "1") - else() - find_dependency(Qt5Core) - find_dependency(Qt5DBus) -- if (@QT_BROWSER_LIB@) -+ if (@BUILD_WITH_WEBENGINE@) -+ find_dependency(Qt@QT_MAJOR_VERSION@WebEngineWidgets 5.15.0) -+ elseif (@QT_BROWSER_LIB@) - find_dependency(@QT_BROWSER_LIB@) - endif() - if (@QT_NETWORK_LIB@) --- -2.40.0 - diff --git a/app-office/libalkimia/libalkimia-8.1.1-r1.ebuild b/app-office/libalkimia/libalkimia-8.1.1-r1.ebuild deleted file mode 100644 index 0cebd5e68506d..0000000000000 --- a/app-office/libalkimia/libalkimia-8.1.1-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_TEST="forceoptional" -KDE_ORG_NAME="alkimia" -KFMIN=5.82.0 -QTMIN=5.15.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${PV}/${KDE_ORG_NAME}-${PV}.tar.xz" - KEYWORDS="amd64 x86" -fi - -DESCRIPTION="Library with common classes and functionality used by KDE finance applications" -HOMEPAGE="https://www.linux-apps.com/content/show.php/libalkimia?content=137323 -https://community.kde.org/Alkimia" - -LICENSE="LGPL-2.1" -SLOT="0/8" -IUSE="doc gmp plasma webengine" - -DEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/kcodecs-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/knewstuff-${KFMIN}:5 - >=kde-frameworks/ktextwidgets-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - !gmp? ( sci-libs/mpir:=[cxx] ) - gmp? ( dev-libs/gmp:0=[cxx(+)] ) - plasma? ( - >=kde-frameworks/kpackage-${KFMIN}:5 - >=kde-frameworks/plasma-${KFMIN}:5 - ) - webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-doc/doxygen ) -" - -PATCHES=( - "${FILESDIR}/${PN}-8.1.0-cmake.patch" - "${FILESDIR}/${PN}-8.1.0-cmake-webengine.patch" -) - -src_configure() { - local mycmakeargs=( - -DENABLE_FINANCEQUOTE=OFF - -DBUILD_TOOLS=ON - -DBUILD_WITH_WEBKIT=OFF - $(cmake_use_find_package doc Doxygen) - $(cmake_use_find_package !gmp MPIR) - -DBUILD_APPLETS=$(usex plasma) - -DBUILD_WITH_WEBENGINE=$(usex webengine) - ) - ecm_src_configure -} - -src_test() { - # Depends on BUILD_WITH_WEBKIT, bug 736128 - local myctestargs=( - -E "(alkonlinequotestest)" - ) - ecm_src_test -} diff --git a/app-office/skrooge/Manifest b/app-office/skrooge/Manifest index 1b605e9d4c0b9..7f899d53337b1 100644 --- a/app-office/skrooge/Manifest +++ b/app-office/skrooge/Manifest @@ -1 +1,2 @@ DIST skrooge-2.30.0.tar.xz 22661568 BLAKE2B 32bbd16b40afd836016c9d590c17d71fde7225802890d862e275c6c694fa11db504f757f158ab94c4c034481e577a0f45d013f4d4d21d6d200265c7131f98c11 SHA512 5a96c7263fcbc0313562dd5a64de3c31219c0a6a8e610fd0cbabe0f16903b1123390f07d466341b8fd31695861ab5a006b7f5aee7986fbd0028138ec90aa8902 +DIST skrooge-2.31.0.tar.xz 22372292 BLAKE2B 3eafe194a9783ae2f3841f6c32211cdf3c425033b63084bf47e526482830d1d53ae66446aa04f0d93497a59054e229bbadd6f46ec0782e4ab05d902d0e809596 SHA512 3a09b9e6017b0ebce7170285a8ca6a27c8942f16c310450e76dc9deb87e0d016edb49b74c8ea784bed5f9b5a10ed515016266584f53fc0144f4bf02bc7769be1 diff --git a/app-office/skrooge/skrooge-2.31.0.ebuild b/app-office/skrooge/skrooge-2.31.0.ebuild new file mode 100644 index 0000000000000..2e1802a8e3d40 --- /dev/null +++ b/app-office/skrooge/skrooge-2.31.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="forceoptional" +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm kde.org + +DESCRIPTION="Personal finances manager, aiming at being simple and intuitive" +HOMEPAGE="https://skrooge.org/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="5" +IUSE="activities kde ofx" + +# hangs + installs files (also requires KF5DesignerPlugin) +RESTRICT="test" + +COMMON_DEPEND=" + >=app-crypt/qca-2.3.0:2[qt5(+)] + dev-db/sqlcipher + dev-libs/grantlee:5 + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtscript-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5= + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwebengine-${QTMIN}:5[widgets] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-qt/qtxmlpatterns-${QTMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwallet-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 ) + kde? ( >=kde-frameworks/krunner-${KFMIN}:5 ) + ofx? ( dev-libs/libofx:= ) +" +DEPEND="${COMMON_DEPEND} + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtquickcontrols-${QTMIN}:5 +" +BDEPEND=" + dev-libs/libxslt + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DSKG_WEBENGINE=ON + -DSKG_WEBKIT=OFF + -DSKG_DESIGNER=OFF + $(cmake_use_find_package activities KF5Activities) + $(cmake_use_find_package kde KF5Runner) + $(cmake_use_find_package ofx LibOfx) + -DSKG_BUILD_TEST=$(usex test) + ) + + ecm_src_configure +} + +src_test() { + local mycmakeargs=( + -DSKG_BUILD_TEST=ON + ) + ecm_src_test +} diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest index 3b2e5a268698b..dfcc1e98765be 100644 --- a/app-portage/gentoolkit/Manifest +++ b/app-portage/gentoolkit/Manifest @@ -1 +1,2 @@ DIST gentoolkit-0.6.1.tar.gz 3195781 BLAKE2B 27e370de77586b375dc70caa1abba4c2bc4207e8f08e0a7ea2953097135506949db71ff9102a0ead198e4dea425440c57b94ac7a811ca2d5e0016fc7e234bb0d SHA512 1ffc466b69a9c53f1bbd40f6f4d1eb33d5f0f4287bb65ba1a7b1b2675ad61ecffa55ed9fda7c1ae8148744f0a77e224315eb1903dfd61a2a3dab1600fc672d2d +DIST gentoolkit-0.6.2.tar.bz2 3186974 BLAKE2B 48f388962e70842b7959467b7697b98121ee2a27bca6e2fc2ebb69782ece1df9b63b4451e19ebacf5a627a9c6feb17f7af395229d2eb870d8bbde1da80262593 SHA512 a1c9157758453f214e6131237df2bc91c49c28a4411ecbb0f74768ae0dd7c4fe8272cfc354a424f6acc8cc322d4eaa35ef98147fe749bc41cb680bb3acfdc2ac diff --git a/app-portage/gentoolkit/gentoolkit-0.6.2.ebuild b/app-portage/gentoolkit/gentoolkit-0.6.2.ebuild new file mode 100644 index 0000000000000..1e92fde3bb899 --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.6.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit distutils-r1 tmpfiles + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git" + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" + +LICENSE="GPL-2" +SLOT="0" + +# Need newer Portage for eclean-pkg API, bug #900224 +DEPEND=" + >=sys-apps/portage-3.0.52[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + app-alternatives/awk + sys-apps/gentoo-functions +" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py + +python_prepare_all() { + python_setup + echo VERSION="${PVR}" "${PYTHON}" setup.py set_version + VERSION="${PVR}" "${PYTHON}" setup.py set_version + distutils-r1_python_prepare_all + + if use prefix-guest ; then + # use correct repo name, bug #632223 + sed -i \ + -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ + pym/gentoolkit/profile.py || die + fi +} + +pkg_postinst() { + tmpfiles_process revdep-rebuild.conf + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog " app-admin/eclean-kernel" + elog " app-portage/diffmask" + elog " app-portage/flaggie" + elog " app-portage/portpeek" + elog " app-portage/smart-live-rebuild" + fi +} diff --git a/app-portage/gentoolkit/gentoolkit-9999.ebuild b/app-portage/gentoolkit/gentoolkit-9999.ebuild index 3d3ffd4270cd2..018a60d8df981 100644 --- a/app-portage/gentoolkit/gentoolkit-9999.ebuild +++ b/app-portage/gentoolkit/gentoolkit-9999.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} = 9999* ]]; then inherit git-r3 else SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Collection of administration scripts for Gentoo" diff --git a/app-portage/getuto/Manifest b/app-portage/getuto/Manifest index 86fbb2ee502d8..af633683be99b 100644 --- a/app-portage/getuto/Manifest +++ b/app-portage/getuto/Manifest @@ -1,4 +1,3 @@ -DIST getuto-1.6.tar.gz 9956 BLAKE2B 30ccbbe39993473a30bc6267c221ce23c78efa2b112ee1f2e65836f8b72f4e23f223a17c129293a2d3b5e1ca0c993960ef53905ca2af030e381a77c9e30fff5e SHA512 56277b0a64d31ff7e1637ec2288733c0a1c72045700b32c2d261e2d5ad854c1ae17c0f8e70f6080a008bb09fd0e8dcf8256aeb99615e446f4e6a441b9a1a088b -DIST getuto-1.7.tar.gz 10096 BLAKE2B 952d5a8dca09dcecfc78e055c96b70c997c459767966631142f24ff8c0ce003b5520084aa0938971e61124fad2747c8457a79dadddf76858869fc1de8da9ecab SHA512 43ba49df85c32aaade2b08ca0bc2bdac9edfd4b363a85a84833a17a84fb87dcdb987625bd61862371025ad2b4c364a1fa8d93138bafd7abe4a99fdb2791b3e7b DIST getuto-1.8.tar.gz 10196 BLAKE2B 0733057de68c3fc76869984557f84b703be4d1c996080191fe12fe8f4171bbb595c206dfc0c45174a07f0c49b532cb9a30faf3746f9f8e1cecd9fbb4768b5897 SHA512 70e31394ff95e14b4d892e546be1fa4bf3805994056c406bd94a1089fefb2df10d919689f711b5de2517ce03ecdc821826d5640dae87fd1d78baf79b4b55780d +DIST getuto-1.9.tar.gz 10222 BLAKE2B a2a2ad64097166c86a299e32242edef88c8213b479d8a83399eece29c5f204f3362c48d29638347dde624913ceea4a3ec2bb7bf0936e3065c715ad13dd85caf9 SHA512 fc0e74f90d52dbf637e55d79f70397a71d20ece9f23d11989c152d140d2d08135eee9268bc726bf6504a6a45cf8572803471deb5d192378e6cb76d8f8c00499b DIST libc-1-r1-1.gpkg.tar 20480 BLAKE2B b2c184e20c1a29ff66240e992f9f81219285f525eb63cea081372685cf03a2e231a2edb528259617e74c655fbe61b6e0d8fc0bbdbd8452b6098de58432f019d7 SHA512 ce52f398ea8979ec16161381803740d49a4294c77303880f54090c379ba5eb8e545a3d3550f229cacc18c7763dc3adf7936561ba1c64b43c87692ec66084e4e6 diff --git a/app-portage/getuto/getuto-1.6.ebuild b/app-portage/getuto/getuto-1.6.ebuild deleted file mode 100644 index 4778eb372c02a..0000000000000 --- a/app-portage/getuto/getuto-1.6.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Stand-alone gentoo install trust anchor generation tool" -HOMEPAGE="https://github.com/projg2/getuto" - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/projg2/getuto" - inherit git-r3 -else - SRC_URI=" - https://github.com/projg2/getuto/archive/refs/tags/${P}.tar.gz - " - S=${WORKDIR}/${PN}-${P} - - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )" - -LICENSE="GPL-2" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - app-crypt/gnupg - dev-libs/openssl - sec-keys/openpgp-keys-gentoo-release - sys-apps/gentoo-functions -" - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - # Don't mangle test data - unpack ${P}.tar.gz - fi - - if use test ; then - cp "${DISTDIR}"/libc-1-r1-1.gpkg.tar "${S}" || die - fi -} - -src_install() { - dobin getuto -} diff --git a/app-portage/getuto/getuto-1.8.ebuild b/app-portage/getuto/getuto-1.8.ebuild index 4778eb372c02a..35bf5df5276fb 100644 --- a/app-portage/getuto/getuto-1.8.ebuild +++ b/app-portage/getuto/getuto-1.8.ebuild @@ -15,7 +15,7 @@ else " S=${WORKDIR}/${PN}-${P} - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" fi SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )" diff --git a/app-portage/getuto/getuto-1.7.ebuild b/app-portage/getuto/getuto-1.9.ebuild similarity index 88% rename from app-portage/getuto/getuto-1.7.ebuild rename to app-portage/getuto/getuto-1.9.ebuild index 4778eb372c02a..35240625153e5 100644 --- a/app-portage/getuto/getuto-1.7.ebuild +++ b/app-portage/getuto/getuto-1.9.ebuild @@ -15,7 +15,7 @@ else " S=${WORKDIR}/${PN}-${P} - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" fi SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )" diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-10.02.0.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-10.02.0.ebuild index d0be78fe1a639..494d1da0b2937 100644 --- a/app-text/ghostscript-gpl/ghostscript-gpl-10.02.0.ebuild +++ b/app-text/ghostscript-gpl/ghostscript-gpl-10.02.0.ebuild @@ -23,7 +23,7 @@ fi LICENSE="AGPL-3 CPL-1.0" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="cups dbus gtk l10n_de static-libs unicode X" LANGS="ja ko zh-CN zh-TW" diff --git a/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild b/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild new file mode 100644 index 0000000000000..d1f4bea007770 --- /dev/null +++ b/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-pkg-2 + +MY_PV_1="${PV/_beta/b}" +MY_PV="${MY_PV_1/_rc/}" +MY_URI_PV_1="${PV/rc/}" +MY_URI_PV="${MY_URI_PV_1//_/%20}" + +DESCRIPTION="Java GUI for managing BibTeX and other bibliographies" +HOMEPAGE="https://www.jabref.org/" +# SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar" +SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar" +S="${WORKDIR}" + +LICENSE="MIT JSON" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="virtual/jre:1.8" +BDEPEND="app-arch/unzip" + +src_unpack() { + cp -v "${DISTDIR}/${A}" . || die + unzip ${A} images/icons/JabRef-icon-48.png || die +} + +src_install() { + java-pkg_newjar "JabRef-${MY_PV}.jar" + java-pkg_dolauncher "${PN}" --jar "${PN}.jar" + newicon images/icons/JabRef-icon-48.png JabRef-bin-icon.png + make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office +} diff --git a/app-text/jabref-bin/jabref-bin-3.8.2.ebuild b/app-text/jabref-bin/jabref-bin-3.8.2.ebuild index b051ca390114e..643648ba77fc3 100644 --- a/app-text/jabref-bin/jabref-bin-3.8.2.ebuild +++ b/app-text/jabref-bin/jabref-bin-3.8.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,7 +15,7 @@ HOMEPAGE="http://www.jabref.org/" # SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar" SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar" -LICENSE="MIT" +LICENSE="MIT JSON" SLOT="0" KEYWORDS="amd64 x86" diff --git a/app-text/jabref-bin/jabref-bin-4.3.1.ebuild b/app-text/jabref-bin/jabref-bin-4.3.1-r1.ebuild similarity index 89% rename from app-text/jabref-bin/jabref-bin-4.3.1.ebuild rename to app-text/jabref-bin/jabref-bin-4.3.1-r1.ebuild index 475c086168ea5..ce903d0506ad3 100644 --- a/app-text/jabref-bin/jabref-bin-4.3.1.ebuild +++ b/app-text/jabref-bin/jabref-bin-4.3.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 JAVA_PKG_WANT_TARGET=1.8 @@ -13,21 +13,19 @@ MY_URI_PV_1="${PV/rc/}" MY_URI_PV="${MY_URI_PV_1//_/%20}" DESCRIPTION="Java GUI for managing BibTeX and other bibliographies" -HOMEPAGE="http://www.jabref.org/" +HOMEPAGE="https://www.jabref.org/" SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar" +S="${WORKDIR}" -LICENSE="MIT" +LICENSE="MIT JSON" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="app-arch/unzip" - RDEPEND=" dev-java/openjdk:8[javafx] virtual/jre:1.8 " - -S="${WORKDIR}" +BDEPEND="app-arch/unzip" src_unpack() { cp -v "${DISTDIR}/${A}" . || die diff --git a/app-text/jabref-bin/jabref-bin-4.9999.ebuild b/app-text/jabref-bin/jabref-bin-4.9999.ebuild deleted file mode 100644 index 6ad4e16b1e25f..0000000000000 --- a/app-text/jabref-bin/jabref-bin-4.9999.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop java-pkg-2 - -DESCRIPTION="Java GUI manages bibliographies in a BibTeX database" -HOMEPAGE="http://www.jabref.org/" -S="${WORKDIR}" -PROPERTIES="live" - -LICENSE="MIT" -SLOT="0" - -DEPEND="app-arch/unzip" - -RDEPEND=" - dev-java/openjdk:8[javafx] - virtual/jre:1.8 -" - -src_unpack() { - einfo "Downloading the latest Jabref development snapshot." - einfo "Upstream updates these a few times per day." - wget "https://builds.jabref.org/master/JabRef--master--latest.jar" -O ${P}.jar || die "wget failed" - unzip ${P}.jar images/external/JabRef-icon-48.png || die "icon extraction failed" -} - -src_install() { - java-pkg_newjar "${P}.jar" - java-pkg_dolauncher "${PN}" --jar "${PN}.jar" - newicon images/external/JabRef-icon-48.png JabRef-bin-icon.png - make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office - ewarn "Jabref 4.x will convert old 3.x format .bib databases to a new format." - ewarn "The conversion is irreversible, backup .bib files before starting Jabref." - ewarn "Jabref 4.x is under heavy development and very unstable." -} diff --git a/app-text/languagetool/languagetool-5.4-r1.ebuild b/app-text/languagetool/languagetool-5.4-r2.ebuild similarity index 94% rename from app-text/languagetool/languagetool-5.4-r1.ebuild rename to app-text/languagetool/languagetool-5.4-r2.ebuild index 870c19e57437e..d7a7b86d7aef6 100644 --- a/app-text/languagetool/languagetool-5.4-r1.ebuild +++ b/app-text/languagetool/languagetool-5.4-r2.ebuild @@ -19,7 +19,7 @@ CP_DEPEND=" dev-java/commons-cli:1 dev-java/commons-collections:4 dev-java/commons-io:1 - dev-java/commons-lang:2.1 + dev-java/commons-lang:3.6 dev-java/commons-logging:0 dev-java/hamcrest-core:1.3 dev-java/jcommander:0 @@ -37,7 +37,7 @@ S=${WORKDIR}/${MY_P} src_prepare() { default - rm libs/commons-{cli,collections4,io,logging}.jar || die + rm libs/commons-{cli,collections4,io,lang3,logging}.jar || die rm libs/{hamcrest-core,jcommander,junit,slf4j-api}.jar || die # Loads of bundled stuff :( diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.7.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.7.ebuild index f5289c741e6aa..254155b506379 100644 --- a/app-text/pandoc-bin/pandoc-bin-3.1.7.ebuild +++ b/app-text/pandoc-bin/pandoc-bin-3.1.7.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2+" SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" +KEYWORDS="-* amd64 arm64" IUSE="+pandoc-symlink" RDEPEND="pandoc-symlink? ( !${CATEGORY}/${MY_PN} )" diff --git a/app-text/pdftk/pdftk-3.3.3-r1.ebuild b/app-text/pdftk/pdftk-3.3.3-r2.ebuild similarity index 89% rename from app-text/pdftk/pdftk-3.3.3-r1.ebuild rename to app-text/pdftk/pdftk-3.3.3-r2.ebuild index d52e564454cc2..e1d9235220545 100644 --- a/app-text/pdftk/pdftk-3.3.3-r1.ebuild +++ b/app-text/pdftk/pdftk-3.3.3-r2.ebuild @@ -12,6 +12,7 @@ inherit java-pkg-2 java-pkg-simple DESCRIPTION="A port of pdftk into java" HOMEPAGE="https://gitlab.com/pdftk-java/pdftk" SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/archive/v${PV}/pdftk-v${PV}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" LICENSE="GPL-2" SLOT="0" @@ -23,11 +24,6 @@ CP_DEPEND=" dev-java/commons-lang:3.6 " -# Compile dependencies -# POM: pom.xml -# test? com.github.stefanbirkner:system-rules:1.19.0 -> !!!groupId-not-found!!! -# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 - DEPEND=" >=virtual/jdk-1.8:* ${CP_DEPEND} @@ -43,18 +39,15 @@ RDEPEND=" DOCS=( CHANGELOG.md README.md ) -S="${WORKDIR}/${PN}-v${PV}" - -JAVA_LAUNCHER_FILENAME="${PN}" JAVA_MAIN_CLASS="com.gitlab.pdftk_java.pdftk" -JAVA_SRC_DIR="java" JAVA_RESOURCE_DIRS="resources/java" +JAVA_SRC_DIR="java" JAVA_TEST_GENTOO_CLASSPATH="junit-4,system-rules" JAVA_TEST_SRC_DIR="test" src_prepare() { - default + java-pkg-2_src_prepare mkdir resources || die cp -r {,resources/}java || die rm -r resources/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/codec || die @@ -81,3 +74,8 @@ src_test() { ) java-pkg-simple_src_test } + +src_install() { + java-pkg-simple_src_install + doman "${PN}.1" +} diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild index f76cb2d086b75..5054bbcc6777d 100644 --- a/app-text/pdftk/pdftk-9999.ebuild +++ b/app-text/pdftk/pdftk-9999.ebuild @@ -9,7 +9,7 @@ JAVA_TESTING_FRAMEWORKS="junit-4" inherit java-pkg-2 java-pkg-simple -DESCRIPTION="gcj-free version of pdftk written in Java" +DESCRIPTION="A port of pdftk into java" HOMEPAGE="https://gitlab.com/pdftk-java/pdftk" if [[ ${PV} == 9999 ]] ; then @@ -25,16 +25,12 @@ fi LICENSE="GPL-2" SLOT="0" +# Switch back to bcprov:0 once pdftk updates its bcprov dependency. CP_DEPEND=" - dev-java/bcprov:0 + dev-java/bcprov:1.74 dev-java/commons-lang:3.6 " -# Compile dependencies -# POM: pom.xml -# test? com.github.stefanbirkner:system-rules:1.19.0 -> !!!groupId-not-found!!! -# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 - DEPEND=" >=virtual/jdk-1.8:* ${CP_DEPEND} @@ -50,16 +46,15 @@ RDEPEND=" DOCS=( CHANGELOG.md README.md ) -JAVA_LAUNCHER_FILENAME="${PN}" JAVA_MAIN_CLASS="com.gitlab.pdftk_java.pdftk" -JAVA_SRC_DIR="java" JAVA_RESOURCE_DIRS="resources/java" +JAVA_SRC_DIR="java" JAVA_TEST_GENTOO_CLASSPATH="junit-4,system-rules" JAVA_TEST_SRC_DIR="test" src_prepare() { - default + java-pkg-2_src_prepare mkdir resources || die cp -r {,resources/}java || die rm -r resources/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/codec || die @@ -86,3 +81,8 @@ src_test() { ) java-pkg-simple_src_test } + +src_install() { + java-pkg-simple_src_install + doman "${PN}.1" +} diff --git a/dev-cpp/cairomm/Manifest b/dev-cpp/cairomm/Manifest index 4a545f878c268..15ec5b166503c 100644 --- a/dev-cpp/cairomm/Manifest +++ b/dev-cpp/cairomm/Manifest @@ -1,2 +1,3 @@ DIST cairomm-1.14.4.tar.xz 618548 BLAKE2B 611e05b66e731d470c6d9a64c2eb4aee68aa73be5c05cb7e741e9a851ef15609cfc9fc27177531880b16517e62cf5c3f7669d4f7e7c5c78b9bc7d829e27f4d25 SHA512 9e2692837f55a2e66cd7e9d0a8033a35524df1c3186a53a9be75d71e899240dbc8959c914471e61e311812dabaf815e732142686b42fbdc75a71c05b41013d33 DIST cairomm-1.16.2.tar.xz 593504 BLAKE2B 6682604f5907f16e40dd497f07eaaca5a4dc8a0b90771a0631406817ec397c42eb1784a6cbf15094ea6d61591acf04818e1b4d64ede3383b6859668d3b445a76 SHA512 61dc639eabe8502e1262c53c92fe57c5647e5ab9931f86ed51e657df1b7d0e3e58c2571910a05236cc0dca8d52f1f693aed99a553430f14d0fb87be1832a6b62 +DIST cairomm-1.18.0.tar.xz 632520 BLAKE2B e05135eb2e22ed6002821567dd951644febc173b04e001f3574d6dac36d0c6d012c3806e7485fa7856402945934c653c4546855a8e97b016130edac31726d827 SHA512 d358a765136e244773b4a0fdcb2d9c81dd0b76f7a27c7108f94df9765f2d790f5f50b5645c09c292efce3e012528f85114d51916450c5fe6fa87d09f5a405d4c diff --git a/dev-cpp/cairomm/cairomm-1.18.0.ebuild b/dev-cpp/cairomm/cairomm-1.18.0.ebuild new file mode 100644 index 0000000000000..c551d96c77020 --- /dev/null +++ b/dev-cpp/cairomm/cairomm-1.18.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) +inherit meson-multilib python-any-r1 + +DESCRIPTION="C++ bindings for the Cairo vector graphics library" +HOMEPAGE="https://cairographics.org/cairomm/ https://gitlab.freedesktop.org/cairo/cairomm" +SRC_URI="https://www.cairographics.org/releases/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.16" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="gtk-doc test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libsigc++:3[gtk-doc?,${MULTILIB_USEDEP}] + >=x11-libs/cairo-1.14.10[X=,${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-libs/boost[${MULTILIB_USEDEP}] + media-libs/fontconfig[${MULTILIB_USEDEP}] + ) +" +BDEPEND=" + virtual/pkgconfig + gtk-doc? ( + ${PYTHON_DEPS} + >=dev-cpp/mm-common-1.0.4 + app-doc/doxygen[dot] + dev-libs/libxslt + ) +" + +pkg_setup() { + use gtk-doc && python-any-r1_pkg_setup +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_bool gtk-doc build-documentation) + -Dbuild-examples=false + $(meson_use test build-tests) + -Dboost-shared=true + ) + meson_src_configure +} diff --git a/dev-java/javax-mail/javax-mail-1.6.7-r1.ebuild b/dev-java/javax-mail/javax-mail-1.6.7-r1.ebuild index c72608beb9188..cb0feeaf01ef9 100644 --- a/dev-java/javax-mail/javax-mail-1.6.7-r1.ebuild +++ b/dev-java/javax-mail/javax-mail-1.6.7-r1.ebuild @@ -1,9 +1,6 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom mail/pom.xml --download-uri https://github.com/eclipse-ee4j/mail/archive/refs/tags/1.6.7.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild javax-mail-1.6.7.ebuild - EAPI=8 JAVA_PKG_IUSE="doc source test" @@ -13,19 +10,16 @@ JAVA_TESTING_FRAMEWORKS="junit-4" inherit java-pkg-2 java-pkg-simple DESCRIPTION="Jakarta Mail API" -HOMEPAGE="https://eclipse-ee4j.github.io/mail/" -SRC_URI="https://github.com/eclipse-ee4j/mail/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://jakartaee.github.io/mail-api/" +SRC_URI="https://github.com/jakartaee/mail-api/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/mail-${PV}/mail" LICENSE="EPL-1.0 EPL-2.0 GPL-2-with-classpath-exception" SLOT="0" KEYWORDS="amd64 ~arm arm64 ppc64 x86" -# Common dependencies -# POM: mail/pom.xml -# com.sun.activation:jakarta.activation:1.2.1 -> >=dev-java/jakarta-activation-1.2.2:1 - CDEPEND=" - >=dev-java/jakarta-activation-1.2.2:1 + dev-java/jakarta-activation:1 " DEPEND=" @@ -37,25 +31,22 @@ RDEPEND=" >=virtual/jre-1.8:* ${CDEPEND}" -DOCS=( ../{LICENSE,NOTICE,README}.md ) - -S="${WORKDIR}/mail-${PV}/mail" +DOCS=( ../{NOTICE,README}.md ) src_prepare() { - default + java-pkg-2_src_prepare mv src/main/{resources,java}/javax/mail/Version.java || die } JAVA_ENCODING="iso-8859-1" - JAVA_GENTOO_CLASSPATH="jakarta-activation-1" -JAVA_SRC_DIR="src/main/java" JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" +JAVA_TEST_EXTRA_ARGS=( -ea ) JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_EXTRA_ARGS=( -ea ) +JAVA_TEST_SRC_DIR="src/test/java" src_test() { pushd src/test/java || die @@ -72,8 +63,3 @@ src_test() { java-pkg-simple_src_test } - -src_install() { - default # https://bugs.gentoo.org/789582 - java-pkg-simple_src_install -} diff --git a/dev-java/javax-mail/metadata.xml b/dev-java/javax-mail/metadata.xml index 75321cfb55980..53eb0003d9ca9 100644 --- a/dev-java/javax-mail/metadata.xml +++ b/dev-java/javax-mail/metadata.xml @@ -4,4 +4,7 @@ java@gentoo.org + + jakartaee/mail-api + diff --git a/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild b/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild index 3263c68c1c086..34f91df33673a 100644 --- a/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild +++ b/dev-java/openjfx/openjfx-11.0.11_p1-r1.ebuild @@ -24,10 +24,12 @@ SRC_URI="https://hg.openjdk.java.net/${PN}/${SLOT}-dev/rt/archive/${MY_PV}.tar.b https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.jar " +S="${WORKDIR}/rt-${MY_PV}" + LICENSE="GPL-2-with-classpath-exception" KEYWORDS="-* ~amd64 ~ppc64" - IUSE="cpu_flags_x86_sse2 debug doc source +media" +REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )" RDEPEND=" app-accessibility/at-spi2-core @@ -68,8 +70,6 @@ DEPEND="${RDEPEND} virtual/pkgconfig " -REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )" - PATCHES=( "${FILESDIR}"/11/disable-buildSrc-tests.patch "${FILESDIR}"/11/glibc-compatibility.patch @@ -82,8 +82,6 @@ PATCHES=( "${FILESDIR}"/11/ffmpeg5.patch ) -S="${WORKDIR}/rt-${MY_PV}" - egradle() { local GRADLE_HOME="${WORKDIR}/gradle-${EGRADLE_VER}" local gradle="${GRADLE_HOME}/bin/gradle" @@ -128,14 +126,13 @@ pkg_setup() { fi done - if has_version --host-root dev-java/openjdk:${SLOT}; then + if has_version -b dev-java/openjdk:${SLOT}; then export JAVA_HOME=${EPREFIX}/usr/$(get_libdir)/openjdk-${SLOT} export JDK_HOME="${JAVA_HOME}" export ANT_RESPECT_JAVA_HOME=true - else if [[ ${MERGE_TYPE} != "binary" ]]; then - JDK_HOME=$(best_version --host-root dev-java/openjdk-bin:${SLOT}) + JDK_HOME=$(best_version -b dev-java/openjdk-bin:${SLOT}) [[ -n ${JDK_HOME} ]] || die "Build VM not found!" JDK_HOME=${JDK_HOME#*/} JDK_HOME=${EPREFIX}/opt/${JDK_HOME%-r*} @@ -183,7 +180,7 @@ src_configure() { # build is very sensetive to doc presense, take extra steps if use doc; then local jdk_doc - if has_version --host-root dev-java/openjdk:${SLOT}[doc]; then + if has_version -b dev-java/openjdk:${SLOT}[doc]; then jdk_doc="${EPREFIX}/usr/share/doc/openjdk-${SLOT}/html/api" fi [[ -r ${jdk_doc}/element-list ]] || die "JDK Docs not found, terminating build early" diff --git a/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild b/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild index 7fca74112cfd6..0f4c3e85b6299 100644 --- a/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild +++ b/dev-java/openjfx/openjfx-11.0.9_p0-r1.ebuild @@ -24,10 +24,12 @@ SRC_URI="https://hg.openjdk.java.net/${PN}/${SLOT}-dev/rt/archive/${MY_PV}.tar.b https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.jar " +S="${WORKDIR}/rt-${MY_PV}" + LICENSE="GPL-2-with-classpath-exception" KEYWORDS="-* ~amd64 ~ppc64" - IUSE="cpu_flags_x86_sse2 debug doc source +media" +REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )" RDEPEND=" app-accessibility/at-spi2-core @@ -68,8 +70,6 @@ DEPEND="${RDEPEND} virtual/pkgconfig " -REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )" - PATCHES=( "${FILESDIR}"/11/disable-buildSrc-tests.patch "${FILESDIR}"/11/glibc-compatibility.patch @@ -82,8 +82,6 @@ PATCHES=( "${FILESDIR}/11/${PV}-version.patch" ) -S="${WORKDIR}/rt-${MY_PV}" - egradle() { local GRADLE_HOME="${WORKDIR}/gradle-${EGRADLE_VER}" local gradle="${GRADLE_HOME}/bin/gradle" @@ -128,14 +126,13 @@ pkg_setup() { fi done - if has_version --host-root dev-java/openjdk:${SLOT}; then + if has_version -b dev-java/openjdk:${SLOT}; then export JAVA_HOME=${EPREFIX}/usr/$(get_libdir)/openjdk-${SLOT} export JDK_HOME="${JAVA_HOME}" export ANT_RESPECT_JAVA_HOME=true - else if [[ ${MERGE_TYPE} != "binary" ]]; then - JDK_HOME=$(best_version --host-root dev-java/openjdk-bin:${SLOT}) + JDK_HOME=$(best_version -b dev-java/openjdk-bin:${SLOT}) [[ -n ${JDK_HOME} ]] || die "Build VM not found!" JDK_HOME=${JDK_HOME#*/} JDK_HOME=${EPREFIX}/opt/${JDK_HOME%-r*} @@ -183,7 +180,7 @@ src_configure() { # build is very sensetive to doc presense, take extra steps if use doc; then local jdk_doc - if has_version --host-root dev-java/openjdk:${SLOT}[doc]; then + if has_version -b dev-java/openjdk:${SLOT}[doc]; then jdk_doc="${EPREFIX}/usr/share/doc/openjdk-${SLOT}/html/api" fi [[ -r ${jdk_doc}/element-list ]] || die "JDK Docs not found, terminating build early" diff --git a/dev-java/snappy/files/snappy-1.1.10.1-commons-lang3.patch b/dev-java/snappy/files/snappy-1.1.10.1-commons-lang3.patch new file mode 100644 index 0000000000000..064482eabb7f3 --- /dev/null +++ b/dev-java/snappy/files/snappy-1.1.10.1-commons-lang3.patch @@ -0,0 +1,11 @@ +--- a/src/test/java/org/xerial/snappy/SnappyHadoopCompatibleOutputStreamTest.java ++++ b/src/test/java/org/xerial/snappy/SnappyHadoopCompatibleOutputStreamTest.java +@@ -2,7 +2,7 @@ package org.xerial.snappy; + + import org.apache.commons.io.FileUtils; + import org.apache.commons.io.IOUtils; +-import org.apache.commons.lang.SystemUtils; ++import org.apache.commons.lang3.SystemUtils; + import org.apache.hadoop.conf.Configuration; + import org.apache.hadoop.io.compress.SnappyCodec; + import org.junit.AfterClass; diff --git a/dev-java/snappy/snappy-1.1.10.1.ebuild b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild similarity index 96% rename from dev-java/snappy/snappy-1.1.10.1.ebuild rename to dev-java/snappy/snappy-1.1.10.1-r1.ebuild index 2813bcdd49016..9097dcb28f01e 100644 --- a/dev-java/snappy/snappy-1.1.10.1.ebuild +++ b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild @@ -35,7 +35,7 @@ DEPEND=">=virtual/jdk-1.8:* test? ( dev-java/ant-junit4:0 dev-java/commons-io:1 - dev-java/commons-lang:2.1 + dev-java/commons-lang:3.6 dev-java/plexus-classworlds:0 dev-java/xerial-core:0 )" @@ -50,6 +50,7 @@ PATCHES=( "${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch" "${FILESDIR}/1.1.7.8-gentoo.patch" "${FILESDIR}/snappy-1.1.10.1-SnappyOutputStreamTest.patch" + "${FILESDIR}/snappy-1.1.10.1-commons-lang3.patch" ) JAVA_RESOURCE_DIRS="src/main/resources" @@ -57,7 +58,7 @@ JAVA_SRC_DIR="src/main/java" JAVA_TEST_GENTOO_CLASSPATH=" commons-io-1 - commons-lang-2.1 + commons-lang-3.6 junit-4 plexus-classworlds xerial-core diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index 5fe6f34328a81..cf8dae797115f 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -1,4 +1,8 @@ DIST tomcat-native-1.2.38-src.tar.gz 439234 BLAKE2B 603a905db25b86792717023707598abb4da125ad16b7e69e4a48ec0eb9056bc0b566520d4df004566bbc15c8bcfe843992baebb6bd1c86b210ce9f0fc0733ca0 SHA512 973c0dc8d241827aa98f72026d4de67928344c221570abbb7f97380fe56a9ad602b159a5448c6048d88d73fa0ade8c1ab12df293fee513d0e4896847b16206e6 DIST tomcat-native-1.2.38-src.tar.gz.asc 873 BLAKE2B 6b7ccf31b7b0b7ac9493c4751309c6b62c269332f5fd49a9df391846a140f2797e1587e3c644b4aa65fa6eef8dfea8fe19b7f5714ffb5ddcf836c601f281bc5b SHA512 b6a7c12ac7387c4ee17e5b5d50d588b16470874f70bcb49b96a25159bab8b51ff5a5dc7d33fa73c8eb33e673e2b947aad4b603b1e8755f7e186052763c2575f5 +DIST tomcat-native-1.2.39-src.tar.gz 438209 BLAKE2B 499e2221be7a3aac47950530b044242dd308e943cdffd4af29d35121b60bd9b7040a404e8a70320cc853d41e4a06b41cad66a87d665e3692791299a0f16658f4 SHA512 b90c72255406f48552025a2e78dbd8c30a3492be2c283875c86a0b4a0f1f71b0420d4f91fb5ba181ef29d528824b2d5dfc63f51ee68e8d04fe6e67bd89e397f7 +DIST tomcat-native-1.2.39-src.tar.gz.asc 873 BLAKE2B 59976744119c03771b597d3d4f5d84a5a9e5feb81c0efe351e827b5e06e84c8adde8407ef4d27ec3b201763806e74804a51e9a209641c127328d44b79e22351e SHA512 78144c9ce5d5acc9d051b6d41fff2016d37062a11011ecad8ba52569c910efe5bcd5f177e576601ab4e7f7e53ce9dfe54f6a2c42cb87651ca5c2fedcf284eb21 DIST tomcat-native-2.0.5-src.tar.gz 539017 BLAKE2B 405a4064bcf49ee04a7670c516adc64b19ebebbbfdc50735952c057d36b475c785bd9976778f491796b3fce5bd5aa158199ec624f20e8adbc65f920974543533 SHA512 03ed1951597bb6a6ade8d715546a0d635d261381737abd27b63aa552c69f9ca49405d0252b6bc2d878bfd64e87439f146ecd84ccbfc82661ba16379c493615a4 DIST tomcat-native-2.0.5-src.tar.gz.asc 873 BLAKE2B 2e043d011f482ab963088441a37d2cfddec973253f7c909a747afac71393b76bc2e33ff37e9a18e8f9b6caac8ba86ab3a076ea722577416e4b409d8e44d56e24 SHA512 22a87c14c31bc62383cfb227e8dbd106fe017f84d802ec0e4d22d48af6ad4dd0d020bc59bed3a8335e2b4b15e0fd44ec3a4062bf86c73bbf00151c4ff0d12d7c +DIST tomcat-native-2.0.6-src.tar.gz 539277 BLAKE2B 4a1ee7a87ff72b449a3638d38cdd40185e02ee09aa8ee9ea26ff6cfdc3f54b1e8aec6fb0296b51f8a72a72de7a9c504410d1df4d3547b709deebfb005ebbdd01 SHA512 d714fb96f880d0d565c58d25bb803fa9a144a6d87e825ad8d00aeac833b40a5512f888b94b3109853f8ee28b176b24fde95fb2d2a70ce65181a51ca7fc60cdab +DIST tomcat-native-2.0.6-src.tar.gz.asc 873 BLAKE2B f78fb9c67632fc6fd6768fb699fa4c875db0364537ef41f6aa8c099eb05260a43ed7e2dd7b0f501c6814aff3b7d0928f318473ba78bfac7bcac3092952c08edc SHA512 6601bb1f731ad3b8ef1dbd6d2522952223d794568d42cce363ed95e05e641b2c742ed696ce65d546fcb3d0f80b362befc9cdaa060d1bd77beb90749c3a417a08 diff --git a/dev-java/tomcat-native/tomcat-native-1.2.39.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.39.ebuild new file mode 100644 index 0000000000000..d742adac3b66a --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.39.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Allows Tomcat to use certain native resources for better performance" +HOMEPAGE="https://tomcat.apache.org/native-doc/" +SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz + verify-sig? ( + https://downloads.apache.org/tomcat/tomcat-connectors/native/${PV}/source/tomcat-native-${PV}-src.tar.gz.asc + )" +S=${WORKDIR}/${P}-src/native + +KEYWORDS="~amd64 ~x86" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="static-libs" + +DEPEND=" + >=virtual/jdk-1.8:* +" +RDEPEND=" + dev-libs/apr:1= + dev-libs/openssl:0/3 + >=virtual/jre-1.8:* +" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-tomcat-connectors )" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-connectors.apache.org.asc" + +JAVA_RESOURCE_DIRS="../resources" +JAVA_SRC_DIR="../java" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="../test" + +DOCS=( ../{CHANGELOG.txt,NOTICE,README.txt} ) + +src_prepare() { + java-pkg-2_src_prepare + mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die + sed -ne '/attribute name/s:^.*name="\(.*\)" value="\(.*\)".*$:\1\: \2:p' \ + ../build.xml \ + | sed "s:\${version}:${PV}:" \ + > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" || die +} + +src_configure() { + local myeconfargs=( + --with-apr="${EPREFIX}"/usr/bin/apr-1-config + --with-ssl="${EPREFIX}"/usr + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + java-pkg-simple_src_compile + default +} + +src_test() { + # Adjusting "String testFile =" path in TestFile.java:29 to match ${S} + sed \ + -e '/String testFile =/s&test/&../test/&' \ + -i ../test/org/apache/tomcat/jni/TestFile.java || die + + JAVA_TEST_EXTRA_ARGS=( -Djava.library.path=".libs" ) + java-pkg-simple_src_test +} + +src_install() { + java-pkg-simple_src_install + java-pkg_doso .libs/*.so* + dodoc -r ../docs + ! use static-libs && find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + elog "For more information, please visit" + elog "https://tomcat.apache.org/tomcat-9.0-doc/apr.html" +} diff --git a/dev-java/tomcat-native/tomcat-native-2.0.6.ebuild b/dev-java/tomcat-native/tomcat-native-2.0.6.ebuild new file mode 100644 index 0000000000000..83049a5556485 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-2.0.6.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Allows Tomcat to use certain native resources for better performance" +HOMEPAGE="https://tomcat.apache.org/native-doc/" +SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz + verify-sig? ( + https://downloads.apache.org/tomcat/tomcat-connectors/native/${PV}/source/tomcat-native-${PV}-src.tar.gz.asc + )" +S=${WORKDIR}/${P}-src/native + +KEYWORDS="~amd64 ~x86" +LICENSE="Apache-2.0" +SLOT="2" +IUSE="static-libs" + +DEPEND=" + >=virtual/jdk-1.8:* +" +RDEPEND=" + dev-libs/apr:1= + dev-libs/openssl:0/3 + >=virtual/jre-1.8:* +" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-tomcat-connectors )" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-connectors.apache.org.asc" + +JAVA_RESOURCE_DIRS="../resources" +JAVA_SRC_DIR="../java" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="../test" + +DOCS=( ../{CHANGELOG.txt,NOTICE,README.txt} ) + +src_prepare() { + java-pkg-2_src_prepare + mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die + sed -ne '/attribute name/s:^.*name="\(.*\)" value="\(.*\)".*$:\1\: \2:p' \ + ../build.xml \ + | sed "s:\${version}:${PV}:" \ + > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" || die +} + +src_configure() { + local myeconfargs=( + --with-apr="${EPREFIX}"/usr/bin/apr-1-config + --with-ssl="${EPREFIX}"/usr + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + java-pkg-simple_src_compile + default +} + +src_test() { + JAVA_TEST_EXTRA_ARGS=( -Djava.library.path=".libs" ) + java-pkg-simple_src_test +} + +src_install() { + java-pkg-simple_src_install + java-pkg_doso .libs/*.so* + dodoc -r ../docs + ! use static-libs && find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + elog "For more information, please visit" + elog "https://tomcat.apache.org/tomcat-9.0-doc/apr.html" +} diff --git a/dev-lang/luau/luau-0.592.ebuild b/dev-lang/luau/luau-0.592.ebuild index c7bee4916d90d..b15291852bc56 100644 --- a/dev-lang/luau/luau-0.592.ebuild +++ b/dev-lang/luau/luau-0.592.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]] ; then else SRC_URI="https://github.com/Roblox/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" fi LICENSE="MIT" diff --git a/dev-lang/luau/luau-0.593.ebuild b/dev-lang/luau/luau-0.593.ebuild index c7bee4916d90d..b15291852bc56 100644 --- a/dev-lang/luau/luau-0.593.ebuild +++ b/dev-lang/luau/luau-0.593.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]] ; then else SRC_URI="https://github.com/Roblox/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" fi LICENSE="MIT" diff --git a/dev-lang/nasm/files/nasm-2.16-autoconf-macro-fixes.patch b/dev-lang/nasm/files/nasm-2.16-autoconf-macro-fixes.patch new file mode 100644 index 0000000000000..c2efc5b2e2f65 --- /dev/null +++ b/dev-lang/nasm/files/nasm-2.16-autoconf-macro-fixes.patch @@ -0,0 +1,241 @@ +From 5a2d629501d57301fe1d85fe6b2576e318f523d1 Mon Sep 17 00:00:00 2001 +From: "H. Peter Anvin" +Date: Sun, 19 Feb 2023 21:26:15 -0800 +Subject: [PATCH] autoconf: a much of macro fixes... not sure how this ever + worked? + +Exposed a bunch of problems with the autoconf m4 macro +library. Hopefulyy fix it, and tidy it up in the process. + +Signed-off-by: H. Peter Anvin +--- /dev/null ++++ b/autoconf/m4/pa_add_cppflags.m4 +@@ -0,0 +1,9 @@ ++dnl -------------------------------------------------------------------------- ++dnl PA_ADD_CPPFLAGS(variable, flag [,actual_flag [,success [,failure]]]]) ++dnl ++dnl Attempt to add the given option to xFLAGS, if it doesn't break ++dnl compilation. If the option to be tested is different than the ++dnl option that should actually be added, add the option to be ++dnl actually added as a second argument. ++dnl -------------------------------------------------------------------------- ++AC_DEFUN([PA_ADD_CPPFLAGS], [PA_ADD_FLAGS(CPPFLAGS, [$1], [$2], [$3], [$4])]) +--- a/autoconf/m4/pa_add_flags.m4 ++++ b/autoconf/m4/pa_add_flags.m4 +@@ -1,23 +1,39 @@ + dnl -------------------------------------------------------------------------- +-dnl PA_ADD_FLAGS(variable, flag [,actual_flag [,success [,failure]]]) ++dnl PA_ADD_FLAGS(flagvar, flags) + dnl +-dnl Attempt to add the given option to CPPFLAGS, if it doesn't break +-dnl compilation. If the option to be tested is different than the +-dnl option that should actually be added, add the option to be +-dnl actually added as a second argument. ++dnl Add [flags] to the variable [flagvar] if and only if it is accepted ++dnl by all languages affected by [flagvar], if those languages have ++dnl been previously seen in the script. + dnl -------------------------------------------------------------------------- + AC_DEFUN([PA_ADD_FLAGS], +-[AC_MSG_CHECKING([if $CC accepts $2]) +- pa_add_flags__old_flags="$$1" +- $1="$$1 $2" +- AC_LINK_IFELSE( +- [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], +- [printf("Hello, World!\n");])], +- [AC_MSG_RESULT([yes]) +- $1="$pa_add_flags__old_flags ifelse([$3],[],[$2],[$3])" +- AC_DEFINE(PA_SYM([$1_],[$2]), 1, +- [Define to 1 if compiled with the `$2' compiler flag]) ++[ ++ AS_VAR_PUSHDEF([old], [_$0_$1_orig]) ++ AS_VAR_PUSHDEF([ok], [_$0_$1_ok]) ++ AS_VAR_PUSHDEF([flags], [$1]) ++ ++ AS_VAR_COPY([old], [flags]) ++ AS_VAR_SET([flags], ["$flags $2"]) ++ AS_VAR_SET([ok], [yes]) ++ ++ PA_LANG_FOREACH(PA_FLAGS_LANGLIST($1), ++ [AS_VAR_IF([ok], [yes], ++ [AC_MSG_CHECKING([if $]_AC_CC[ accepts $2]) ++ PA_BUILD_IFELSE([], ++ [AC_MSG_RESULT([yes])], ++ [AC_MSG_RESULT([no]) ++ AS_VAR_SET([ok], [no])])]) ++ ]) ++ ++ AS_VAR_IF([ok], [yes], ++ [m4_ifnblank([$3],[AS_VAR_SET([flags], ["$old $3"])]) ++ m4_foreach_w([_pa_add_flags_flag], [m4_ifblank([$3],[$2],[$3])], ++ [AC_DEFINE(PA_SYM([$1_]_pa_add_flags_flag), 1, ++ [Define to 1 if compiled with the ]_pa_add_flags_flag[ compiler flag])]) + $4], +- [AC_MSG_RESULT([no]) +- $1="$pa_add_flags__old_flags" +- $5])]) ++ [AS_VAR_SET([flags], ["$old"]) ++ $5]) ++ ++ AS_VAR_POPDEF([flags]) ++ AS_VAR_POPDEF([ok]) ++ AS_VAR_POPDEF([old]) ++]) +--- /dev/null ++++ b/autoconf/m4/pa_build_ifelse.m4 +@@ -0,0 +1,16 @@ ++dnl -------------------------------------------------------------------------- ++dnl PA_BUILD_IFELSE(input [,success [,failure]]) ++dnl ++dnl Same as AC_LINK_IFELSE for languages where linking is applicable, ++dnl otherwise AC_COMPILE_IFELSE. ++dnl ++dnl If the first argument is empty, use _AC_LANG_IO_PROGRAM. ++dnl -------------------------------------------------------------------------- ++m4_defun([_PA_BUILD_IFELSE], ++[m4_case(_AC_LANG, ++ [Erlang], [AC_COMPILE_IFELSE($@)], ++ [AC_LINK_IFELSE($@)])]) ++ ++AC_DEFUN([PA_BUILD_IFELSE], ++[_PA_BUILD_IFELSE([m4_ifblank([$1],[AC_LANG_SOURCE(_AC_LANG_IO_PROGRAM)], ++ [$1])],[$2],[$3])]) +--- /dev/null ++++ b/autoconf/m4/pa_flags_langlist.m4 +@@ -0,0 +1,19 @@ ++dnl -------------------------------------------------------------------------- ++dnl PA_FLAGS_LANGLIST(flagvar) ++dnl ++dnl Return a list of languages affected by the variable flagvar. ++dnl If flagvar is unknown, assume it affects the current language. ++dnl -------------------------------------------------------------------------- ++AC_DEFUN([PA_FLAGS_LANGLIST], ++[m4_dquote(m4_case([$1], ++ [CPPFLAGS], [[C],[C++],[Objective C],[Objective C++]], ++ [CFLAGS], [[C]], ++ [CXXFLAGS], [[C++]], ++ [FFLAGS], [[Fortran 77]], ++ [FCFLAGS], [[Fortran]], ++ [ERLCFLAGS], [[Erlang]], ++ [OBJCFLAGS], [[Objective C]], ++ [OBJCXXFLAGS], [[Objective C++]], ++ [GOFLAGS], [[Go]], ++ [LDFLAGS], [[C],[C++],[Fortran 77],[Fortran],[Objective C],[Objective C++],[Go]], ++ m4_dquote(_AC_LANG)))]) +--- /dev/null ++++ b/autoconf/m4/pa_lang_foreach.m4 +@@ -0,0 +1,15 @@ ++dnl -------------------------------------------------------------------------- ++dnl PA_LANG_FOREACH(subset, body) ++dnl ++dnl Expand [body] for each language encountered in the configure script also ++dnl present in [subset], or all if [subset] is empty ++dnl -------------------------------------------------------------------------- ++AC_DEFUN([_PA_LANG_DO],dnl ++[AC_LANG([$2])dnl ++$1]) ++ ++AC_DEFUN([PA_LANG_FOREACH],dnl ++[m4_pushdef([_pa_lang_foreach_current],[_AC_LANG])dnl ++m4_map_args([m4_curry([_PA_LANG_DO],[$2])],m4_unquote(PA_LANG_SEEN_LIST($1)))dnl ++AC_LANG(_pa_lang_foreach_current)dnl ++m4_popdef([_pa_lang_foreach_current])]) +--- /dev/null ++++ b/autoconf/m4/pa_lang_seen_list.m4 +@@ -0,0 +1,20 @@ ++dnl -------------------------------------------------------------------------- ++dnl PA_LANG_SEEN_LIST(subset) ++dnl ++dnl List of the language lang has been used in the configuration ++dnl script so far, possibly subset by [subset]. ++dnl ++dnl This relies on overriding _AC_LANG_SET(from, to), ++dnl the internal implementation of _AC_LANG. ++dnl -------------------------------------------------------------------------- ++m4_ifndef([_PA_LANG_SET], ++[m4_rename([_AC_LANG_SET], [_PA_LANG_SET])dnl ++m4_defun([_AC_LANG_SET], [m4_set_add([_PA_LANG_SEEN_SET],[$2])dnl ++_PA_LANG_SET($@)])]) ++ ++AC_DEFUN([PA_LANG_SEEN_LIST], ++[m4_set_delete([_pa_lang_seen_subset])dnl ++m4_pushdef([_pa_lang_seen_subset_list],m4_ifnblank([$1],[$1],m4_dquote(m4_set_list([_PA_LANG_SEEN_SET]))))dnl ++m4_set_add_all([_pa_lang_seen_subset],_pa_lang_seen_subset_list)dnl ++m4_cdr(m4_set_intersection([_pa_lang_seen_subset],[_PA_LANG_SEEN_SET]))dnl ++m4_popdef([_pa_lang_seen_subset_list])]) +--- a/configure.ac ++++ b/configure.ac +@@ -12,9 +12,6 @@ dnl start; this is used to generate config/unconfig.h. + AH_BOTTOM([ + /* Begin unconfig.h */]) + +-dnl Save initial CFLAGS, to see if -g -O2 came from configure or not +-pa_init_cflags="$CFLAGS" +- + dnl This prevents us from running Wine and thinking we are not + dnl cross-compiling when in fact we are; running Wine here is at + dnl the best very slow and doesn't buy us a single thing at all. +@@ -27,35 +24,29 @@ AC_CANONICAL_HOST + dnl Enable any available C extensions + AC_PROG_CC + AC_USE_SYSTEM_EXTENSIONS +-AC_SYS_LARGEFILE +-PA_ADD_CFLAGS([-std=c17], [], [], +-[PA_ADD_CFLAGS([-std=c11], [], [], +- [PA_ADD_CFLAGS([-std=c99])])]) +- +-dnl If the user did not specify a CFLAGS default, change default +-dnl to -O0 for debugging +-PA_ARG_DISABLED([optimization], +- [compile without optimization (-O0) to help debugging], +- [pa_no_optimize=true]) ++PA_ADD_CPPFLAGS([-std=c17], [], [], ++[PA_ADD_CPPFLAGS([-std=c11], [], [], ++ [PA_ADD_CPPFLAGS([-std=c99])])]) + +-dnl Other programs +-pa_no_optimize=false +- +-dnl Compile and link with dwarf debug ++dnl Compile and link with gdb debug extensions + PA_ARG_ENABLED([gdb], +- [disable optimization and compile with extra debug information for GDB debugger], +- [PA_ADD_CFLAGS([-ggdb3]) +- pa_no_optimize=true]) ++ [compile with extra debug information for GDB debugger], ++ [PA_ADD_CFLAGS([-ggdb3])]) + +-AS_IF([$pa_no_optimize], +- [PA_ADD_CFLAGS([-O0]) +- PA_ADD_CFLAGS([-fno-omit-frame-pointer])]) ++dnl Disable optimization ++PA_ARG_DISABLED([optimization], ++ [compile without optimization (-O0) to help debugging], ++ [PA_ADD_CFLAGS([-O0]) ++ PA_ADD_CFLAGS([-fno-omit-frame-pointer])]) + + dnl Profiling + PA_ARG_ENABLED([profiling], + [compile with profiling (-pg option)], + [PA_ADD_CFLAGS([-pg])]) + ++dnl Large files ++AC_SYS_LARGEFILE ++ + dnl Abort on panic + PA_ARG_ENABLED([panic-abort], + [call abort() on panic to trap in the debugger], +@@ -104,10 +95,10 @@ AC_PROG_MAKE_SET + AC_PROG_INSTALL + AC_PROG_MKDIR_P + +-AC_CHECK_PROGS(NROFF, nroff, false) +-AC_CHECK_PROGS(ASCIIDOC, asciidoc, false) +-AC_CHECK_PROGS(XMLTO, xmlto, false) +-AC_CHECK_PROGS(XZ, xz, false) ++AC_CHECK_PROGS([NROFF], nroff, false) ++AC_CHECK_PROGS([ASCIIDOC], asciidoc, false) ++AC_CHECK_PROGS([XMLTO], xmlto, false) ++AC_CHECK_PROGS([XZ], xz, false) + + dnl Check for progs needed for manpage generation + MANPAGES=manpages diff --git a/dev-lang/nasm/nasm-2.16.01.ebuild b/dev-lang/nasm/nasm-2.16.01-r1.ebuild similarity index 72% rename from dev-lang/nasm/nasm-2.16.01.ebuild rename to dev-lang/nasm/nasm-2.16.01-r1.ebuild index 0516affa1974c..0f855d0d70ea3 100644 --- a/dev-lang/nasm/nasm-2.16.01.ebuild +++ b/dev-lang/nasm/nasm-2.16.01-r1.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit autotools DESCRIPTION="groovy little assembler" HOMEPAGE="https://www.nasm.us/" @@ -10,9 +12,23 @@ S="${WORKDIR}"/${P/_} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 ~ia64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="doc" +QA_CONFIG_IMPL_DECL_SKIP=( + _BitScanReverse + _BitScanReverse64 + __cpu_to_le16 + __cpu_to_le32 + __cpu_to_le64 + _byteswap_uint64 + _byteswap_ulong + _byteswap_ushort + cpu_to_le16 + cpu_to_le32 + cpu_to_le64 +) + # [fonts note] doc/psfonts.ph defines ordered list of font preference. # Currently 'media-fonts/source-pro' is most preferred and is able to # satisfy all 6 font flavours: tilt, chapter, head, etc. @@ -30,6 +46,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-2.15-bsd-cp-doc.patch + "${FILESDIR}"/${PN}-2.16-autoconf-macro-fixes.patch ) src_prepare() { @@ -40,6 +57,8 @@ src_prepare() { # were renamed. Currently depend on media-fonts/source-sans:3 which works # with this sed. sed -i 's/SourceSansPro/SourceSans3/g' doc/psfonts.ph || die + + AT_M4DIR="${S}/autoconf/m4" eautoreconf } src_compile() { diff --git a/dev-lang/php/Manifest b/dev-lang/php/Manifest index 64d30eed7555e..4d0f9f5015bfc 100644 --- a/dev-lang/php/Manifest +++ b/dev-lang/php/Manifest @@ -1,5 +1,5 @@ DIST php-8.0.29.tar.xz 10803592 BLAKE2B 6e15ce459aa5a51b2a07a4bfa1f6dba076dbbd4828ccdcb8dc4796f64ad3dbda6ee2b6789880591847a7de0d077072e63c46f13399b5b44a4ec34c83172fb6ac SHA512 5f849753bbcc12e253160af072213bc1ede32e5051684129707d32fd6ce8e12867fcf7a5f6790b25071fdda0508dfffd3344e4bb850a747cb8f3c9aee970311d DIST php-8.0.30.tar.xz 10821076 BLAKE2B 9a914ce99ec1d5d554f063ba324d95bd6d39912a13f34f9b3e09fa020c96c0a50ff919e8d829fd663522be2b68bea8934d7f67c52ad45b64d72946f0ba5f3925 SHA512 fb816e0a4e4dc506b0ea4425f26690edc6afadb5474ac84df0a1aa293abecd50d128b36074e3e0740c7228109d486ca446869a9c920419610a20ab5989870782 DIST php-8.1.20.tar.xz 11793228 BLAKE2B ecdaf43278b69e039e5440b441a89d02ea53e8246515a89f430d7affbaefa3e1637a6830f91dc9062961719ba5bf7c56993f3b47db96b56c14111f77c74a3096 SHA512 d93767c6ff4d305c209e1a0fcb17f19b1d417fa872b002413ebe7883e93900c210e8f122410ac54da373b9d10dd2f522ea2bafc9b66214fb466314d64907a558 -DIST php-8.1.23.tar.xz 11871960 BLAKE2B b01939aa00a88a26b2d21831871b884284c2c6653f370faae8e9399a167108ea7369494bc7352ae6a7f99dbcbb497e4f8c0a139ff240b2f3be34b0815c0d3801 SHA512 deb1c205c289d5457e6341680d1a3344f21ff8abf904b45b78391fdae6e0c172c5d760f0b639669722f9a8600286515d63bdea46043e5d7b4db4666bc2dde7ea -DIST php-8.2.10.tar.xz 12041348 BLAKE2B 25ef7b30a05749c2d8fa511de1a4f7eebab25a058a0bd19748da3d2d4d7199ac9f018064cbd3b02d0d6e22c0dc983f8e2efa6cb5b27ece9dfe7c7310e128ec23 SHA512 b9123f63afc99fdce34182f49a022611d584bd4a26f624d0010785599e9b10af7924f8307bbca920d75cb7b0cc23fa57efd5d6ef1d2dd89d5a508578bd36b146 +DIST php-8.1.24.tar.xz 11793756 BLAKE2B b9eb32710aef2c298f73bc2c05c26bcc918bd06d6a9dda2555517e72bc3f1591502b2e8380e20f5717bf1887b0201ce656641dbec8a9ab360d8bdcdbc46417b7 SHA512 4a77498ddfdb171de9fa4d7c6e0155c4a5126fcd813c0370d0c7a23b3daec18e95f4b45df6a3473fc665687a3fe51ae1479f42f57658391d170ea9a8849f8fc8 +DIST php-8.2.11.tar.xz 12046180 BLAKE2B 5795cb4cee5b4cc5d805fab5bf2ee2befda3cd41fb37727c19f9e214fd72455dd39c762c69aa0728df03b4ac834867b4687ba2d85847aa918affea24ba603548 SHA512 3c8db245854c0221a952e0f11fc8fbf8944caf73ae0049a710db0db5ce9c018207444dc8a60e2b3c63a6d025c5d09cd17b0542e1b7df8ad2e49635ef5faf7f45 diff --git a/dev-lang/php/php-8.1.23.ebuild b/dev-lang/php/php-8.1.24.ebuild similarity index 100% rename from dev-lang/php/php-8.1.23.ebuild rename to dev-lang/php/php-8.1.24.ebuild diff --git a/dev-lang/php/php-8.2.10.ebuild b/dev-lang/php/php-8.2.11.ebuild similarity index 100% rename from dev-lang/php/php-8.2.10.ebuild rename to dev-lang/php/php-8.2.11.ebuild diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest index fe89c0bb6fbaf..5a402804eb7f2 100644 --- a/dev-lang/python/Manifest +++ b/dev-lang/python/Manifest @@ -4,6 +4,10 @@ DIST Python-3.10.13.tar.xz 19663088 BLAKE2B d9a8edf89d0ccd665fd5ed444a144af240e0 DIST Python-3.10.13.tar.xz.asc 833 BLAKE2B b00222b30a6701e77c11c6019e2240be7cf42f2b4e558c03f7a058664d242a00665fbc52fdf03106e84c75f49b51b705d8acd1f381d1f41ada67c4647652ef4c SHA512 3083e66f8d26128302dc77a0c6ba3bfefc4229928a1bbd06460f2fec2421188bd30d493e3bce138cde1fed1df206e1dda04912b9f43a0b81229f1e69135e3a7f DIST Python-3.11.5.tar.xz 20053580 BLAKE2B 3b85f2d9d32787b0500abeec4211032bb147bd991f1a865ff3d13350f6beddef8051ebdda21e130cbf094e6546b31ae43d827840735ce245f462feea6868e0b2 SHA512 93fa640bedcea449060caac8aa691aa315a19f172fd9f0422183d17749c3512d4ecac60e7599f9ef14e3cdb3c8b4b060e484c9061b1e7ee8d958200d6041e408 DIST Python-3.11.5.tar.xz.asc 833 BLAKE2B e3c277f30203b5a0253aa1a41b8754bce7c00b54f0563e2d178c8fd264925a1b308ed84a875faeeae18405c419341ee286ea4ddaff93ce1e59b896daaf805e6e SHA512 5a8e1b1cabe89de03c050d581bbd3ec917d93ec943b2e8241db05c245809cf80294022c4cfc1bea3b90aa0570176109aac90455057256c025e2596aa136375fc +DIST Python-3.11.6.tar.xz 20067204 BLAKE2B e54dc94f913da608bffc0880512f613ba77afc99a227a102f3a01cc4ab9f0eb4744c42ace13d89fb39ebef5fdfa7857eac477e76fea4fcf27655636b5a418667 SHA512 94b1038f6f53de0c44f99f72ed0f2e0791fd9d2a325ae00ba145b2b2c332c27b300b3ea3473017518089478f15e01867b1bb203c16610039cce36f8366de341a +DIST Python-3.11.6.tar.xz.asc 833 BLAKE2B 76fc2913e6c396de8cbeab983c751a764676a3acb1b21c83880e5e3589337a67e6bf0293711550a11e50bda1f4ae92d2e27c5941e8d60c0087076b6fe8296819 SHA512 510f0b1393948c1490f81fbd90987e6f6b048b9f4d9df5814168097f5d9ac96e3682ff9bdc82d35b351eff5a4cc75015c28253b1dbbb2d94780411157c8beb25 +DIST Python-3.12.0.tar.xz 20575020 BLAKE2B 047968c76adb88326295c7133b27e6849a45651fd2d9c1768d4f7c2a4c5ed4ed9de4e0e54855c66cc99e39818759404ccaf056b000a9376aa5aad7370e4f4ce6 SHA512 4d5353151fd1dad80fe96bd2a668cec27287a0dad85086239597166f8189d4edf6c4800ed14f39c8e54816076fec13ba405d6bfa1123ad2dada8cf85c60025e6 +DIST Python-3.12.0.tar.xz.asc 963 BLAKE2B 2b2b119a4314d88c9ecbf881b583fa8bd7c0a67d7307cd7ea625fbaeb1e696dbcb0d13041ec807cecf1636c8b4f1ac1862d0d966fe7705f384cd414c3097af0d SHA512 2c457f51cd4269deb2c644b35da1c617d1b1d53a6093da77b967f4e5661bc3400c70808aab4f619d9035fd33e656653f992d308c683e26f1505929a3a59b4ce2 DIST Python-3.12.0b4.tar.xz 20244176 BLAKE2B 6f1d199fcce07b5ca4fbf5a24b382aac2af793c6f43346708d984b20422a2f9ac4e6bc352e3c008e7815083e06c4b69e36c1a3ea94a8e3c398a1d2188595a0f5 SHA512 942a47d12c51e13939c815de908e766b818e4862c536153ae94b8032b5263b0cc23bda9a75fe60f48ee400a4ce405e2583da684847623cf552c20efcbc663469 DIST Python-3.12.0b4.tar.xz.asc 963 BLAKE2B 3ed0c47bd892791325598f20578bca72d8ffce9421c80d35c12b2a0d23611dfc329a2016f332950910990fcd9bd55e90753f547ca8a54dde039618b43c71a6b4 SHA512 ab2684cc4044bf39c8064ec7d41dc2d04f01c9bccf5404ec1fffbce89a3a831b4d7dac3613ef892988a16839aeb13cbc03a085fae5c086ee19d3bfb925dff6c0 DIST Python-3.12.0rc1.tar.xz 20285264 BLAKE2B 2cbf77e9405426c58714506c14281a941b4006219215d990f79672719eaa4f26c7b6356a1096400aae84d682c5a9622dfd8ea90dc635312efba6cd8c730d3f37 SHA512 67c38317e34aa1c4ced831cf50f74de21f9e40ce708397be3682d0c1012c3e0b2617d77525dc6c3246725dfc11b5448792adc0ef2e3741e818776bc5fba0c50d @@ -19,10 +23,13 @@ DIST Python-3.9.18.tar.xz.asc 833 BLAKE2B b2160eedf7a7529c379ede5cd626f2d1e36db6 DIST python-gentoo-patches-2.7.18_p16.tar.xz 35448 BLAKE2B 0139c0944f62f9cdd236f6a8557e0ed19704c7d72869af1cb7d8bd3e646a746cd4a0201e1b44232a5e78ef49f254db20b0d0271bf744fbfd4fe0f1e99b8f3e6c SHA512 810be590d0e06fab4b2165e6852ca49662f09dcd7e20b47a29f613ad7653252c8dfac3f0eb228d77c8a914efa7c08788b2fbd552a4b47504f5fd0ec17450c48f DIST python-gentoo-patches-3.10.13.tar.xz 13996 BLAKE2B 0123a18c8c39397ac03b1be1d243d8ae4da9f62888f409157bc1781285c9c6cd3d9ec23f1ae7ff0e0591b3dd2934ee366b3eb235e7cc6663afc9d617c4fd42f2 SHA512 ddfc830d2ced508a64e202a6082930f53edb48411c19cc9f364b29977ecd5a4f052d0ce953bbfb7fdf26072acb2836e0b7d5ce55f941955f2039551fa1f48edd DIST python-gentoo-patches-3.11.5.tar.xz 7124 BLAKE2B 04e19b0cce37794622d211fb7758988e734eca7298be59169fff81f8ec98f9c2454be3bba0944e681efcdca0810b74b4a07993965d89cdc0261cbc61862cd6f1 SHA512 3e137ab2b7ff4aaa41e4c760a7340d86cc3fb226c47985bd0f0bb8a4ef4fc157e1442e69995e585db15f04f95a734a19d80534a89067981ea314ef5be042b02e +DIST python-gentoo-patches-3.11.6.tar.xz 7568 BLAKE2B 7ff4b1f4f2549b2df46aeff875c20fb6de40778d88071c1aa054bf2e3494f718dbb39a42d9cb791c1e0db1a025ae8eb13b24f7bd712f08b3c00ca638100bb732 SHA512 57c655d9d0df4284e167f3ed9b4e0d1c4554e5fe08605c64db253c104ac2e64da2439c8500fe60460d2545683467f8689d7fee68214cfa414584d71434735473 +DIST python-gentoo-patches-3.12.0.tar.xz 5156 BLAKE2B 42d23d4567b09878000a6b01425e06e377c779e8e3713af6d7522f8cdbe22d2bcb67dbfd04e8d7104ce3bd9b7e3950bbe0ac0dfa3892e1c1e5992642d6ef0ce7 SHA512 dcc6afe0c91436cdbad7bedb72557c72b0cc97c1714bbe41905e5e3fd6956e47c82226df09be2041d1935bd4031fdbc1c1b178e031d3eaaf6f587a0cf3d68f42 DIST python-gentoo-patches-3.12.0b4_p2.tar.xz 8132 BLAKE2B 4c1df7c8e1dda483724d8c3bb8ab7a7739fcdee16eaf1a2a5aeedb6011c13769ee9f2d0b1cf849df12aaf3230c0771b16533496539e1a0fab633e38699c8a75f SHA512 9051311d1e31163d13b8d2b1981d700ad2cf297b30f8d2867df8fe535fdb7da11efcb6fef8a201a76ff05aa8ae91c3679eeee72a729dc7249714796f6af2be9f DIST python-gentoo-patches-3.12.0rc1_p5.tar.xz 348764 BLAKE2B 8f71d6172ca4e557c195f4226d548f10b888842a110824db6c73613016d5b1c900545a2a3331519cc35cd9cc740fba3970737f40cdb64bd4d48e23a2be9e8be6 SHA512 e05f6e51a0689f0b5bdc745518742aebc3ae9fe145cb82c5e43a1a048df0ea4f11711ac4850726f807a73e232f76cfdc09c62d513ad0007acea7d5d5420c8569 DIST python-gentoo-patches-3.12.0rc1_p6.tar.xz 349384 BLAKE2B 975aae449a01a31c459b287a47bd4d1a2d8b0b39e594a1c976371acc4948765bcb4733dd9e10b70c87dfb9409d4db6b2492004841db61577576852634a40365c SHA512 f262d1a9291867e1bdc8f92c682338369b1b52f210d6db0c648c3bbabea68c6b596dfd8d13507f6d65de37d1b83beb336be3abff239d2a588054794b5bebeb81 DIST python-gentoo-patches-3.12.0rc2_p1.tar.xz 5168 BLAKE2B 399ad4854c46e0a2bdc7c3028cc5ad1807a1d6566654a1a85bf9a8a1b205aa7b57ab1706d8ae478b93f0938a9c205374b291aaac0c3356c05d99c5955633f541 SHA512 61ac3191e0dabbc9eeef54595e4071523205def60dca9c86fdb58d72971423d6d4b37a0875562b8f1ec8627230062aea765c07b771a9ce002a1026cdaacd507e DIST python-gentoo-patches-3.12.0rc3.tar.xz 5168 BLAKE2B 66f132bb26c5ce36823897a6938c0f7018afd8f3c53cf738656929a944604de2764263c437c6ee4f81b617f02a33ef154d354998d14fcaef358b19b867da2937 SHA512 72fb6371871bb41ba59ddf711444fa17524fc7ac185db0ac762f6664c61cf086c73d13df10c0346094f603ed2d783bae201ee79de8d7d4cc339b74b26bd0a2f6 +DIST python-gentoo-patches-3.12.0rc3_p1.tar.xz 9700 BLAKE2B e87bc56dcf82dc0ba598ac68ffda4dbd4dd8dac4b1e9d2bc092f4ef05b9045a41270dffc7b727bcc4e82df302ee923d29dae9c18ebf97494a016c30c2f3073ac SHA512 5d9eb94ab0ffe1fba81362c448dabcd771f89e0a8576a72e7d5748831b9b8bb858942ed6c2eee3306be2a42fe4ed01f971269969c0fd6279c32d390a3a8f7cd8 DIST python-gentoo-patches-3.8.18.tar.xz 32424 BLAKE2B 2e0b6e1c8e3df666934ba283214ca1577b01140dea00513f6420b0255650002e4bc4cb142076620227cd430bc2547123fd392883285886e543ef72ca466f8ea6 SHA512 b005f1054b726fc8c82a50b006309de64fb7858fe5c22cc7b160687d059a7859ec9388706b74a0e6c1f42301bed071dc639eb8cfae0d7c5eef2f565c63cc2d29 DIST python-gentoo-patches-3.9.18.tar.xz 25044 BLAKE2B 1d9ace5c5a0f1c15bc23595cc51d64b4c2b416552cdaaa960c3e34360aba3e7029a06e2a077212c68fa7aee4fd20f649a3b0926bd4ebb10e529e8350ab051e63 SHA512 bc180c3346dfae60a7db221d114146ee83409bc42092171eb05c83de528bf5f0e5654d1441f40ba839d0a98e866a5b43452fb7a72047c837497620a12097b8f5 diff --git a/dev-lang/python/python-3.11.6.ebuild b/dev-lang/python/python-3.11.6.ebuild new file mode 100644 index 0000000000000..422b9799c4f16 --- /dev/null +++ b/dev-lang/python/python-3.11.6.ebuild @@ -0,0 +1,535 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +WANT_LIBTOOL="none" + +inherit autotools check-reqs flag-o-matic multiprocessing pax-utils +inherit prefix python-utils-r1 toolchain-funcs verify-sig + +MY_PV=${PV/_rc/rc} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="An interpreted, interactive, object-oriented programming language" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE=" + bluetooth build debug +ensurepip examples gdbm libedit lto + +ncurses pgo +readline +sqlite +ssl test tk valgrind +" +RESTRICT="!test? ( test )" + +# Do not add a dependency on dev-lang/python to this ebuild. +# If you need to apply a patch which requires python for bootstrapping, please +# run the bootstrap code on your dev box and include the results in the +# patchset. See bug 447752. + +RDEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-crypt/libb2 + >=dev-libs/expat-2.1:= + dev-libs/libffi:= + dev-python/gentoo-common + >=sys-libs/zlib-1.1.3:= + virtual/libcrypt:= + virtual/libintl + ensurepip? ( dev-python/ensurepip-wheels ) + gdbm? ( sys-libs/gdbm:=[berkdb] ) + kernel_linux? ( sys-apps/util-linux:= ) + ncurses? ( >=sys-libs/ncurses-5.2:= ) + readline? ( + !libedit? ( >=sys-libs/readline-4.1:= ) + libedit? ( dev-libs/libedit:= ) + ) + sqlite? ( >=dev-db/sqlite-3.3.8:3= ) + ssl? ( >=dev-libs/openssl-1.1.1:= ) + tk? ( + >=dev-lang/tcl-8.0:= + >=dev-lang/tk-8.0:= + dev-tcltk/blt:= + dev-tcltk/tix + ) +" +# bluetooth requires headers from bluez +DEPEND=" + ${RDEPEND} + bluetooth? ( net-wireless/bluez ) + test? ( app-arch/xz-utils[extra-filters(+)] ) + valgrind? ( dev-util/valgrind ) +" +# autoconf-archive needed to eautoreconf +BDEPEND=" + sys-devel/autoconf-archive + app-alternatives/awk + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-python ) +" +RDEPEND+=" + !build? ( app-misc/mime-types ) +" +if [[ ${PV} != *_alpha* ]]; then + RDEPEND+=" + dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] + " +fi + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc + +# large file tests involve a 2.5G file being copied (duplicated) +CHECKREQS_DISK_BUILD=5500M + +QA_PKGCONFIG_VERSION=${PYVER} +# false positives -- functions specific to *BSD +QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags ) + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + +pkg_setup() { + use test && check-reqs_pkg_setup +} + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + # Ensure that internal copies of expat and libffi are not used. + rm -r Modules/expat || die + rm -r Modules/_ctypes/libffi* || die + + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + default + + # https://bugs.gentoo.org/850151 + sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" setup.py || die + + # force the correct number of jobs + # https://bugs.gentoo.org/737660 + local jobs=$(makeopts_jobs) + sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die + sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die + + eautoreconf +} + +build_cbuild_python() { + # Hack to workaround get_libdir not being able to handle CBUILD, bug #794181 + local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libffi) + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + # + # -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD Python anyway) + local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto" + local -x LDFLAGS_NODIST=${BUILD_LDFLAGS} + local -x CFLAGS= LDFLAGS= + local -x BUILD_CFLAGS="${CFLAGS_NODIST}" + local -x BUILD_LDFLAGS=${LDFLAGS_NODIST} + + # We need to build our own Python on CBUILD first, and feed it in. + # bug #847910 + local myeconfargs_cbuild=( + "${myeconfargs[@]}" + + --prefix="${BROOT}"/usr + --libdir="${cbuild_libdir:2}" + + # Avoid needing to load the right libpython.so. + --disable-shared + + # As minimal as possible for the mini CBUILD Python + # we build just for cross to satisfy --with-build-python. + --without-lto + --without-readline + --disable-optimizations + ) + + mkdir "${WORKDIR}"/${P}-${CBUILD} || die + pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die + # We disable _ctypes and _crypt for CBUILD because Python's setup.py can't handle locating + # libdir correctly for cross. + PYTHON_DISABLE_MODULES+=" _ctypes _crypt" \ + ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}" + + # Avoid as many dependencies as possible for the cross build. + cat >> Makefile <<-EOF || die + MODULE_NIS_STATE=disabled + MODULE__DBM_STATE=disabled + MODULE__GDBM_STATE=disabled + MODULE__DBM_STATE=disabled + MODULE__SQLITE3_STATE=disabled + MODULE__HASHLIB_STATE=disabled + MODULE__SSL_STATE=disabled + MODULE__CURSES_STATE=disabled + MODULE__CURSES_PANEL_STATE=disabled + MODULE_READLINE_STATE=disabled + MODULE__TKINTER_STATE=disabled + MODULE_PYEXPAT_STATE=disabled + MODULE_ZLIB_STATE=disabled + EOF + + # Unfortunately, we do have to build this immediately, and + # not in src_compile, because CHOST configure for Python + # will check the existence of the --with-build-python value + # immediately. + PYTHON_DISABLE_MODULES+=" _ctypes _crypt" emake + popd &> /dev/null || die +} + +src_configure() { + local disable + # disable automagic bluetooth headers detection + if ! use bluetooth; then + local -x ac_cv_header_bluetooth_bluetooth_h=no + fi + + append-flags -fwrapv + filter-flags -malign-double + + # https://bugs.gentoo.org/700012 + if is-flagq -flto || is-flagq '-flto=*'; then + append-cflags $(test-flags-CC -ffat-lto-objects) + fi + + # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile. + # PKG_CONFIG needed for cross. + tc-export CXX PKG_CONFIG + + local dbmliborder= + if use gdbm; then + dbmliborder+="${dbmliborder:+:}gdbm" + fi + + if use pgo; then + local profile_task_flags=( + -m test + "-j$(makeopts_jobs)" + --pgo-extended + -u-network + + # We use a timeout because of how often we've had hang issues + # here. It also matches the default upstream PROFILE_TASK. + --timeout 1200 + + -x test_gdb + -x test_dtrace + + # All of these seem to occasionally hang for PGO inconsistently + # They'll even hang here but be fine in src_test sometimes. + # bug #828535 (and related: bug #788022) + -x test_asyncio + -x test_httpservers + -x test_logging + -x test_multiprocessing_fork + -x test_socket + -x test_xmlrpc + + # Hangs (actually runs indefinitely executing itself w/ many cpython builds) + # bug #900429 + -x test_tools + ) + + if has_version "app-arch/rpm" ; then + # Avoid sandbox failure (attempts to write to /var/lib/rpm) + profile_task_flags+=( + -x test_distutils + ) + fi + local -x PROFILE_TASK="${profile_task_flags[*]}" + fi + + local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + + --enable-shared + --without-static-libpython + --enable-ipv6 + --infodir='${prefix}/share/info' + --mandir='${prefix}/share/man' + --with-computed-gotos + --with-dbmliborder="${dbmliborder}" + --with-libc= + --enable-loadable-sqlite-extensions + --without-ensurepip + --with-system-expat + --with-system-ffi + --with-platlibdir=lib + --with-pkg-config=yes + --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip + + $(use_with debug assertions) + $(use_with lto) + $(use_enable pgo optimizations) + $(use_with readline readline "$(usex libedit editline readline)") + $(use_with valgrind) + ) + + # disable implicit optimization/debugging flags + local -x OPT= + + if tc-is-cross-compiler ; then + build_cbuild_python + myeconfargs+=( + # Point the imminent CHOST build to the Python we just + # built for CBUILD. + --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python + ) + fi + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + local -x CFLAGS_NODIST=${CFLAGS} + local -x LDFLAGS_NODIST=${LDFLAGS} + local -x CFLAGS= LDFLAGS= + + # Fix implicit declarations on cross and prefix builds. Bug #674070. + if use ncurses; then + append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw + fi + + hprefixify setup.py + econf "${myeconfargs[@]}" + + if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then + eerror "configure has detected that the sem_open function is broken." + eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777." + die "Broken sem_open function (bug 496328)" + fi + + # force-disable modules we don't want built + local disable_modules=( NIS ) + use gdbm || disable_modules+=( _GDBM _DBM ) + use sqlite || disable_modules+=( _SQLITE3 ) + use ssl || disable_modules+=( _HASHLIB _SSL ) + use ncurses || disable_modules+=( _CURSES _CURSES_PANEL ) + use readline || disable_modules+=( READLINE ) + use tk || disable_modules+=( _TKINTER ) + + local mod + for mod in "${disable_modules[@]}"; do + echo "MODULE_${mod}_STATE=disabled" + done >> Makefile || die + + # install epython.py as part of stdlib + echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die +} + +src_compile() { + # Ensure sed works as expected + # https://bugs.gentoo.org/594768 + local -x LC_ALL=C + # Prevent using distutils bundled by setuptools. + # https://bugs.gentoo.org/823728 + export SETUPTOOLS_USE_DISTUTILS=stdlib + export PYTHONSTRICTEXTENSIONBUILD=1 + + # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't + # end up writing bytecode & violating sandbox. + # bug #831897 + local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE} + + if use pgo ; then + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + + addpredict "/usr/lib/python${PYVER}/site-packages" + fi + + # also need to clear the flags explicitly here or they end up + # in _sysconfigdata* + emake CPPFLAGS= CFLAGS= LDFLAGS= + + # Restore saved value from above. + local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE} + + # Work around bug 329499. See also bug 413751 and 457194. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E python + else + pax-mark m python + fi +} + +src_test() { + # Tests will not work when cross compiling. + if tc-is-cross-compiler; then + elog "Disabling tests due to crosscompiling." + return + fi + + # this just happens to skip test_support.test_freeze that is broken + # without bundled expat + # TODO: get a proper skip for it upstream + local -x LOGNAME=buildbot + + local test_opts=( + -u-network + -j "$(makeopts_jobs)" + + # fails + -x test_gdb + ) + + if use sparc ; then + # bug #788022 + test_opts+=( + -x test_multiprocessing_fork + -x test_multiprocessing_forkserver + ) + fi + + # workaround docutils breaking tests + cat > Lib/docutils.py <<-EOF || die + raise ImportError("Thou shalt not import!") + EOF + + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + # workaround https://bugs.gentoo.org/775416 + addwrite "/usr/lib/python${PYVER}/site-packages" + + nonfatal emake test EXTRATESTOPTS="${test_opts[*]}" \ + CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty + local ret=${?} + + rm Lib/docutils.py || die + + [[ ${ret} -eq 0 ]] || die "emake test failed" +} + +src_install() { + local libdir=${ED}/usr/lib/python${PYVER} + + # -j1 hack for now for bug #843458 + emake -j1 DESTDIR="${D}" altinstall + + # Fix collisions between different slots of Python. + rm "${ED}/usr/$(get_libdir)/libpython3.so" || die + + # Cheap hack to get version with ABIFLAGS + local abiver=$(cd "${ED}/usr/include"; echo python*) + if [[ ${abiver} != python${PYVER} ]]; then + # Replace python3.X with a symlink to python3.Xm + rm "${ED}/usr/bin/python${PYVER}" || die + dosym "${abiver}" "/usr/bin/python${PYVER}" + # Create python3.X-config symlink + dosym "${abiver}-config" "/usr/bin/python${PYVER}-config" + # Create python-3.5m.pc symlink + dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc" + fi + + # python seems to get rebuilt in src_install (bug 569908) + # Work around it for now. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E "${ED}/usr/bin/${abiver}" + else + pax-mark m "${ED}/usr/bin/${abiver}" + fi + + rm -r "${libdir}"/ensurepip/_bundled || die + if ! use ensurepip; then + rm -r "${libdir}"/ensurepip || die + fi + if ! use sqlite; then + rm -r "${libdir}/"sqlite3 || die + fi + if ! use tk; then + rm -r "${ED}/usr/bin/idle${PYVER}" || die + rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die + fi + + ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die + + dodoc Misc/{ACKS,HISTORY,NEWS} + + if use examples; then + docinto examples + find Tools -name __pycache__ -exec rm -fr {} + || die + dodoc -r Tools + fi + insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 + local libname=$( + printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | + emake --no-print-directory -s -f - 2>/dev/null + ) + newins Tools/gdb/libpython.py "${libname}"-gdb.py + + newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER} + newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER} + sed \ + -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \ + -e "s:@PYDOC@:pydoc${PYVER}:" \ + -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ + "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" + + # python-exec wrapping support + local pymajor=${PYVER%.*} + local EPYTHON=python${PYVER} + local scriptdir=${D}$(python_get_scriptdir) + mkdir -p "${scriptdir}" || die + # python and pythonX + ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die + ln -s "python${pymajor}" "${scriptdir}/python" || die + # python-config and pythonX-config + # note: we need to create a wrapper rather than symlinking it due + # to some random dirname(argv[0]) magic performed by python-config + cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die + #!/bin/sh + exec "${abiver}-config" "\${@}" + EOF + chmod +x "${scriptdir}/python${pymajor}-config" || die + ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die + # 2to3, pydoc + ln -s "../../../bin/2to3-${PYVER}" "${scriptdir}/2to3" || die + ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die + # idle + if use tk; then + ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die + fi +} + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt 3.11.0_beta4-r2; then + ewarn "Python 3.11.0b4 has changed its module ABI. The .pyc files" + ewarn "installed previously are no longer valid and will be regenerated" + ewarn "(or ignored) on the next import. This may cause sandbox failures" + ewarn "when installing some packages and checksum mismatches when removing" + ewarn "old versions. To actively prevent this, rebuild all packages" + ewarn "installing Python 3.11 modules, e.g. using:" + ewarn + ewarn " emerge -1v /usr/lib/python3.11/site-packages" + fi + done +} diff --git a/dev-lang/python/python-3.12.0.ebuild b/dev-lang/python/python-3.12.0.ebuild new file mode 100644 index 0000000000000..1a53a9eb0e9f5 --- /dev/null +++ b/dev-lang/python/python-3.12.0.ebuild @@ -0,0 +1,532 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +WANT_LIBTOOL="none" + +inherit autotools check-reqs flag-o-matic multiprocessing pax-utils +inherit python-utils-r1 toolchain-funcs verify-sig + +MY_PV=${PV/_rc/rc} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="An interpreted, interactive, object-oriented programming language" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE=" + bluetooth build debug +ensurepip examples gdbm libedit lto + +ncurses pgo +readline +sqlite +ssl test tk valgrind +" +RESTRICT="!test? ( test )" + +# Do not add a dependency on dev-lang/python to this ebuild. +# If you need to apply a patch which requires python for bootstrapping, please +# run the bootstrap code on your dev box and include the results in the +# patchset. See bug 447752. + +RDEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-crypt/libb2 + >=dev-libs/expat-2.1:= + dev-libs/libffi:= + dev-python/gentoo-common + >=sys-libs/zlib-1.1.3:= + virtual/libcrypt:= + virtual/libintl + ensurepip? ( dev-python/ensurepip-pip ) + gdbm? ( sys-libs/gdbm:=[berkdb] ) + kernel_linux? ( sys-apps/util-linux:= ) + ncurses? ( >=sys-libs/ncurses-5.2:= ) + readline? ( + !libedit? ( >=sys-libs/readline-4.1:= ) + libedit? ( dev-libs/libedit:= ) + ) + sqlite? ( >=dev-db/sqlite-3.3.8:3= ) + ssl? ( >=dev-libs/openssl-1.1.1:= ) + tk? ( + >=dev-lang/tcl-8.0:= + >=dev-lang/tk-8.0:= + dev-tcltk/blt:= + dev-tcltk/tix + ) +" +# bluetooth requires headers from bluez +DEPEND=" + ${RDEPEND} + bluetooth? ( net-wireless/bluez ) + test? ( + app-arch/xz-utils[extra-filters(+)] + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + ) + valgrind? ( dev-util/valgrind ) +" +# autoconf-archive needed to eautoreconf +BDEPEND=" + sys-devel/autoconf-archive + app-alternatives/awk + virtual/pkgconfig + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" +RDEPEND+=" + !build? ( app-misc/mime-types ) +" +if [[ ${PV} != *_alpha* ]]; then + RDEPEND+=" + dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] + " +fi + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc + +# large file tests involve a 2.5G file being copied (duplicated) +CHECKREQS_DISK_BUILD=5500M + +QA_PKGCONFIG_VERSION=${PYVER} +# false positives -- functions specific to *BSD +QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags ) + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + +pkg_setup() { + use test && check-reqs_pkg_setup +} + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + # Ensure that internal copies of expat and libffi are not used. + # TODO: Makefile has annoying deps on expat headers + #rm -r Modules/expat || die + + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + default + + # force the correct number of jobs + # https://bugs.gentoo.org/737660 + sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die + + eautoreconf +} + +build_cbuild_python() { + # Hack to workaround get_libdir not being able to handle CBUILD, bug #794181 + local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libffi) + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + # + # -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD Python anyway) + local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto" + local -x LDFLAGS_NODIST=${BUILD_LDFLAGS} + local -x CFLAGS= LDFLAGS= + local -x BUILD_CFLAGS="${CFLAGS_NODIST}" + local -x BUILD_LDFLAGS=${LDFLAGS_NODIST} + + # We need to build our own Python on CBUILD first, and feed it in. + # bug #847910 + local myeconfargs_cbuild=( + "${myeconfargs[@]}" + + --prefix="${BROOT}"/usr + --libdir="${cbuild_libdir:2}" + + # Avoid needing to load the right libpython.so. + --disable-shared + + # As minimal as possible for the mini CBUILD Python + # we build just for cross to satisfy --with-build-python. + --without-lto + --without-readline + --disable-optimizations + ) + + mkdir "${WORKDIR}"/${P}-${CBUILD} || die + pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die + + # Avoid as many dependencies as possible for the cross build. + mkdir Modules || die + cat > Modules/Setup.local <<-EOF || die + *disabled* + nis + _dbm _gdbm + _sqlite3 + _hashlib _ssl + _curses _curses_panel + readline + _tkinter + pyexpat + zlib + # We disabled these for CBUILD because Python's setup.py can't handle locating + # libdir correctly for cross. This should be rechecked for the pure Makefile approach, + # and uncommented if needed. + #_ctypes _crypt + EOF + + ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}" + + # Unfortunately, we do have to build this immediately, and + # not in src_compile, because CHOST configure for Python + # will check the existence of the --with-build-python value + # immediately. + emake + popd &> /dev/null || die +} + +src_configure() { + local disable + # disable automagic bluetooth headers detection + if ! use bluetooth; then + local -x ac_cv_header_bluetooth_bluetooth_h=no + fi + + append-flags -fwrapv + filter-flags -malign-double + + # https://bugs.gentoo.org/700012 + if is-flagq -flto || is-flagq '-flto=*'; then + append-cflags $(test-flags-CC -ffat-lto-objects) + fi + + # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile. + # PKG_CONFIG needed for cross. + tc-export CXX PKG_CONFIG + + local dbmliborder= + if use gdbm; then + dbmliborder+="${dbmliborder:+:}gdbm" + fi + + if use pgo; then + local profile_task_flags=( + -m test + "-j$(makeopts_jobs)" + --pgo-extended + -u-network + + # We use a timeout because of how often we've had hang issues + # here. It also matches the default upstream PROFILE_TASK. + --timeout 1200 + + -x test_gdb + -x test_dtrace + + # All of these seem to occasionally hang for PGO inconsistently + # They'll even hang here but be fine in src_test sometimes. + # bug #828535 (and related: bug #788022) + -x test_asyncio + -x test_httpservers + -x test_logging + -x test_multiprocessing_fork + -x test_socket + -x test_xmlrpc + + # Hangs (actually runs indefinitely executing itself w/ many cpython builds) + # bug #900429 + -x test_tools + ) + + if has_version "app-arch/rpm" ; then + # Avoid sandbox failure (attempts to write to /var/lib/rpm) + profile_task_flags+=( + -x test_distutils + ) + fi + local -x PROFILE_TASK="${profile_task_flags[*]}" + fi + + local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + + --enable-shared + --without-static-libpython + --enable-ipv6 + --infodir='${prefix}/share/info' + --mandir='${prefix}/share/man' + --with-computed-gotos + --with-dbmliborder="${dbmliborder}" + --with-libc= + --enable-loadable-sqlite-extensions + --without-ensurepip + --with-system-expat + --with-platlibdir=lib + --with-pkg-config=yes + --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip + + $(use_with debug assertions) + $(use_with lto) + $(use_enable pgo optimizations) + $(use_with readline readline "$(usex libedit editline readline)") + $(use_with valgrind) + ) + # Force-disable modules we don't want built. + # See Modules/Setup for docs on how this works. Setup.local contains our local deviations. + cat > Modules/Setup.local <<-EOF || die + *disabled* + nis + $(usev !gdbm '_gdbm _dbm') + $(usev !sqlite '_sqlite3') + $(usev !ssl '_hashlib _ssl') + $(usev !ncurses '_curses _curses_panel') + $(usev !readline 'readline') + $(usev !tk '_tkinter') + EOF + + # disable implicit optimization/debugging flags + local -x OPT= + + if tc-is-cross-compiler ; then + build_cbuild_python + myeconfargs+=( + # Point the imminent CHOST build to the Python we just + # built for CBUILD. + --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python + ) + fi + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + local -x CFLAGS_NODIST=${CFLAGS} + local -x LDFLAGS_NODIST=${LDFLAGS} + local -x CFLAGS= LDFLAGS= + + # Fix implicit declarations on cross and prefix builds. Bug #674070. + if use ncurses; then + append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw + fi + + econf "${myeconfargs[@]}" + + if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then + eerror "configure has detected that the sem_open function is broken." + eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777." + die "Broken sem_open function (bug 496328)" + fi + + # install epython.py as part of stdlib + echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die +} + +src_compile() { + # Ensure sed works as expected + # https://bugs.gentoo.org/594768 + local -x LC_ALL=C + export PYTHONSTRICTEXTENSIONBUILD=1 + + # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't + # end up writing bytecode & violating sandbox. + # bug #831897 + local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE} + + if use pgo ; then + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + + addpredict "/usr/lib/python${PYVER}/site-packages" + fi + + # also need to clear the flags explicitly here or they end up + # in _sysconfigdata* + emake CPPFLAGS= CFLAGS= LDFLAGS= + + # Restore saved value from above. + local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE} + + # Work around bug 329499. See also bug 413751 and 457194. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E python + else + pax-mark m python + fi +} + +src_test() { + # Tests will not work when cross compiling. + if tc-is-cross-compiler; then + elog "Disabling tests due to crosscompiling." + return + fi + + # this just happens to skip test_support.test_freeze that is broken + # without bundled expat + # TODO: get a proper skip for it upstream + local -x LOGNAME=buildbot + + local test_opts=( + -u-network + -j "$(makeopts_jobs)" + + # fails + -x test_gdb + ) + + if use sparc ; then + # bug #788022 + test_opts+=( + -x test_multiprocessing_fork + -x test_multiprocessing_forkserver + ) + fi + + # workaround docutils breaking tests + cat > Lib/docutils.py <<-EOF || die + raise ImportError("Thou shalt not import!") + EOF + + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + # workaround https://bugs.gentoo.org/775416 + addwrite "/usr/lib/python${PYVER}/site-packages" + + nonfatal emake test EXTRATESTOPTS="${test_opts[*]}" \ + CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty + local ret=${?} + + rm Lib/docutils.py || die + + [[ ${ret} -eq 0 ]] || die "emake test failed" +} + +src_install() { + local libdir=${ED}/usr/lib/python${PYVER} + + # the Makefile rules are broken + # https://github.com/python/cpython/issues/100221 + mkdir -p "${libdir}"/lib-dynload || die + + # -j1 hack for now for bug #843458 + emake -j1 DESTDIR="${D}" altinstall + + # Fix collisions between different slots of Python. + rm "${ED}/usr/$(get_libdir)/libpython3.so" || die + + # Cheap hack to get version with ABIFLAGS + local abiver=$(cd "${ED}/usr/include"; echo python*) + if [[ ${abiver} != python${PYVER} ]]; then + # Replace python3.X with a symlink to python3.Xm + rm "${ED}/usr/bin/python${PYVER}" || die + dosym "${abiver}" "/usr/bin/python${PYVER}" + # Create python3.X-config symlink + dosym "${abiver}-config" "/usr/bin/python${PYVER}-config" + # Create python-3.5m.pc symlink + dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc" + fi + + # python seems to get rebuilt in src_install (bug 569908) + # Work around it for now. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E "${ED}/usr/bin/${abiver}" + else + pax-mark m "${ED}/usr/bin/${abiver}" + fi + + rm -r "${libdir}"/ensurepip/_bundled || die + if ! use ensurepip; then + rm -r "${libdir}"/ensurepip || die + fi + if ! use sqlite; then + rm -r "${libdir}/"sqlite3 || die + fi + if ! use tk; then + rm -r "${ED}/usr/bin/idle${PYVER}" || die + rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die + fi + + ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die + + dodoc Misc/{ACKS,HISTORY,NEWS} + + if use examples; then + docinto examples + find Tools -name __pycache__ -exec rm -fr {} + || die + dodoc -r Tools + fi + insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 + local libname=$( + printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | + emake --no-print-directory -s -f - 2>/dev/null + ) + newins Tools/gdb/libpython.py "${libname}"-gdb.py + + newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER} + newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER} + sed \ + -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \ + -e "s:@PYDOC@:pydoc${PYVER}:" \ + -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ + "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" + + # python-exec wrapping support + local pymajor=${PYVER%.*} + local EPYTHON=python${PYVER} + local scriptdir=${D}$(python_get_scriptdir) + mkdir -p "${scriptdir}" || die + # python and pythonX + ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die + ln -s "python${pymajor}" "${scriptdir}/python" || die + # python-config and pythonX-config + # note: we need to create a wrapper rather than symlinking it due + # to some random dirname(argv[0]) magic performed by python-config + cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die + #!/bin/sh + exec "${abiver}-config" "\${@}" + EOF + chmod +x "${scriptdir}/python${pymajor}-config" || die + ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die + # 2to3, pydoc + ln -s "../../../bin/2to3-${PYVER}" "${scriptdir}/2to3" || die + ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die + # idle + if use tk; then + ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die + fi +} + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt 3.11.0_beta4-r2; then + ewarn "Python 3.11.0b4 has changed its module ABI. The .pyc files" + ewarn "installed previously are no longer valid and will be regenerated" + ewarn "(or ignored) on the next import. This may cause sandbox failures" + ewarn "when installing some packages and checksum mismatches when removing" + ewarn "old versions. To actively prevent this, rebuild all packages" + ewarn "installing Python 3.11 modules, e.g. using:" + ewarn + ewarn " emerge -1v /usr/lib/python3.11/site-packages" + fi + done +} diff --git a/dev-lang/python/python-3.12.0_rc3_p1.ebuild b/dev-lang/python/python-3.12.0_rc3_p1.ebuild new file mode 100644 index 0000000000000..1a53a9eb0e9f5 --- /dev/null +++ b/dev-lang/python/python-3.12.0_rc3_p1.ebuild @@ -0,0 +1,532 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +WANT_LIBTOOL="none" + +inherit autotools check-reqs flag-o-matic multiprocessing pax-utils +inherit python-utils-r1 toolchain-funcs verify-sig + +MY_PV=${PV/_rc/rc} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="An interpreted, interactive, object-oriented programming language" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE=" + bluetooth build debug +ensurepip examples gdbm libedit lto + +ncurses pgo +readline +sqlite +ssl test tk valgrind +" +RESTRICT="!test? ( test )" + +# Do not add a dependency on dev-lang/python to this ebuild. +# If you need to apply a patch which requires python for bootstrapping, please +# run the bootstrap code on your dev box and include the results in the +# patchset. See bug 447752. + +RDEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-crypt/libb2 + >=dev-libs/expat-2.1:= + dev-libs/libffi:= + dev-python/gentoo-common + >=sys-libs/zlib-1.1.3:= + virtual/libcrypt:= + virtual/libintl + ensurepip? ( dev-python/ensurepip-pip ) + gdbm? ( sys-libs/gdbm:=[berkdb] ) + kernel_linux? ( sys-apps/util-linux:= ) + ncurses? ( >=sys-libs/ncurses-5.2:= ) + readline? ( + !libedit? ( >=sys-libs/readline-4.1:= ) + libedit? ( dev-libs/libedit:= ) + ) + sqlite? ( >=dev-db/sqlite-3.3.8:3= ) + ssl? ( >=dev-libs/openssl-1.1.1:= ) + tk? ( + >=dev-lang/tcl-8.0:= + >=dev-lang/tk-8.0:= + dev-tcltk/blt:= + dev-tcltk/tix + ) +" +# bluetooth requires headers from bluez +DEPEND=" + ${RDEPEND} + bluetooth? ( net-wireless/bluez ) + test? ( + app-arch/xz-utils[extra-filters(+)] + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + ) + valgrind? ( dev-util/valgrind ) +" +# autoconf-archive needed to eautoreconf +BDEPEND=" + sys-devel/autoconf-archive + app-alternatives/awk + virtual/pkgconfig + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" +RDEPEND+=" + !build? ( app-misc/mime-types ) +" +if [[ ${PV} != *_alpha* ]]; then + RDEPEND+=" + dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] + " +fi + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc + +# large file tests involve a 2.5G file being copied (duplicated) +CHECKREQS_DISK_BUILD=5500M + +QA_PKGCONFIG_VERSION=${PYVER} +# false positives -- functions specific to *BSD +QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags ) + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + +pkg_setup() { + use test && check-reqs_pkg_setup +} + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + # Ensure that internal copies of expat and libffi are not used. + # TODO: Makefile has annoying deps on expat headers + #rm -r Modules/expat || die + + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + default + + # force the correct number of jobs + # https://bugs.gentoo.org/737660 + sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die + + eautoreconf +} + +build_cbuild_python() { + # Hack to workaround get_libdir not being able to handle CBUILD, bug #794181 + local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libffi) + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + # + # -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD Python anyway) + local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto" + local -x LDFLAGS_NODIST=${BUILD_LDFLAGS} + local -x CFLAGS= LDFLAGS= + local -x BUILD_CFLAGS="${CFLAGS_NODIST}" + local -x BUILD_LDFLAGS=${LDFLAGS_NODIST} + + # We need to build our own Python on CBUILD first, and feed it in. + # bug #847910 + local myeconfargs_cbuild=( + "${myeconfargs[@]}" + + --prefix="${BROOT}"/usr + --libdir="${cbuild_libdir:2}" + + # Avoid needing to load the right libpython.so. + --disable-shared + + # As minimal as possible for the mini CBUILD Python + # we build just for cross to satisfy --with-build-python. + --without-lto + --without-readline + --disable-optimizations + ) + + mkdir "${WORKDIR}"/${P}-${CBUILD} || die + pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die + + # Avoid as many dependencies as possible for the cross build. + mkdir Modules || die + cat > Modules/Setup.local <<-EOF || die + *disabled* + nis + _dbm _gdbm + _sqlite3 + _hashlib _ssl + _curses _curses_panel + readline + _tkinter + pyexpat + zlib + # We disabled these for CBUILD because Python's setup.py can't handle locating + # libdir correctly for cross. This should be rechecked for the pure Makefile approach, + # and uncommented if needed. + #_ctypes _crypt + EOF + + ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}" + + # Unfortunately, we do have to build this immediately, and + # not in src_compile, because CHOST configure for Python + # will check the existence of the --with-build-python value + # immediately. + emake + popd &> /dev/null || die +} + +src_configure() { + local disable + # disable automagic bluetooth headers detection + if ! use bluetooth; then + local -x ac_cv_header_bluetooth_bluetooth_h=no + fi + + append-flags -fwrapv + filter-flags -malign-double + + # https://bugs.gentoo.org/700012 + if is-flagq -flto || is-flagq '-flto=*'; then + append-cflags $(test-flags-CC -ffat-lto-objects) + fi + + # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile. + # PKG_CONFIG needed for cross. + tc-export CXX PKG_CONFIG + + local dbmliborder= + if use gdbm; then + dbmliborder+="${dbmliborder:+:}gdbm" + fi + + if use pgo; then + local profile_task_flags=( + -m test + "-j$(makeopts_jobs)" + --pgo-extended + -u-network + + # We use a timeout because of how often we've had hang issues + # here. It also matches the default upstream PROFILE_TASK. + --timeout 1200 + + -x test_gdb + -x test_dtrace + + # All of these seem to occasionally hang for PGO inconsistently + # They'll even hang here but be fine in src_test sometimes. + # bug #828535 (and related: bug #788022) + -x test_asyncio + -x test_httpservers + -x test_logging + -x test_multiprocessing_fork + -x test_socket + -x test_xmlrpc + + # Hangs (actually runs indefinitely executing itself w/ many cpython builds) + # bug #900429 + -x test_tools + ) + + if has_version "app-arch/rpm" ; then + # Avoid sandbox failure (attempts to write to /var/lib/rpm) + profile_task_flags+=( + -x test_distutils + ) + fi + local -x PROFILE_TASK="${profile_task_flags[*]}" + fi + + local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + + --enable-shared + --without-static-libpython + --enable-ipv6 + --infodir='${prefix}/share/info' + --mandir='${prefix}/share/man' + --with-computed-gotos + --with-dbmliborder="${dbmliborder}" + --with-libc= + --enable-loadable-sqlite-extensions + --without-ensurepip + --with-system-expat + --with-platlibdir=lib + --with-pkg-config=yes + --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip + + $(use_with debug assertions) + $(use_with lto) + $(use_enable pgo optimizations) + $(use_with readline readline "$(usex libedit editline readline)") + $(use_with valgrind) + ) + # Force-disable modules we don't want built. + # See Modules/Setup for docs on how this works. Setup.local contains our local deviations. + cat > Modules/Setup.local <<-EOF || die + *disabled* + nis + $(usev !gdbm '_gdbm _dbm') + $(usev !sqlite '_sqlite3') + $(usev !ssl '_hashlib _ssl') + $(usev !ncurses '_curses _curses_panel') + $(usev !readline 'readline') + $(usev !tk '_tkinter') + EOF + + # disable implicit optimization/debugging flags + local -x OPT= + + if tc-is-cross-compiler ; then + build_cbuild_python + myeconfargs+=( + # Point the imminent CHOST build to the Python we just + # built for CBUILD. + --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python + ) + fi + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + local -x CFLAGS_NODIST=${CFLAGS} + local -x LDFLAGS_NODIST=${LDFLAGS} + local -x CFLAGS= LDFLAGS= + + # Fix implicit declarations on cross and prefix builds. Bug #674070. + if use ncurses; then + append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw + fi + + econf "${myeconfargs[@]}" + + if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then + eerror "configure has detected that the sem_open function is broken." + eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777." + die "Broken sem_open function (bug 496328)" + fi + + # install epython.py as part of stdlib + echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die +} + +src_compile() { + # Ensure sed works as expected + # https://bugs.gentoo.org/594768 + local -x LC_ALL=C + export PYTHONSTRICTEXTENSIONBUILD=1 + + # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't + # end up writing bytecode & violating sandbox. + # bug #831897 + local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE} + + if use pgo ; then + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + + addpredict "/usr/lib/python${PYVER}/site-packages" + fi + + # also need to clear the flags explicitly here or they end up + # in _sysconfigdata* + emake CPPFLAGS= CFLAGS= LDFLAGS= + + # Restore saved value from above. + local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE} + + # Work around bug 329499. See also bug 413751 and 457194. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E python + else + pax-mark m python + fi +} + +src_test() { + # Tests will not work when cross compiling. + if tc-is-cross-compiler; then + elog "Disabling tests due to crosscompiling." + return + fi + + # this just happens to skip test_support.test_freeze that is broken + # without bundled expat + # TODO: get a proper skip for it upstream + local -x LOGNAME=buildbot + + local test_opts=( + -u-network + -j "$(makeopts_jobs)" + + # fails + -x test_gdb + ) + + if use sparc ; then + # bug #788022 + test_opts+=( + -x test_multiprocessing_fork + -x test_multiprocessing_forkserver + ) + fi + + # workaround docutils breaking tests + cat > Lib/docutils.py <<-EOF || die + raise ImportError("Thou shalt not import!") + EOF + + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + # workaround https://bugs.gentoo.org/775416 + addwrite "/usr/lib/python${PYVER}/site-packages" + + nonfatal emake test EXTRATESTOPTS="${test_opts[*]}" \ + CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty + local ret=${?} + + rm Lib/docutils.py || die + + [[ ${ret} -eq 0 ]] || die "emake test failed" +} + +src_install() { + local libdir=${ED}/usr/lib/python${PYVER} + + # the Makefile rules are broken + # https://github.com/python/cpython/issues/100221 + mkdir -p "${libdir}"/lib-dynload || die + + # -j1 hack for now for bug #843458 + emake -j1 DESTDIR="${D}" altinstall + + # Fix collisions between different slots of Python. + rm "${ED}/usr/$(get_libdir)/libpython3.so" || die + + # Cheap hack to get version with ABIFLAGS + local abiver=$(cd "${ED}/usr/include"; echo python*) + if [[ ${abiver} != python${PYVER} ]]; then + # Replace python3.X with a symlink to python3.Xm + rm "${ED}/usr/bin/python${PYVER}" || die + dosym "${abiver}" "/usr/bin/python${PYVER}" + # Create python3.X-config symlink + dosym "${abiver}-config" "/usr/bin/python${PYVER}-config" + # Create python-3.5m.pc symlink + dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc" + fi + + # python seems to get rebuilt in src_install (bug 569908) + # Work around it for now. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E "${ED}/usr/bin/${abiver}" + else + pax-mark m "${ED}/usr/bin/${abiver}" + fi + + rm -r "${libdir}"/ensurepip/_bundled || die + if ! use ensurepip; then + rm -r "${libdir}"/ensurepip || die + fi + if ! use sqlite; then + rm -r "${libdir}/"sqlite3 || die + fi + if ! use tk; then + rm -r "${ED}/usr/bin/idle${PYVER}" || die + rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die + fi + + ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die + + dodoc Misc/{ACKS,HISTORY,NEWS} + + if use examples; then + docinto examples + find Tools -name __pycache__ -exec rm -fr {} + || die + dodoc -r Tools + fi + insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 + local libname=$( + printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | + emake --no-print-directory -s -f - 2>/dev/null + ) + newins Tools/gdb/libpython.py "${libname}"-gdb.py + + newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER} + newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER} + sed \ + -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \ + -e "s:@PYDOC@:pydoc${PYVER}:" \ + -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ + "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" + + # python-exec wrapping support + local pymajor=${PYVER%.*} + local EPYTHON=python${PYVER} + local scriptdir=${D}$(python_get_scriptdir) + mkdir -p "${scriptdir}" || die + # python and pythonX + ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die + ln -s "python${pymajor}" "${scriptdir}/python" || die + # python-config and pythonX-config + # note: we need to create a wrapper rather than symlinking it due + # to some random dirname(argv[0]) magic performed by python-config + cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die + #!/bin/sh + exec "${abiver}-config" "\${@}" + EOF + chmod +x "${scriptdir}/python${pymajor}-config" || die + ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die + # 2to3, pydoc + ln -s "../../../bin/2to3-${PYVER}" "${scriptdir}/2to3" || die + ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die + # idle + if use tk; then + ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die + fi +} + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt 3.11.0_beta4-r2; then + ewarn "Python 3.11.0b4 has changed its module ABI. The .pyc files" + ewarn "installed previously are no longer valid and will be regenerated" + ewarn "(or ignored) on the next import. This may cause sandbox failures" + ewarn "when installing some packages and checksum mismatches when removing" + ewarn "old versions. To actively prevent this, rebuild all packages" + ewarn "installing Python 3.11 modules, e.g. using:" + ewarn + ewarn " emerge -1v /usr/lib/python3.11/site-packages" + fi + done +} diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest index e6461f7228a63..85e55592165d6 100644 --- a/dev-lang/rust/Manifest +++ b/dev-lang/rust/Manifest @@ -236,42 +236,34 @@ DIST rust-1.70.0-x86_64-unknown-linux-gnu.tar.xz 163456784 BLAKE2B 49a8397a7129a DIST rust-1.70.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B e5fae8b3c87f54b39d922fe0c7694e0ba115ae34a668cc873390fc9e4638baaff5b6d1b4c67228c6bfc57b4da9bf77d6a452ca12bf6653d5610895b8ba19d64d SHA512 352749df741287107b966fd603113c51e82a426a7151e224e3a8d1cc7bd4658ef86147f6fce62caccd7b5779d9961be72cbb618db79a2850e8a8c4b0bc229ad3 DIST rust-1.70.0-x86_64-unknown-linux-musl.tar.xz 233692884 BLAKE2B 295e815bbee6dc135ad17dd78801999afa7880a7a8f5ad4932a7580f1b03d50b850bcc3eb68e9d679e0a2d68392d446423ea752e47bb22d64823bf3222e0b377 SHA512 5e42224e109d525a321c107005660059ddcb0414392abc660b80fb09a55c936c79215989646be0aff6b0427b2f5d82a2a19ec3bd3235883a2037575808aeb69b DIST rust-1.70.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 7c5be81109607f191f339cfef87c736e2d35d4a045511036ee6e9bd68f22fbaae825ad5c463b0a5bf29606a8b9cf488172d1338aa4d034767b0f59243613c250 SHA512 241863164ee1a0d702080c9967e2ec5bb7af9222236316c8857b89b517fcbdc362b26ff3e362c4be7fd2989d3fd2aad0a0476feacecd2604855dfa53f5f1af27 -DIST rust-1.71.1-aarch64-unknown-linux-gnu.tar.xz 209839296 BLAKE2B da65e966a6bd8c6a8a13e5ab747da2a8d9b55f90fc20c1bd041ccc1a2f4e2d11d50d2ed9cc7f3a470e7f886ec8b891ef98ea1295491414d5afeae7f83fa3a555 SHA512 a2ea1383a6ea965e4b0c3a7c648bb357fb531a6984418756abcff3c526ccd9221a28aeedd11b65180fd166575e07a00151460dbc15e3b132a0bcac643911d242 -DIST rust-1.71.1-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 52d1fbdba32db7ac2578615fd10a3db1da84441274bb190624e517aec67279c7330f7c6b7fa0835d8e1cd8f578d34952813228a6a221e41c4193e9a079cc6fb6 SHA512 63cbbdd9a73f0223444565b60f59765a734633ef8e93843639969b96fb67550b85fe58079d486a927174f95619f0d6fdfe3f3b84d871f776bc48986be7965238 -DIST rust-1.71.1-aarch64-unknown-linux-musl.tar.xz 193170880 BLAKE2B 26384119108f4503d35f79fc5401c46e1eee326eca4dc6cc282949d2f195928fda5d3bf56c0509b04fdaa3e7c3c47f4ba44b2b82a60b02f7bc520360b0433efe SHA512 3e79692cd4dba512516eb48970dc9711448c33e1d7a5ebe7c5fadaed7f053ae9c1a8e6efcd1713f87dd84107a37b0fb21b1246e0d5c3e0dab677e5c7ed210825 -DIST rust-1.71.1-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 223d21586b07645d5860a3a023f42a191fc2490ad9e5736c3b2335565227780aa1f87174060cd6f87c4c873b965bb32b1556fb60fe70a7dc0f753409adabb024 SHA512 197197752e5ce110a1a96ecab8d1ae3aa82769a199c51b42a14b1f0749045a280f00aea0dd0653211bb941b80fbf43960d1e11766cf2dc35be3a34445e336423 -DIST rust-1.71.1-arm-unknown-linux-gnueabi.tar.xz 173870064 BLAKE2B 3c2e440e22199e081f6121513cf2a86b22ba0da08569d0b95edd1a69d890e191bda150429f4329c9932d45c44d49e8dfe1902513bb379b039dabfeb8bca36a44 SHA512 c59b1ba5d8bc29a2d1bb57f19e584af28ac92d8bbf889b80d443684e09a6249453bea429226078c9ffcc4d04a7a03f3605d82e3d8b412ca83720cabf5595a8e5 -DIST rust-1.71.1-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B 38a5fe9e5e67298909d6a36e625b990128649975d47e544847a2d6067ff88fa63cc0c3e1c8e2c8697f0a0f39584b4e60cb8f29390cc6abad721c681a4cf183e2 SHA512 a7230aa7f507e5e4d71d2701fd5c1abe29e3c53109d67a5133fc32ea32018c6ea6dfe512a0e58acfa8d2c39dbaeee2cafe420aef4979e95ce9d62b7520b9b01c -DIST rust-1.71.1-arm-unknown-linux-gnueabihf.tar.xz 174277632 BLAKE2B c317f946f4fa7b4e5c4e39bf4035108ff1a6085420f932eaa532cb89f15babf4b80a5c231f9980300d4ea18b6dd369bcda33bdceeb7065b03fdde41a01165e76 SHA512 ff4b6ac0e6691820f525a84505a3556a729cb189700209c084e9fe981bd076ad7ec30fb748666b7f51ee901ac039d596670bf782c60018590980ff1e61cd396b -DIST rust-1.71.1-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 2fa6e24ac4cd9ec4772655c5e8b135a0118c38ebb41462940669df0c65c0091e60306a5a09cb020dcdaf06aca7b2c8cdff904dd2a5f4ca87acfbc5775adf2b6c SHA512 c9cf9c1f8e19fe0576dd805f21ed8afd1d3536fa8ba00fcd39d6e6638198fca51114a8d99cd62164d8a0aee6bdf37831e678f08241fb8ba63ccdd6e8c7225717 -DIST rust-1.71.1-armv7-unknown-linux-gnueabihf.tar.xz 178239136 BLAKE2B ae0ca46260aa4bb60760812f50e606ecc18fc14b3dfa56135cb6a83249c0cd5e0544d29ef5eb34d3ce45e53552f736c8db2928b3d65d847a9b3d61be7e863ee2 SHA512 56c63d4e9dd99ba3604bec5c0f0d8c2a51a93c0d11beed721d99cca05b20310f4439c049ee5b3ddb6e723381e315ac991d9a7327cea86e852b6cfca4cc7f9a0d -DIST rust-1.71.1-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B d5cea850a1930a316574c977542e7026eed67dc244d8857c720d9de168f39b5437912634cd5ebefb63e8d58200e7b11d69b8c6ea0e257642a0df7c1ae8026c80 SHA512 2d06f90f916e4f184d536b695d123628a28f452ad4fb3da53dd3fcf5e013df594e8ee6eb1819268bc5b20ceb1c05d6d3b68a4021e60c73c7da934fc05014d2c1 -DIST rust-1.71.1-i686-unknown-linux-gnu.tar.xz 202188608 BLAKE2B 153f94771d68ab8bc25d1e38afea206cdd182a1ca0b7ea8616b932617c2368acaffda959ce3220506d7b2601b5120ce65ab83fbef167429b1b8a76108f3137b6 SHA512 e835354cee992f751d994943718d8908bc687a540b91b4b296962ceb0047d447e5b12a7cfc6661de8a4ee9c90722f8274c3e6a37f6842e8012f883cff32ac2aa -DIST rust-1.71.1-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d2e47ce2eaf7d8c16a12630778cffb25fdbbe23d978ff46d02fb6363f6ce45a6295cb948f7b20c9a966d14f832a38e3c53018188b54fcfaac7b2df85508990a9 SHA512 2e5d191ba550965de6962c595c5dd063f96603522eff467433f3cffb31539e3406c1a62e3fd37a66c4eeaff2c1200a33439c6ca5133dc00930c89c7713ecb0ee -DIST rust-1.71.1-loongarch64-unknown-linux-gnu.tar.xz 158000652 BLAKE2B 6ca5a251202330755f53eff6151abb724cbfbdf190e19d15df009e33cb17795b74a491e8a6c040ea69fcb603d19b7baf6f1f47afb5a984bcbb6239640748e003 SHA512 be33401e6f02669102e51524ecb2a4bcb75a539084ed0e04f80bd389be8432a7f3952304b21397fc1d6894d86a263da40831625a04b72536dd2af79b0d2e1845 -DIST rust-1.71.1-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 5b744b2bd11ff69ac0c66af93a80c0c9f4d6aec465109033a8ffc63d2a1a8bb0e9cde1d3e9aa65e27287105673230acd07511e58112b7c5beb0c452323cea72a SHA512 a5d71f2555bfda22c0366a35032ab902071e3c75e781d1b1c5d090b6b6dac78046b31b789f71f9ed4adf80523903add324c1eb8e8f8a7b744d6a7d8cc6d3be68 -DIST rust-1.71.1-mips-unknown-linux-gnu.tar.xz 152451900 BLAKE2B 86804480dec985aecedec561707ce7dd2dff5e85b25da940051c2d89ae905b630ed7bb0df9e9bf6373917c5f6f513049b8be4b0b673d7c0dd77d8095700e6103 SHA512 0d3069e17c23e6651bc6dc2f7dd4de6b5b54e24ade5aa81a8ddbaa5f4f13c26084c3a04d246181d49fbb15cedede2a5d8f3e4a21080654a257c1b4285dcdef27 -DIST rust-1.71.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 217ca15420e4ccce2ea287913eaee07b90a1ec534a805b899032a8ba18f7b6a75feba873b8fa773efef32cbb0b265da08ff026e6d387c824e63000b04e7419b5 SHA512 2e0355d8364a9e6b711012fc8e1f227c76290804d967def666ae30e899f52197da06dc1498191f6b9de6868730eb8883ca0849351981efd82a5b9d12da9681d0 -DIST rust-1.71.1-mips64-unknown-linux-gnuabi64.tar.xz 150685836 BLAKE2B 90496f5f9b3af09d9da3b45913a57ac2b1035838cf4940d3a6d4c2fb6bd1c5dacc86b144e8be851a35bcce19100ed2cc800d840c3182b01ea1954353060d56d4 SHA512 af97988af615c7cfe08db0424169cb133f97914fcc75a76356ae3b0eeac2c8eed436208694d218a75879db163963d87523d23d6ce5ccc91688679950536c13df -DIST rust-1.71.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 04665afa887c047d2e888ee4275faab1efda5f7dbeb4222c056af53c756a00ccfa5cd0f5a792df4bff325cb870f50ce6cb09e713afeeec201050eaa14dd6b0da SHA512 560d1e474e177cdc28cf94b10f72785ccc0db748a185b5bee8ab0c9598d3ef7152f79bffa7f11594be06ae07c3d56bc8176bfbd40284a6888d20e77bd036b9e6 -DIST rust-1.71.1-mips64el-unknown-linux-gnuabi64.tar.xz 153800316 BLAKE2B 63787c2fd44406d45de5f153259237df8116aa5419d241c92c5e9509db1fdea6fbfa0b119bca83cbc23a2abdfd50365de7c7e3f37bb0f7d402382657c97ad226 SHA512 a6c8399f2f4e56340d1712c71f03ac87ecb8f3694f0c4f1ce64a1f810de850f5ece7361cd93e8881d83cea2094a82a51f0d54cb795c4d02a5a1d94ed49b8f0cf -DIST rust-1.71.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B b69e13a4dd21447d7a39c24f96e9416c7b68bdb4af08c1ee7e312d78d2b064d1d67e397c0f04f9f8c68498ff3934350729021c9a4ee521967bdb63f53ab08c17 SHA512 9bcf27125cdf776719c87adb2947b1b9965dd3dcb231293a225e2424906e759f97ce2972d2f7ecaf69d708266303b8dc776c3e119c070e1c21ef59fb90405050 -DIST rust-1.71.1-mipsel-unknown-linux-gnu.tar.xz 155924032 BLAKE2B a4862cfd02053dc8303de9158929da634980c15d8fe32b7b51b316e6aa83de1f0d075ea4acd250d5bb210cb269bff373613bd45eba003f38439e22831b433dc2 SHA512 96708e1481c4790d5c2938ce7664cf83c2b9295023af017345ab0c9afa37bd43c2db93b9e8097d8d1aa6c913bab0db9324f057ecb25aa65bc16295cc625f2bdd -DIST rust-1.71.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 90063d27ffb9071f6c10cc54d17073ea79436dab947b7f8f0a8f2d7c0671edc66f7e45d5954af77f30f8c3a005d2951af56f129d311cf328c9987bd5a5ea9802 SHA512 a2bc87f7c1baaf6f245b1d008162a1e5f52b6f949a3e06f69a7ae22315fc7770403ace7289830cfa60f6e66fabbb23352fabb5f0c24be05d58f4f891a8d6e956 -DIST rust-1.71.1-powerpc-unknown-linux-gnu.tar.xz 172809692 BLAKE2B dd6e3c96d168dc2ad4b3bca38a42a2b3c5c0ec5555f042ffb9a7e1d6430bce3659953c2c6c5454843ab41e648e479c5cef2645f2ce0bafe72892ff1ed014787d SHA512 bc2a8b9fc8494cdbab89364c15212f7f8e9af416639f9dd05cc57f0ffe18288be7ec489d18061387c43a2f8f4ab1273bcd7de58126546b59a42ae80e9a2c45d8 -DIST rust-1.71.1-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 620a63d1732cc0cccdc3bf6b141e2467c0ba50668d72be44cf04becfa9e0c30e5a5a4a7f5ae39fd1321130703bc6522c78e9bfdb23e7b3354fd760eb4d118991 SHA512 f6467c3ab3694fb89db06c67e6fb8afde75b4ab86752d9c918c89ca6bcc8914bf45da71076142eeea2dd10910edea42ab0d8144ff7b769b22edcf9bdb447e381 -DIST rust-1.71.1-powerpc64-unknown-linux-gnu.tar.xz 172399116 BLAKE2B ebc82664a4e9f651e9111e862a9cc341615526c6e7af2b181a653eb7d6a0c52156bf1cd35671c6e5aea41fa2653f042a9c865212bef6e8844a88fb9bb7a8891a SHA512 94395abdeb1615f594e4fc86d8bad85a01bbab05893bc8af7890ec509a2006d51c1a8723d3cc8082a214ee851fe4ba06707e01c3f009ed340d791d35e034341a -DIST rust-1.71.1-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 6d3565b8d9ec5b6d719dbe06120469e2a6f1ac42708bd7ef9705e796f0a4c528929a3984a7090a4da6521b09a53b48db119dc388d66f782f01a1ebfa61c8df21 SHA512 847fa662ddf9234a4a6b73e9d515b06fd0af0f098a826463ddb7df406dfdb25ca7b37110e90ff07f0a58cdf2c42755ccac70f057243b44f3b733ddc449cbde2a -DIST rust-1.71.1-powerpc64le-unknown-linux-gnu.tar.xz 183620460 BLAKE2B f8c562813364a2ddcad26287f227ea93af4d91fb083998835e469a676c9be1c0262e88d0cb7e06cdd1293ba8807334744d4e4000c58d9f34c07fc851b0e31e5b SHA512 f8f627d847e405c9960a01f59eb1e14aa647e42004cbeaabe734c110827921f019cc01bea13f2ea0b5b3c2e4391f60b6ccbe4298182593564169cce0db6c9ae6 -DIST rust-1.71.1-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 2c09621ed09918bcebc6561f7f12e387be7919568929d0215a6bc5333610c158acca2998ff8c918956d8289da2f3e2ed4850c0ce45a9f1d85a304063eb8d5671 SHA512 5f5361a954d4b0510d48cf5b2f2bd0722f9d99a7b28aab8f3dfea9303489d9b60f6e20ee4fc61b74619d3c0fd298ab9bb903b3509f55c448886e428ba9e28d71 -DIST rust-1.71.1-riscv64gc-unknown-linux-gnu.tar.xz 164813572 BLAKE2B f86f7443da64afd416ea3119933a05a7638ee41576e9d761f491376b781e9362992223186109a6b930ee8a012dac5c37547448dcb903bd5bc480b66f8fef3123 SHA512 525a345dcb09141e4f4f5ef911c8f8dd63180fab956752ce0e9f5e2821c89603a2896e7042e019f61ae8807052e96b52bec492f49508dad2a351ce1a9c6de79b -DIST rust-1.71.1-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 6d37bd643caa5780e80a51876228bd12175132af89f1fd35dbd55f8c5544afd21c3e844027083d9cd5ba48bd41c3dc8c1427b400c2141dc3e1d128a6f5672ba2 SHA512 ee22b054810c12dbd48e9ac4006d74f2545c5fa090b80f831673e0850e16122569376380d1edea6c6195bf76441c0751ab52c6a143a643e656af0880c12578c5 -DIST rust-1.71.1-s390x-unknown-linux-gnu.tar.xz 195515792 BLAKE2B e8618c69ccc350c7e63461080a3768bf4d7b26f57e75a98a6e62625cb0deed8cf93dc00e485051d01b9996c6b48d3d1a84f88d5194b618d06e926c5543524071 SHA512 7915806421c07b70acf31bab86086981dcabee08e826668c8225db68c4f895fd16ba3e16b710416d2b96de3c30a9dcd137107a04ced21972d3fe52500e56178e -DIST rust-1.71.1-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 4266dea5182a07d4ea1f28e6a362a2233df684836af9b5d2b78e87aea2626575d3af6716868b1cc10d2f38d77910d845c3997da7bf93fe865d8486d63dbc9e1b SHA512 a70d2d4592021294734ca9e069ce1f22e2531323524e4bc6477efae074026e0685e31c1d06328e2b17eb87a27dd7ec6793804c87280a002733b87a676c374729 -DIST rust-1.71.1-x86_64-unknown-linux-gnu.tar.xz 161080376 BLAKE2B 40bf80551c032dd62e19bae5a235575c5d8894ea75f77dd34510499b4f4e779e27da0faa98aaeacb57f73e9632ee90ff0f60f167108529ade67198841215d109 SHA512 15c5ff75b02357beefe717a36e7755d2841778ce4e39020d2b920239e4c8d0adfc17ee65de7bf42493d287bdfca194189f3276adc0374ac3d1a6af63270ef954 -DIST rust-1.71.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B ce029d9af59f26535a3fa121f20672f7eaad5019934457ac7ddc059dafcb2c3a37e5683923d4bba3f3a735805f11092189cf84d0a6352a5f9f475bd3eb00cdf5 SHA512 0376b16b9c845738c3c291ab2a73a3ecb20cbb8bdd0820568a0683c84b211e639413b3046d756e607a0f1b23695c9dcb351711fcc474e6faa8fe3098b1fefefd -DIST rust-1.71.1-x86_64-unknown-linux-musl.tar.xz 232096648 BLAKE2B 7f4deafa57baa300f037ce3d9dbd101d5d28cf29368c4b2fc8e51799e59382155076aa0a3c0b6fa0c076693fd43dfaf80ad7685cd44233d7c31037c091a90224 SHA512 55b507a30d62a36aece4a2c2cab985e09d9552ae331c1cab51d949777261600e61d4f05ca1e81fe8b37591fb91939b1cdb55e6930d70e5126eea1a78caa74eb4 -DIST rust-1.71.1-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B d4a9f89274bf4b0004248764c07c7f82f8708f81a826d7509611b75e51d280707a75ff2c9d6b372e79259f7086b3e962afe51c3f0b98dd3fdd4feb683783c9fb SHA512 8be13b63b48740bec80772a826f06a012de58b1294f87374d7b4c844c90f3093ffe86bd3f1d989987696aa095302cc4644e3137fa2c9e1363c9ae8c3e1a05268 +DIST rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz 212153292 BLAKE2B 2896fb7c195bfb0b1b8313c390458c86e18986e2c1fcd973380e26ed78ea955c20c37475c9788fe9b23435020393fd8408566091c2974ba439b86f3b34676100 SHA512 7843b39ac259267c276834c66bb139f0548e5ee2dd1bf9e3830b07cf687e15f4b27f343dc13ff155bd86c8f0580f7f16576bb6731b782447fd0f0511f8c75e95 +DIST rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B aa8b2eac07010a0e564d6681831f99e3379ab5a2520c3fc29cc67803afdcb8952b596b653d8bd8e15305f1ce5b9c97ec611a3d3e8f4f3ab2dd2dd066c0401218 SHA512 308f82d5acdd18469b751d97d89617502ba554e6dfe72cc38cbcda0abb5705dc667f0c18a69aa1260143cfb4a93ce7c77726a917ab2060f7cd7d4a071387fc28 +DIST rust-1.72.0-aarch64-unknown-linux-musl.tar.xz 195414824 BLAKE2B 0bcd33b23ab927c36d2fe4eeca98edf421824d1ac9d88593bfd29476c8faec6fd7deddf0e6efad38faa0000986b234c7f5aed8d15eab9ca37569a434ddfddbf3 SHA512 7ab0adfabe9e5e3226add9fcc34445fecf9bea270cacf5e87c13edfa240c2b26f34cf035386ccd9b8c1edcbd74285d903d3dd7a96f6f1a928f4f60c6e619324d +DIST rust-1.72.0-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 243c5108f2f56f742d589a3d510758c7377e5ff2625e1414f6cf5340c111780ad6397305fb01d28af50a9484662777c70328f9b2f490f3e2e3f934a4ff133604 SHA512 49289ccbc79f022d23eaa9d4d9e551365be6cd348e23f01ac099e103cc6cd2508b30494057e181a8246d7c9fe1d7fefb6ff473608e3d8835d098ad6c00dc02a5 +DIST rust-1.72.0-arm-unknown-linux-gnueabi.tar.xz 175875544 BLAKE2B 20dc09b8e2cc48a7a52f184baac30c523cd180524b178a91a72c6b7bc91e8ce0fe3e4d2605b1f9b5aa1535daf29a8e92328bd919a9f5913002086726f5e6d8b7 SHA512 2b8da66ec7575fe4e77d34247cbd91b376f5f00039c02855964883fe0e3610c47f087ff3486b36181ab7724dcecec78762636c9c9fd17a2e9410bee5f7efc84f +DIST rust-1.72.0-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B 8a5cbed0df91a723f3c96b612c2eeb2580073fc895467a051b714b8d29956caee3199422686ebdeec6f38c8b0b05e5ef7a79f4a5ba92d77ed500ffcc4e3532f9 SHA512 a3259d475ad2722319a15ebcdc5c5c7a74b38813d7ee2de5d1d69e7ddcb9cd2bd3144655df73e1f5736262de5166d444a4aa9ec638ab4e2228de0e5b91fc46e0 +DIST rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz 176030324 BLAKE2B 8285f86700cd5dfb7ad2bdd70fc58a5222e64d7bb70aa51984001ce379b4fc7117e90faba1c3465357a27691231aab1c601f9b603418fb2004a4b2a8ed74a083 SHA512 9f810fd926b7d425c14ae40f8e47f59609fb18618ff4b16f26cc42904f9797a9633852a6747c2a7ecc130adada08ded4c99565a53d563b17ad04350d15145666 +DIST rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 6465556de7829ac1c02fc8cf6f9f394d87d8af9326710c100f24de5cdca62c3a6dcb831177d98d9b060a6e4338985513072f3430418e4378c1988509d8f10528 SHA512 3a85a1a7111fc86a5974700de196f716c6cef0436a7bbf791be7ec5eed3252ae654d48f60c5056e5d5000196b34d7cd32d821670677363aa9a94200ff269d6d7 +DIST rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz 180272644 BLAKE2B e3c1d8cfdb4a3ed8e445ea1814d62f1d072de67f0c217908c7cdbffb30614cabcf8582e393a62ac43624e0d131bde1c51426ca04d9dfbbec265887b674863b83 SHA512 36f7d44e52668e4e67700834d0614d7f37f3b7219eecd1008ff9660f79226a011bac75402ecd43ae12ef5479d2e2187b10691057c188fc5046cb79138bf6e521 +DIST rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 09ed6107a45ffc61a80dd2ef21a286d184f0a2c8c57a8c0e41fa1eca786941cef06b66b5035eefade29781912118ff1da11a7f7fbb3ab3b4873d8cd2249e3f03 SHA512 7735c460247df0a6536561967090eeb5784a44d1a1cabbefd6d57a0afd74bbaeec96f65e206388f7958b32568997ecadaf83c9e75451986e70fb05167584bae4 +DIST rust-1.72.0-i686-unknown-linux-gnu.tar.xz 203434692 BLAKE2B 2affd5b42c664939ea0c15837baf51c9f315aa456c41e916300b45a3eb06c26995394d292380470442f0fd4b187fb58a1730ecbe9a4928837a7ccc0d59d8ed2b SHA512 fc8ed251d6c9888894b168506e5980cb9802b43485de5c9145d128257b1b60d363612115149f39cc13a9e18929422deb8285dd999abdcdb089d2318dec8ec606 +DIST rust-1.72.0-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 16048265dcb012b67fe9de44c11353a2506b314c45482721648358ee84dd500d13c30ab55e14f0cbc6837761924904355f02a0001a042819201c096965c8bc74 SHA512 5f16000c95372d9799787c3bb0f4d948cca18ab806e368ccee17d4bddb20352492906d54cd56fa3d50545374a70e42a893c37463baaccd1e612358a7c809a9e6 +DIST rust-1.72.0-loongarch64-unknown-linux-gnu.tar.xz 160819080 BLAKE2B 66b5f34f9dbbc633fc240a240d5b0555ac55c5cfddbadeb22168ab90be83410a75a9fbb154fd1aeec2ba8447ff76ed2984966c7352b46afb52fdb2eae82b02a1 SHA512 fdebcca89a65d5cfa6c9d65f89a34989af0b8c5c1396dc182ff6d4ce320111ae6b23c2e06786ebefd8dc40dc391342d38fed38a193daf0b42b6dac64cd79d36e +DIST rust-1.72.0-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d7e483773ee6c105829d7b711904dd14194c9e69d6ad1271c45ff826d78cd23da3e8f5dfea688adb157a9c2697d3c36b1e88e7ee2789d571bc90e41701e46540 SHA512 0644e4d76dda08cd95bc45c5797252b26318841844f4d0baa49212c1121c773b64d2a4ea993c83d412e33433e604b1cbdb86ff60f8328cad2f5c741ebfc24a42 +DIST rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz 175099316 BLAKE2B 7eaa2dc7816f63a9a4288d852b2ba7b3e13c5155f5f9a8a6ebb4a2d20f03e900b52054689958a07e7f52918835536ce92a117f8ffa014196040c3bf340d33b78 SHA512 f2e87a12a2d5146011fd9df5532df06b7a936c2ee4866b95d0d484099240df9aa13597877d8f1ef56537928b196dfb89d2b2084784ff9b2f86eb37407661bc4a +DIST rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 681fae9a730a7f8006e30d05378ca518abd8514edbf69d82e6485f11a8a98f14c819f63618412fbb4c525a4b60367498d79c0b935f6be5c7b8a59f4e60775bfd SHA512 c4f5020297ff35043c1985e04ef5322b18283d1ee24a84cc29fef3f3e48e87612bece6ea5e86a5573b86133fb1cda7402aae98c897062b18d3ab71da48e3b68b +DIST rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz 174927468 BLAKE2B 2b7c0d3b22a6b6b80f2f9771a6a6ef678575d94c2dd0dffcde0ab572507a09b663a5a4106f72865b57da37c9e710f75d38882fa0345a73f6f1498566a77e52de SHA512 c7b7f9c2b525c8ea1ec9f9c0090a8a4c098f5680b22b04b30ac86da29586b04d2a901498035ffdb94793b2732ee985c71137c63c1f7b938496568ce8b82d678f +DIST rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 5b9a6805c0ca7af4931d47c9950358b896689b452b898f0ae5d21a4c4027c20c321ce6cb2b150ac3b2508ccf0a3a430124a44974cb011572a126594374e9c182 SHA512 239bb2ae442d2b7d970bcbab4bfca77e09ae17d2caf4a2cdcc231d1c9f1aceb4b98a050eb3f3fae3184c2b6f451d32cafdd0d1e11c2714e180f3e3769b9a1b42 +DIST rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz 185829712 BLAKE2B 305af3179f7a66e6fd7b8886e9f86e4fd4d2d71654658f0804182bf7ba1a5da6c71903fd89e899eebb74ccae366ada580a7b4a33436b3b82af928ff5d081fce9 SHA512 2401d3490c1e3ec32d185f7f5886c355384ba2cf28c5d14ace0d2b8d14eb5c5cdf4c507c67c104849decc23bdeb7223a151214e11b67c2276dc8f795878c76cb +DIST rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 10bd90f3e07d892adcc04d9ca43454a78a5e260dc0e90978ebd50d48aaab488466584180324970f790eb181165f2d3961c515225c95efa55ee3d53d4a8f831a8 SHA512 e72d4482171090bd1e801a94b7ddf7002555e37aea9e9543e3d7f263df938ff223c0980dbae4b56665ea42e2c352e94f0f18c418fad02cd68d3b6d7f087f4e7a +DIST rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz 167275368 BLAKE2B 0e77dadf640c0fae29f720458caffb3dfe1d9a6514526676e1da333098341eba20d2df9b191005e5d66e6396b9e12c25520692f862ad84c1fc91eb1a6a71c470 SHA512 157da3684962c3145206910627bebc9fc5f01fc8d7e56477bae2796bc8fafdcc504dcb77cbdcc96cb2288b0cb019452116df7740fae3a87b5274d103da7f3a41 +DIST rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B e660968bd401882034d63884e60ddf0e50a42c1e17a517aaf153731a0d319d9de5c074381fd1e56b535e1a870afe2b17b7dbfbbef33463a6bf4ac0a78226abdd SHA512 87bb2b30710a4159d1b2b87dffd45be772dfaf58218459109c8279da21440ce423cf5ee28fee0281c3b2b9eb433880c0f63177b0b775027b15095c9b6ea99bd0 +DIST rust-1.72.0-s390x-unknown-linux-gnu.tar.xz 197718192 BLAKE2B 465815892d2c4c76978fb3f14fae021f95007f17e3b6937ac64f22432aed808e77eda6081f0918d7fd48e00364099ea147e21dd80ffe93600088d7d1b39ae9fb SHA512 5ba7b7fe39fdf9a542040807283ded3271e37a8576e387c7d5333936623f688192902686027e491a6c5405906102afc0dfd465fd4093956b88942d54e5974e45 +DIST rust-1.72.0-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B cdf0ee76397801ac561e39cddd1eb1ee94454ff52df8e117a35aec010d4534b1ec024e1e1981579924bd976a1a48bc1217c990adb307a2c4fdf618c85801cd0e SHA512 a333a1ecd37aedb9f32365396dcf69e235a3c084bdb34b656929ce38ad78b5a26092ece2b81380efb32544ba578a657615132c02c7f4491855c9ca90d77fb863 +DIST rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz 163402880 BLAKE2B 0f498510f8bbaba4b36e9e1cdc8e1e0482b4f26bc7f42a600b3e3f2294490f230a87d955c4f79c53ce277163660752a39889456d743c74adb2659cde536e09bc SHA512 f02fc82181fe2665aa66ca4948b66abf031c9ca273bb11ba69d1e99bf5bd1707010c4baaa04d8c83e9e97e7bb60440e3562380077903a459f689ef5dbac3ff40 +DIST rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 51083330fef8b0e9f4fafe71e3a08891bec9be8e1c2e64ef37cba463e99c13f44639981c8aae6c86d50c6a23c4846a4f056535dbcbf39a2d9096615862feff87 SHA512 284b74f87e192451ba95cc423089d64334f43da8c221f45acb683a088e7dfd783c488c7ed3fe68619aff4c245271cdcf4b1b8c5f0bef1f8c3d3af0ca13d394c4 +DIST rust-1.72.0-x86_64-unknown-linux-musl.tar.xz 234831716 BLAKE2B 3ee1a5727ad120bcf173dcee3770e342f107777984b06782f5ae588a58e5da94ad4550b00c168ddbe84350605100558bc01e139763b5734cdea32545ee6ee41e SHA512 62d5967669164ce7e8b6815298d79380ca96cce5a6c8a67db84cd3d5fdb6825ba9d2a91d59c2185a93b1c26030ef017c63942dc7a363e742d0abf356bca6f1f5 +DIST rust-1.72.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B e04731dd5edfe93d17cb032d772917d49bd46f195738cefe2e685f42b9ba5148d120e8d71c627cae46a665235f14ac0b35aff58498ff92da7edfdc5d6e562773 SHA512 2ed245aa779c594f8d9cbcbf63e7c68165d600408a25288163ceebf78946210a36958a3df80c50b2006e11930e09ecec0eee233ff659a9d2ffc78c1b55d3b0fc DIST rustc-1.65.0-src.tar.xz 139674928 BLAKE2B a218263fb67e306b153f5a6dae95b5ec653acaa5eb4b833862d6f0fd4685a8cec097dadc1b8a934e1bf6055672c7a617f9a0ad4a7dbf2e78084297f10b7ada04 SHA512 3d0369ed3028209c4ecb9b9e7b5f5e3a20be8cc05199675df4f091d62a96c0734bc1dbd7630928fe162792392ec6d0daf9ceed10771531ce022200c7b631e3be DIST rustc-1.65.0-src.tar.xz.asc 801 BLAKE2B 43ff92011cd6f7f34ce0495fa341379e5907d032ea90f91e533e5edaec6ad518aad50a9d8b2694074d6909ee96aa779403b16e95792e962e79c1b967542ae26f SHA512 75b9be53363022c81333117876cbcc573bbd4733edf767cbb164218644efb1a9c4bfc2aa73aaa1e39f248a84f1adacb1930a94a6e63f60093ff760fb9ae02efc DIST rustc-1.66.1-src.tar.xz 141692940 BLAKE2B 3fae45345998386fda1b11ec896fac4613b8e3f0092bc0df29c9685f4a4012c0bd1b600911c2d19bcfa8f5a84b8a3c39d4c9e062a62cd61925b59129e1cd72b9 SHA512 1944c024c603140d0a9236043a3bd1d0d211dd8d368d6d82a3a620f1ff43b29624755b0943f2b38b40a188c7eee77a840238ea757eaf435e2a3fa6a0e6b82832 diff --git a/dev-lang/rust/files/1.72.0-bump-libc-deps-to-0.2.146.patch b/dev-lang/rust/files/1.72.0-bump-libc-deps-to-0.2.146.patch new file mode 100644 index 0000000000000..bd1c4b589adaa --- /dev/null +++ b/dev-lang/rust/files/1.72.0-bump-libc-deps-to-0.2.146.patch @@ -0,0 +1,156 @@ +This patch bumps all libc dependencies and checksums to 0.2.146, which includes the fix for musl 1.2.4. + +--- a/vendor/addr2line-0.20.0/Cargo.lock ++++ b/vendor/addr2line-0.20.0/Cargo.lock +@@ -246,9 +246,9 @@ checksum = "e2abad23fbc42b3700f2f279844d + + [[package]] + name = "libc" +-version = "0.2.141" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "libtest-mimic" +--- a/vendor/backtrace-0.3.67/Cargo.lock ++++ b/vendor/backtrace-0.3.67/Cargo.lock +@@ -64,9 +64,9 @@ checksum = "dec7af912d60cdbd3677c1af9352 + + [[package]] + name = "libc" +-version = "0.2.138" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "libloading" +--- a/vendor/bstr/Cargo.lock ++++ b/vendor/bstr/Cargo.lock +@@ -34,9 +34,9 @@ dependencies = [ + + [[package]] + name = "libc" +-version = "0.2.138" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "memchr" +--- a/vendor/cranelift-jit/Cargo.lock ++++ b/vendor/cranelift-jit/Cargo.lock +@@ -224,9 +224,9 @@ dependencies = [ + + [[package]] + name = "libc" +-version = "0.2.141" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "log" +--- a/vendor/crossbeam-channel/Cargo.lock ++++ b/vendor/crossbeam-channel/Cargo.lock +@@ -50,9 +50,9 @@ dependencies = [ + + [[package]] + name = "libc" +-version = "0.2.141" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "num_cpus" +--- a/vendor/elasticlunr-rs/Cargo.lock ++++ b/vendor/elasticlunr-rs/Cargo.lock +@@ -555,9 +555,9 @@ checksum = "e2abad23fbc42b3700f2f279844d + + [[package]] + name = "libc" +-version = "0.2.140" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "lindera" +--- a/vendor/handlebars/Cargo.lock ++++ b/vendor/handlebars/Cargo.lock +@@ -550,9 +550,9 @@ checksum = "e2abad23fbc42b3700f2f279844d + + [[package]] + name = "libc" +-version = "0.2.140" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "lock_api" +--- a/vendor/icu_locid/Cargo.lock ++++ b/vendor/icu_locid/Cargo.lock +@@ -318,9 +318,9 @@ checksum = "e2abad23fbc42b3700f2f279844d + + [[package]] + name = "libc" +-version = "0.2.141" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "litemap" +--- a/vendor/libffi/Cargo.lock ++++ b/vendor/libffi/Cargo.lock +@@ -10,9 +10,9 @@ checksum = "50d30906286121d95be3d479533b + + [[package]] + name = "libc" +-version = "0.2.140" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "libffi" +--- a/vendor/terminal_size/Cargo.lock ++++ b/vendor/terminal_size/Cargo.lock +@@ -47,9 +47,9 @@ dependencies = [ + + [[package]] + name = "libc" +-version = "0.2.140" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "linux-raw-sys" +--- a/vendor/tracing-tree/Cargo.lock ++++ b/vendor/tracing-tree/Cargo.lock +@@ -100,9 +100,9 @@ checksum = "e2abad23fbc42b3700f2f279844d + + [[package]] + name = "libc" +-version = "0.2.141" ++version = "0.2.146" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" ++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" + + [[package]] + name = "log" diff --git a/dev-lang/rust/rust-1.65.0.ebuild b/dev-lang/rust/rust-1.65.0.ebuild index 2d8b9c47d5331..db1538e1f6d81 100644 --- a/dev-lang/rust/rust-1.65.0.ebuild +++ b/dev-lang/rust/rust-1.65.0.ebuild @@ -580,7 +580,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.66.1.ebuild b/dev-lang/rust/rust-1.66.1.ebuild index 970a5f8f50cce..57917de3e33e5 100644 --- a/dev-lang/rust/rust-1.66.1.ebuild +++ b/dev-lang/rust/rust-1.66.1.ebuild @@ -578,7 +578,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.67.1-r1.ebuild b/dev-lang/rust/rust-1.67.1-r1.ebuild index 4231d28095916..5cc9e83d58129 100644 --- a/dev-lang/rust/rust-1.67.1-r1.ebuild +++ b/dev-lang/rust/rust-1.67.1-r1.ebuild @@ -569,7 +569,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.68.2.ebuild b/dev-lang/rust/rust-1.68.2.ebuild index 690e3ab4544e2..5415b1609aaea 100644 --- a/dev-lang/rust/rust-1.68.2.ebuild +++ b/dev-lang/rust/rust-1.68.2.ebuild @@ -568,7 +568,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.69.0-r1.ebuild b/dev-lang/rust/rust-1.69.0-r1.ebuild index c5317e09dc40c..f8f45a206056d 100644 --- a/dev-lang/rust/rust-1.69.0-r1.ebuild +++ b/dev-lang/rust/rust-1.69.0-r1.ebuild @@ -569,7 +569,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.70.0.ebuild b/dev-lang/rust/rust-1.70.0.ebuild index 6a3217a137414..d3fbb420f681b 100644 --- a/dev-lang/rust/rust-1.70.0.ebuild +++ b/dev-lang/rust/rust-1.70.0.ebuild @@ -572,7 +572,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.71.0.ebuild b/dev-lang/rust/rust-1.71.0.ebuild index 0add3729bd1a4..e73753b5c3d96 100644 --- a/dev-lang/rust/rust-1.71.0.ebuild +++ b/dev-lang/rust/rust-1.71.0.ebuild @@ -574,7 +574,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.71.1.ebuild b/dev-lang/rust/rust-1.71.1.ebuild index 674ebecd31a8b..f98cd61f29060 100644 --- a/dev-lang/rust/rust-1.71.1.ebuild +++ b/dev-lang/rust/rust-1.71.1.ebuild @@ -573,7 +573,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/rust/rust-1.72.0.ebuild b/dev-lang/rust/rust-1.72.0-r1.ebuild similarity index 97% rename from dev-lang/rust/rust-1.72.0.ebuild rename to dev-lang/rust/rust-1.72.0-r1.ebuild index 748a71fd03693..d65336b5b8a22 100644 --- a/dev-lang/rust/rust-1.72.0.ebuild +++ b/dev-lang/rust/rust-1.72.0-r1.ebuild @@ -22,7 +22,9 @@ else KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi -RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).1" +# Temporarily set to 1.72.0 since it fixed issues in the stdlib that prevented bootstrapping on musl 1.2.4. Set back to +# normal in 1.73.0. +RUST_STAGE0_VERSION="${PV}" DESCRIPTION="Systems programming language from Mozilla" HOMEPAGE="https://www.rust-lang.org/" @@ -162,6 +164,7 @@ RESTRICT="test" VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc PATCHES=( + "${FILESDIR}"/1.72.0-bump-libc-deps-to-0.2.146.patch "${FILESDIR}"/1.70.0-ignore-broken-and-non-applicable-tests.patch "${FILESDIR}"/1.62.1-musl-dynamic-linking.patch "${FILESDIR}"/1.67.0-doc-wasm.patch @@ -169,6 +172,10 @@ PATCHES=( S="${WORKDIR}/${MY_P}-src" +clear_vendor_checksums() { + sed -i 's/\("files":{\)[^}]*/\1/' "vendor/${1}/.cargo-checksum.json" || die +} + toml_usex() { usex "${1}" true false } @@ -282,6 +289,12 @@ esetup_unwind_hack() { } src_prepare() { + # Clear vendor checksums for crates that we patched to bump libc. + for i in addr2line-0.20.0 bstr cranelift-jit crossbeam-channel elasticlunr-rs handlebars icu_locid libffi \ + terminal_size tracing-tree; do + clear_vendor_checksums "${i}" + done + if ! use system-bootstrap; then has_version sys-devel/gcc || esetup_unwind_hack local rust_stage0_root="${WORKDIR}"/rust-stage0 @@ -572,7 +585,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { diff --git a/dev-lang/tk/tk-8.6.13.ebuild b/dev-lang/tk/tk-8.6.13.ebuild index 6535d4c8b0694..6b780abc77289 100644 --- a/dev-lang/tk/tk-8.6.13.ebuild +++ b/dev-lang/tk/tk-8.6.13.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" LICENSE="tcltk" SLOT="0/8.6" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug +threads truetype aqua xscreensaver" RESTRICT="!test? ( test )" diff --git a/dev-libs/cJSON/Manifest b/dev-libs/cJSON/Manifest index aebd9505412f9..58a26a623cbf9 100644 --- a/dev-libs/cJSON/Manifest +++ b/dev-libs/cJSON/Manifest @@ -1,2 +1 @@ -DIST cJSON-1.7.15.tar.gz 352278 BLAKE2B e0de3b8d56020853d56f5512e6e7216adafd238b6f69bbf6965b153bfe8ebfc23593dfa7cfb8543d8730d90820153d263c8af276c8e9588ba8a5ad76a50f8b72 SHA512 0b32a758c597fcc90c8ed0af493c9bccd611b9d4f9a03e87de3f7337bb9a28990b810befd44bc321a0cb42cbcd0b026d45761f9bab7bd798f920b7b6975fb124 DIST cJSON-1.7.16.tar.gz 353498 BLAKE2B 9dd519b03b24e46fd84798af32d733cec8803d3f5a4b9259352ffe7b1ba0b198a3b4dc0dbdb9cc6247787e49c48beaadc7c31368d8fd695a8ddd711cc0cbfa5b SHA512 3a894de03c33d89f1e7ee572418d5483c844d38e1e64aa4f6297ddaa01f4111f07601f8d26617b424b5af15d469e3955dae075d9f30b5c25e16ec348fdb06e6f diff --git a/dev-libs/cJSON/cJSON-1.7.15.ebuild b/dev-libs/cJSON/cJSON-1.7.15.ebuild deleted file mode 100644 index 8f951af9edaf3..0000000000000 --- a/dev-libs/cJSON/cJSON-1.7.15.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Ultralightweight JSON parser in ANSI C" -HOMEPAGE="https://github.com/DaveGamble/cJSON" -SRC_URI="https://github.com/DaveGamble/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -src_prepare() { - cmake_src_prepare - - sed -i -e '/-Werror/d' CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DENABLE_CJSON_TEST=$(usex test) - ) - - cmake_src_configure -} diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest index 4cb200a6790e6..c17239b8f80d6 100644 --- a/dev-libs/crypto++/Manifest +++ b/dev-libs/crypto++/Manifest @@ -2,3 +2,5 @@ DIST cryptopp860.zip 9274149 BLAKE2B c93998e2deb93abf12b801877404f0f82547bfbbbc5 DIST cryptopp860.zip.sig 659 BLAKE2B 591a535092c61964c0fbb1ba31e44e70fc5f15757b9b56476ff64de0c28d47a13fe99d7f5819cfeb52e514ade1454622451b267bcc751868defcb080ddf79e8c SHA512 6231816b1ccec75cbcdd09daa8895830c5f4c595a4a0aa24dacc3e377832d8db5efa1aeadf815e53db32fc5263b09dd1b249668f34da4bfad5d5cba6f031ce21 DIST cryptopp880.zip 9279806 BLAKE2B bdce352af83ff148cedbe0233efd3352d5052e6b4ea04484de11e35a8cb5d51cf6bd5aa641ada1bc4535454c1a1afdbfb96f4ae2ef5131d79a7985247810f423 SHA512 3fb1c591735f28dbd1329a6de6de9c495388c88bd5c4f077894c41668398ed313f14121a4553e0d4aa71e552ee8c3b744b770711748528ade71043ecc6159c80 DIST cryptopp880.zip.sig 659 BLAKE2B a7d46e43cbe671714c5320b99824a91708058528be46e1a770bc214696b936aa5ba062279475966ce6108af6cacb3a22256df91ad5b9bbb54c81a69b9dcfca7b SHA512 8f3987841ff08f65a28fafed1ba3b0111e2c790d247ad739c28e6edb02a77e076b961007c4ba8684bc9e6c880730244b144ccc5f3416fb5fe57566b8021ee92e +DIST cryptopp890.zip 9288053 BLAKE2B 95fe0585cff826587a301dd3df863c39cba889d407bb70ae7b35a4f9a0f7f5fef83b1c65cb95923a05f8ae91f18ed20e88738e8bb081a3f9c8c49c2d67d44ecc SHA512 903970c4c0312272e93bae0cc3477be66b273dd38c9329fda9f7157ec44e247a3bc16b9d2b4ad625f258af0eaf2dc2c4210d4d14829b455f180983859a5c4b41 +DIST cryptopp890.zip.sig 659 BLAKE2B 741ec10a01a444573fbcf749258e26461ff131935fede8f47b3f2dd8c51f3b43a9af894e0e31f9ad925baf451bdd747b7e22cc8b178992e4190bba503f9bf648 SHA512 4891cf446a47000453884f36f4f8db2da254e11b573c02690fd5e1de604f01498a479847a732abaf0f75b1cdf3cd5bc104f6be240d0de6c7184a3651c674ac95 diff --git a/dev-libs/crypto++/crypto++-8.9.0.ebuild b/dev-libs/crypto++/crypto++-8.9.0.ebuild new file mode 100644 index 0000000000000..e2ee6042f9082 --- /dev/null +++ b/dev-libs/crypto++/crypto++-8.9.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/crypto++.asc +inherit flag-o-matic toolchain-funcs verify-sig + +DESCRIPTION="C++ class library of cryptographic schemes" +HOMEPAGE="https://cryptopp.com" +SRC_URI=" + https://www.cryptopp.com/cryptopp${PV//.}.zip + verify-sig? ( https://cryptopp.com/cryptopp${PV//.}.zip.sig ) +" + +S="${WORKDIR}" + +LICENSE="Boost-1.0" +# ABI notes: +# - Bumped to 8.5 in 8.5.0 out of caution +# subslot is so version (was broken in 8.3.0, check on bumps!) +# Seems to be broken in 8.6 again too +# +# - See https://cryptopp.com/#news, but releases usually say +# "recompile of programs required". Even if it doesn't, +# verify with abidiff! +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="+asm static-libs" + +BDEPEND=" + app-arch/unzip + verify-sig? ( sec-keys/openpgp-keys-crypto++ ) +" + +config_uncomment() { + sed -i -e "s://\s*\(#define\s*$1\):\1:" config.h || die +} + +src_prepare() { + default + + use asm || config_uncomment CRYPTOPP_DISABLE_ASM + + # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS + [[ ${CHOST} == *-darwin* ]] && config_uncomment CRYPTOPP_DISABLE_ASM +} + +src_configure() { + export CXX="$(tc-getCXX)" + export LIBDIR="${EPREFIX}/usr/$(get_libdir)" + export PREFIX="${EPREFIX}/usr" + tc-export AR RANLIB + + # Long history of correctness bugs: + # https://github.com/weidai11/cryptopp/issues/1134 + # https://github.com/weidai11/cryptopp/issues/1141 + # https://github.com/weidai11/cryptopp/pull/1147 + append-flags -fno-strict-aliasing + filter-lto + + default +} + +src_compile() { + emake -f GNUmakefile LDCONF=true all shared libcryptopp.pc +} + +src_install() { + emake DESTDIR="${D}" LDCONF=true install + + use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a +} diff --git a/dev-libs/ell/Manifest b/dev-libs/ell/Manifest index 60f70840f6e7e..4e5bcbb0027a8 100644 --- a/dev-libs/ell/Manifest +++ b/dev-libs/ell/Manifest @@ -1,3 +1,4 @@ DIST ell-0.56.tar.xz 563096 BLAKE2B 3be874ddddab558911d5ea4e4fb0b32c1557b8577435f39ee88d7302bbb0efbd24671f6c426bbeaba2704ba45b865320e6f2e31f6a9c4d86e82dc8ed38ebae9f SHA512 7255470331927f67ebd1297e6c524c9c244234cf00923016c77d90bad5e4e381605c70373a7be4ecf9c1e72ec85fbc1671960dd31fb6eec279f2299e81c66ac1 DIST ell-0.57.tar.xz 563996 BLAKE2B 6fec30dc6994656b4a266cddaaf5984c3bcdb06b8b80d432b772f5c2a3166f2f3a4dca7ce1d44857901150a17f17be595606e535ef4ca0cb97476effbb6342cc SHA512 6dd6dea39b835550a4d4fd4ca1ec98c50842eb557d5f55d3a8f8d566f7b8ea3a4473135101860b4d8decfc4d24f55ff5e389ac95d1d309d5504b632cf80c975e DIST ell-0.58.tar.xz 564908 BLAKE2B 8c3d2913db05186b22315f8b9eb62c6009d64d0c30dba4da4eacd92ca3c675a0c6e11aa23b76af710691ef1cabc14dafa157708aa7793939d36eee467a7e543d SHA512 28f0d215d05ae67a9d5aaa0de6c54d2b69d847a6a3127bebabe504c63083937b07d7dfb498f946bd6a40b22387946557dc886591ef87a7d5b926084083146950 +DIST ell-0.59.tar.xz 563416 BLAKE2B 81215058bdb75f387256b4cda843f2a523bae4ca10c472deedd19c77e97d6e3c8c399d4540da21f2ca72a7c532ae6d09c1350c6ea2189966a3375649466533d4 SHA512 adbb6c494209ee2a6fbd60f2baeea41f3b8bd99671cc03af1d18fbfdc29205537b42334d8cdda9c1d08972239e74f4ba8ec9e2c9a41dab4c414bce2f480cc5fc diff --git a/dev-libs/ell/ell-0.59.ebuild b/dev-libs/ell/ell-0.59.ebuild new file mode 100644 index 0000000000000..367a5a212600e --- /dev/null +++ b/dev-libs/ell/ell-0.59.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic linux-info + +DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/ell/ell.git" +if [[ "${PV}" == *9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git" +else + SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi +LICENSE="LGPL-2.1+" +SLOT="0" + +IUSE="pie test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( sys-apps/dbus )" + +CONFIG_CHECK=" + ~TIMERFD + ~EVENTFD + ~CRYPTO_USER_API + ~CRYPTO_USER_API_HASH + ~CRYPTO_MD5 + ~CRYPTO_SHA1 + ~KEY_DH_OPERATIONS +" + +src_prepare() { + default + sed -i -e "s#/tmp/ell-test-bus#/tmp/ell-test-bus-$(uuidgen)#" \ + unit/test-dbus*.c unit/dbus.conf || die + [[ "${PV}" == *9999 ]] && eautoreconf +} + +src_configure() { + append-cflags "-fsigned-char" #662694 + local myeconfargs=( + $(use_enable pie) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/icinga-php-library/icinga-php-library-0.13.0.ebuild b/dev-libs/icinga-php-library/icinga-php-library-0.13.0.ebuild index 3733b70fefeaf..a4f2138aa4978 100644 --- a/dev-libs/icinga-php-library/icinga-php-library-0.13.0.ebuild +++ b/dev-libs/icinga-php-library/icinga-php-library-0.13.0.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/refs/tags/v${PV}.t LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" DEPEND="dev-lang/php:*" RDEPEND="${DEPEND}" diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest index 555223e44a94d..fc31e09fb3e6e 100644 --- a/dev-libs/intel-compute-runtime/Manifest +++ b/dev-libs/intel-compute-runtime/Manifest @@ -1 +1,2 @@ DIST intel-compute-runtime-23.22.26516.18.tar.gz 6695812 BLAKE2B c413d0ee70564292122d3eb125669ffc0a0dd7491ec208688055a71173b4112db6da96934cd16c91c4ff1a932cf8fdea490c5d849d98c7171bc916d6d77dc837 SHA512 5949866da0c3e48582636b9260e9ee6321c06db543a30e8567310add1b93a7b37ee3e4f35dcd5d9a6f611ed701daa52fac98ae2c11e26809f3fe7da84d289fc3 +DIST intel-compute-runtime-23.35.27191.9.tar.gz 6856146 BLAKE2B 02676adde05bef374f12ca6d6baac1a577ae32b712e77bf01e09d6cc01a2eeeb4d6eacc8fb302e350aca34f9d70f07a20ac70a52a682bdefb06223c4b6611cf7 SHA512 39abd4830ce379894bd9f17e2a1685b6403ddd13bae1fb1549c11de3e4b26536adfb24194c245466c45ba01c9d89c5d69bb60fbb498d9c23c24d31b018a37af8 diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-23.35.27191.9.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.35.27191.9.ebuild new file mode 100644 index 0000000000000..5d8dd8c58fab9 --- /dev/null +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.35.27191.9.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +MY_PN="${PN/intel-/}" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic + +DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver" +HOMEPAGE="https://github.com/intel/compute-runtime" +SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+l0 +vaapi" + +RDEPEND=">=media-libs/gmmlib-22.3.5:=" + +DEPEND=" + ${DEPEND} + dev-libs/intel-metrics-discovery:= + dev-libs/intel-metrics-library:= + dev-libs/libnl:3 + dev-libs/libxml2:2 + >=dev-util/intel-graphics-compiler-1.0.15136.4 + >=dev-util/intel-graphics-system-controller-0.8.13:= + media-libs/mesa + >=virtual/opencl-3 + l0? ( >=dev-libs/level-zero-1.14.0:= ) + vaapi? ( + x11-libs/libdrm[video_cards_intel] + media-libs/libva + ) +" + +BDEPEND="virtual/pkgconfig" + +DOCS=( "README.md" "FAQ.md" ) + +PATCHES=( + "${FILESDIR}/${PN}-22.24.23453-remove-fortify-sources.patch" +) + +src_prepare() { + # Remove '-Werror' from default + sed -e '/Werror/d' -i CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + # See https://github.com/intel/compute-runtime/issues/531 + filter-lto + + local mycmakeargs=( + -DCCACHE_ALLOWED="OFF" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_LIBDIR="$(get_libdir)" + -DBUILD_WITH_L0="$(usex l0)" + -DDISABLE_LIBVA="$(usex !vaapi)" + -DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include" + -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include" + -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors" + -DSUPPORT_DG1="ON" + -Wno-dev + + # See https://github.com/intel/intel-graphics-compiler/issues/204 + # -DNEO_DISABLE_BUILTINS_COMPILATION="ON" + + # If enabled, tests are automatically run during + # the compile phase and we cannot run them because + # they require permissions to access the hardware. + -DSKIP_UNIT_TESTS="1" + ) + + cmake_src_configure +} diff --git a/dev-libs/intel-metrics-discovery/Manifest b/dev-libs/intel-metrics-discovery/Manifest index f6bcbaa0a568a..2d73e93773c2b 100644 --- a/dev-libs/intel-metrics-discovery/Manifest +++ b/dev-libs/intel-metrics-discovery/Manifest @@ -1 +1,2 @@ +DIST metrics-discovery-1.12.165.1.tar.gz 4908502 BLAKE2B 2869869d4830881e6894cdef54c13cfbc0c956e93a373617c84da6fee3bcb6dc915df77b16c3296d8bd651a2e76714a632689f927cd1717095bc7aa31ad7d77f SHA512 8293d497e2197f8dba95e690703d0440dfa40b7c16c91a9a1748b985f2bfe8603c0bb20dec5d31132b025d301f1d5492f5993e2870f4a5e04aac7b84b9734522 DIST metrics-discovery-1.12.165.tar.gz 4907749 BLAKE2B 74c59f45580649b950fca6eb2a0c31243211ea45e79dd43a3a333cc0efabece9846e8f9c944a7bcd01cbacda18b4390f436aac7b6a7f4c0ffbbb1a97d325a62c SHA512 504a0dd55e9a4582f0515006130df6af9c086936593cb4ac14e6fdcbe8ba746a4425b1ee8f576b604842b5aaf72051e8e84c4a192198a556553114f21df5b63a diff --git a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild new file mode 100644 index 0000000000000..fcc32bedadcec --- /dev/null +++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +MY_PN="${PN/intel-/}" +MY_P="${MY_PN}-${PV}" + +inherit cmake + +DESCRIPTION="A user mode library that provides access to GPU performance data" +HOMEPAGE="https://github.com/intel/metrics-discovery" +SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${MY_P}" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +DEPEND="x11-libs/libdrm" +RDEPEND="${DEPEND}" + +src_prepare() { + default + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( -DLINUX_DISTRO="Gentoo" ) + cmake_src_configure +} diff --git a/dev-libs/intel-vc-intrinsics/Manifest b/dev-libs/intel-vc-intrinsics/Manifest index 497c7784fca86..ed31c1781fb60 100644 --- a/dev-libs/intel-vc-intrinsics/Manifest +++ b/dev-libs/intel-vc-intrinsics/Manifest @@ -1,2 +1 @@ -DIST intel-vc-intrinsics-0.12.3.tar.gz 140736 BLAKE2B ea01f108679d4e44f65c7e298b727a3d4cba80a98b15a330aaf88785dd7d958d02eeeb632a59c3494d0eaf063654209e36aab6323eae8deb6280095e571b4ea4 SHA512 b816ebd5b6778c63b2a97d93afbd9eb63e43e229b37abf4913186940d707e4132cf3dd60d252e3c73e7b9e9707606bec41e2dfacc421d37f13fef950476b697b DIST intel-vc-intrinsics-0.13.0.tar.gz 142690 BLAKE2B e4069a873d566748e8f8d32acb99ce3ccb504acd3d974b60f8ffb2ea79f5ff99667b153f23bcc40b5f93da43b6adf073aa6ad94f0234a167b8813079496e7441 SHA512 209fab98b614317823a28ebdcde38bcdd653508d315c7fc3a52d75fe05587871f200e5136398ff3e37488b8457ea398a844b92ccb51bf3adea1975d99779c3b6 diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.12.3.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.12.3.ebuild deleted file mode 100644 index 00f30b9956777..0000000000000 --- a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.12.3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_BUILD_TYPE="Release" -LLVM_MAX_SLOT="15" -MY_PN="${PN/intel-/}" -MY_P="${MY_PN}-${PV}" -PYTHON_COMPAT=( python3_{9..12} ) - -inherit cmake llvm python-any-r1 - -DESCRIPTION="A set of new intrinsics on top of core LLVM IR instructions" -HOMEPAGE="https://github.com/intel/vc-intrinsics" -SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -DEPEND=" - dev-libs/libxml2:2= - sys-devel/llvm:${LLVM_MAX_SLOT} - sys-libs/zlib -" -RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS}" - -src_configure() { - local mycmakeargs=( - -DLLVM_DIR="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - ) - - cmake_src_configure -} diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.13.0.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.13.0.ebuild index 3126e96d78ccc..00f30b9956777 100644 --- a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.13.0.ebuild +++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.13.0.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" DEPEND=" dev-libs/libxml2:2= diff --git a/dev-libs/json-c/json-c-0.17.ebuild b/dev-libs/json-c/json-c-0.17.ebuild index 9d4e9b6e31a6f..9bde583126305 100644 --- a/dev-libs/json-c/json-c-0.17.ebuild +++ b/dev-libs/json-c/json-c-0.17.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" LICENSE="MIT" SLOT="0/5" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="cpu_flags_x86_rdrand static-libs threads" MULTILIB_WRAPPED_HEADERS=( diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 8b87ee01c5da8..eefc5ce271997 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1,3 +1,2 @@ -DIST level-zero-1.13.1.tar.gz 886141 BLAKE2B 721d8c6265b168b793d6072ff2f679dbecef31005315d369a740bc1877f3645b5f8bc56caccd425ccd5e54b86344b42da949d3454df2779158f4671accb0d1c5 SHA512 1da12b0a4b60c674760cae80099c9c0422002a157a877b044fff5e8c1c214ab9c4877a2a5087cc1609a723685dbce09c94d7643279d5b4f3b2a8db8bb8e10c1c DIST level-zero-1.13.5.tar.gz 917575 BLAKE2B f6c015bb194eff386ac5bbb077fcd58526c0ee9d3db93c8ea55286f4b20a7772b9a3705ea55ef6f4ebef278ea67f7f21dd2fafe0c7f277a0c2288e8853673218 SHA512 1b1cfec12f06e1095f17c21d3deffec2645b8bdca24d62594602c896a355627c24185415e77e2a4c540316be5b851727ea4619282333ff0f0ad0e8724f726ee6 DIST level-zero-1.14.0.tar.gz 927330 BLAKE2B d025d7b6315037e9ae7fa037d3f86781ccb4f5a2736f5f2c8a8aa250eb0fa313c33b481a0a703781f17d0b3162c87b7f4a83d5d4668e79e82ef9a8aa1087f739 SHA512 6eb862492fb25fdebb5c2b93a24c02608f2a5e91a746e49ecdb8f5fa8f5c680644282ff4933fc7f6d15cb1d7db1f55534e5696b70d2553f0f59bfdf5f6ee1788 diff --git a/dev-libs/level-zero/level-zero-1.13.1.ebuild b/dev-libs/level-zero/level-zero-1.13.1.ebuild deleted file mode 100644 index 44fda91ff9299..0000000000000 --- a/dev-libs/level-zero/level-zero-1.13.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="oneAPI Level Zero headers, loader and validation layer" -HOMEPAGE="https://github.com/oneapi-src/level-zero" -SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64" - -src_prepare() { - cmake_src_prepare - - # According to upstream, release tarballs should contain this file but at least - # some of them do not. Fortunately it is trivial to make one ourselves. - echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die -} diff --git a/dev-libs/level-zero/level-zero-1.13.5.ebuild b/dev-libs/level-zero/level-zero-1.13.5.ebuild index f019194f4f68c..44fda91ff9299 100644 --- a/dev-libs/level-zero/level-zero-1.13.5.ebuild +++ b/dev-libs/level-zero/level-zero-1.13.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" src_prepare() { cmake_src_prepare diff --git a/dev-libs/libbpf/libbpf-1.2.2.ebuild b/dev-libs/libbpf/libbpf-1.2.2.ebuild index c444170afb0c3..9865da3227cf6 100644 --- a/dev-libs/libbpf/libbpf-1.2.2.ebuild +++ b/dev-libs/libbpf/libbpf-1.2.2.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} =~ [9]{4,} ]]; then EGIT_REPO_URI="https://github.com/libbpf/libbpf.git" else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" fi S="${WORKDIR}/${P}/src" diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index 908f8400d4ca4..0f39c1ae56650 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -4,9 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591 SHA512 be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65 -DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d SHA512 5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c -DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-libs/libclc/libclc-17.0.0_rc4.ebuild b/dev-libs/libclc/libclc-17.0.2.9999.ebuild similarity index 100% rename from dev-libs/libclc/libclc-17.0.0_rc4.ebuild rename to dev-libs/libclc/libclc-17.0.2.9999.ebuild diff --git a/dev-libs/libclc/libclc-18.0.0_pre20230906.ebuild b/dev-libs/libclc/libclc-18.0.0_pre20230906.ebuild deleted file mode 100644 index 117d489acdec6..0000000000000 --- a/dev-libs/libclc/libclc-18.0.0_pre20230906.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake llvm llvm.org python-any-r1 - -DESCRIPTION="OpenCL C library" -HOMEPAGE="https://libclc.llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" -SLOT="0" -KEYWORDS="" -IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi" - -LLVM_MAX_SLOT=17 -BDEPEND=" - ${PYTHON_DEPS} - || ( - ( - sys-devel/clang:17 - spirv? ( dev-util/spirv-llvm-translator:17 ) - ) - ( - sys-devel/clang:16 - spirv? ( dev-util/spirv-llvm-translator:16 ) - ) - ( - sys-devel/clang:15 - spirv? ( dev-util/spirv-llvm-translator:15 ) - ) - ( - sys-devel/clang:14 - spirv? ( dev-util/spirv-llvm-translator:14 ) - ) - ( - sys-devel/clang:13 - spirv? ( dev-util/spirv-llvm-translator:13 ) - ) - ) -" - -LLVM_COMPONENTS=( libclc ) -llvm.org_set_globals - -llvm_check_deps() { - if use spirv; then - has_version -b "dev-util/spirv-llvm-translator:${LLVM_SLOT}" || - return 1 - fi - has_version -b "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-any-r1_pkg_setup -} - -src_configure() { - local libclc_targets=() - - use spirv && libclc_targets+=( - "spirv-mesa3d-" - "spirv64-mesa3d-" - ) - use video_cards_nvidia && libclc_targets+=( - "nvptx--" - "nvptx64--" - "nvptx--nvidiacl" - "nvptx64--nvidiacl" - ) - use video_cards_r600 && libclc_targets+=( - "r600--" - ) - use video_cards_radeonsi && libclc_targets+=( - "amdgcn--" - "amdgcn-mesa-mesa3d" - "amdgcn--amdhsa" - ) - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" - - libclc_targets=${libclc_targets[*]} - local mycmakeargs=( - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" - ) - cmake_src_configure -} diff --git a/dev-libs/libclc/libclc-17.0.1.9999.ebuild b/dev-libs/libclc/libclc-18.0.0_pre20231002.ebuild similarity index 100% rename from dev-libs/libclc/libclc-17.0.1.9999.ebuild rename to dev-libs/libclc/libclc-18.0.0_pre20231002.ebuild diff --git a/dev-libs/libgpg-error/libgpg-error-1.47-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.47-r1.ebuild new file mode 100644 index 0000000000000..42ff68452a536 --- /dev/null +++ b/dev-libs/libgpg-error/libgpg-error-1.47-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintainers should: +# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ +# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 +# (find the one for the current release then subscribe to it + +# any subsequent ones linked within so you're covered for a while.) + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc +inherit autotools multilib-minimal toolchain-funcs prefix verify-sig + +DESCRIPTION="Contains error handling functions used by GnuPG software" +HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" +SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="common-lisp nls static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND=" + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/gpg-error.h + /usr/include/gpgrt.h +) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/gpg-error-config + /usr/bin/gpgrt-config +) + +PATCHES=( + "${FILESDIR}/${PN}-1.44-remove_broken_check.patch" +) + +src_prepare() { + default + + if use prefix ; then + # don't hardcode /usr/xpg4/bin/sh as shell on Solaris + sed -i -e 's/solaris\*/disabled/' configure.ac || die + fi + + # only necessary for as long as we run eautoreconf, configure.ac + # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is + # not a pure /bin/sh script, so it fails on some hosts + sed -i -e "1s:.*:#\!${BASH}:" autogen.sh || die + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + $(multilib_is_native_abi || echo --disable-languages) + $(use_enable common-lisp languages) + $(use_enable nls) + # required for sys-power/suspend[crypt], bug 751568 + $(use_enable static-libs static) + $(use_enable test tests) + + # See bug #699206 and its duplicates wrt gpgme-config + # Upstream no longer install this by default and we should + # seek to disable it at some point. + --enable-install-gpg-error-config + + --enable-threads + CC_FOR_BUILD="$(tc-getBUILD_CC)" + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/dev-libs/libmemcached-awesome/Manifest b/dev-libs/libmemcached-awesome/Manifest index a94c092359532..e8f4373f3054b 100644 --- a/dev-libs/libmemcached-awesome/Manifest +++ b/dev-libs/libmemcached-awesome/Manifest @@ -1,3 +1 @@ -DIST libmemcached-awesome-1.1.2.tar.gz 527675 BLAKE2B 436c3dcfed00a66459064a58a4d82e22f6f4a624a1f462949d2d3d8536b1342cbb7f0d5f883a86cce119dbcada4597c664609b7f9334bd321a5f1d314e5906b0 SHA512 3b9b6b1b09b39c845b5169841902d45e470f99af65765c9ae5d405d4eb1b6884e49831ccfb128df67beeda45eeed5e0f41ee475560cabcfa98e8196134182a53 -DIST libmemcached-awesome-1.1.3.tar.gz 527880 BLAKE2B b3d91b9eeb335b3fa7b910842b3c31326669aa9634ab6c87a3247bf8279037f5c2470b653fed851bf1708559af1a1edab52707c19eb6ea89ac6cb92424290d4a SHA512 99fb2ad32c05f8af769f5b30983b7c4244cd7ee027ccc8f893a957de4ffb12939959e2461c9acd20a8d21e0af824606e97d54465b7147337f40313c5eddf474b DIST libmemcached-awesome-1.1.4.tar.gz 530337 BLAKE2B b3309e4e7ab737d06255ce9e8d2b8644e2787dca73c0b09de8bbf9c99b8126cb5eee9ef2f7320c312f35ed8e29c70e1c1042dc80587982d9bcb7200d79bba5b2 SHA512 0a10a2431142ec6e4547f82fdd35b55c018264e5f8c39910a65252c3f53d862fb5945e7a671951915aac076767cc995740b3e499eb584017a38eb2d1e82171fb diff --git a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.2.ebuild b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.2.ebuild deleted file mode 100644 index 2dfd5eb24214a..0000000000000 --- a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="a C/C++ memcached client library" -HOMEPAGE="https://github.com/awesomized/libmemcached" -SRC_URI="https://github.com/awesomized/libmemcached/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/libmemcached-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 x86" -IUSE="+libevent sasl test" -RESTRICT="!test? ( test )" - -RDEPEND="!dev-libs/libmemcached - libevent? ( dev-libs/libevent:= ) - sasl? ( dev-libs/cyrus-sasl:2 )" -DEPEND="${RDEPEND} - test? ( net-misc/memcached )" -BDEPEND="sys-devel/bison - sys-devel/flex - virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DENABLE_DTRACE=OFF - -DENABLE_SASL=$(usex sasl) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # memcached_regression_lp583031: needs network, bug #845123 - # bin/memaslap: tries to use Portage HOMEDIR, bug #845123 - -E "(memcached_regression_lp583031|bin/memaslap|memcached_udp)" - ) - - cmake_src_test -} diff --git a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.3-r1.ebuild b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.3-r1.ebuild deleted file mode 100644 index f74a0725e90f9..0000000000000 --- a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.3-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="a C/C++ memcached client library" -HOMEPAGE="https://github.com/awesomized/libmemcached" -SRC_URI="https://github.com/awesomized/libmemcached/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/libmemcached-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="+libevent sasl test" -RESTRICT="!test? ( test )" - -RDEPEND="!app-forensics/memdump - !dev-libs/libmemcached - libevent? ( dev-libs/libevent:= ) - sasl? ( dev-libs/cyrus-sasl:2 )" -DEPEND="${RDEPEND} - test? ( net-misc/memcached )" -BDEPEND="sys-devel/bison - sys-devel/flex - virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DENABLE_DTRACE=OFF - -DENABLE_SASL=$(usex sasl) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # memcached_regression_lp583031: needs network, bug #845123 - # bin/memaslap: tries to use Portage HOMEDIR, bug #845123 - -E "(memcached_regression_lp583031|bin/memaslap|memcached_udp)" - ) - - cmake_src_test -} diff --git a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild index bcc4de7123e20..fa56759d25791 100644 --- a/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild +++ b/dev-libs/libmpack/libmpack-1.0.5-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" PATCHES=( "${FILESDIR}"/${P}-libtool.patch # 778899 diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild b/dev-libs/libnl/libnl-3.8.0.ebuild index 6715037c611df..c72e4b01c3470 100644 --- a/dev-libs/libnl/libnl-3.8.0.ebuild +++ b/dev-libs/libnl/libnl-3.8.0.ebuild @@ -22,7 +22,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${LIBNL_P}" fi diff --git a/dev-libs/libxml2/libxml2-2.11.5.ebuild b/dev-libs/libxml2/libxml2-2.11.5.ebuild index 13526b88c30fa..1fec7822bc94a 100644 --- a/dev-libs/libxml2/libxml2-2.11.5.ebuild +++ b/dev-libs/libxml2/libxml2-2.11.5.ebuild @@ -23,7 +23,7 @@ if [[ ${PV} == 9999 ]] ; then inherit autotools git-r3 else inherit gnome.org libtool - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi SRC_URI+=" diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest index c0d0cfdea7bfc..edf44a1042cea 100644 --- a/dev-libs/libzia/Manifest +++ b/dev-libs/libzia/Manifest @@ -1,2 +1,3 @@ DIST libzia-4.43.tar.gz 642097 BLAKE2B 34ab759fc8d4d83067df80d9d3f763717640df38f604222f3fc6b19876a9f5a5f5b79523857fa96d5badf047046b4786f100657ee0a41d0a7096a21c6006e5a0 SHA512 b6341ea6524b2040d63a7b21b9a4c12d26cb5ae30bc08dc37efd5fd7d71ecf7321511e09cc5745adc6f395f841d5e2bb4df827956204db4147ac11d204eaf8da DIST libzia-4.44.tar.gz 642077 BLAKE2B 0647cbfbbd05a08aafeaf64ee08485c54aa46d9c9ba81448f16cdd8c05a27dceb6646d0eebe4ae60b00b36ea0d8822fd61c157ebec1d788a49a27b9ff4dea44d SHA512 da1b65ff82e62f5b93c4e977ac5528c80e770fa4ed2a0ac4ba92db00f95bccecad2c1c81f9d179d1a4612b1801b6c3e9bab733a0ef6e67137410ac9b62a4972c +DIST libzia-4.46.tar.gz 642261 BLAKE2B cf8a4fc32599d77114dbfb6684196f4b0fb4715af1e8bf5f647d8b383130030c0d9c62aa94b8f12f72653dcba019f57ea75adb699646b6f27ed2f6c6f410c2e9 SHA512 11242683133c094c61b55824f35c399daf187b82b33620e938c47ff09f60dc3b4bf644623ce2ad551d60e75694c4afa1747a3168df98ada245dd1e9500e52c16 diff --git a/dev-libs/libzia/libzia-4.46.ebuild b/dev-libs/libzia/libzia-4.46.ebuild new file mode 100644 index 0000000000000..9c39a847c882a --- /dev/null +++ b/dev-libs/libzia/libzia-4.46.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Platform abstraction code for tucnak package" +HOMEPAGE="http://tucnak.nagano.cz" +SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ftdi" + +RDEPEND="dev-libs/glib:2 + x11-libs/gtk+:2 + media-libs/libsdl2 + media-libs/libpng:0 + ftdi? ( dev-embedded/libftdi:1 ) + elibc_musl? ( sys-libs/libunwind )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +MAKEOPTS+=" -j1" + +src_prepare() { + eapply_user + sed -i -e "s/docsdir/#docsdir/g" \ + -e "s/docs_/#docs_/g" Makefile.am || die + + # Fix QA-Warning "QA Notice: pkg-config files with wrong LDFLAGS detected" + sed -i -e 's/@LDFLAGS@//' libzia.pc.in || die + + # fix build for MUSL (bug #832235) + if use elibc_musl ; then + sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die + fi + eautoreconf +} + +src_configure() { + use elibc_musl && append-libs -lunwind + econf \ + $(use_with ftdi) --with-sdl \ + --with-png --without-bfd \ + --disable-static +} + +src_install() { + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/dev-libs/log4cpp/files/log4cpp-1.1.3-fix-implicit-func-in-configure.patch b/dev-libs/log4cpp/files/log4cpp-1.1.3-fix-implicit-func-in-configure.patch new file mode 100644 index 0000000000000..9e21817ab8904 --- /dev/null +++ b/dev-libs/log4cpp/files/log4cpp-1.1.3-fix-implicit-func-in-configure.patch @@ -0,0 +1,20 @@ +clang16 throws an error because of the implicit function declaration of exit(). +This leads to the wrong assumption that snprintf is not present on the system. + +Bug: https://bugs.gentoo.org/906535 +Upstream PR: https://sourceforge.net/p/log4cpp/codegit/merge-requests/10/ + +# Pascal Jäger (2023-09-22) + +--- a/m4/AC_FUNC_SNPRINTF.m4 ++++ b/m4/AC_FUNC_SNPRINTF.m4 +@@ -12,7 +12,8 @@ dnl @author Caolan McNamara + dnl + AC_DEFUN([AC_FUNC_SNPRINTF], + [AC_CACHE_CHECK(for working snprintf, ac_cv_func_snprintf, +-[AC_TRY_RUN([#include ++[AC_TRY_RUN([#include ++#include + int main () { int l = snprintf(NULL,0,"%d",100); exit (!((3 <= l) || (-1 == l))); } + ], ac_cv_func_snprintf=yes, ac_cv_func_snprintf=no, + ac_cv_func_snprintf=no)]) diff --git a/dev-libs/log4cpp/log4cpp-1.1.3-r3.ebuild b/dev-libs/log4cpp/log4cpp-1.1.3-r3.ebuild new file mode 100644 index 0000000000000..0c849abac195c --- /dev/null +++ b/dev-libs/log4cpp/log4cpp-1.1.3-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="C++ classes for flexible logging to files, syslog and other destinations" +HOMEPAGE="https://log4cpp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="LGPL-2.1" +SLOT="0/5" +KEYWORDS="~amd64 ~arm ~ppc ~riscv ~s390 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/1.0-doc_install_path.patch + "${FILESDIR}"/1.0-gcc43.patch + "${FILESDIR}"/1.0-asneeded.patch + "${FILESDIR}"/${PN}-1.1-cmath-fix.patch + "${FILESDIR}"/${PN}-1.1-automake-1.13.patch + "${FILESDIR}"/${PN}-1.1-glibc-2.31.patch + "${FILESDIR}"/${PN}-1.1.3-fix-version.patch + "${FILESDIR}"/${PN}-1.1.3-fix-implicit-func-in-configure.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + # Build tests conditionally + if ! use test; then + sed -i -e '/^SUBDIRS/s/ tests//' Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + append-cxxflags -Wno-register # https://bugs.gentoo.org/895054 + # Bashisms call configure tests to malfunction / config.h to be misgenerated + # which then causes a build failure later on in the package (w/ GCC 12, + # anyway). + CONFIG_SHELL="${BROOT}"/bin/bash econf \ + --without-idsa \ + $(use_enable doc doxygen) +} + +src_install() { + default + + # Package installs .pc files + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest index 761f383fef7c0..7f9e7fdaea7d4 100644 --- a/dev-libs/nss/Manifest +++ b/dev-libs/nss/Manifest @@ -2,4 +2,5 @@ DIST nss-3.79.4.tar.gz 84826326 BLAKE2B c34b1ba2c24891bd316af27828dbcc6b193b7298 DIST nss-3.91.tar.gz 72267945 BLAKE2B 7dcd680311a5503007c0bb738ec24b50e40841470592c2d8dd542b3bdf085a6e4816f1fab4cb6b86220ff3e39a828f57a0a9172e3d1c2c82537eab6558a50226 SHA512 65258a4ea0b8c06ec49dd411eabe860ad5d7c3873beb27f8f43e10ef6be020b1522112df9deaeed27f23fd72f13cc7554e9c1854cd97e4716de419f722aff020 DIST nss-3.92.tar.gz 72133646 BLAKE2B 251daae56ccf8b8f4fd0b4287fea2049b6e72d1fc57fe02fb3d4f0b8a083aaf00046844145721a1e7620ecfbdbbb93206591e47386c12662765c09cf99db42bc SHA512 dc317ec909433c9026f108b466bc436110b3c77edc3f73aef3d6dc6782f584c205053a368e4a134715bfdf63d2c1ae2185fc23238e5c2dca8f88ec185b1fec2a DIST nss-3.93.tar.gz 72281331 BLAKE2B 99e50f450a451f2b0bc0aad9b0fba405c987d88546d4aad6c490cb43dc274f23eb99d03d5fa8cf7ef16585abebfdae942fe1092d3f1c86816ba35e16ed3d490f SHA512 d96f13a70e825b39efadfe7c973c24c1e5ad43319bd813599010383e2b8434181f53489672f68fe79e2cb0c4d4ea0088499e588c3524eccf9298aafc57b94951 +DIST nss-3.94.tar.gz 76580364 BLAKE2B ad7d4fb7c8ddb063100b70717642677fcea177e46f04cf1a172eb4a7d565f99fdf0fca8b431498d83948f88aa89d4d53fbbc871cd8d64fb95242990eae203852 SHA512 3a839a6cc7267e45749f769621c3e8823f92cb654ee40460187e59b50825bb0f84ca278cd61881a3e0e7d95f95e0ffcd266a10c780cdcf8a08a2f0a9bb71892f DIST nss-cacert-class1-class3-r2.patch 21925 BLAKE2B 7627ff9a09f084c19d72d0490676865e3cab3ca7c920ae1ce4bea2db664f37fd0aa84fcda919809a516891ab2a62e2e7a43a9d6ada4c231adfe4c216525fac7d SHA512 1ce6ff9ab310aaca9005eafb461338b291df8523cc7044e096cd75774ce746c26eed19ec6bb2643c6c67f94650f2f309463492d80a90568f38ce2557f8ada2f4 diff --git a/dev-libs/nss/nss-3.94.ebuild b/dev-libs/nss/nss-3.94.ebuild new file mode 100644 index 0000000000000..ef59d94cde493 --- /dev/null +++ b/dev-libs/nss/nss-3.94.ebuild @@ -0,0 +1,417 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic multilib toolchain-funcs multilib-minimal + +NSPR_VER="4.35" +RTM_NAME="NSS_${PV//./_}_RTM" + +DESCRIPTION="Mozilla's Network Security Services library that implements PKI support" +HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS" +SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz + cacert? ( https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch )" + +LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="cacert test +utils cpu_flags_ppc_altivec cpu_flags_x86_avx2 cpu_flags_x86_sse3 cpu_flags_ppc_vsx" +RESTRICT="!test? ( test )" +# pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND +RDEPEND=" + >=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}] + >=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + virtual/pkgconfig +" +DEPEND="${RDEPEND}" +BDEPEND="dev-lang/perl" + +S="${WORKDIR}/${P}/${PN}" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/nss-config +) + +PATCHES=( + "${FILESDIR}/${PN}-3.53-gentoo-fixups.patch" + "${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch" + "${FILESDIR}"/nss-3.87-use-clang-as-bgo892686.patch +) + +src_prepare() { + default + + if use cacert ; then + eapply -p2 "${DISTDIR}"/nss-cacert-class1-class3-r2.patch + fi + + pushd coreconf >/dev/null || die + # hack nspr paths + echo 'INCLUDES += -I$(DIST)/include/dbm' \ + >> headers.mk || die "failed to append include" + + # modify install path + sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \ + -i source.mk || die + + # Respect LDFLAGS + sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk + + # Workaround make-4.4's change to sub-make, bmo#1800237, bgo#882069 + sed -i -e "s/^CPU_TAG = _.*/CPU_TAG = _$(nssarch)/" Linux.mk || die + + popd >/dev/null || die + + # Fix pkgconfig file for Prefix + sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \ + config/Makefile || die + + # use host shlibsign if need be #436216 + if tc-is-cross-compiler ; then + sed -i \ + -e 's:"${2}"/shlibsign:shlibsign:' \ + cmd/shlibsign/sign.sh || die + fi + + # dirty hack + sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \ + lib/ssl/config.mk || die + sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \ + cmd/platlibs.mk || die + + multilib_copy_sources + + strip-flags +} + +multilib_src_configure() { + # Ensure we stay multilib aware + sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die +} + +nssarch() { + # Most of the arches are the same as $ARCH + local t=${1:-${CHOST}} + case ${t} in + *86*-pc-solaris2*) echo "i86pc" ;; + aarch64*) echo "aarch64" ;; + hppa*) echo "parisc" ;; + i?86*) echo "i686" ;; + x86_64*) echo "x86_64" ;; + *) tc-arch ${t} ;; + esac +} + +nssbits() { + local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS" + if [[ ${1} == BUILD_ ]]; then + cc=$(tc-getBUILD_CC) + else + cc=$(tc-getCC) + fi + echo > "${T}"/test.c || die + ${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die + case $(file "${T}/${1}test.o") in + *32-bit*x86-64*) echo USE_X32=1;; + *64-bit*|*ppc64*|*x86_64*) echo USE_64=1;; + *32-bit*|*ppc*|*i386*) ;; + *) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";; + esac +} + +multilib_src_compile() { + # use ABI to determine bit'ness, or fallback if unset + local buildbits mybits + case "${ABI}" in + n32) mybits="USE_N32=1";; + x32) mybits="USE_X32=1";; + s390x|*64) mybits="USE_64=1";; + ${DEFAULT_ABI}) + einfo "Running compilation test to determine bit'ness" + mybits=$(nssbits) + ;; + esac + # bitness of host may differ from target + if tc-is-cross-compiler; then + buildbits=$(nssbits BUILD_) + fi + + local makeargs=( + CC="$(tc-getCC)" + CCC="$(tc-getCXX)" + AR="$(tc-getAR) rc \$@" + RANLIB="$(tc-getRANLIB)" + OPTIMIZER= + ${mybits} + disable_ckbi=0 + ) + + # Take care of nspr settings #436216 + local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)" + unset NSPR_INCLUDE_DIR + + export NSS_ALLOW_SSLKEYLOGFILE=1 + export NSS_ENABLE_WERROR=0 #567158 + export BUILD_OPT=1 + export NSS_USE_SYSTEM_SQLITE=1 + export NSDISTMODE=copy + export FREEBL_NO_DEPEND=1 + export FREEBL_LOWHASH=1 + export NSS_SEED_ONLY_DEV_URANDOM=1 + export USE_SYSTEM_ZLIB=1 + export ZLIB_LIBS=-lz + export ASFLAGS="" + # Fix build failure on arm64 + export NS_USE_GCC=1 + # Detect compiler type and set proper environment value + if tc-is-gcc; then + export CC_IS_GCC=1 + elif tc-is-clang; then + export CC_IS_CLANG=1 + fi + + export NSS_DISABLE_GTESTS=$(usex !test 1 0) + + # Include exportable custom settings defined by users, #900915 + # Two examples uses: + # EXTRA_NSSCONF="MYONESWITCH=1" + # EXTRA_NSSCONF="MYVALUE=0 MYOTHERVALUE=1 MYTHIRDVALUE=1" + # e.g. + # EXTRA_NSSCONF="NSS_ALLOW_SSLKEYLOGFILE=0" + # or + # EXTRA_NSSCONF="NSS_ALLOW_SSLKEYLOGFILE=0 NSS_ENABLE_WERROR=1" + # etc. + if [[ -n "${EXTRA_NSSCONF}" ]]; then + ewarn "EXTRA_NSSCONF applied, please disable custom settings before reporting bugs." + read -a myextranssconf <<< "${EXTRA_NSSCONF}" + + for (( i=0; i<${#myextranssconf[@]}; i++ )); do + export "${myextranssconf[$i]}" + echo "exported ${myextranssconf[$i]}" + done + fi + + # explicitly disable altivec/vsx if not requested + # https://bugs.gentoo.org/789114 + case ${ARCH} in + ppc*) + use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1 + use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1 + ;; + esac + + use cpu_flags_x86_avx2 || export NSS_DISABLE_AVX2=1 + use cpu_flags_x86_sse3 || export NSS_DISABLE_SSE3=1 + + local d + + # Build the host tools first. + LDFLAGS="${BUILD_LDFLAGS}" \ + XCFLAGS="${BUILD_CFLAGS}" \ + NSPR_LIB_DIR="${T}/fakedir" \ + emake -C coreconf \ + CC="$(tc-getBUILD_CC)" \ + ${buildbits-${mybits}} + makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" ) + + # Then build the target tools. + for d in . lib/dbm ; do + CPPFLAGS="${myCPPFLAGS}" \ + XCFLAGS="${CFLAGS} ${CPPFLAGS}" \ + NSPR_LIB_DIR="${T}/fakedir" \ + emake "${makeargs[@]}" -C ${d} OS_TEST="$(nssarch)" + done +} + +multilib_src_test() { + einfo "Tests can take a *long* time, especially on a multilib system." + einfo "30-45+ minutes per lib configuration. Bug #852755" + + # https://www.linuxfromscratch.org/blfs/view/svn/postlfs/nss.html + # https://firefox-source-docs.mozilla.org/security/nss/legacy/nss_sources_building_testing/index.html#running_the_nss_test_suite + # https://www-archive.mozilla.org/projects/security/pki/nss/testnss_32.html (older) + export BUILD_OPT=1 + export HOST="localhost" + export DOMSUF="localdomain" + export USE_IP=TRUE + export IP_ADDRESS="127.0.0.1" + + # Only run the standard cycle instead of full, reducing testing time from 45 minutes to 15 + # per lib implementation. + export NSS_CYCLES=standard + + NSINSTALL="${PWD}/$(find -type f -name nsinstall)" + + cd "${BUILD_DIR}"/tests || die + # Hack to get current objdir (prefixed dir where built binaries are) + # Without this, at least multilib tests go wrong when building the amd64 variant + # after x86. + local objdir=$(find "${BUILD_DIR}"/dist -maxdepth 1 -iname Linux* | rev | cut -d/ -f1 | rev) + + # Can tweak to a subset of tests in future if we need to, but would prefer not + OBJDIR="${objdir}" DIST="${BUILD_DIR}/dist" MOZILLA_ROOT="${BUILD_DIR}" ./all.sh || die +} + +# Altering these 3 libraries breaks the CHK verification. +# All of the following cause it to break: +# - stripping +# - prelink +# - ELF signing +# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html +# Either we have to NOT strip them, or we have to forcibly resign after +# stripping. +#local_libdir="$(get_libdir)" +#export STRIP_MASK=" +# */${local_libdir}/libfreebl3.so* +# */${local_libdir}/libnssdbm3.so* +# */${local_libdir}/libsoftokn3.so*" + +export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3" + +generate_chk() { + local shlibsign="$1" + local libdir="$2" + einfo "Resigning core NSS libraries for FIPS validation" + shift 2 + local i + for i in ${NSS_CHK_SIGN_LIBS} ; do + local libname=lib${i}.so + local chkname=lib${i}.chk + "${shlibsign}" \ + -i "${libdir}"/${libname} \ + -o "${libdir}"/${chkname}.tmp \ + && mv -f \ + "${libdir}"/${chkname}.tmp \ + "${libdir}"/${chkname} \ + || die "Failed to sign ${libname}" + done +} + +cleanup_chk() { + local libdir="$1" + shift 1 + local i + for i in ${NSS_CHK_SIGN_LIBS} ; do + local libfname="${libdir}/lib${i}.so" + # If the major version has changed, then we have old chk files. + [ ! -f "${libfname}" -a -f "${libfname}.chk" ] \ + && rm -f "${libfname}.chk" + done +} + +multilib_src_install() { + pushd dist >/dev/null || die + + dodir /usr/$(get_libdir) + cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed" + local i + for i in crmf freebl nssb nssckfw ; do + cp -L */lib/lib${i}.a "${ED}"/usr/$(get_libdir) || die "copying libs failed" + done + + # Install nss-config and pkgconfig file + dodir /usr/bin + cp -L */bin/nss-config "${ED}"/usr/bin || die + dodir /usr/$(get_libdir)/pkgconfig + cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die + + # create an nss-softokn.pc from nss.pc for libfreebl and some private headers + # bug 517266 + sed -e 's#Libs:#Libs: -lfreebl#' \ + -e 's#Cflags:#Cflags: -I${includedir}/private#' \ + */lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \ + || die "could not create nss-softokn.pc" + + # all the include files + insinto /usr/include/nss + doins public/nss/*.{h,api} + insinto /usr/include/nss/private + doins private/nss/{blapi,alghmac,cmac}.h + + popd >/dev/null || die + + local f nssutils + # Always enabled because we need it for chk generation. + nssutils=( shlibsign ) + + if multilib_is_native_abi ; then + if use utils; then + # The tests we do not need to install. + #nssutils_test="bltest crmftest dbtest dertimetest + #fipstest remtest sdrtest" + # checkcert utils has been removed in nss-3.22: + # https://bugzilla.mozilla.org/show_bug.cgi?id=1187545 + # https://hg.mozilla.org/projects/nss/rev/df1729d37870 + # certcgi has been removed in nss-3.36: + # https://bugzilla.mozilla.org/show_bug.cgi?id=1426602 + nssutils+=( + addbuiltin + atob + baddbdir + btoa + certutil + cmsutil + conflict + crlutil + derdump + digest + makepqg + mangle + modutil + multinit + nonspr10 + ocspclnt + oidcalc + p7content + p7env + p7sign + p7verify + pk11mode + pk12util + pp + rsaperf + selfserv + signtool + signver + ssltap + strsclnt + symkeyutil + tstclnt + vfychain + vfyserv + ) + # install man-pages for utils (bug #516810) + doman doc/nroff/*.1 + fi + pushd dist/*/bin >/dev/null || die + for f in ${nssutils[@]}; do + dobin ${f} + done + popd >/dev/null || die + fi +} + +pkg_postinst() { + multilib_pkg_postinst() { + # We must re-sign the libraries AFTER they are stripped. + local shlibsign="${EROOT}/usr/bin/shlibsign" + # See if we can execute it (cross-compiling & such). #436216 + "${shlibsign}" -h >&/dev/null + if [[ $? -gt 1 ]] ; then + shlibsign="shlibsign" + fi + generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir) + } + + multilib_foreach_abi multilib_pkg_postinst +} + +pkg_postrm() { + multilib_pkg_postrm() { + cleanup_chk "${EROOT}"/usr/$(get_libdir) + } + + multilib_foreach_abi multilib_pkg_postrm +} diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest index f20803a22bd48..890b05d86e5bb 100644 --- a/dev-libs/openssl/Manifest +++ b/dev-libs/openssl/Manifest @@ -3,8 +3,6 @@ DIST openssl-1.0.2t-bindist-1.0.tar.xz 13872 BLAKE2B b2aade96a6e0ca6209a39e205b1 DIST openssl-1.0.2u.tar.gz 5355412 BLAKE2B b2ff2a10e5851af5aca4093422a9a072c794e87b997263826c1c35910c040f695fac63decac5856cb49399ed03d410f97701d9fd4e1ebfbcacd8f3a74ce8bf57 SHA512 c455bb309e20e2c2d47fdc5619c734d107d5c8c38c1409903ce979acc120b0d5fa0312917c0aa0d630e402d092a703d4249643f36078e8528a3cafc9dac6ab32 DIST openssl-1.1.1u.tar.gz 9892176 BLAKE2B 5de9cb856e497596ecba008bad6515eefd093849b9c66dd7447031723996f3ba66ac37a323a5f7d01b1d42df4daaceb523372f5897d5c53b935ffab91c566594 SHA512 d00aeb0b4c4676deff06ff95af7ac33dd683b92f972b4a8ae55cf384bb37c7ec30ab83c6c0745daf87cf1743a745fced6a347fd11fed4c548aa0953610ed4919 DIST openssl-1.1.1u.tar.gz.asc 833 BLAKE2B 7a978a94264a14be04372fea39868e9177e8a0b0f24344267702022e19ee0f52e91ad141d7c54da870f7ec0df9b2e43b80939f1d274dd0b44d36da2670e3a468 SHA512 40245d65ace95b2002bf64bcba184c92fec3420b08d9f61f3a709c4842e9478595105d8adce33a08eb98d351d2a0989ec342b08cdd9104498ea0543b6e592d28 -DIST openssl-1.1.1v.tar.gz 9893443 BLAKE2B 9b3066d1911466dec909052667aafe9b974d2fa0a9798105b7501d62300e5a61a154fb94e633e46918303e9fcc1afc077e6efb5727eb967b75a795d8e2ed60a7 SHA512 1a67340d99026aa62bf50ff89165d9f77fe4a6690fe30d1751b5021dd3f238391afd581b41724687c322c4e3af1770c44a63766a06e9b8cab6425101153e0c7e -DIST openssl-1.1.1v.tar.gz.asc 833 BLAKE2B a851629231591679c37a53342a7da565879fe626ce56ee586184c6e3694ee9cb15cf10b52e6ef17eac6cb25b66e3d50d1a703d42a5056a51f1567178956bfb11 SHA512 3e188f60d57f844fda6e6382623cb082e18d7caec38f9e6ab13d8d101ca0b0d234cfd7aba041ab975d5cd168c1ec0f147ff8a77e515a416461bfd108cb4244e0 DIST openssl-1.1.1w.tar.gz 9893384 BLAKE2B 2fdba6ca0188928ab2f74e606136afca66cfa0467170fa6298ef160b64ac6fdcad1e81e5dd14013ce0e9921d0f7417edec531cd0beaf1196fec704c2c6d48395 SHA512 b4c625fe56a4e690b57b6a011a225ad0cb3af54bd8fb67af77b5eceac55cc7191291d96a660c5b568a08a2fbf62b4612818e7cca1bb95b2b6b4fc649b0552b6d DIST openssl-1.1.1w.tar.gz.asc 833 BLAKE2B d990be69ed913509d52b78e7473668429d4485adb29ef03e4612dd0cadbac4f04c7289d8e5baf6f397bcedeaac9f802f18fc719964d882ae0514ed1ca16ae277 SHA512 0f3d7aa48b1cabf8dd43e8108aeed10a4dffb4f5a244d4da9c86ea358b0c8b90c46da561d21e01c567c2f5035d824ed82ec104aad1776b7f33a1be85990e98ef DIST openssl-3.0.10.tar.gz 15194904 BLAKE2B 8bb3bd02b8dc64441ebfea98c4778d3ee0794540186904371a5aed81cb4f6d6903809bf97faafbc2a719617353234484f0d610f2806621229131fdad343f7231 SHA512 fc12f3beed5e2d2f4767aeb772ceb6ba26f6cbfabc247765854108266b27a1223134f0e81735867a9069bc9c07a14b9816e85903cef91bd1b90f781f0b98b61a @@ -13,8 +11,6 @@ DIST openssl-3.0.11.tar.gz 15198318 BLAKE2B e522573aa72c8f6ffef82f20de36178fc6f9 DIST openssl-3.0.11.tar.gz.asc 833 BLAKE2B e6e2636d5bb5fffb86833e64437fb440bbfd1c4e2bfbfdd72280cf1ce388b70d30eeea56ef6f3bb673e7dcd12020d993ef95f96bf099ded38e8cde4b549b38fa SHA512 3c1fe94fc46861870d99d1edcfe3c151272f7864dde36b66e87a0c79d2289e9ed5cfc48bfa65ba0e88eadcb3cc8307d702e01155f48af8ffc2d4f8fbbf3aa03c DIST openssl-3.0.9.tar.gz 15181285 BLAKE2B cc1df41fa12ba4443e15e94f6ebdc5e103b9dab5eab2e1c8f74e6a74fa2c38207817921b65d7293cb241c190a910191c7163600bb75243adde0e2f9ec31cc885 SHA512 86c99146b37236419b110db77dd3ac3992e6bed78c258f0cc3434ca233460b4e17c0ac81d7058547fe9cb72a9fd80ee56d4b4916bb731dbe2bbcf1c3d46bf31a DIST openssl-3.0.9.tar.gz.asc 833 BLAKE2B 9943ac65f83f48465cae83b37a1d004f6be4622e53c3025166d42954abe9215f1a6c2af58d4aa2b45fa51182fee5019e740969f694655b6c592bb278c68aacef SHA512 9949de6b57d5aa21da1d4b68a29eb37e302403c983bd7d2d8769b320aac4268a9f9091c5fb182862a4f89a9099660939fe609df87c66991b75f7695faf357caf -DIST openssl-3.1.1.tar.gz 15544757 BLAKE2B 094f7e28f16de6528016fcd21df1d7382b0dbdcd80ec469d37add9c37f638c059dda3ffb4415eba890a33d146ddc9016bcc7192df101c73be5e70faf6e3b1097 SHA512 8ba9dd6ab87451e126c19cc106ccd1643ca48667d6c37504d0ab98205fbccf855fd0db54474b4113c4c3a15215a4ef77a039fb897a69f71bcab2054b2effd1d9 -DIST openssl-3.1.1.tar.gz.asc 833 BLAKE2B 5a2a9aeb475b843862e133d53bc5bb3c8e12e8e03b1e2da41d0eaa0eade1ae03c4318ad1f5c490c5e1ed7e6ac6275a6d7c881d99993911722b043b15d1622b25 SHA512 83349020c67e5b956f3ef37604a03a1970ea393f862691f5fd5d85930c01e559e25db17d397d8fd230c3862a8b2fba2d5c7df883d56d7472f4c01dab3a661cb2 DIST openssl-3.1.2.tar.gz 15560427 BLAKE2B 7b4ba35df7d5680c5f13a1986e4c6abaf4592690647dcfa84d7f14c196326355e8ad0ea62f81f8269f0605f0d29f18e9def9c2158fcbe00baefabf819f82374d SHA512 9f41113e5537aee4c3f92711ff85fa12da080363fef0c8b8b34e5b3fc608473c6e4cadd9d8c78f2fcbe97462e51f26a0bb6781656a69ad40226e68af2cf2c762 DIST openssl-3.1.2.tar.gz.asc 833 BLAKE2B aba3207c5eafaafc34bea078a9684612f7d9b4c5a888a27781cfe2421d27de6c2af3539abfc6efdac81ab0b923b7044a9b764902aa76edfd44ce5979f871a8b9 SHA512 fe143d2d90de1d3d30590ef9801185f8d2837668474ef3879d409bd4eb9417a127dee6c2a4e45076aa3ae3e443bfedd24de434ba4cf3ea0589c113990345a9ce DIST openssl-3.1.3.tar.gz 15561739 BLAKE2B a279a5c80191b95ca735aed20beb56ab899ee302258ce3529c377820739bf55075537cd900b06b3ca07b85efdce95cb081bcad1dfd4d33f81695c7ef0cefdf03 SHA512 2388eaa8e99acf1e8af4691a645b9b9af456900c74959e82d4cb02808301e11dcfecc86954a922262b16fa4b664b459894d133ab7d35ec82e1633a33194b7b20 diff --git a/dev-libs/openssl/openssl-1.1.1u.ebuild b/dev-libs/openssl/openssl-1.1.1u.ebuild index 90cdec1ab00b3..c90541dca2913 100644 --- a/dev-libs/openssl/openssl-1.1.1u.ebuild +++ b/dev-libs/openssl/openssl-1.1.1u.ebuild @@ -67,7 +67,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/openssl/openssl-1.1.1v.ebuild b/dev-libs/openssl/openssl-1.1.1v.ebuild deleted file mode 100644 index 6a237499b4295..0000000000000 --- a/dev-libs/openssl/openssl-1.1.1v.ebuild +++ /dev/null @@ -1,265 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic toolchain-funcs multilib-minimal verify-sig - -MY_P=${P/_/-} -DESCRIPTION="Full-strength general purpose cryptography library (including SSL and TLS)" -HOMEPAGE="https://www.openssl.org/" -SRC_URI="mirror://openssl/source/${MY_P}.tar.gz - verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="openssl" -SLOT="0/1.1" # .so version of libssl/libcrypto -if [[ ${PV} != *_pre* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -fi -IUSE="+asm rfc3779 sctp cpu_flags_x86_sse2 sslv3 static-libs test tls-compression tls-heartbeat vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -RDEPEND=" - tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - sys-devel/bc - kernel_linux? ( sys-process/procps ) - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230801 )" -PDEPEND="app-misc/ca-certificates" - -# force upgrade to prevent broken login, bug #696950 -RDEPEND+=" !/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]]; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_unpack() { - # Can delete this once test fix patch is dropped - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} - fi - - default -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES}; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die - - # Remove test target when FEATURES=test isn't set - if ! use test ; then - sed \ - -e '/^$config{dirs}/s@ "test",@@' \ - -i Configure || die - fi - - if use prefix && [[ ${CHOST} == *-solaris* ]] ; then - # use GNU ld full option, not to confuse it on Solaris - sed -i \ - -e 's/-Wl,-M,/-Wl,--version-script=/' \ - -e 's/-Wl,-h,/-Wl,--soname=/' \ - Configurations/10-main.conf || die - fi - - # The config script does stupid stuff to prompt the user. Kill it. - sed -i '/stty -icanon min 0 time 50; read waste/d' config || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-cppflags -DOPENSSL_NO_BUF_FREELISTS - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Use configuration ${sslout:-(openssl knows best)}" - local config=( perl "${S}/Configure" ) - [[ -z ${sslout} ]] && config=( sh "${S}/config" -v ) - - # "disable-deprecated" option breaks too many consumers. - # Don't set it without thorough revdeps testing. - # Make sure user flags don't get added *yet* to avoid duplicated - # flags. - local myeconfargs=( - ${sslout} - - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - ${ec_nistp_64_gcc_128} - enable-idea - enable-mdc2 - enable-rc5 - $(use_ssl sslv3 ssl3) - $(use_ssl sslv3 ssl3-method) - $(use_ssl asm) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl tls-heartbeat heartbeats) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo "${config[@]}" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake all -} - -multilib_src_test() { - emake -j1 test -} - -multilib_src_install() { - emake DESTDIR="${D}" install_sw - - if multilib_is_native_abi; then - emake DESTDIR="${D}" install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} MANSUFFIX=ssl install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc CHANGES* FAQ NEWS README doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? -} diff --git a/dev-libs/openssl/openssl-1.1.1w.ebuild b/dev-libs/openssl/openssl-1.1.1w.ebuild index 6a237499b4295..7440cf3d3dccd 100644 --- a/dev-libs/openssl/openssl-1.1.1w.ebuild +++ b/dev-libs/openssl/openssl-1.1.1w.ebuild @@ -67,7 +67,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/openssl/openssl-3.0.10.ebuild b/dev-libs/openssl/openssl-3.0.10.ebuild index 4251a16a6deae..b469b0b55dc63 100644 --- a/dev-libs/openssl/openssl-3.0.10.ebuild +++ b/dev-libs/openssl/openssl-3.0.10.ebuild @@ -81,7 +81,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/openssl/openssl-3.0.11.ebuild b/dev-libs/openssl/openssl-3.0.11.ebuild index 5d69a16c495ea..9d573d00feeb2 100644 --- a/dev-libs/openssl/openssl-3.0.11.ebuild +++ b/dev-libs/openssl/openssl-3.0.11.ebuild @@ -81,7 +81,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/openssl/openssl-3.0.9-r1.ebuild b/dev-libs/openssl/openssl-3.0.9-r1.ebuild index 7f042b6d39c09..766737ef1a4b6 100644 --- a/dev-libs/openssl/openssl-3.0.9-r1.ebuild +++ b/dev-libs/openssl/openssl-3.0.9-r1.ebuild @@ -81,7 +81,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/openssl/openssl-3.0.9-r2.ebuild b/dev-libs/openssl/openssl-3.0.9-r2.ebuild index e4516c8a708f9..72845dd2599a2 100644 --- a/dev-libs/openssl/openssl-3.0.9-r2.ebuild +++ b/dev-libs/openssl/openssl-3.0.9-r2.ebuild @@ -86,7 +86,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/openssl/openssl-3.1.1-r1.ebuild b/dev-libs/openssl/openssl-3.1.1-r1.ebuild deleted file mode 100644 index 7f787b960f44c..0000000000000 --- a/dev-libs/openssl/openssl-3.1.1-r1.ebuild +++ /dev/null @@ -1,288 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://www.openssl.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - mirror://openssl/source/${MY_P}.tar.gz - verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc ) - " - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - !=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - sys-devel/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230207 )" - -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_unpack() { - # Can delete this once test fix patch is dropped - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} - fi - - default -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 - append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw - - if multilib_is_native_abi; then - emake build_docs - fi -} - -multilib_src_test() { - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test -} - -multilib_src_install() { - emake DESTDIR="${D}" install_sw - if use fips; then - emake DESTDIR="${D}" install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/openssl/openssl-3.1.1-r2.ebuild b/dev-libs/openssl/openssl-3.1.1-r2.ebuild deleted file mode 100644 index cfa017e584113..0000000000000 --- a/dev-libs/openssl/openssl-3.1.1-r2.ebuild +++ /dev/null @@ -1,293 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://www.openssl.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - mirror://openssl/source/${MY_P}.tar.gz - verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc ) - " - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - !=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - sys-devel/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230207 )" - -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2023-2975.patch - "${FILESDIR}"/${P}-CVE-2023-3446.patch -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_unpack() { - # Can delete this once test fix patch is dropped - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} - fi - - default -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 - append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw - - if multilib_is_native_abi; then - emake build_docs - fi -} - -multilib_src_test() { - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test -} - -multilib_src_install() { - emake DESTDIR="${D}" install_sw - if use fips; then - emake DESTDIR="${D}" install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/openssl/openssl-3.1.2.ebuild b/dev-libs/openssl/openssl-3.1.2.ebuild index cbdd13f196577..67cd58d980dc5 100644 --- a/dev-libs/openssl/openssl-3.1.2.ebuild +++ b/dev-libs/openssl/openssl-3.1.2.ebuild @@ -84,7 +84,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/openssl/openssl-3.1.3.ebuild b/dev-libs/openssl/openssl-3.1.3.ebuild index cbdd13f196577..67cd58d980dc5 100644 --- a/dev-libs/openssl/openssl-3.1.3.ebuild +++ b/dev-libs/openssl/openssl-3.1.3.ebuild @@ -84,7 +84,7 @@ src_unpack() { # Can delete this once test fix patch is dropped if use verify-sig ; then # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} fi default diff --git a/dev-libs/protobuf-c/Manifest b/dev-libs/protobuf-c/Manifest index 0044b40895389..9e824fc64956f 100644 --- a/dev-libs/protobuf-c/Manifest +++ b/dev-libs/protobuf-c/Manifest @@ -1,2 +1 @@ -DIST protobuf-c-1.4.0.tar.gz 505251 BLAKE2B 5f53238c064f82de87012eb739bf6a44c202d0dbf2fc5af394accdc52a9934d1fb9cea2bb4a4d529fdf98959546aaa672c1c991a9a7016803d16f65accc907cd SHA512 6a2e5031b85b5986e863661437dea002eba217257a50a27db88d29fa1a3db1014ed6ec7c21d89df700d181b18e169d1037146cb6475c10cd5a068a91e522e3c3 DIST protobuf-c-1.4.1.tar.gz 513596 BLAKE2B b5e87a3154863581b81790a26b6b522c2b3ad138e966053f20c6264b4a7677d6c5bff8e27faa7c6cfa9e982b72b06e2f518a3def9f6db13241c3cb3ee9afc8f6 SHA512 190a4aa5c607853e6bf860b0974deb21e4f7f6209e810251eaca9612b59ea676779b0ca217fb1572914ffb8de3315a7d24f162b14d447ee671a9adc5b1271e41 diff --git a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild b/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild deleted file mode 100644 index 8e8ab4e49d700..0000000000000 --- a/dev-libs/protobuf-c/protobuf-c-1.4.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal - -MY_PV="${PV/_/-}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="Protocol Buffers implementation in C" -HOMEPAGE="https://github.com/protobuf-c/protobuf-c" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -# Subslot == SONAME version -SLOT="0/1.0.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND=">=dev-libs/protobuf-3:0 - virtual/pkgconfig" -DEPEND=">=dev-libs/protobuf-3:0=[${MULTILIB_USEDEP}]" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.4.0-include-path.patch -) - -src_prepare() { - default - - if ! use test; then - eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch - fi - - eautoreconf -} - -multilib_src_configure() { - local myeconfargs=( - $(use_enable static-libs static) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - find "${ED}" -name '*.la' -type f -delete || die - einstalldocs -} diff --git a/dev-libs/pugixml/Manifest b/dev-libs/pugixml/Manifest index 04cdfbf435e1c..4c599e303ab72 100644 --- a/dev-libs/pugixml/Manifest +++ b/dev-libs/pugixml/Manifest @@ -1 +1,2 @@ DIST pugixml-1.13.tar.gz 573528 BLAKE2B 62b7233d46587a95936c809f06b5d5277ac0f79f125e1d02382f13ed5122d4f7d21d120b0e48049bffd1e2cc413160fd67f9258b1fc2cfccb7f9db8b9bce10c4 SHA512 5ff95a1ce06df01a72e736be4684c097dc656b2fc330b7fe6bf62601aca5c72edd0f40e51a643ce92f4fe5ba632b0b9fb57fbb1524aebcdd70441adeedec4a86 +DIST pugixml-1.14.tar.gz 576683 BLAKE2B 0379916979f796f5d0f4063d2b156159ec90915694c4b2fa93b14dad717709a2dd3dc2851f794e56fb8e35f47d39d1b9d84905a3f4b5b89a8e677af9d5a24f99 SHA512 730d203829eb24d6e1c873f9b921ae97cf7a157fd45504151bc2e61adea5c536eaf33ff38c5ad61629b54a6686135ff1834a61102b4660fbb9ead4ecf20dfd34 diff --git a/dev-libs/pugixml/pugixml-1.14.ebuild b/dev-libs/pugixml/pugixml-1.14.ebuild new file mode 100644 index 0000000000000..a2f872a9ebb04 --- /dev/null +++ b/dev-libs/pugixml/pugixml-1.14.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/zeux/${PN}.git" + inherit git-r3 +else + # Use non-release tarball for tests + # TODO: ask upstream to include tests in release tarballs? + SRC_URI="https://github.com/zeux/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Light-weight, simple, and fast XML parser for C++ with XPath support" +HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -D${PN^^}_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +} diff --git a/dev-libs/tree-sitter-bash/Manifest b/dev-libs/tree-sitter-bash/Manifest index ef16e16579533..4fb9e7bc1cb7c 100644 --- a/dev-libs/tree-sitter-bash/Manifest +++ b/dev-libs/tree-sitter-bash/Manifest @@ -1,2 +1,3 @@ DIST tree-sitter-bash-0.19.0.tar.gz 187286 BLAKE2B 8812a593366a65a9cae3eaac5bb81c71e95f4abe8558a01b908333e471f05714b1c768b71e66d3890d1e63202819290813e499a5e8ba49e72bb466b9b0f245f8 SHA512 62bc8bc25c999f9c79632bd6b236edd21ef15b14365dd1a956237b11a32f5e60a2f420ec67b60d46203699b7841d4bc10978fc0307d0c4013b376c6c024d89ae DIST tree-sitter-bash-0.20.3.tar.gz 334446 BLAKE2B e33f841e48458a63e6e084f66a251c6847c004140a1b727752452d031d240756068f5188d1bd90c4194aaf51d040187f3995636673210bc5f93f2ed50ff73a97 SHA512 558a8eef4a04e786c43bef0dd24f022619b77faffdd5788ef47ba28f133d5a55df144169503343cdb46ac4ed66deb36ca483b963e3eb686da30c324c65c9eac3 +DIST tree-sitter-bash-0.20.3_p20230921.tar.gz 442105 BLAKE2B c7755e38488544e4c3f6b02191417e9a1a8be08dcef9391e37e201e8b4d6d10155f3e9f0c67b3ecfbae529a538117ed4e55245144f8f0ed1ac53042accb0bb1c SHA512 c6546e207a4a58acd53407eb3ff67fe4352cbccd8147860c3d679feab709216d6d1d1efe813df2c8fa2d3f2469545a453834d0d319c0584fd8e11589302e4dd5 diff --git a/dev-libs/tree-sitter-bash/metadata.xml b/dev-libs/tree-sitter-bash/metadata.xml index cfc3dcc2ea73a..1fffc5c7ee440 100644 --- a/dev-libs/tree-sitter-bash/metadata.xml +++ b/dev-libs/tree-sitter-bash/metadata.xml @@ -9,6 +9,10 @@ sarnex@gentoo.org Nick Sarnie + + pkgcore@gentoo.org + Pkgcore + tree-sitter/tree-sitter-bash diff --git a/dev-libs/tree-sitter-bash/tree-sitter-bash-0.20.3_p20230921.ebuild b/dev-libs/tree-sitter-bash/tree-sitter-bash-0.20.3_p20230921.ebuild new file mode 100644 index 0000000000000..edaa7b13cf13c --- /dev/null +++ b/dev-libs/tree-sitter-bash/tree-sitter-bash-0.20.3_p20230921.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TS_PV="fd4e40dab883d6456da4d847de8321aee9c80805" + +inherit tree-sitter-grammar + +DESCRIPTION="Bash grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter-bash" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" diff --git a/dev-lua/lanes/Manifest b/dev-lua/lanes/Manifest index ada55d99e2372..08f19a66092ea 100644 --- a/dev-lua/lanes/Manifest +++ b/dev-lua/lanes/Manifest @@ -1,2 +1 @@ -DIST lanes-3.16.0.tar.gz 257945 BLAKE2B aecc0bd551f10b29791acdde8da30fb83591395eac4d152999a0e92fe9738a6171b13363edae2d94b1db47398a01e011833ccee7a7f234033d3230605423c0b6 SHA512 ffd935baae8af752591251bbb1a7f936034ad281870d453e6e1b4291c175c91537ccae23ec25a616b45e8ab601222f323e05e938d7887091ba7e132b0cd5e449 DIST lanes-3.16.2.tar.gz 446113 BLAKE2B 5343ac98f2fac3c92d8afeb6dbbd4875ce93c44715b40b030cbbb03f311b3e358358c1daa295790b0a62113bb15355fc8927a8b7896af079d8e7fe50e2e6b438 SHA512 c7e8037d6f709b31bdb981cbcf70ba51f23823bac51f7ee9ef47881603547a8e1df3c6b7fa35110528cb7547f83048cbe71868aa94c03a59165f1b9d2d5ad08a diff --git a/dev-lua/lanes/lanes-3.16.0.ebuild b/dev-lua/lanes/lanes-3.16.0.ebuild deleted file mode 100644 index f31509f4e45e0..0000000000000 --- a/dev-lua/lanes/lanes-3.16.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit lua toolchain-funcs - -DESCRIPTION="Lightweight, native, lazy evaluating multithreading library" -HOMEPAGE="https://github.com/LuaLanes/lanes" -SRC_URI="https://github.com/LuaLanes/lanes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="test" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -# Tests are currently somehow problematic. -# https://github.com/LuaLanes/lanes/issues/197 -# https://github.com/LuaLanes/lanes/issues/198 -RESTRICT="test" - -RDEPEND="${LUA_DEPS}" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - test? ( ${RDEPEND} ) -" - -HTML_DOCS=( "docs/." ) - -PATCHES=( "${FILESDIR}/${PN}-3.13.0-makefile.patch" ) - -src_prepare() { - default - - lua_copy_sources -} - -lua_src_compile() { - pushd "${BUILD_DIR}" || die - - local myemakeargs=( - "CC=$(tc-getCC)" - "LUA=${ELUA}" - "LUA_FLAGS=$(lua_get_CFLAGS)" - "LUA_LIBS=" - "OPT_FLAGS=${CFLAGS}" - ) - - tc-export PKG_CONFIG - - emake "${myemakeargs[@]}" - - popd -} - -src_compile() { - lua_foreach_impl lua_src_compile -} - -lua_src_test() { - pushd "${BUILD_DIR}" || die - - emake LUA="${ELUA}" test - - popd -} - -src_test() { - lua_foreach_impl lua_src_test -} - -lua_src_install() { - pushd "${BUILD_DIR}" || die - - local myemakeargs=( - "LUA_LIBDIR=${ED}/$(lua_get_cmod_dir)" - "LUA_SHAREDIR=${ED}/$(lua_get_lmod_dir)" - ) - - emake "${myemakeargs[@]}" install - - popd -} - -src_install() { - lua_foreach_impl lua_src_install - - einstalldocs -} diff --git a/dev-lua/lanes/lanes-3.16.2.ebuild b/dev-lua/lanes/lanes-3.16.2.ebuild index 42af43b2d1d98..89c99904f4bcc 100644 --- a/dev-lua/lanes/lanes-3.16.2.ebuild +++ b/dev-lua/lanes/lanes-3.16.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/LuaLanes/lanes/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" REQUIRED_USE="${LUA_REQUIRED_USE}" diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest index 908f8400d4ca4..0f39c1ae56650 100644 --- a/dev-ml/llvm-ocaml/Manifest +++ b/dev-ml/llvm-ocaml/Manifest @@ -4,9 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591 SHA512 be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65 -DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d SHA512 5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c -DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_rc4.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-17.0.2.9999.ebuild similarity index 100% rename from dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_rc4.ebuild rename to dev-ml/llvm-ocaml/llvm-ocaml-17.0.2.9999.ebuild diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-18.0.0_pre20230906.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-18.0.0_pre20230906.ebuild deleted file mode 100644 index 7499a8afc1dd0..0000000000000 --- a/dev-ml/llvm-ocaml/llvm-ocaml-18.0.0_pre20230906.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake llvm llvm.org python-any-r1 - -DESCRIPTION="OCaml bindings for LLVM" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0/${PV}" -KEYWORDS="" -IUSE="+debug test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-lang/ocaml-4.00.0:0= - dev-ml/ocaml-ctypes:= - ~sys-devel/llvm-${PV}:=[debug?] - !sys-devel/llvm[ocaml(-)] -" - -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - dev-lang/perl - dev-ml/findlib - >=dev-util/cmake-3.16 -" - -LLVM_COMPONENTS=( llvm cmake third-party ) -LLVM_USE_TARGETS=llvm -llvm.org_set_globals - -pkg_setup() { - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup - python-any-r1_pkg_setup -} - -src_configure() { - local libdir=$(get_libdir) - local mycmakeargs=( - -DLLVM_LIBDIR_SUFFIX=${libdir#lib} - - -DBUILD_SHARED_LIBS=OFF - -DLLVM_BUILD_LLVM_DYLIB=ON - -DLLVM_LINK_LLVM_DYLIB=ON - -DLLVM_OCAML_OUT_OF_TREE=ON - - # cheap hack: LLVM combines both anyway, and the only difference - # is that the former list is explicitly verified at cmake time - -DLLVM_TARGETS_TO_BUILD="" - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" - -DLLVM_BUILD_TESTS=$(usex test) - - # disable various irrelevant deps and settings - -DLLVM_ENABLE_FFI=OFF - -DLLVM_ENABLE_TERMINFO=OFF - -DHAVE_HISTEDIT_H=NO - -DLLVM_ENABLE_ASSERTIONS=$(usex debug) - -DLLVM_ENABLE_EH=ON - -DLLVM_ENABLE_RTTI=ON - - -DLLVM_HOST_TRIPLE="${CHOST}" - - -DPython3_EXECUTABLE="${PYTHON}" - - # TODO: ocamldoc - ) - - use test && mycmakeargs+=( - -DLLVM_LIT_ARGS="$(get_lit_flags)" - ) - - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 - # also: custom rules for OCaml do not work for CPPFLAGS - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" - cmake_src_configure - - local llvm_libdir=$(llvm-config --libdir) - # an ugly hack; TODO: figure out a way to pass -L to ocaml... - cd "${BUILD_DIR}/${libdir}" || die - ln -s "${llvm_libdir}"/*.so . || die - - if use test; then - local llvm_bindir=$(llvm-config --bindir) - # Force using system-installed tools. - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ - "${BUILD_DIR}"/test/lit.site.cfg.py || die - fi -} - -src_compile() { - cmake_build ocaml_all -} - -src_test() { - # respect TMPDIR! - local -x LIT_PRESERVES_TMP=1 - cmake_build check-llvm-bindings-ocaml -} - -src_install() { - DESTDIR="${D}" \ - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die - - dodoc bindings/ocaml/README.txt -} diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-17.0.1.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-18.0.0_pre20231002.ebuild similarity index 100% rename from dev-ml/llvm-ocaml/llvm-ocaml-17.0.1.9999.ebuild rename to dev-ml/llvm-ocaml/llvm-ocaml-18.0.0_pre20231002.ebuild diff --git a/dev-perl/HTTP-Message/HTTP-Message-6.450.0.ebuild b/dev-perl/HTTP-Message/HTTP-Message-6.450.0.ebuild new file mode 100644 index 0000000000000..77d117604bcb8 --- /dev/null +++ b/dev-perl/HTTP-Message/HTTP-Message-6.450.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=OALDERS +DIST_VERSION=6.45 +inherit perl-module + +DESCRIPTION="Base class for Request/Response" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !=dev-perl/Clone-0.460.0 + virtual/perl-Compress-Raw-Bzip2 + >=virtual/perl-Compress-Raw-Zlib-2.62.0 + >=virtual/perl-Encode-3.10.0 + >=dev-perl/Encode-Locale-1.0.0 + >=virtual/perl-Exporter-5.570.0 + virtual/perl-File-Spec + >=dev-perl/HTTP-Date-6.0.0 + >=virtual/perl-IO-Compress-2.21.0 + dev-perl/IO-HTML + >=dev-perl/LWP-MediaTypes-6.0.0 + >=virtual/perl-MIME-Base64-2.100.0 + >=dev-perl/URI-1.100.0 +" +BDEPEND=" + ${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + dev-perl/Test-Needs + virtual/perl-File-Spec + >=virtual/perl-Test-Simple-0.880.0 + virtual/perl-Time-Local + dev-perl/Try-Tiny + dev-perl/URI + ) +" diff --git a/dev-perl/HTTP-Message/Manifest b/dev-perl/HTTP-Message/Manifest index 176af94667b75..ddf55e8dbce9a 100644 --- a/dev-perl/HTTP-Message/Manifest +++ b/dev-perl/HTTP-Message/Manifest @@ -1,3 +1,4 @@ DIST HTTP-Message-6.32.tar.gz 88711 BLAKE2B 765d6ee3053c91448cd3023d87cf3bee23f107ebb10f2ccb77f064b7704c92a81f3268612e23266bb3e28a7e2810238be4da9475e93304a04dab4752ef57e789 SHA512 359a0d51e65d721d8167dea05d7aa9853d07eb4a4093735cf5f45814117070400cce93d60b08dcf92cfe0fbc98e7455e7facaecbfcaff44cc0e619fb621b3288 DIST HTTP-Message-6.33.tar.gz 89245 BLAKE2B 4a200c634c261ca7c5721bb786277712b15f1dc662543136aa8c8508be149ee520cd192afa0290756e6c1db94f6361348f0357099d3a529ad14dadda777bd5fc SHA512 8c27560796cc28f7db8e5c54a8fec0d21e5bb4d775d1d0d9fa791a7f5b51e523ce4e854facee82211d989f1cacc6f69af53dba23f4558ef0c947add6b35f8314 DIST HTTP-Message-6.44.tar.gz 94897 BLAKE2B cbfc3cdd68ba52572156340a3303a24a6d02078b7cac887e84bf4806546867479d4e1ba15582bb835b04802a897cd31afb097c8a161ca4854abae1c96a0ee0ca SHA512 515f3b91b4ed1b12c63149006651b8d60e3b4d3d842e2b997b2e8c67ce93cbdcb8eb5357f4c5bce20057aea22c1f84b5e02995b02e381c21d918032edb35a994 +DIST HTTP-Message-6.45.tar.gz 95552 BLAKE2B 8b9245a94540686e500fabedced9a63a172e89285292cfe5cfa8a907eda7ad6f35bff3dab1eab25d2b636289c0fa768e3761167c93d14cd12e7d65eeaabeb1cd SHA512 b72ab9068c5f9ddb41f89b2a84887393f2c1bd14b462a1a60c03b4560800cfbf37c76f4bdd7c08f1ce9bf616242c2e39e0ff93859ed61268c48c978322a6d03d diff --git a/dev-perl/Image-Info/Image-Info-1.440.0.ebuild b/dev-perl/Image-Info/Image-Info-1.440.0.ebuild index 0cb1ece0481ac..7ada3bac35be2 100644 --- a/dev-perl/Image-Info/Image-Info-1.440.0.ebuild +++ b/dev-perl/Image-Info/Image-Info-1.440.0.ebuild @@ -11,7 +11,7 @@ inherit perl-module DESCRIPTION="The Perl Image-Info Module" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 sparc x86" +KEYWORDS="amd64 ~arm ~hppa ppc ppc64 sparc x86" RDEPEND=" >=dev-perl/IO-stringy-1.01 diff --git a/dev-perl/Mail-Box-POP3/Mail-Box-POP3-3.6.0.ebuild b/dev-perl/Mail-Box-POP3/Mail-Box-POP3-3.6.0.ebuild index 27af2a6c9332d..8c76d3ae99b54 100644 --- a/dev-perl/Mail-Box-POP3/Mail-Box-POP3-3.6.0.ebuild +++ b/dev-perl/Mail-Box-POP3/Mail-Box-POP3-3.6.0.ebuild @@ -10,7 +10,7 @@ inherit perl-module DESCRIPTION="Mail::Box connector via POP3" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~ppc64 ~riscv x86" +KEYWORDS="~alpha amd64 arm arm64 ppc64 ~riscv x86" RDEPEND=" virtual/perl-Carp diff --git a/dev-perl/Module-Build-Tiny/Manifest b/dev-perl/Module-Build-Tiny/Manifest index 7e0769609a4ae..0b3ca82f3fab7 100644 --- a/dev-perl/Module-Build-Tiny/Manifest +++ b/dev-perl/Module-Build-Tiny/Manifest @@ -1,2 +1,3 @@ DIST Module-Build-Tiny-0.039.tar.gz 20663 BLAKE2B 730ba49b5d7090321dc11d44d6e3a3fd42f81baf5f82c3e5044ede7bbe86e83d78dc8a0678671ebda4256365c5d24f118df5c12f0d2f8fad96cd8ab49206837d SHA512 26ca6fe4c1792b26bb2b4711035847f4215ea7c37234fbe24fc07432682fd9d3b6016dbdb2ecb455a7b13f6bea13994826c7f84f21075f0a6e575fa74672903a DIST Module-Build-Tiny-0.046.tar.gz 22153 BLAKE2B 6f5c9069e07581a09fe3c0c0e18c82df5a14828129187d9d3fba8853dc4763cdce2b0889e89769437bd0adf15b183aff50335861cfdf28da1e492b944dd183db SHA512 21a6aaa9130dfa842df2cd7ff2f8264b89f4d065fa550a74ce41c3c2fb60c276abad9b59362e013efdeb85b0fa4e89aa96ab35b1ec53e499c29ba3c8f286e64b +DIST Module-Build-Tiny-0.047.tar.gz 22193 BLAKE2B 9b4bddae93c2c2bcfe4d054f5be37ef596cb833003240796930856b27d88b252df8b669455e343ccd77e02d0a3980d4eb4755a1eb72268c03783fedbcce41a14 SHA512 505e8a1a1d7e4f73a820352b476c938769bee1b069eaee0df7a95ea5651f109dfb106faf82bf423ca96b15d0148fd890342ad214b4fa6481d15b8f494fe48a30 diff --git a/dev-perl/Module-Build-Tiny/Module-Build-Tiny-0.47.0.ebuild b/dev-perl/Module-Build-Tiny/Module-Build-Tiny-0.47.0.ebuild new file mode 100644 index 0000000000000..628d152247f32 --- /dev/null +++ b/dev-perl/Module-Build-Tiny/Module-Build-Tiny-0.47.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=LEONT +DIST_VERSION=0.047 +inherit perl-module + +DESCRIPTION="Tiny replacement for Module::Build" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + virtual/perl-CPAN-Meta + >=virtual/perl-Exporter-5.570.0 + virtual/perl-ExtUtils-CBuilder + >=dev-perl/ExtUtils-Config-0.3.0 + >=dev-perl/ExtUtils-Helpers-0.20.0 + virtual/perl-ExtUtils-Install + >=dev-perl/ExtUtils-InstallPaths-0.2.0 + virtual/perl-ExtUtils-ParseXS + virtual/perl-File-Path + virtual/perl-File-Spec + >=virtual/perl-Getopt-Long-2.360.0 + >=virtual/perl-JSON-PP-2.0.0 + virtual/perl-podlators + virtual/perl-Test-Harness +" +BDEPEND=" + ${RDEPEND} + test? ( + virtual/perl-Data-Dumper + virtual/perl-File-Temp + virtual/perl-IO + >=virtual/perl-Test-Simple-0.88 + virtual/perl-XSLoader + ) +" + +mytargets="install" diff --git a/dev-perl/Sub-Exporter/Sub-Exporter-0.989.0.ebuild b/dev-perl/Sub-Exporter/Sub-Exporter-0.989.0.ebuild index 16c5eacec7dfd..099857b92c8a5 100644 --- a/dev-perl/Sub-Exporter/Sub-Exporter-0.989.0.ebuild +++ b/dev-perl/Sub-Exporter/Sub-Exporter-0.989.0.ebuild @@ -10,7 +10,7 @@ inherit perl-module DESCRIPTION="Sophisticated exporter for custom-built routines" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" virtual/perl-Carp diff --git a/dev-perl/Test-Warnings/Manifest b/dev-perl/Test-Warnings/Manifest index e4e7e902f0883..c674913706807 100644 --- a/dev-perl/Test-Warnings/Manifest +++ b/dev-perl/Test-Warnings/Manifest @@ -1 +1,2 @@ DIST Test-Warnings-0.031.tar.gz 42031 BLAKE2B f195fe11cd0d134b8db8f77f5524b0da065dd33d8a4251df4d197d3310591ca824244b28144e8c95bb6141eafc494380285fec7244416d79c6842652576615d6 SHA512 02ddd342b6aa8771dd6ea3b7385c5eb970173633d49a3535bc46c3f98a66cd6e81895fc5f38cbe23366c8fa0f96121b51a8180b0d4ef0f2d8c658bb559c72c58 +DIST Test-Warnings-0.032.tar.gz 42877 BLAKE2B 86a0c2053c08985d03b15c5593fbeed8a1fa114bb4d50ad314d8b2f2b4d7e5cbb54fc509ffa622f0985a72839913409ac1d1b6582fda3cb6ba5c253f619fb43e SHA512 c4d936fc0670bdabed3454a95185b9f59d847cb84ee6a40e809ad04105ee08802abdb63300e89d8d07fe43c1ab0bda37756c6c070d20ef463776f15dc4ea8d53 diff --git a/dev-perl/Test-Warnings/Test-Warnings-0.32.0.ebuild b/dev-perl/Test-Warnings/Test-Warnings-0.32.0.ebuild new file mode 100644 index 0000000000000..5973846c51a30 --- /dev/null +++ b/dev-perl/Test-Warnings/Test-Warnings-0.32.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=ETHER +DIST_VERSION=0.032 +inherit perl-module + +DESCRIPTION='Test for warnings and the lack of them' + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="suggested" + +RDEPEND=" + !=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/botocore-1.31.59.ebuild b/dev-python/botocore/botocore-1.31.59.ebuild new file mode 100644 index 0000000000000..7cacb5c3f6347 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.59.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/cairocffi/cairocffi-1.6.0.ebuild b/dev-python/cairocffi/cairocffi-1.6.0.ebuild index 270d7af39969c..ad11d11f98457 100644 --- a/dev-python/cairocffi/cairocffi-1.6.0.ebuild +++ b/dev-python/cairocffi/cairocffi-1.6.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" DEPEND=" >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] diff --git a/dev-python/cattrs/cattrs-23.1.2.ebuild b/dev-python/cattrs/cattrs-23.1.2.ebuild index c6eef1f8974db..62a32d0c6c577 100644 --- a/dev-python/cattrs/cattrs-23.1.2.ebuild +++ b/dev-python/cattrs/cattrs-23.1.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cbor2/cbor2-5.4.6.ebuild b/dev-python/cbor2/cbor2-5.4.6.ebuild index bc05bc065c21f..f067b92a3f619 100644 --- a/dev-python/cbor2/cbor2-5.4.6.ebuild +++ b/dev-python/cbor2/cbor2-5.4.6.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" >=dev-python/setuptools-61[${PYTHON_USEDEP}] diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 908f8400d4ca4..0f39c1ae56650 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -4,9 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591 SHA512 be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65 -DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d SHA512 5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c -DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild b/dev-python/clang-python/clang-python-17.0.2.9999.ebuild similarity index 100% rename from dev-python/clang-python/clang-python-17.0.0_rc4.ebuild rename to dev-python/clang-python/clang-python-17.0.2.9999.ebuild diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild b/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild deleted file mode 100644 index 0b4b598d92ff1..0000000000000 --- a/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-17.0.1.9999.ebuild b/dev-python/clang-python/clang-python-18.0.0_pre20231002.ebuild similarity index 100% rename from dev-python/clang-python/clang-python-17.0.1.9999.ebuild rename to dev-python/clang-python/clang-python-18.0.0_pre20231002.ebuild diff --git a/dev-python/cleo/cleo-2.0.1-r1.ebuild b/dev-python/cleo/cleo-2.0.1-r1.ebuild index 255c435626ce3..3b263e8c24eb8 100644 --- a/dev-python/cleo/cleo-2.0.1-r1.ebuild +++ b/dev-python/cleo/cleo-2.0.1-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/crashtest[${PYTHON_USEDEP}] diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index fc4503877a2b8..55d49fa38f015 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,3 +1,2 @@ -DIST coverage-7.2.7.tar.gz 762575 BLAKE2B 20a800c3cd62095aacdfa4853613a3fd579abacd9051878ee2b308360db181ad45b68a0866236666826efc510d4a0328273d63c78c42fa4a7419ac98f85cf3f4 SHA512 01ed5ef8ddb600b8a7443200b568eb5d8aa7d652f408617f78a2e1251a5f091ee05188a7d383acd530f29b688b67a4bf2dc2e1241efffe8b9d0f70f44c646f33 -DIST coverage-7.3.0.tar.gz 763902 BLAKE2B dbd49200ef5ca167b9ae11b76bae1d8dd682289d14c657029227d0f2f1cc149ddde7c571add7165e10a150d2bd591d9bc988a7d306d01dd3eb34e8a5098d66cd SHA512 3b394c3c96ca8484641585ce26c27100153892a77369e14e3596fe604a98ac0f9b33189d679fffd9fa80a41ac4bfa6a64dfe97e586833b39707ecc7f5aa43c35 DIST coverage-7.3.1.tar.gz 764806 BLAKE2B 7399c7df63d0a546e20797c52780376bb8f65578753ffae3bb15901bd4fb7b4c0d8360b2dbc445e038d226af9ddf0b39c38c16fa70d9690b62477e5e75dfb51d SHA512 deeeab41ca53cdda83fe233f63bcf14909b96dfa0710d882dcaa9f81f4884ef7b39aaf177f832ce0f66f1fb88ad4b97d37ef2adfa2540d551352ed48af1926b2 +DIST coverage-7.3.2.tar.gz 764541 BLAKE2B 5301a45a1618582d6b7bc1c887fdfdc7ef612082675b271e5ab840f2adc357c6a01f59ba5571e6dba61db61c85ee66d40af46b3509dfbf5c996fcf9fd6b2a614 SHA512 94e3b0bae2f84d31448a717f105e4f03e485a47d9498e73e86eca2f040d0980e514e3d9264f5349f70ea93fc985161d89156d0faa444d28cc7a07e51db4e1a46 diff --git a/dev-python/coverage/coverage-7.2.7.ebuild b/dev-python/coverage/coverage-7.2.7.ebuild deleted file mode 100644 index 84538807bdf2f..0000000000000 --- a/dev-python/coverage/coverage-7.2.7.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/coverage/coverage-7.3.1.ebuild b/dev-python/coverage/coverage-7.3.1.ebuild index 43af798778c87..7a94ae1f51127 100644 --- a/dev-python/coverage/coverage-7.3.1.ebuild +++ b/dev-python/coverage/coverage-7.3.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/coverage/coverage-7.3.0.ebuild b/dev-python/coverage/coverage-7.3.2.ebuild similarity index 100% rename from dev-python/coverage/coverage-7.3.0.ebuild rename to dev-python/coverage/coverage-7.3.2.ebuild diff --git a/dev-python/crashtest/crashtest-0.4.1.ebuild b/dev-python/crashtest/crashtest-0.4.1.ebuild index 91d9cbc40c59a..efcd07b79c8f9 100644 --- a/dev-python/crashtest/crashtest-0.4.1.ebuild +++ b/dev-python/crashtest/crashtest-0.4.1.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index ee5db7ac6f58b..de64a4d0e0f03 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,3 +1,2 @@ DIST cython-0.29.36.gh.tar.gz 2115333 BLAKE2B 6d43779c7222ff65d7de3a35ec18ef636480807d53480a8f94cc8c92d462fcc2f4d201a3bbf6e840a11fd33025e32c53f85626b05c131d10eed2859cdca7eb2d SHA512 a086fe1a11290cd3c870b891e61a0a0e2595bab9c26888024a758b6950c07059346d682fa9349e46c0af89805abbdd750059b3189960b8ce18007dfb5eb4391a -DIST cython-3.0.0.gh.tar.gz 2713478 BLAKE2B 16be50b463cf155417fee02b4529bbde8c4402bac0098ddf2cb05e33ac4c5b455bf7595b046b2bc6edcc8121f2c6be3b7af60c3c721a37bebcf4c654cd41a43f SHA512 a9bf6f0a78accd0624bc2a61329541d97d60257ae3a6b6601f73bd9122427a3d460129b317f000d3061a4dfe3e6a6de59342354862ded13e85c7eb622ee39f9a DIST cython-3.0.2.gh.tar.gz 2744583 BLAKE2B f631891870a6ce24acf2bcde75ebcb9775cf0df7840fe9d7b138cfdea64d54e9253a53d35d892a9086f251c1294d9414eec8521218d031840a3cd06903fefb86 SHA512 f55be138efdca6ca61bd39c6f2fab736244328a170a6f6c9bda87036e022c846930b209e9e9101fad889cb179d6e60034ba6f299f14b3056536d46235b438eb7 diff --git a/dev-python/cython/cython-3.0.0-r1.ebuild b/dev-python/cython/cython-3.0.0-r1.ebuild deleted file mode 100644 index 5f584cde4e149..0000000000000 --- a/dev-python/cython/cython-3.0.0-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..11} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" - "${FILESDIR}/${P}-version-stderr-stdout.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/cython-3.0.2-r1.ebuild b/dev-python/cython/cython-3.0.2-r1.ebuild index 2333ef3217fa2..605c37fa6295e 100644 --- a/dev-python/cython/cython-3.0.2-r1.ebuild +++ b/dev-python/cython/cython-3.0.2-r1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/cython/cython-3.0.2.ebuild b/dev-python/cython/cython-3.0.2.ebuild deleted file mode 100644 index 3e911be4bd627..0000000000000 --- a/dev-python/cython/cython-3.0.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..11} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch b/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch deleted file mode 100644 index 7a12c6eead53b..0000000000000 --- a/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://bugs.gentoo.org/911333 -https://github.com/cython/cython/pull/5572 -https://github.com/cython/cython/commit/ca69b359b040bf6c0fc90692bbea3bdd9d7877e6 - -From ca69b359b040bf6c0fc90692bbea3bdd9d7877e6 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz -Date: Fri, 28 Jul 2023 06:52:03 -0400 -Subject: [PATCH] Only write the version to stderr, if it's a separate file - descriptor from stdout (GH-5572) - -At least one project tries to detect the Cython version by redirecting stderr to -stdout and capturing it. This is done in pure POSIX shell, so it probably seemed -like the simple and obvious solution for a less capable programming language -given that no output at all was expected on stdout. - -But the result is that the version number appears twice, and then gets misparsed -and ends up triggering bad assumptions in the code running cython. - -It turns out that it's pretty easy to just print once, though. Detect when -stdout and stderr are redirected to the same location, and only print once. - -See https://github.com/cython/cython/issues/5504 -Fixes https://bugs.gentoo.org/911333 ---- a/Cython/Compiler/Main.py -+++ b/Cython/Compiler/Main.py -@@ -776,7 +776,7 @@ def main(command_line = 0): - print("Cython version %s" % __version__) - # For legacy reasons, we also write the version to stderr. - # New tools should expect it in stdout, but existing ones still pipe from stderr. -- if not sys.stderr.isatty(): -+ if not sys.stderr.isatty() and os.fstat(1) != os.fstat(2): - sys.stderr.write("Cython version %s\n" % __version__) - if options.working_path!="": - os.chdir(options.working_path) - diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest index 7d270d65c97f3..1d93f72da443f 100644 --- a/dev-python/django-redis/Manifest +++ b/dev-python/django-redis/Manifest @@ -1 +1,2 @@ DIST django-redis-5.3.0.tar.gz 44800 BLAKE2B 29a671f2899aefa6e59086bc194438aaf7e724b3edcefaf0c590a14e958847e86da34b8f94d4c29d62270f53f88395df2e911659e58471b5c037d1c2cd0f4dd7 SHA512 2867d405b69400355576eb3c052b4245844d56304979f09750251f8a2cf35ce704ebcdb6c80e6280fbfe24acfb237a3428f68081b6ada11ffc78257263703d7e +DIST django-redis-5.4.0.tar.gz 52567 BLAKE2B f3ac670500dbe57d795905d10d3a63102c60de6b61e96af257c0e654cd7aa7dc2e70e512bad55ef4129dd11f60ceaaeeccf78b94486550a555a843e4dea98f1f SHA512 12eb85ee3ce2c8fcf013c804a630bd3eb943de0980d1f6d365b5b5ed762ab956db80329f3e170f330ccc5b9e6f178ffa7938b1880477b7fb609d2cc3680b984a diff --git a/dev-python/django-redis/django-redis-5.4.0.ebuild b/dev-python/django-redis/django-redis-5.4.0.ebuild new file mode 100644 index 0000000000000..28c605fdb016e --- /dev/null +++ b/dev-python/django-redis/django-redis-5.4.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Full featured redis cache backend for Django" +HOMEPAGE=" + https://github.com/jazzband/django-redis/ + https://pypi.org/project/django-redis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] + >=dev-python/redis-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/lz4[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' \ + -e '/--no-cov/d' \ + -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + cd tests || die + local setting_file settings=( + settings.sqlite + settings.sqlite_json + settings.sqlite_lz4 + settings.sqlite_msgpack + settings.sqlite_sharding + settings.sqlite_zlib + # TODO: requires pyzstd +# settings.sqlite_zstd + ) + for setting_file in "${settings[@]}"; do + einfo "Testing ${setting_file} configuration" + epytest "--ds=${setting_file}" + done +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + local redis_test_config=" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + " + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest index 47a5ec364df96..0d09a3fa0c8ab 100644 --- a/dev-python/fastjsonschema/Manifest +++ b/dev-python/fastjsonschema/Manifest @@ -1 +1,2 @@ DIST fastjsonschema-2.18.0.tar.gz 371063 BLAKE2B d2b79eb442351487ffebc59ff48af1e8f07fb5e2ca97059cc98cc8f02eda3523fcf60b2aa6b46edc1d3d019ed04d65d2fc5c3eee58471ea9b2a0bd0bf7bf40ed SHA512 848ea4587edb9d694d4f42cee35c8a6a785f601b3e84daae5a5b155ca61c0c7de1b9164e86c0a48166d429a4a737799480dfdeaad7e81eab28f68f71dd46988f +DIST fastjsonschema-2.18.1.tar.gz 371060 BLAKE2B fc77683215e9080d3a6f162336a7ed55550a310c9921f0e669d90bfaea659dd77ad27ed0c623b0355d5efafa3ca2e83f72edf228c42cca0fc4fa16f4f474aa6b SHA512 a08fce64a67c67a06a7c3c637047648e1b2cfa749291794b8accc6dcc1ccf744eb50c8db773734017b79612b2dc4e19730a5956807b2459928fb0b996b59711e diff --git a/dev-python/fastjsonschema/fastjsonschema-2.18.1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.18.1.ebuild new file mode 100644 index 0000000000000..ec0f5cdb075d2 --- /dev/null +++ b/dev-python/fastjsonschema/fastjsonschema-2.18.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast JSON schema validator for Python" +HOMEPAGE=" + https://github.com/horejsek/python-fastjsonschema/ + https://pypi.org/project/fastjsonschema/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/benchmarks +) diff --git a/dev-python/flasgger/flasgger-0.9.7.1.ebuild b/dev-python/flasgger/flasgger-0.9.7.1.ebuild index 0887e7b96a06a..c990a605407d5 100644 --- a/dev-python/flasgger/flasgger-0.9.7.1.ebuild +++ b/dev-python/flasgger/flasgger-0.9.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/flask-0.10[${PYTHON_USEDEP}] diff --git a/dev-python/flask-babel/Manifest b/dev-python/flask-babel/Manifest index 9007775b295f5..876d26a4d2f59 100644 --- a/dev-python/flask-babel/Manifest +++ b/dev-python/flask-babel/Manifest @@ -1 +1,2 @@ DIST flask-babel-3.1.0.gh.tar.gz 20625 BLAKE2B 44c0f6e0af8e9d48035819a98dcfe472af0e53d98486b3bca367227092d098e392e09b0383b08d0eb782732d235f6f519bf6f553ea751750a869fc5f4de4bdd2 SHA512 74faab1e259fe38caf583982bf7a3595440ef37ec223a68243fa43eadfd4d661055706ba8eb92d29f37586e6a27d4f00fbdf5be8443820346b35b9551b716fc7 +DIST flask-babel-4.0.0.gh.tar.gz 20777 BLAKE2B 60c43fde9a2c131672fa7d97dbfe8cc1c69117e60b3616a2f4d19b5693ff79937537cf7563de2fcf26c3380dd51166fd1bc965a1c583dc33fb340da609070503 SHA512 c2ac57e4ebde67114d535e57eb8b4094c8e3af865ea3076cd8d0ae30ff4a189037b7481280faaf7a4742bbbddca1513b3c408e198d1156c1e61a7b90c05bfe6f diff --git a/dev-python/flask-babel/flask-babel-4.0.0.ebuild b/dev-python/flask-babel/flask-babel-4.0.0.ebuild new file mode 100644 index 0000000000000..8af225659c241 --- /dev/null +++ b/dev-python/flask-babel/flask-babel-4.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="i18n and l10n support for Flask based on Babel and pytz" +HOMEPAGE=" + https://python-babel.github.io/flask-babel/ + https://github.com/python-babel/flask-babel/ + https://pypi.org/project/flask-babel/ +" +SRC_URI=" + https://github.com/python-babel/flask-babel/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/Babel-2.12[${PYTHON_USEDEP}] + >=dev-python/flask-2.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1[${PYTHON_USEDEP}] + >=dev-python/pytz-2022.7[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/pallets-sphinx-themes +distutils_enable_tests pytest diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest index 1b7e09265efbf..0dc9fe2291fa6 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -1,3 +1 @@ -DIST httpbin-0.10.0.tar.gz 103729 BLAKE2B 1daff5bd9eba62c224d4fd6030e3c3378f849365d0e94f04e890fe555537580841bb4bc6868d04c0b64599aa09bf697f331b091f6a4c0450f23bf047fd0da887 SHA512 4fae4fe22cb1870acd31f51c25c1bbe946cfe9be88a63f0ba8d7078d2c48089d794726e86290fc41fa38dcf72f8573f054286cb47ab7518e953b7aafa4518215 DIST httpbin-0.10.1.tar.gz 107058 BLAKE2B a46732946fc3454e2ae71c4eec4f88521e190b736445c54f555021a273a75f57acbc9234237e6973a21fc3bf8f71d8c8b51d6422d719f03546ecd6887a20fe1b SHA512 e3b851253c347893a80e866e7d0188c572f2a87a540125de3d9cbe0b8c3f1ddfab2c60ee3ffde3fd7274fc662294c978c39b1b52acfd92c52fd552966da203be -DIST httpbin-0.7.0.tar.gz 92613 BLAKE2B 59252df1d4d0ef853ec65263b472d3ba6c597336d844f9b457f2d0a009048d4222f715a7f6fb120aca00fa641d1687e302036dc151bd2fd67ba98cf5fc47a63a SHA512 82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63 diff --git a/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch b/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch deleted file mode 100644 index 8031ad72de5bb..0000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 69d1e62e69b7f886ebbb41b8e9aae62e76adf375 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Wed, 2 Dec 2020 10:42:52 +0100 -Subject: [PATCH] Replace brotlipy with brotlicffi - -The brotlipy package has been renamed to brotlicffi. Update the imports -and dependencies accordingly. The major advanage of the new package -is that it no longer collides with the Python bindings provided -by brotli itself. ---- - httpbin/filters.py | 2 +- - setup.py | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/httpbin/filters.py b/httpbin/filters.py -index c6268b6..4deeaaa 100644 ---- a/httpbin/filters.py -+++ b/httpbin/filters.py -@@ -10,7 +10,7 @@ This module provides response filter decorators. - import gzip as gzip2 - import zlib - --import brotli as _brotli -+import brotlicffi as _brotli - - from six import BytesIO - from decimal import Decimal -diff --git a/setup.py b/setup.py -index 7f9956b..8e17ef3 100644 ---- a/setup.py -+++ b/setup.py -@@ -34,7 +34,7 @@ setup( - packages=find_packages(), - include_package_data = True, # include files listed in MANIFEST.in - install_requires=[ -- 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy', -+ 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlicffi', - 'werkzeug>=0.14.1' - ], - ) --- -2.29.2 - diff --git a/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch b/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch deleted file mode 100644 index 5d626768bd277..0000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -dupr a/httpbin/core.py b/httpbin/core.py ---- a/httpbin/core.py 2018-05-08 13:41:03.000000000 +0200 -+++ b/httpbin/core.py 2019-11-22 15:07:27.516500217 +0100 -@@ -21,7 +21,6 @@ from werkzeug.datastructures import WWWA - from werkzeug.http import http_date - from werkzeug.wrappers import BaseResponse - from werkzeug.http import parse_authorization_header --from raven.contrib.flask import Sentry - - from . import filters - from .helpers import get_headers, status_code, get_dict, get_request_range, check_basic_auth, check_digest_auth, \ -@@ -58,6 +57,7 @@ app.debug = bool(os.environ.get('DEBUG') - - # Send app errors to Sentry. - if 'SENTRY_DSN' in os.environ: -+ from raven.contrib.flask import Sentry - sentry = Sentry(app, dsn=os.environ['SENTRY_DSN']) - - # Set up Bugsnag exception tracking, if desired. To use Bugsnag, install the -diff --git a/setup.py b/setup.py -index 7f9956b..3cab2ae 100644 ---- a/setup.py -+++ b/setup.py -@@ -35,6 +35,6 @@ setup( - include_package_data = True, # include files listed in MANIFEST.in - install_requires=[ - 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy', -- 'raven[flask]', 'werkzeug>=0.14.1' -+ 'werkzeug>=0.14.1' - ], - ) diff --git a/dev-python/httpbin/files/httpbin-0.7.0-test-werkzeug.patch b/dev-python/httpbin/files/httpbin-0.7.0-test-werkzeug.patch deleted file mode 100644 index 956a2f5235ca6..0000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-test-werkzeug.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -dupr a/test_httpbin.py b/test_httpbin.py ---- a/test_httpbin.py 2019-11-22 15:06:56.199774070 +0100 -+++ b/test_httpbin.py 2019-11-22 15:18:58.010069445 +0100 -@@ -144,7 +144,6 @@ class HttpbinTestCase(unittest.TestCase) - data = json.loads(response.data.decode('utf-8')) - self.assertEqual(data['args'], {}) - self.assertEqual(data['headers']['Host'], 'localhost') -- self.assertEqual(data['headers']['Content-Length'], '0') - self.assertEqual(data['headers']['User-Agent'], 'test') - # self.assertEqual(data['origin'], None) - self.assertEqual(data['url'], 'http://localhost/get') -@@ -158,7 +157,6 @@ class HttpbinTestCase(unittest.TestCase) - data = json.loads(response.data.decode('utf-8')) - self.assertEqual(data['args'], {}) - self.assertEqual(data['headers']['Host'], 'localhost') -- self.assertEqual(data['headers']['Content-Length'], '0') - self.assertEqual(data['url'], 'http://localhost/anything/foo/bar') - self.assertEqual(data['method'], 'GET') - self.assertTrue(response.data.endswith(b'\n')) diff --git a/dev-python/httpbin/files/httpbin-0.7.0-werkzeug-2.1.patch b/dev-python/httpbin/files/httpbin-0.7.0-werkzeug-2.1.patch deleted file mode 100644 index cf7871268d999..0000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-werkzeug-2.1.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 5cc81ce87a3c447a127e4a1a707faf9f3b1c9b6b Mon Sep 17 00:00:00 2001 -From: Maximino BOGADO -Date: Wed, 30 Mar 2022 16:26:31 +0200 -Subject: [PATCH] Replace BaseResponse to Response class (new werkzeug version - 2.1.0) - ---- - httpbin/core.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/httpbin/core.py b/httpbin/core.py -index 305c9882..2bad408e 100644 ---- a/httpbin/core.py -+++ b/httpbin/core.py -@@ -29,7 +29,7 @@ - from six.moves import range as xrange - from werkzeug.datastructures import WWWAuthenticate, MultiDict - from werkzeug.http import http_date --from werkzeug.wrappers import BaseResponse -+from werkzeug.wrappers import Response - from werkzeug.http import parse_authorization_header - from flasgger import Swagger, NO_SANITIZER - -@@ -77,7 +77,7 @@ def jsonify(*args, **kwargs): - - - # Prevent WSGI from correcting the casing of the Location header --BaseResponse.autocorrect_location_header = False -+Response.autocorrect_location_header = False - - # Find the correct template folder when running from a different location - tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "templates") diff --git a/dev-python/httpbin/httpbin-0.10.0.ebuild b/dev-python/httpbin/httpbin-0.10.0.ebuild deleted file mode 100644 index 4882467209180..0000000000000 --- a/dev-python/httpbin/httpbin-0.10.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP Request and Response Service" -HOMEPAGE=" - https://github.com/psf/httpbin/ - https://pypi.org/project/httpbin/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~s390 ~sparc" - -RDEPEND=" - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/flasgger[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/markupsafe[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/werkzeug-2.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - [[ ${PV} != 0.10.0 ]] && die "Remove find_packages hack!" - sed -i -e '/find_packages(/d' setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/httpbin/httpbin-0.10.1-r1.ebuild b/dev-python/httpbin/httpbin-0.10.1-r1.ebuild index 5c1775fc8286a..452043b95db7c 100644 --- a/dev-python/httpbin/httpbin-0.10.1-r1.ebuild +++ b/dev-python/httpbin/httpbin-0.10.1-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( MIT ISC )" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/brotlicffi[${PYTHON_USEDEP}] diff --git a/dev-python/httpbin/httpbin-0.7.0-r5.ebuild b/dev-python/httpbin/httpbin-0.7.0-r5.ebuild deleted file mode 100644 index 1199c113d762d..0000000000000 --- a/dev-python/httpbin/httpbin-0.7.0-r5.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP Request and Response Service" -HOMEPAGE=" - https://github.com/postmanlabs/httpbin/ - https://pypi.org/project/httpbin/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/markupsafe[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/werkzeug-2.0[${PYTHON_USEDEP}] -" - -PATCHES=( - # do not import raven if it's not going to be used - # (upstream removed it completely in git anyway) - "${FILESDIR}"/${P}-optional-raven.patch - # fix tests with new versions of werkzeug - "${FILESDIR}"/${P}-test-werkzeug.patch - # use brotlicffi instead of brotlipy - "${FILESDIR}"/${P}-brotlicffi.patch - # fix compat with werkzeug 2.1 - # https://github.com/postmanlabs/httpbin/pull/674 - "${FILESDIR}"/${P}-werkzeug-2.1.patch -) - -distutils_enable_tests unittest - -src_prepare() { - # a new version of flask or whatever converts relative redirects - # to absolute; this package is dead anyway, so just skip - # the relevant tests - sed -e 's:test_redirect:_&:' \ - -e 's:test_relative:_&:' \ - -i test_httpbin.py || die - # broken - sed -e 's:test_digest_auth:_&:' \ - -e 's:test_base64:_&:' \ - -i test_httpbin.py || die - - distutils-r1_src_prepare -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 12f7970ae17ae..2df891a9f16f6 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,6 +1,2 @@ -DIST hypothesis-6.83.1.gh.tar.gz 9380569 BLAKE2B a1af77a089ade4a957fd66036095436861ff96dca3c9670ae87f28ba4223531168175329a43574c744ce0d91786bed2ed911837642c9506341f94875080e5a5b SHA512 4649061550b0d1ac96217c5cfd5e6eb44352eee6b81861fd93138fffaac3d85a87644c3faff221f6bb389f2bebdc47436f5ea70fc746aada2d25c78a74a21fec DIST hypothesis-6.84.3.gh.tar.gz 9386113 BLAKE2B 9d990b1634e7cd12f933f3a53b4231f8df40bc33a7cbe742832ac74510471a54f8d7a23eaaa23a43b54466120be85ded0820ced8f0b1aee556032e4a8bb0a423 SHA512 84669e76c30a1b47439c826f67e11fce4eb6cf22a6ac09f91f3d07b1b02cbc972096431deb67ef8c63f12e3dbd7bcad35bc24b469a354d7808ca8d96d816c611 -DIST hypothesis-6.85.1.gh.tar.gz 9387516 BLAKE2B 362dc9adff39e0229307ed4d8c63a2c78a2653d5b880a7748218bccb3a4f6e36c6a0e38d51aa72a5acfb8e66f9d1418dbf8d039b855a6596515257d815566cc8 SHA512 4916575f60b9472d58a02a776fdf7794ea83e9e59b414a05f5ed06aff31ed91719485ceddec8233125425393444f0487ab2a6adae7c9cd6d3448460c20d3c556 -DIST hypothesis-6.86.1.gh.tar.gz 9388105 BLAKE2B 92a645c1e2f0d40bb96271b9539f415d5bdf8a57c50d658a8d041802cc3adc49708c420127bf0ae0daca1480c975766b5c4b1d4a07b18c020a608ea577e1894f SHA512 133adced2ef15f64aca404384ac372d36dec4a28b8b768631b09de6698fb718bd27c062546f0fe8b428510c51014ff124d4469e1b904aedc2fdd84183cee48bf -DIST hypothesis-6.86.2.gh.tar.gz 9388171 BLAKE2B 7f6ba341c96e9ad2c6a05c777cd94d5437b24a66f571e690701501ce13bce7a448afdad0964f6ba0c34d3a4e1f52cbbc0f23709e4a15750c0f13b81d25ae2810 SHA512 6d858e9722014ae136a13bf93f1f4bd55b7eef7ae9f25dbb90abe1e5dab4422aa2987ed01f852d74ba8332af2cfc99b7f938f9a934604fea74e51f5dd4d52f9c -DIST hypothesis-6.87.0.gh.tar.gz 9388325 BLAKE2B 5774e125a212a3ec4b64e9575db727c6338f931a2b065dce4f8c2bf9e7fa7026c4ed1dc11b4030af7f012064fbeae7240086eda2b0862b41d2ee37ae8540c03a SHA512 2f11d3bfff9c6f6322e368b40987d5379d0aeb619c5017a746ac935e43f50381d4ad8e180765cfddf5196a4f0f69f89df48cc9069e9d3f79446e5d396c673a3b +DIST hypothesis-6.87.1.gh.tar.gz 9388383 BLAKE2B 0b0b9156566a84f4e5972960dbf5ec68c68703e0be0ac31392919a5177332f1dccfc7519c0a58ea2ed9f758f1b9d7e601b30e72db63c85031f5136b83c6dd255 SHA512 1f946d99ecbb3392b105ed479b43a72034d1563c541d1bdc263c76495b05e7e9881585cad50b6c0453e083b05e1ebd1c2ff0cf5a8b98f0f7ce68f009d23dbfeb diff --git a/dev-python/hypothesis/hypothesis-6.83.1.ebuild b/dev-python/hypothesis/hypothesis-6.83.1.ebuild deleted file mode 100644 index 266faabd35509..0000000000000 --- a/dev-python/hypothesis/hypothesis-6.83.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !! "${HOME}"/somefile || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile + test/test_speed.py + # assumes pristine virtualenv + test/test_inference/test_imports.py::test_os_issues + ) + + # some plugin breaks case-insensitivity on completions + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # django and pytest tests are very version dependent + epytest -o addopts= -k "not django and not pytest" +} diff --git a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild index 66f1028806aff..f42838cfd27f1 100644 --- a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild +++ b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" RDEPEND=" >=dev-python/referencing-0.28.0[${PYTHON_USEDEP}] diff --git a/dev-python/jsonschema/jsonschema-4.19.1.ebuild b/dev-python/jsonschema/jsonschema-4.19.1.ebuild index b12e660f41a2c..fb2ca77671601 100644 --- a/dev-python/jsonschema/jsonschema-4.19.1.ebuild +++ b/dev-python/jsonschema/jsonschema-4.19.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" RDEPEND=" >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild b/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild index 96407e9c4557e..e59cff835d003 100644 --- a/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild +++ b/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" # jsonschema[format-nongpl] deps are always on in our ebuild RDEPEND=" diff --git a/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild b/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild index 349f4478a2209..481fc497f2111 100644 --- a/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild +++ b/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~loong ppc64 ~riscv ~s390" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~x86" RDEPEND=" >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/kerberos/kerberos-1.3.1-r2.ebuild b/dev-python/kerberos/kerberos-1.3.1-r2.ebuild index 51bb0f1de358a..b8ffc4ea5c706 100644 --- a/dev-python/kerberos/kerberos-1.3.1-r2.ebuild +++ b/dev-python/kerberos/kerberos-1.3.1-r2.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" # test environment is non-trivial to set up, so just use docker # (see python_test below) # also for alpha/beta Python releases support: diff --git a/dev-python/libtmux/libtmux-0.23.2.ebuild b/dev-python/libtmux/libtmux-0.23.2.ebuild index dccbde0811b23..1ba8d07bbcf76 100644 --- a/dev-python/libtmux/libtmux-0.23.2.ebuild +++ b/dev-python/libtmux/libtmux-0.23.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND=" >=app-misc/tmux-3.0a diff --git a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild index 4dc14f64cd447..4599a84866395 100644 --- a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild @@ -23,7 +23,7 @@ else MY_P="${P/_rc/-rc}" SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" + KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" RDEPEND="app-emulation/libvirt:0/${PV}" fi S="${WORKDIR}/${P%_rc*}" diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 908f8400d4ca4..0f39c1ae56650 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -4,9 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591 SHA512 be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65 -DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d SHA512 5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c -DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/lit/lit-17.0.0_rc4.ebuild b/dev-python/lit/lit-17.0.2.9999.ebuild similarity index 100% rename from dev-python/lit/lit-17.0.0_rc4.ebuild rename to dev-python/lit/lit-17.0.2.9999.ebuild diff --git a/dev-python/lit/lit-18.0.0_pre20230906.ebuild b/dev-python/lit/lit-18.0.0_pre20230906.ebuild deleted file mode 100644 index a1f25977a11ae..0000000000000 --- a/dev-python/lit/lit-18.0.0_pre20230906.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-17.0.1.9999.ebuild b/dev-python/lit/lit-18.0.0_pre20231002.ebuild similarity index 100% rename from dev-python/lit/lit-17.0.1.9999.ebuild rename to dev-python/lit/lit-18.0.0_pre20231002.ebuild diff --git a/dev-python/lxml/lxml-4.9.3-r1.ebuild b/dev-python/lxml/lxml-4.9.3-r1.ebuild index a640b1828cce3..ec7a40a513fa6 100644 --- a/dev-python/lxml/lxml-4.9.3-r1.ebuild +++ b/dev-python/lxml/lxml-4.9.3-r1.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/matplotlib/matplotlib-3.7.2.ebuild b/dev-python/matplotlib/matplotlib-3.7.2.ebuild index dd93cb1ef3b79..8c0235df70928 100644 --- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.7.2.ebuild @@ -30,7 +30,7 @@ SRC_URI+=" # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" # internal copy of pycxx highly patched diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 91a30921382a6..eadd53cc399b4 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -4,3 +4,4 @@ DIST mkdocs-material-9.3.1.gh.tar.gz 14442779 BLAKE2B 8a10b863708614f4fb9c082606 DIST mkdocs-material-9.3.2.gh.tar.gz 14484998 BLAKE2B 24c45c9583835f8bf59b49c6b892459920207356cfcc469fec707acf728839af3c551f73a781745e71fbfeda6de65436079d8f27e4157454ca9979a8cdf499cd SHA512 c46de59682c70679164dd3768a793ffcf8e638ffc71dad5d21325090e0c3bfd345dc3c58829a992f995d1047a2007626fc9e68e98729766f8f75c2c3274fcb8d DIST mkdocs-material-9.4.1.gh.tar.gz 14492819 BLAKE2B 8390e3875108fe9a0cb8ab9388278fa936be4839d159124a4f3c482443ea19ae0f90eb623d6f6a74a37881d353c54b27c03e83300bb4cda5446922861092ad78 SHA512 d45356ee77a0b768f9e2158169ed1505dab6c23f99f6893343de4636924dfd83740f1c9e19789753018fa666f27865b45334bffb4ee92190324da98a887c1cfa DIST mkdocs-material-9.4.2.gh.tar.gz 14501913 BLAKE2B a822b1bb54ffffccca7d3f41b10b2e76e2ada99b0a113c18695753558421049425a2eaf5be79fd3433861b746be303ca6a87e6c45de596038680a3e3974114d8 SHA512 f837f20de15415473f6e260330a8189b252e176a8a3dceebc9536fbad51662ade8e1760149f97ce3b95f9b9c0c2b0902600c33219accd0b3efaf1fec51c23efa +DIST mkdocs-material-9.4.3.gh.tar.gz 14505461 BLAKE2B 11b36bbd097e8b83e8a6b854dfe3c5b4d1a872ade7b4b13d784e8638da7d98d88852f8a878ba06fe092da9863bb8667ea2a75c88a57693e5c72a97ef7a65ab21 SHA512 408c77f064a6aa695488a314fe51b74f73f872d2483c3b5ae14fff018d7700f38d5e1ea0f46e51a35f159d5af87e878a3578280002461662215f5f029dbc8817 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.3.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.3.ebuild new file mode 100644 index 0000000000000..491714f2ee3be --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.4.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 7d19887289f9a..6682e8ff8dc9e 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,14 +1,2 @@ -DIST moto-4.1.10.tar.gz 3553976 BLAKE2B 1b6eb1a8defe5cf8cab0bb2419c469dd2251dbbd76597103cd8185ac0488210ec2d4b18268f72bfec4139f82f7f1b10936de7c2f8f9e766f5bb98b6b26164160 SHA512 c45955ead56746f42613defe683c05f787c20222914b0f44503b538c5937d32e3ffe21b25271e5ef614a628e51451451d04806de2167c83c6503bde2a2d9cbee -DIST moto-4.1.11.tar.gz 3565932 BLAKE2B b1bc982ea54d8e2e8f418be8808c23094d263b2d8f3c5f4eec387ff273535a7eea38053193dc94ccbdac74a48e586d6b1fd9ceb874fe21ecafc63d03119f863d SHA512 d1e948de5b966577a94c023dc0c4d2b5a862e14215b3dc21805eb7c464881472dc240d268d6208b71e20c4ac3b6b6c55bc9ab3b850f030b58db900dac0889fd1 -DIST moto-4.1.12.tar.gz 3589463 BLAKE2B 4672cd3f04173557eb163436e8d3e53abbe4b04516f948119f28cf9c6eda767be9629d2485324648b3124ea6bf421cdcc99835ecb1cda1ab072da29f7c330a50 SHA512 62742fe4b68dbfc134b61573f4cdf8e10f3e5b35f981463a3a2e827caba67482a897472be0e17b724c8a48479477292b60f6328420512bd7687ce7ddea8d7f46 -DIST moto-4.1.13.tar.gz 3603599 BLAKE2B aed5e867ccb67c208a6e3f0345c7c00f1cf86d2a31d74eb531aaf5c9cda4d0aa19e99e7b969d2c61935d13efba93267c8fd0e6f2a6d7fd45a7144e346638b781 SHA512 9dc9311b15f4bc7168eb8775667be0660fd78497f9950c7bb37db9eae0fd2956c9bbc0c3d02bc5b76de83b27f2ec67b22e22698c8572f4e01a8da3b261d9d156 -DIST moto-4.1.14.tar.gz 3612859 BLAKE2B 35e913bf0745600ea42ba66b5a9cdbdb489a537b066a7c92619c490d4ff057b13f5e72cdeb4425b155174b856584c5fa8ef2d382dde2052316d1b8bb8e033d3e SHA512 6bd963f8aa82aee2166a5deff61e37ffc915b4c14ffd218256ef465b0469f2066eaf70c40df8be40c91a6fc07bec02389ecef26d61de4d503c5e2b630f8ffd38 DIST moto-4.1.15.tar.gz 3627847 BLAKE2B 65349e72dc6cc90f0ed148a1a68efae0b3c171adbc79d41dee8d058c62f2944a3e55c86c2e8e302ff865208393be551a4b6bf387a33136dfa808443ccfe3869a SHA512 b49541ac8ddd8d669af06253451ddd2e0d70eea63fd2b2fd28eb783b2fb9dccb1e13e650bfca3a5b0f94932b22b112d15317599bc70307828fb2c47191f94da7 -DIST moto-4.1.6.tar.gz 3470215 BLAKE2B 78f9c54128ba71fc5e3ba622be0596490bc82df0a17fa80d9f11bf135bdc91d9698cc29445b5765e6057e80f221c016ca8999186201b83b5f929f5831c417f60 SHA512 fb2dc73a66326216a4c5338660dab844de9a46e6626e0ef68bccb3573a3eba693b30b89961b019a4b7a51207ab11335e73cbdf523c75d91a5a9625a1bc409e61 -DIST moto-4.1.7.tar.gz 3506753 BLAKE2B 76e38629f1a772816bfa647b90e89e3c4533cd36fa5a8a26e026229dd1dd8bf1cea404f99c85784a6eefa9173aecff7b88ba1ca7b3f890407c2ad7ef29106fac SHA512 3b20d2a535654cee22c909e19eb492e3b4b8fd382d26367c12cee00128dc4d1ea5228ccc97d40a01c5c2707ff3ca1039644268c47c525c79a9b68fc7ee78541c -DIST moto-4.1.8.tar.gz 3520127 BLAKE2B 623d97dbec357227ea401ac98f694eaaa129fcb47f6b160a22bf95f8d52facf9bb3917e00409990a7e447e70de5a94df9f234c3ed615081573169f3976169f3d SHA512 9c3e9825d1e8d09e278f8bbeb11719c4bee756f9e95b2edbe82b4ffbd3acb93008f6ffdc582eb46619104d0b839428b5e8078ef0e341a3b73f0bc61a7ebf806f -DIST moto-4.1.9.tar.gz 3537033 BLAKE2B fda091585fd331ff68127290426bb1f5418b118b9d60711ca54bcf57b1ff4375320bb3f3ae79321d105e815d856183b7f3c012f20c07f357831fb8260dcbd9f1 SHA512 1ce3aa3549b6320a8493f7018ccdc630f94cd324791e91c2ce28a994dff8da37058c47c84f480dfcad870ef63a0e1d35712348b120c112696b8d9cbce66186a9 -DIST moto-4.2.2.tar.gz 3646677 BLAKE2B 142d66f069a8a461f26959be5ec63cbd8dac7c5f4e752be3f78a728ee262a50b9505c7e1631da3fe98ac7b7d0044bcf4dd31edeb936798722d3c5fac0f062908 SHA512 76d3b7f575f70a0ce51dfca0918c036f791ea74be2194a96210bf92ce628f873458f1eb5d2a04308d5b0805f4469f7cf0d50eef845830a0ee1fa85b96bfb4104 -DIST moto-4.2.3.tar.gz 4693815 BLAKE2B 3163376f5dd645af9fb9cd1a9af459ec76c6fd3c6f908d72429c2f72e5b4c2e8864afc0afbabe344524c403da0bf19477491b44bba2f29f422c38334595d0fc8 SHA512 a9a45fdb05722466f29e1a66b59637aa839960922b5992ad0aca6523edbe0c3b6c4e4724311d74d5b18cebdbf3fb26dd64887b2fea83ab5cc5487728f18a4c0e -DIST moto-4.2.4.tar.gz 4705570 BLAKE2B b9e6e60b147320b8393ca6cfe1c985d9814b18be0b8722cd960cae66530d0b5f23d9005a4a57fd224a3ec82b6108275832ef10633dafb3e2735f78be22e4d225 SHA512 d733a73d90f6c0dd5f5ce7f626792a5e6f672f9a951b4a841a2ef342f7350bdfbc7caf7e39e06acacedc7153c641565c6339b881487cb80c42adb42bd0a37880 DIST moto-4.2.5.tar.gz 4721089 BLAKE2B 475a26ac75ed1e7e7fc00302b824ed473950c2916281456c1270f1489ab7c225468f2cd193b99f9589e8bf996590520abccdda8bc33278951696e8322ee6a1a8 SHA512 15211c367011acc049840555e2706d16a520226a1b9de0860977c90167b66702b06e7187af537da8c6312b0d8dcf50130e2a293120230d836b1e77691179827e diff --git a/dev-python/moto/moto-4.1.10.ebuild b/dev-python/moto/moto-4.1.10.ebuild deleted file mode 100644 index 4a7ed006d17d7..0000000000000 --- a/dev-python/moto/moto-4.1.10.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 - tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect - tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name - tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none - tests/test_core/test_mock_all.py::test_context_manager - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.11.ebuild b/dev-python/moto/moto-4.1.11.ebuild deleted file mode 100644 index 03ffd378c1bc0..0000000000000 --- a/dev-python/moto/moto-4.1.11.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.12.ebuild b/dev-python/moto/moto-4.1.12.ebuild deleted file mode 100644 index f4e8dab45b72b..0000000000000 --- a/dev-python/moto/moto-4.1.12.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.13.ebuild b/dev-python/moto/moto-4.1.13.ebuild deleted file mode 100644 index 03ffd378c1bc0..0000000000000 --- a/dev-python/moto/moto-4.1.13.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.14.ebuild b/dev-python/moto/moto-4.1.14.ebuild deleted file mode 100644 index f4e8dab45b72b..0000000000000 --- a/dev-python/moto/moto-4.1.14.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.15.ebuild b/dev-python/moto/moto-4.1.15.ebuild index 03ffd378c1bc0..a7af9e9f70721 100644 --- a/dev-python/moto/moto-4.1.15.ebuild +++ b/dev-python/moto/moto-4.1.15.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-4.1.6.ebuild b/dev-python/moto/moto-4.1.6.ebuild deleted file mode 100644 index eb57f334fab51..0000000000000 --- a/dev-python/moto/moto-4.1.6.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 - tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect - tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name - tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none - tests/test_core/test_mock_all.py::test_context_manager - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.7.ebuild b/dev-python/moto/moto-4.1.7.ebuild deleted file mode 100644 index 571e7dabe3383..0000000000000 --- a/dev-python/moto/moto-4.1.7.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 - tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect - tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name - tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none - tests/test_core/test_mock_all.py::test_context_manager - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.8.ebuild b/dev-python/moto/moto-4.1.8.ebuild deleted file mode 100644 index 4e97127e1b71a..0000000000000 --- a/dev-python/moto/moto-4.1.8.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 - tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect - tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name - tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none - tests/test_core/test_mock_all.py::test_context_manager - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.1.9.ebuild b/dev-python/moto/moto-4.1.9.ebuild deleted file mode 100644 index 93968fff6062e..0000000000000 --- a/dev-python/moto/moto-4.1.9.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 - tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect - tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name - tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none - tests/test_core/test_mock_all.py::test_context_manager - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.2.ebuild b/dev-python/moto/moto-4.2.2.ebuild deleted file mode 100644 index 03ffd378c1bc0..0000000000000 --- a/dev-python/moto/moto-4.2.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.3.ebuild b/dev-python/moto/moto-4.2.3.ebuild deleted file mode 100644 index 41ae63f029030..0000000000000 --- a/dev-python/moto/moto-4.2.3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - # note: pytest-xdist causes random test failures - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.4.ebuild b/dev-python/moto/moto-4.2.4.ebuild deleted file mode 100644 index 82ac9a3b5b9b0..0000000000000 --- a/dev-python/moto/moto-4.2.4.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/nh3/nh3-0.2.14.ebuild b/dev-python/nh3/nh3-0.2.14.ebuild index 363f0c9522ad1..ceafe491de3f2 100644 --- a/dev-python/nh3/nh3-0.2.14.ebuild +++ b/dev-python/nh3/nh3-0.2.14.ebuild @@ -92,7 +92,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong x86" +KEYWORDS="amd64 arm arm64 ~loong ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/notebook/notebook-7.0.4.ebuild b/dev-python/notebook/notebook-7.0.4.ebuild index 955c05ae6c3ea..991606132cdbd 100644 --- a/dev-python/notebook/notebook-7.0.4.ebuild +++ b/dev-python/notebook/notebook-7.0.4.ebuild @@ -31,6 +31,7 @@ RDEPEND=" " BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] test? ( dev-python/ipykernel[${PYTHON_USEDEP}] dev-python/nbval[${PYTHON_USEDEP}] diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index f3697fa9b2736..97d5719735d47 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -1,63 +1,39 @@ DIST ahash-0.8.3.crate 42416 BLAKE2B 84836a4e33451012ff32c1a1a90500d87eb7ce649b60dff4eecfb0d25b9782a186376c154673c3121b154ff4616016d1718dfd687b88f4772c2c89eeb2f119b6 SHA512 cf2d2f1201ac0969cf4e2a0c47090bee971b2287ac44b5e091c90a9eced03cf6ff56d7900cc0f529d4acedc30bd400261c15e50efabdd1731f79951b449af53e -DIST android-tzdata-0.1.1.crate 7674 BLAKE2B 4385a4875aadaacd5284a9ca7d1bf8a7bf14bf8925d1563d52fbabacc3af2c1ea08bfcf77106f3648f4fa052ac295158a21e7a0131d31eb9aecd99ea4ba20055 SHA512 4294024c21ddd0090c42c8eedf708d40d917f55ad5a4cb7aa3e64cfb6551b6df60f2e36bc08620c1d2fc8c7ba7207411518ee5c8635f60ed8ad9efdd458a2077 DIST arrayvec-0.7.4.crate 29856 BLAKE2B 81ffac1db340e919618351819def3880ab1ef70d0acc47d680f15298eb749bcbc3bf7944ba14159be46b1e734c91b4c0f8cbaf774fd864c17caa3c9fb1fc2e9b SHA512 91e8f70330c515c966d78ae235e890594f9607381ac738a2c3586b53f01411e98d1687494f39ccc365948ae60497df3dfb2be18e26ab7e69bc0966b6c250e1ac DIST associative-cache-1.0.1.crate 14048 BLAKE2B 77f36f2d23b6d07e556f20e743c9a0e47c0b54899397c64dd6d4fc9b4c31469481d4a99ceb28b250924e0aa5f52de9fb65ce93ed96f23191f2984c32156bace0 SHA512 2ad673ab907c71cbd45abf3cf59630fd56aeb95888c94932b9fe5d83d71d0c14f908915670cbc0566b691035f82ac2069ed17589edbc97db1e4388225ac2a040 DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST beef-0.5.2.crate 15275 BLAKE2B 95d60fb1840ca26581841ad65a4e8f3f99d5f8d44c569219f4d06ce441bb3a4ba558e231e73a51cd1c6b4d9e4cc6a07942115c134289fb1982dace03049d3a1e SHA512 755fc588acbf730bc9c80dbfc20cd0ef81f792a94da0dd28379ad83a7359ddd4c7b136ba8048dd460bb8652475db3d12814fcbd04eff4ebe8ec8a1bcd024c2aa DIST bytecount-0.6.3.crate 12416 BLAKE2B 462e41d5a4ee23a6c9ff2bf350171e309cbc32f14bbdbde25a5743072a6511634d6c0429903edcfa8df4b9ef3c7bd95d73fff8a7b2018f3b4a8147de2bbfd3f4 SHA512 0c5f424329883726589e69842d2ac0767dc0b440d744a4452a14cbd449b8ca2e8117fa2978b4aa9b803a1a7cf79e9cf67e948057e8ee521e2422ca2e145ea670 DIST castaway-0.2.2.crate 11091 BLAKE2B 3445e68aaf533caa1df958fb371622ef61c7778d515fd1efe39a12588e24fe07480738daba008e414a95e72af10d5ea29702425e5b91ebb277fe346ff74bc43b SHA512 dbce2a61a429eda7a8f21b4a35dced729267298be9793310afaff58843211a7177a9bb932a4bd9dfcedaaf1a2570b90261d4c1047c62474450ea835dcfc325a4 -DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5 -DIST cc-1.0.81.crate 66857 BLAKE2B 1f20aa7fe1e41b7d043242ed2e6b840ef7e764fcd844d82441d20dede2bac7386c8089e7dffee5bc22a49bfab2cf9f2c82757bb5068fdfc82610eae7cb2b188e SHA512 00878fcc5e344571cd8756fcd7e0a8e11325cf504eed09ea2ac890368c4d69978fc0de9ef99757cbacdadbf50faadc486d20640b529ac9a4963b3afd71caca6a -DIST cc-1.0.82.crate 67879 BLAKE2B 3b06cbe1516d4fe8291e1543b09d32d39a135c2352e545b64bc69fc82a40128a9b1291f20bd4cac6a3c37d9466093f8b63cae20663ad517bd7dbc380bfa87ee7 SHA512 27810ea12401635b0122e5b3a71367a52ca7040f196cb30f709e0b8ec0e717aeb8a89ef4e891b1c7c88f7cc8a1c35e55db132b728b0c499e0b683d5b803a671f DIST cc-1.0.83.crate 68343 BLAKE2B 33245b33fa845ea2f36da36e3830ec835f937e4319865b357ee9d5ea29a0f9f8392eadb38bf1d95e3c15ed201e561acaa87aedcef744f8db3dabff87a96c7f02 SHA512 742a248c3a7547bb220a0b9c97b67a831fab9b4ac21daa08c85a3966b9fe576088def33e16132fcabec9a2828a6fc437088bb045bfc98b2cea829df6742565a7 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff -DIST chrono-0.4.26.crate 191501 BLAKE2B eae49ee247607995c28463b8c3e2119497141e69d19a756c408f2b72d94bea39397ea2d0d3cd2ccbf1348ef973dd8bae6d29a0d0590e8dd34633f365a9170adb SHA512 2b66faf4d8374cfb0485710ceb2c9c1ce63aa6f9670e405a0810af4aca01c57d8dcd198a1f4cad498d5efd89e00003ba1b4f0bab599422af4f9bd6fb74494c47 DIST chrono-0.4.30.crate 212084 BLAKE2B 27d9ce4aae3ce0278f2c9f4883b6d3a123ae428a14c03f4fa0d90c077e827387df9b2221712e44bb47478de9207d908115d115df967585544dc0cd3aa239e225 SHA512 886f064e935220848f966ec2e1e3271849ed20235137836f31ae2aaa8408eaeb657b54b074bdf316914c95ffab9a8c7f53330046e761ef4bfe6ee958d1c7a598 DIST compact_str-0.7.1.crate 57246 BLAKE2B 2da5cfdc91d417294ca87ce834e8006d3426aff4cb22945e6744ace7d22c940f0181a75f25e6acc41efb5d83bf6ba4ee0876db3ce5cc05b9524a9868dcb8c7c9 SHA512 29ed591024f8f1b478722384664f5700fbde97b44af82fa32a8d1ccdedca9dc425555f9e5a4431a6c954d58cd90d60a25a9ed7f18773ede13edfc68094a23275 -DIST encoding_rs-0.8.32.crate 1370046 BLAKE2B ca9c15eb521434daef94de5eecefb487e2b4053ac002f0fa24e3ad101b89fd4a19cbc05b2e52a85599a45d50869a5671dca0786254138b7a5e9d5dddd2be712e SHA512 8a695aedf388dc90b039277fb8a88cd0fe157002554ef478b820e962b6fb19f3fecd5940d0720cc820d07c77e64f7415271a119c87b72c740e6e370ee8cc418a DIST encoding_rs-0.8.33.crate 1370071 BLAKE2B 0e81419086ca6e18f2aba5194b87eaba49ddf20493fd6ee09d479db86306e39dff9b23f399594afc42f1fdb33855e070beaa1871794dc0b0371c35d296a6369a SHA512 20d28a4c0ff0710f911f510be56c2bc5e7514b76d370493d2b89b7f25d1c0cd46ffa64862e54fc472f07f928a2cc24cf9d790a37751cafafc81f263705aac4bc -DIST itoa-1.0.8.crate 10465 BLAKE2B e518264938d044e24a4d72cab788de717c36cc7396fdbf2805fe3a3e0cdfc361c4f6fedee7bcebea6fbacff254e073da26b2400a073fa75f75523b8ed9de9938 SHA512 6171bfcd70634a2587740c145a15790e12807d2c756a25e74950daf9dd36acc662f12836c5b87e20483b4d020bc0d98a352b8e9787b0b8544bf1ee1b6a0c2c8e DIST itoa-1.0.9.crate 10492 BLAKE2B 0d5acef9ae72d3f4b5a387d231952e6025def69da81d38269b4882bc534be7acadc073e526fd8bebdca898a98b2c741735c541e0b6a35ed0f8f8799b906b65b1 SHA512 95f7906edb7d6a2690389167f8c4d01bc37827205bca87d527f2eb33722419ed2f2e8afaa559cc5a0a7e7fac76515c9c44c71c42b536aa34b0e2858c40946b6d DIST itoap-1.0.1.crate 83316 BLAKE2B db0d9f712155bfe4285c3d3debf314da2d64ffd127d6b9dd471074eb7e5dcda41f1e5b04bdad63e0fbd695043eff21956709ffdf2cdd7fc5b329d1d79ee69fc6 SHA512 ed15ba3e1ee1ef5f1658fbb47e8cba66e62acf05d8ac45340e15ace24c86e5adf072b52bfb90ebc5e90f31a9a8e91ada23d4322db9a87bb966922afdd4775840 DIST libc-0.2.147.crate 686772 BLAKE2B ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb SHA512 bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e DIST libm-0.1.4.crate 110593 BLAKE2B 5018f4efbc8fd45ff88a28e92c273bb3b48724009e17eadd0d4abb8e34b0fc8784607f71eebaa2f308dedb3185969f092d4305cd1d2cef7a53f7d8774390e38f SHA512 6bc647425ec8be5995ad4798427a86e28282b06532b8e6a53745e2a2ac16652d087b84c0946a4858a49d98995b9e543e1764765d270bf5569cd2ad92d52b81f2 DIST libm-0.2.7.crate 115688 BLAKE2B e180347d10847c40a88e43d321e08561df053e6fea0cea2cac480c4162c2f31d8697b4572a384edae323d43781d3c6462b2d77220dd71b2fd0da3a2757487db1 SHA512 b7adbf657be812451fc50cd5e5f92b7a71d43b4e48761bd2738d65498c9abad851f8e86d3be06ae75cf39c7798c23cafe767bc5fd40f596774e858f69fcb46d9 DIST no-panic-0.1.26.crate 11551 BLAKE2B 2de0c8bbc8310a723af2badb26d4f906d30fe45c13c6fde2e3c729f8ab2885c3ac7450e58f2b7a929cc56a7cc426bcff88162679855442c25648aa5d6b79d139 SHA512 1d0bfa9d8ae91d1bdcefe97623e8f18378c6c4b8b430c7e87c1e41c5722ee6d0bfbb8e03f94f4118526da574ee4db9ea6da78f3e6b867d3d8770daaa390db076 -DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 DIST num-traits-0.2.16.crate 50130 BLAKE2B 1101d28cb4dce477657684a068792b94c7008a965e655edbabfeff51cbe6f008450dc6d7e4fc5dc4fe9c3ee8623ed77a7bde83ce2f68e75d618295fe6cebe0a8 SHA512 2ef65e2f6275b1000f611cc4d019b2f4846a8964b54d9b96462da10e3ac9edbf3d1de82e40094c76f7f5205740361b0eb0ced414bcddbaba5955144f728c6f94 DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 -DIST orjson-3.9.2.tar.gz 4207405 BLAKE2B d4c157b7e60a00ce48773b3befe9b3ed312b38423aaf4048f667207a8ec4f10c330b45864da6a79531e6cc182e2196bf23d97713a50454e9da6b3575128efd9b SHA512 5ac8713c8f921f876e1c6d61daacde5d5b7a738d00f1a0c3f51df2fcb10815de0d73cc980bca43139ddd7fbfca5e800a6d31a35cc833ddb1fac7cdb181a1116f -DIST orjson-3.9.4.tar.gz 4601888 BLAKE2B 77ee0fccad4e04408700d78f23a5cac0d8bac9df94419809dccb03406c7fcb83185d282715e727da0ea351b6c97f33c70f6bf0b451377fcd885bdeccfe7ddbfb SHA512 75192e144ee54edfdbfe83cd069cb3e2da80b7ec379235832508010dd6c45f1a993906c48a992b93b5802cdf7472340129c5a27c91190e6fb4dc818254d0a194 -DIST orjson-3.9.5.tar.gz 4604499 BLAKE2B 24ba14b5d3bf499045be299bb731869cae07e9e2c1990be8d6ceac86919781cce34eab8c5d84cdb546c4a334041012b8ff0e3977d0fcef3f5c776207f45bd23e SHA512 d3a5726a4bd10a2d6ad2ec7f7a6d358c65c2270bbc42a00f8d1b2a6ef538b87920f8b2b10cd8cc0e1bbb66fc070b6f836ea62f4d7d84b99cb8341bbbe50aaa5c -DIST orjson-3.9.6.tar.gz 4897179 BLAKE2B 4c3974cdf25b683e4ce8e2843107e3ba1800b257cc1d2dc589c57d4357a0d037fdcb28b994b319675b31ea77a99f3d7cea3805a6f65db62c35624bb546f57194 SHA512 9b403cdbe8a218f3937892610ef7d137a3ad457b3cc8f68a67f5ab6877479e989168297144a6edf04f398918981c840175357b6e79772ac3d7bb71a281332e50 DIST orjson-3.9.7.tar.gz 4895035 BLAKE2B 0f9d24e7b6552a3edb4c2377b30b86c17f9402b8cf9f924d34ad72f6569f6d9d0c0a49c37c15811309481c9b8f22e63af8a9cd7859bc52dddf58d4a08f1bece2 SHA512 8d36e10960fa362d26926a1dd48922abdb6dc0085d50907b9885aadc645983b26789b3682d9fbfd7734a97cfa580a374eb7e7c99e05be7dcd3a68442afe5e9f5 DIST packed_simd-0.3.9.crate 98340 BLAKE2B 8668038eb213cec44afded5164ccf368fbecea21aa3de64d49e798d7f0fac638af9616a435cb79cf0435387f67fe97a7eb00748eaf39be14bb6d50ecbb4c938e SHA512 1336ed8aee50a580784f38388f0cc2f0a8639149333e94b7f83aa7cc314a80c60b66ac203a7302cd4cf01f3d0b89da58d2ce9038b7685840fbc1b758217dbd1b DIST packed_simd_2-0.3.8.crate 97388 BLAKE2B 89d2a1401efef8e0a665d883b41a587601cd4704a6acf80c542f3e6e274a6fa9c975a03799857c409c8764bf6698784cf85f1fb73b4fab2c4f98b368326760c4 SHA512 de1ff7cc43f6d0f6e2a94073ab80bd178864d375d334c4d8aaf30f8ae3320b6aa470f14b25babc264d9032af0c4fa7663e442321fc91acbd7adc7550b5177984 DIST proc-macro2-1.0.66.crate 43575 BLAKE2B 9eb3e816b00fcf625c280ba14ad269f5893d0523473a24de07c21945f6f932fbd08efb3c339b35d903245510e3f065e1478439b024a325f2bb9f97bc7bcbb18d SHA512 85f5a762f9411142e5ac28144bd380f07f0633ed2e44d8a2545be9fb8f42abaca6b5d45631b4be83b8e8b9beca7438bc52f25615c3a410a3a1249474b1aca407 -DIST pyo3-build-config-0.19.1.crate 29205 BLAKE2B f88cbf9763fd68f7b30d109ae608efc29e0d4bf6672ee5f31b77342b5f37baa4f981916124af6897ccea3d93990ff889815fc3abbe9ce3fdbd860b6d5698b7da SHA512 311fef01ac2c3ce12485849cb99eba038a36260206308c5af4621fc5393f942e03aae4f6a5fe24ef3005eb781d2161453667ad552d6a371ddd96460b05a2e710 DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333526061c178121b9a0dcb5bff6082f402ecfd166536d94d42065f6dc1f108a73f12bbb78eedf9ea053a6aa2e9c80ac00ddf SHA512 ccc73061ec1989258921c5b5800689170635fa5503d74a4ac458baef903dd31efa41995d238783f1e099ece1f66d0a0e95c4fcb4b772b9f653dbb20e838b4e28 -DIST pyo3-ffi-0.19.1.crate 64837 BLAKE2B deb3065ce99b4bd3b5dee182f7cc20dbbb1792e792e78425f30a71ad3e45aa8552f99f02debd640e16db44cbcad58f67b04ca6e08cb964e788d41dca64500a0c SHA512 6293d75c71ebe80c320f0a240716a2e0c62f66aecc58320f2f40a81f85390c7d9174b4888ead89818b73fdc8d3d21df12adc6625087f0c9ebb82767d4a7c5adc DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 -DIST quote-1.0.32.crate 28037 BLAKE2B 7b243ac7929f3b2e1d91a51a2dc2b11dd29bc017be9db588c83bd137609e2f991a4f3ff8682c7c11c177153e517c4f818285cce3237f435aa43ad0126c4bab6d SHA512 13cae36920dcbd0ad1978be63f20b35b8424d02b4d9992032fa78c7770d61d1fa7ec1532a48793cab48e703236b7bee7843041253b9e83700903228078b4c025 DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c -DIST rustversion-1.0.13.crate 17267 BLAKE2B f2cc10a9d998b95bedaecb60298b11637724058634b00844d7e3e77dc321d8c7578bab9a9362b94c6b4b30558df538578fe7a4a05a130fb16795e913b3fda8bf SHA512 4705face9c4e2570c6a7c8bd61ccfe1ce68bcc7bd11dcbb9e7321744de38277d1f66429b59498adad3cbfc25de68dbf194c2d244ab74003830ba5fcda47e621a DIST rustversion-1.0.14.crate 17261 BLAKE2B db30d01914059a893bdb4c448ed0bf04852085c2d948bfbed8819a1d2317c34133cf609abdd806ad628b86974a9c1ab9d09f79743cb8e13257ef32cd444f49c6 SHA512 466d753c28c4899ab3da3e9f3366f7ecc435d484f51e0c07acfa5f3367af0de27ea3bc75efda22159b4990c976b1466a27e7c31c834c72a87d8234318357454b -DIST ryu-1.0.14.crate 46861 BLAKE2B 208fa87e54e3c6831193ddefcdfa7e9731a3b72de6ea23a4af708a15487cf4d6cbc49fd3681da078390741595ff5d44b02e607cab6ea9e37e7f5f05c7275b4a9 SHA512 9832c760d1ac674ba362639968962928971231d696e450738045ca36ae2780116ad865b2bdd96e36f14d8f92e12107dc8b75be90c74d76e3bb834a94bd6e5599 DIST ryu-1.0.15.crate 46906 BLAKE2B 6d6949e43aaa27fba0ec6002fa11ba859af8d867f87c90d88413267186abbf6302b817985bca3d577ab3fab2e319e11756f144473a16330dfd8fc7b604cdc4b3 SHA512 4655b5647f919082a9b84b889539ae7fb23a1201057cf280efe79c58cb5f040864efb7812cda5021bf6d34838a15d173ac8bdb0fb9fa2dba85173d3efa5a826b -DIST serde-1.0.167.crate 77395 BLAKE2B ce8c8473292e83e77b5a9fe768d6eb1984682a269098087af71ab490dbc8dd24ef0fec064e8b7b9e94e9dbf2a8d11f0ae85da923d6de091b6bed91d8c44cb706 SHA512 c58689fd0d5235e2a5cdbb0ed0f4100c9473c6c22b516409121138e4ede0f8932a1cc59b6f85843185260d5e373e1682f5266c27b7de29f52855ad103e4fb6cf -DIST serde-1.0.180.crate 76950 BLAKE2B 9508b77f0d050f3abc18246b0380f6e8ece40b02d3eb97d887f1349b001b560328f0bcb8e4f651de6d7848eb8bbde27f76e07f1e2c22fcc6bbcda443981dfe99 SHA512 daf3c40363c113c568dd150b75d7874ec06f346ca0fc130e29d9148fe6c0817e0474e13d7fef91e3a18f09c066cafe816ee1c0318900fad81e75da97e1f4d185 -DIST serde-1.0.183.crate 77210 BLAKE2B 280e3d253a29b664b4e2d17f41397b17fe22af64417facca42d6ca0c839f1def745380a5402d7a87345bb16f4fdacf9a8c01966579b8c08fb06c05f097a87e68 SHA512 3a27efdff92cb1f6b50449a761efde781af91584b8410fbf5ce37b20005e7d46dc4c750fd1730e15468ea22aac7799421c4e60c74243c65ef7916d3cbadd0ef8 DIST serde-1.0.188.crate 76230 BLAKE2B 81e92adf17e3f2ce73c82e3069b8fd656211cfeb6755abd338b74d52f748f5bba6690abf5c83ea2a126fbd6187bc587b539f0ebcf621e928085876f28fbb9513 SHA512 7d42ce834bcd1034f8ccbcd6646cc93f8e189e344f29f4d7b0ab148ba11ce7848d0ab986dce7a0245fcd6893243f5768f7bc0ca9c24c75c53585ecc899d312d2 DIST serde_derive-1.0.188.crate 55563 BLAKE2B 3b24044915a704d9d8a2cae6e6547ecffea7ee3fd4260ddb2bf7fa38b23fd7fc597b61ac28bf65b9f0d45e18ffd6bc7596f5a3d602cc79835697fb3f5440242f SHA512 fa9132a319f7829e6afad65289031be99255466d76270875d9d81f82f63e53592eaef5452d0df38da92e9d0b6f2b37e91026635fff4bf597b0ae662b71b5eff0 -DIST serde_json-1.0.100.crate 145170 BLAKE2B 0a15476563643e2b9fa3a2416bf21ce0be62f05d7f483b566eff806c01e19ff82016ecbc970a636252798316f2fec40465ca85c74759cc83b23d147e05016f4e SHA512 182b0a2c77a7c06d0c88e629acd56b16e50bdecac2a066d2b6a3a2a41b50dd6bb147e943df7eb3e26c2b7a99f656f1af98e8c2a83d991c5356b46f3573b94b88 -DIST serde_json-1.0.104.crate 146130 BLAKE2B 62a613eba9c39bc3f007404995528ac101df3e74d90049e9aca699029f55ce4cee54a1bbfdd9e69cda9ab3e7ba9893fc66f3f9bbbc1eb358d570dd292ae77216 SHA512 06b2f3c818fa5819ff936d2f456fccded743ccc336359bfd1371aecebae9ca2d4f77879f61d1cda510b7a1aaa47b0010688b8e8c656388950e79fa5d007c7f6f DIST serde_json-1.0.105.crate 146316 BLAKE2B a40b99ac4b5e9aa31a61c4f49f9f4dd9fad94946267a47ac4ba7c1bf3af7122dc410c8984235281b19a917b1fea088615c8e95b4f1aead0957c9e31f2b222599 SHA512 d4203d93ee6e8ffa0d88c21d347196b8d1496d506841273e992c9996019175ed9a965e9401ba63d48589133b13ad9cac6246b7e0143545778b5a090a48a31452 DIST simdutf8-0.1.4.crate 28621 BLAKE2B 94ab48bc899e603acf3805dd45ae8489d565aa39ff79606e80a1731b59d11f429d71bb6c65becf3ceab123767f2d20612cb9f86410fd1aad00d0a796091ad045 SHA512 9f821035e147c035707910227b51e01d3f761ab8b578d95a86a776b2a4da01bc4d8ef28df7ea2c16ca125a2699d8903b826ad07a5937728e33dd58753ebd704c DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee -DIST syn-2.0.28.crate 241635 BLAKE2B 5784468a0dd04eb298821ae5a3facf72c5fe5907cc469919b0a0b636bb55bd15e9e3a31c9ceb05b7b0f88e7a53e5891e6874641b61e5fde247a91361ae37047f SHA512 96e83979e70e2e1e46ca2af45d10fb259847d61e327809a51351a988282be9688a8c4942a284504674c8684970082dc15cd9ab9b3584bbfa68ac9716e071f9c5 DIST syn-2.0.31.crate 242369 BLAKE2B 5bdd346c0dcc8eea96b3c10dcf6e713e7fb3508a21d1d98f3e0cbecd01558c91d54c816bd0f75725cc8b3f071bed105583bba57ce0abf4fea2d05d8029f19393 SHA512 0bee1285083c5eb97eac82d170924d95e782d4a7fef1381160b449f66c9513b7ba434ea6f77fd67068c6b6a2810ebd44ad03506f0f0692f43237d7eebac34efd DIST target-lexicon-0.12.11.crate 24594 BLAKE2B cf06720caecb5b5758f05c6375fa600da9260aac04017458060406a042dc578d51a2c5b6f189345d45dacea42ba01fbe46853d07f70d7b37cba17d87aa101f9a SHA512 f38701a8e9dd17b7db591b1b4c82c3b75d317e003262bb7b09b9cabd3afab5ab79c02a7dd524910b6941ada3a8f1378ea9e199b2b5938f8f01ee75bb0eae8718 -DIST target-lexicon-0.12.8.crate 24518 BLAKE2B c76d50d34e5da9431982ee446cb2f586db61182f928a25d862021b6fc32afa9ef8eccf51624c3b63442b90a4c0d8042ceb30d00122cfcc142f69a91ffdea222a SHA512 613af05fb80fe8967eef7b640d6b1a33eac5e6f3e70e1b26043b0f5e5b1356b4509b4d4daf0474c8d24d019c5e1d4ef8f950e092bebc14174930ebb60c6e151a DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 diff --git a/dev-python/orjson/orjson-3.9.2.ebuild b/dev-python/orjson/orjson-3.9.2.ebuild deleted file mode 100644 index 6ac56bba6dcb4..0000000000000 --- a/dev-python/orjson/orjson-3.9.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.6.1 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..11} ) - -CRATES=" - ahash@0.8.3 - android-tzdata@0.1.1 - arrayvec@0.7.4 - associative-cache@1.0.1 - autocfg@1.1.0 - beef@0.5.2 - bytecount@0.6.3 - castaway@0.2.2 - cc@1.0.79 - cfg-if@1.0.0 - chrono@0.4.26 - compact_str@0.7.1 - encoding_rs@0.8.32 - itoa@1.0.8 - itoap@1.0.1 - libc@0.2.147 - libm@0.1.4 - num-traits@0.2.15 - once_cell@1.18.0 - packed_simd_2@0.3.8 - pyo3-build-config@0.19.1 - pyo3-ffi@0.19.1 - rustversion@1.0.13 - ryu@1.0.14 - serde@1.0.167 - serde_json@1.0.100 - simdutf8@0.1.4 - smallvec@1.11.0 - static_assertions@1.1.0 - target-lexicon@0.12.8 - version_check@0.9.4 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -BDEPEND=" - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/pendulum[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest diff --git a/dev-python/orjson/orjson-3.9.4.ebuild b/dev-python/orjson/orjson-3.9.4.ebuild deleted file mode 100644 index 145f0498f2126..0000000000000 --- a/dev-python/orjson/orjson-3.9.4.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.6.1 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..11} ) - -CRATES=" - ahash@0.8.3 - android-tzdata@0.1.1 - arrayvec@0.7.4 - associative-cache@1.0.1 - autocfg@1.1.0 - beef@0.5.2 - bytecount@0.6.3 - castaway@0.2.2 - cc@1.0.81 - cfg-if@1.0.0 - chrono@0.4.26 - compact_str@0.7.1 - encoding_rs@0.8.32 - itoa@1.0.9 - itoap@1.0.1 - libc@0.2.147 - libm@0.1.4 - no-panic@0.1.26 - num-traits@0.2.16 - once_cell@1.18.0 - packed_simd_2@0.3.8 - proc-macro2@1.0.66 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - quote@1.0.32 - rustversion@1.0.14 - ryu@1.0.15 - serde@1.0.180 - serde_json@1.0.104 - simdutf8@0.1.4 - smallvec@1.11.0 - static_assertions@1.1.0 - syn@2.0.28 - target-lexicon@0.12.11 - unicode-ident@1.0.11 - version_check@0.9.4 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/pendulum[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest diff --git a/dev-python/orjson/orjson-3.9.5.ebuild b/dev-python/orjson/orjson-3.9.5.ebuild deleted file mode 100644 index 699f5964eb5f2..0000000000000 --- a/dev-python/orjson/orjson-3.9.5.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.6.1 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..11} ) - -CRATES=" - ahash@0.8.3 - android-tzdata@0.1.1 - arrayvec@0.7.4 - associative-cache@1.0.1 - autocfg@1.1.0 - beef@0.5.2 - bytecount@0.6.3 - castaway@0.2.2 - cc@1.0.82 - cfg-if@1.0.0 - chrono@0.4.26 - compact_str@0.7.1 - encoding_rs@0.8.32 - itoa@1.0.9 - itoap@1.0.1 - libc@0.2.147 - libm@0.1.4 - no-panic@0.1.26 - num-traits@0.2.16 - once_cell@1.18.0 - packed_simd_2@0.3.8 - proc-macro2@1.0.66 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - quote@1.0.32 - rustversion@1.0.14 - ryu@1.0.15 - serde@1.0.183 - serde_json@1.0.105 - simdutf8@0.1.4 - smallvec@1.11.0 - static_assertions@1.1.0 - syn@2.0.28 - target-lexicon@0.12.11 - unicode-ident@1.0.11 - version_check@0.9.4 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/pendulum[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest diff --git a/dev-python/orjson/orjson-3.9.6.ebuild b/dev-python/orjson/orjson-3.9.6.ebuild deleted file mode 100644 index 26ec321cbb010..0000000000000 --- a/dev-python/orjson/orjson-3.9.6.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.6.1 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{10..11} ) - -CRATES=" - ahash@0.8.3 - arrayvec@0.7.4 - associative-cache@1.0.1 - autocfg@1.1.0 - beef@0.5.2 - bytecount@0.6.3 - castaway@0.2.2 - cc@1.0.83 - cfg-if@1.0.0 - chrono@0.4.30 - compact_str@0.7.1 - encoding_rs@0.8.33 - itoa@1.0.9 - itoap@1.0.1 - libc@0.2.147 - libm@0.1.4 - libm@0.2.7 - no-panic@0.1.26 - num-traits@0.2.16 - once_cell@1.18.0 - packed_simd@0.3.9 - packed_simd_2@0.3.8 - proc-macro2@1.0.66 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - quote@1.0.33 - rustversion@1.0.14 - ryu@1.0.15 - serde@1.0.188 - serde_derive@1.0.188 - serde_json@1.0.105 - simdutf8@0.1.4 - smallvec@1.11.0 - static_assertions@1.1.0 - syn@2.0.31 - target-lexicon@0.12.11 - unicode-ident@1.0.11 - version_check@0.9.4 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/pendulum[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest diff --git a/dev-python/orjson/orjson-3.9.7.ebuild b/dev-python/orjson/orjson-3.9.7.ebuild index f4fcdc9b9ceaa..02fe76b0e4ca9 100644 --- a/dev-python/orjson/orjson-3.9.7.ebuild +++ b/dev-python/orjson/orjson-3.9.7.ebuild @@ -67,7 +67,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" test? ( diff --git a/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild index 56657d8de154f..be3efb2759830 100644 --- a/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild +++ b/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" RDEPEND=" >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild b/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild index 90b94b74e1f6b..a9985c82698c7 100644 --- a/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild +++ b/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" RDEPEND=" >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] diff --git a/dev-python/overrides/Manifest b/dev-python/overrides/Manifest index bd3a1aaaa72fd..04356a6841162 100644 --- a/dev-python/overrides/Manifest +++ b/dev-python/overrides/Manifest @@ -1,2 +1 @@ -DIST overrides-7.3.1.tar.gz 24766 BLAKE2B c7fc2e22b7ded0208befd483e76b0bdb444f2d2891f6b2fe4751a81c47164b2cd3a51b7d71ec03401629d4427393553aed1146d2ef60ffe966fd502bd84e824e SHA512 94a8a581dfdacc047937824ffb8afae81d92998ec796e44c4ae05778f2b9d381517e37c2c4591a1c118b091f96bd91554aaef65d0372b2fef04f6ee225e10922 DIST overrides-7.4.0.tar.gz 24804 BLAKE2B 9a9657d15ad835695d116559f1e6f51e14d1a0a9b5a237b2d468d9c6fd8d86368af53871490c257d7e6843fe02113a874524b8e55f4b3c9bcc7c827714cd5f44 SHA512 6ffd3b38997fd207d8ef9876ba9c328ef244b39300d22ae8c8bf63862f160b485d82b99d36d24abd1676fdddd39e5324eb0f1cf8629a0e17ac96956d165b6afd diff --git a/dev-python/overrides/overrides-7.3.1.ebuild b/dev-python/overrides/overrides-7.3.1.ebuild deleted file mode 100644 index 73d629ba9afec..0000000000000 --- a/dev-python/overrides/overrides-7.3.1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A decorator to automatically detect mismatch when overriding a method." -HOMEPAGE=" - https://pypi.org/project/overrides/ - https://github.com/mkorpela/overrides -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390" - -distutils_enable_tests pytest diff --git a/dev-python/overrides/overrides-7.4.0.ebuild b/dev-python/overrides/overrides-7.4.0.ebuild index 2b192a9d7f3a7..ecd6ae987dcc7 100644 --- a/dev-python/overrides/overrides-7.4.0.ebuild +++ b/dev-python/overrides/overrides-7.4.0.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~loong ppc64 ~riscv ~s390" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~x86" distutils_enable_tests pytest diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest index 048a982b9ebf7..c184afe134791 100644 --- a/dev-python/packaging/Manifest +++ b/dev-python/packaging/Manifest @@ -1 +1,2 @@ DIST packaging-23.1.tar.gz 134240 BLAKE2B ef7ef320a98592769078581e32fcc355d05f6fbb7611e7bd83fd2ed64d5f5f5d9c1f89c2a4a91ace1221214a9047e233d8d6a339fd29066b3695137ec5a870bd SHA512 0f2246b8bfeb467623ee72e6fdb7c0416e3b4ba0e00102c1528581e0835cc8e731a812b15e2e429d3ebb0001713d95cc2675f443f4597b092e305a3ef2e9137a +DIST packaging-23.2.tar.gz 146714 BLAKE2B cf7986a07312fd82a2a0ee738088993b9570d95cd0b573afa7a1f911bf335de7084e3d40d961adea7f5a8369738688f9d0a4265ef26a393f2d30769bc13f752a SHA512 8ab5e9bc4feef2fac1c9044dc8a6f2d41aaf9fe2dae671de8b98c0b1a19dca2169588b87d85a8c990d808b1e76faee65984ce970eaa3282b75e107ca82cc2863 diff --git a/dev-python/packaging/packaging-23.2.ebuild b/dev-python/packaging/packaging-23.2.ebuild new file mode 100644 index 0000000000000..1db529fd81cb1 --- /dev/null +++ b/dev-python/packaging/packaging-23.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core utilities for Python packages" +HOMEPAGE=" + https://github.com/pypa/packaging/ + https://pypi.org/project/packaging/ +" + +SLOT="0" +LICENSE="|| ( Apache-2.0 BSD-2 )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/pyparsing-3.0.7-r1[${PYTHON_USEDEP}] + ! pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} diff --git a/dev-python/pocketlint/Manifest b/dev-python/pocketlint/Manifest index b01a4686a8945..04cc4273f1acb 100644 --- a/dev-python/pocketlint/Manifest +++ b/dev-python/pocketlint/Manifest @@ -1 +1,2 @@ DIST pocketlint-0.24.gh.tar.gz 23875 BLAKE2B b4699d1f0633ed6a3f84b97db972818c00a1d382a48648fd4fe6870f4c54f983fd36366f85a409a99b860f385902a9a05adec63199e35d1264a522a7a3086e31 SHA512 21c4055dd42c244760950b64ec4cd9359fc589014953be6f9296e0265101f098fbe34351e87f92630751fa0055de20281974a04b425f691acc4608cf929d4bf4 +DIST pocketlint-0.25.gh.tar.gz 23931 BLAKE2B e8254477223ea0e631129778cc760ef57d34adb78f783258c8c097f7eac1acfe4cb00d21bc9aff576fbfab2bb3f7b687de33b3bc1f02c8d083d690a2e392bbac SHA512 dcb21ee147839a606520370f948594fc695c779a03d9edfb054dd6c07f4dd1c4ad0b64ccaad504da01e3b6c572ce27db8813ac8b61468d43e3745b5053a4edb7 diff --git a/dev-python/pocketlint/pocketlint-0.25.ebuild b/dev-python/pocketlint/pocketlint-0.25.ebuild new file mode 100644 index 0000000000000..c3bc7b176957f --- /dev/null +++ b/dev-python/pocketlint/pocketlint-0.25.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Shared code for running pylint against rhinstaller projects" +HOMEPAGE=" + https://github.com/rhinstaller/pocketlint/ + https://pypi.org/project/pocketlint/ +" +SRC_URI=" + https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/pylint/runpylint.py || die "test failed with ${EPYTHON}" +} diff --git a/dev-python/psycopg/psycopg-3.1.10.ebuild b/dev-python/psycopg/psycopg-3.1.10.ebuild index 9807a93aca052..aaca8a9462c62 100644 --- a/dev-python/psycopg/psycopg-3.1.10.ebuild +++ b/dev-python/psycopg/psycopg-3.1.10.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${P}/psycopg LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" DEPEND=" >=dev-db/postgresql-8.1:* diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest index c9d0dab51af54..5f5c7f7efb9bc 100644 --- a/dev-python/pyftpdlib/Manifest +++ b/dev-python/pyftpdlib/Manifest @@ -1,2 +1,3 @@ DIST pyftpdlib-1.5.7.tar.gz 196076 BLAKE2B 9400fb9ff5d8c0e904f07dabef72a07528bc43a5332ad26544f0e512c457a919e887e9f9af18b75cb7853f2e0b70993bc5a858438924320e738d4bc9e2e17090 SHA512 66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22 DIST pyftpdlib-1.5.7_p20230828.gh.tar.gz 257359 BLAKE2B 043f4be70b38b409548dd13739e9bcade7f489e9ce1a2e87ee4c631b76f484a0fa72b3ec45e7978cb38168823cdfc020adddc056a135644948415c5baab5ef33 SHA512 b0626559d2942abe63cf45a593f8da98d07124fca19e33c66bf86a9f24bffa842941cd419ad14f43b7ae337bdecb6628ce3184af991d3e87767a11f37eccdd63 +DIST pyftpdlib-1.5.8.tar.gz 201963 BLAKE2B 5a957c207dcdc7c8d66d6ed4176cd12db019cf3d5247233db057b5c266a4fbda5e6e1c0b8ccdf33b4c154400d5d7a5e9a62ab9244f7c74c03c2f912a2ac0eb2f SHA512 2d4c4beb40d604d41eeed51f690b805377e84e594bdbb5d67135f50e5696824ba24aa9ae53aecced9f6c1b7eb3ec7727d31b883f9bbb0d2c43802277b2ef2aa6 diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.8.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.8.ebuild new file mode 100644 index 0000000000000..afb20a57db760 --- /dev/null +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.8.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Python FTP server library" +HOMEPAGE=" + https://github.com/giampaolo/pyftpdlib/ + https://pypi.org/project/pyftpdlib/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples ssl" + +RDEPEND=" + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_test() { + rm -rf pyftpdlib || die + # Some of these tests tend to fail + local EPYTEST_DESELECT=( + # fail because they process sys.argv and expect program args + # rather than pytest args, sigh + test/test_misc.py + # TODO + test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst + ) + # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 + local -x TZ=UTC+1 + # Skips some shoddy tests plus increases timeouts + local -x TRAVIS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs pyftpdlib +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r demo/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest index e425372d158a8..860b2f9c101cd 100644 --- a/dev-python/pygame/Manifest +++ b/dev-python/pygame/Manifest @@ -1,2 +1 @@ -DIST pygame-2.5.0.gh.tar.gz 6640084 BLAKE2B affa92cacee34ab1db246e80bea0ee425985c1c2a75b5702b2368536fe4b07ffb24f5e6ef345afb3ee63e7b1eccfc275082649251791a2f34a0eba019cc327a8 SHA512 741c5d11b2b52c5bc08672fb9e7420540f20879ef67b84dd18904d317f3cce7593bf08a9e7bf9d0c6470c6bb88512c9af9eb86056e654ab32d4b33532b2bf702 DIST pygame-2.5.1.gh.tar.gz 6854761 BLAKE2B e137f73a3bb718213ef92e938ed1b065f5568d7dd2ade6edd973bc55d06425874da0e89e3c102fad39adac25f977ac97025a0c59099702cfabeffd0d3b8f109f SHA512 d7aceb2bc6e40c5dc2d7a19fdc7af18abf021b79dd98b859975f99ec10895e1b09e11fbf17fd6ab925d3aa6c64e5b3dd56c0d857ecacc67303d92fc0efb2630c diff --git a/dev-python/pygame/files/pygame-2.5.0-cython-3.patch b/dev-python/pygame/files/pygame-2.5.0-cython-3.patch deleted file mode 100644 index 48e48e738ab3f..0000000000000 --- a/dev-python/pygame/files/pygame-2.5.0-cython-3.patch +++ /dev/null @@ -1,214 +0,0 @@ -https://bugs.gentoo.org/898704 -https://github.com/pygame/pygame/issues/3938 -https://github.com/pygame/pygame/pull/3956 -https://github.com/pygame/pygame/commit/bff1ba00fa58de40d357d70ba645be2957593b69 - -From bff1ba00fa58de40d357d70ba645be2957593b69 Mon Sep 17 00:00:00 2001 -From: Matus Valo -Date: Wed, 12 Jul 2023 01:26:21 +0200 -Subject: [PATCH] Mark functions as noexcept - ---- a/src_c/cython/pygame/_sdl2/audio.pyx -+++ b/src_c/cython/pygame/_sdl2/audio.pyx -@@ -67,7 +67,7 @@ def get_audio_device_names(iscapture = False): - return names - - import traceback --cdef void recording_cb(void* userdata, Uint8* stream, int len) nogil: -+cdef void recording_cb(void* userdata, Uint8* stream, int len) noexcept nogil: - """ This is called in a thread made by SDL. - So we need the python GIL to do python stuff. - """ ---- a/src_c/cython/pygame/_sdl2/controller.pxd -+++ b/src_c/cython/pygame/_sdl2/controller.pxd -@@ -101,8 +101,8 @@ cdef extern from "../controllercompat.c" nogil: - Uint16 high_frequency_rumble, - Uint32 duration_ms) - --cdef bint _controller_autoinit() --cdef void _controller_autoquit() -+cdef bint _controller_autoinit() noexcept -+cdef void _controller_autoquit() noexcept - - cdef class Controller: - cdef SDL_GameController* _controller ---- a/src_c/cython/pygame/_sdl2/controller.pyx -+++ b/src_c/cython/pygame/_sdl2/controller.pyx -@@ -17,14 +17,14 @@ def _gamecontroller_init_check(): - if not SDL_WasInit(_SDL_INIT_GAMECONTROLLER): - raise error("gamecontroller system not initialized") - --cdef bint _controller_autoinit(): -+cdef bint _controller_autoinit() noexcept: - if not SDL_WasInit(_SDL_INIT_GAMECONTROLLER): - if SDL_InitSubSystem(_SDL_INIT_GAMECONTROLLER): - return False - #pg_RegisterQuit(_controller_autoquit) - return True - --cdef void _controller_autoquit(): -+cdef void _controller_autoquit() noexcept: - cdef Controller controller - for c in Controller._controllers: - controller = c ---- a/src_c/cython/pygame/_sdl2/mixer.pxd -+++ b/src_c/cython/pygame/_sdl2/mixer.pxd -@@ -5,7 +5,7 @@ from .sdl2 cimport * - - #https://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.html#SEC79 - --ctypedef void (*mixcallback)(void *udata, Uint8 *stream, int len) nogil -+ctypedef void (*mixcallback)(void *udata, Uint8 *stream, int len) noexcept nogil - - cdef extern from "SDL_mixer.h" nogil: - ctypedef void (*mix_func)(void *udata, Uint8 *stream, int len) ---- a/src_c/cython/pygame/_sdl2/mixer.pyx -+++ b/src_c/cython/pygame/_sdl2/mixer.pyx -@@ -14,7 +14,7 @@ import traceback - # Mix_SetPostMix(noEffect, NULL); - - --cdef void recording_cb(void* userdata, Uint8* stream, int len) nogil: -+cdef void recording_cb(void* userdata, Uint8* stream, int len) noexcept nogil: - """ This is called in a thread made by SDL. - So we need the python GIL to do python stuff. - """ ---- a/src_c/cython/pygame/_sdl2/video.pxd -+++ b/src_c/cython/pygame/_sdl2/video.pxd -@@ -430,7 +430,7 @@ cdef class Texture: - cdef draw_internal(self, SDL_Rect *csrcrect, SDL_Rect *cdstrect, float angle=*, SDL_Point *originptr=*, - bint flip_x=*, bint flip_y=*) - cpdef void draw(self, srcrect=*, dstrect=*, float angle=*, origin=*, -- bint flip_x=*, bint flip_y=*) -+ bint flip_x=*, bint flip_y=*) noexcept - - cdef class Image: - cdef Color _color -@@ -445,4 +445,4 @@ cdef class Image: - cdef public Texture texture - cdef public Rect srcrect - -- cpdef void draw(self, srcrect=*, dstrect=*) -+ cpdef void draw(self, srcrect=*, dstrect=*) noexcept ---- a/src_c/cython/pygame/_sdl2/video.pyx -+++ b/src_c/cython/pygame/_sdl2/video.pyx -@@ -731,7 +731,7 @@ cdef class Texture: - raise error() - - cpdef void draw(self, srcrect=None, dstrect=None, float angle=0, origin=None, -- bint flip_x=False, bint flip_y=False): -+ bint flip_x=False, bint flip_y=False) noexcept: - """ Copy a portion of the texture to the rendering target. - - :param srcrect: source rectangle on the texture, or None for the entire texture. -@@ -904,7 +904,7 @@ cdef class Image: - def get_rect(self): - return pgRect_New(&self.srcrect.r) - -- cpdef void draw(self, srcrect=None, dstrect=None): -+ cpdef void draw(self, srcrect=None, dstrect=None) noexcept: - """ Copy a portion of the image to the rendering target. - - :param srcrect: source rectangle specifying a sub-image, or None for the entire image. ---- a/src_c/cython/pygame/_sprite.pyx -+++ b/src_c/cython/pygame/_sprite.pyx -@@ -188,10 +188,10 @@ cdef class Sprite: - else: - self.remove(*group) - -- cpdef void add_internal(self, group): -+ cpdef void add_internal(self, group) noexcept: - self.__g.add(group) - -- cpdef void remove_internal(self, group): -+ cpdef void remove_internal(self, group) noexcept: - self.__g.remove(group) - - def update(self, *args, **kwargs): -@@ -346,16 +346,16 @@ cdef class AbstractGroup: - """ - return list(self.spritedict) - -- cpdef void add_internal(self, sprite): -+ cpdef void add_internal(self, sprite) noexcept: - self.spritedict[sprite] = 0 - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - r = self.spritedict[sprite] - if r: - self.lostsprites.append(r) - del self.spritedict[sprite] - -- cpdef bint has_internal(self, sprite): -+ cpdef bint has_internal(self, sprite) noexcept: - return sprite in self.spritedict - - def copy(self): -@@ -650,11 +650,11 @@ cdef class OrderedUpdates(RenderUpdates): - cpdef list sprites(self): - return list(self._spritelist) - -- cpdef void add_internal(self, sprite): -+ cpdef void add_internal(self, sprite) noexcept: - RenderUpdates.add_internal(self, sprite) - self._spritelist.append(sprite) - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - RenderUpdates.remove_internal(self, sprite) - self._spritelist.remove(sprite) - -@@ -697,7 +697,7 @@ cdef class LayeredUpdates(AbstractGroup): - - self.add(*sprites, **kwargs) - -- cpdef void add_internal(self, sprite, layer=None): -+ cpdef void add_internal(self, sprite, layer=None) noexcept: - """Do not use this method directly. - - It is used by the group to add a sprite internally. -@@ -779,7 +779,7 @@ cdef class LayeredUpdates(AbstractGroup): - self.add_internal(sprite, layer) - sprite.add_internal(self) - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - """Do not use this method directly. - - The group uses it to add a sprite. -@@ -1059,7 +1059,7 @@ cdef class LayeredDirty(LayeredUpdates): - if hasattr(self, key): - setattr(self, key, val) - -- cpdef void add_internal(self, sprite, layer=None): -+ cpdef void add_internal(self, sprite, layer=None) noexcept: - """Do not use this method directly. - - It is used by the group to add a sprite internally. -@@ -1333,7 +1333,7 @@ cdef class GroupSingle(AbstractGroup): - else: - return [] - -- cpdef void add_internal(self, sprite): -+ cpdef void add_internal(self, sprite) noexcept: - if self.__sprite is not None: - self.__sprite.remove_internal(self) - self.remove_internal(self.__sprite) -@@ -1355,13 +1355,13 @@ cdef class GroupSingle(AbstractGroup): - None, - "The sprite contained in this group") - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - if sprite is self.__sprite: - self.__sprite = None - if sprite in self.spritedict: - AbstractGroup.remove_internal(self, sprite) - -- cpdef bint has_internal(self, sprite): -+ cpdef bint has_internal(self, sprite) noexcept: - return self.__sprite is sprite - - # Optimizations... - diff --git a/dev-python/pygame/pygame-2.5.0-r2.ebuild b/dev-python/pygame/pygame-2.5.0-r2.ebuild deleted file mode 100644 index e7cd405ad5700..0000000000000 --- a/dev-python/pygame/pygame-2.5.0-r2.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for SDL multimedia library" -HOMEPAGE=" - https://www.pygame.org/ - https://github.com/pygame/pygame/ - https://pypi.org/project/pygame/ -" -SRC_URI=" - https://github.com/pygame/pygame/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" -IUSE="examples opengl test X" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - media-libs/freetype - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/portmidi - media-libs/sdl2-image - media-libs/sdl2-mixer - media-libs/sdl2-ttf - X? ( media-libs/libsdl2[opengl?,threads,video,X] ) - !X? ( media-libs/libsdl2[threads] ) -" -DEPEND=" - ${RDEPEND} - test? ( - media-libs/sdl2-image[gif,jpeg,png,tiff,webp] - media-libs/sdl2-mixer[mp3,vorbis,wav] - ) -" -# fontconfig used for fc-list -RDEPEND+=" - media-libs/fontconfig -" -# util-linux provides script -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - media-libs/fontconfig - sys-apps/util-linux - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-cython-3.patch -) - -python_configure() { - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ - "${EPYTHON}" "${S}"/buildconfig/config.py || die -} - -python_configure_all() { - find src_c/cython -name '*.pyx' -exec touch {} + || die - "${EPYTHON}" setup.py cython_only || die -} - -python_test() { - local -x PYTHONPATH=${BUILD_DIR}/install/lib - local -x SDL_VIDEODRIVER=dummy - local -x SDL_AUDIODRIVER=disk - script -eqc "${EPYTHON} -m pygame.tests -v" || die -} - -python_install() { - distutils-r1_python_install - - # Bug #497720 - rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples,tests}/ || die -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/pygame/pygame-2.5.1.ebuild b/dev-python/pygame/pygame-2.5.1.ebuild index 8b38b8f854dcb..9cb7c203c8b0e 100644 --- a/dev-python/pygame/pygame-2.5.1.ebuild +++ b/dev-python/pygame/pygame-2.5.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index ed9abcb6dc9ff..7512417e17a7d 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,3 +1,5 @@ DIST pylint-2.17.5.gh.tar.gz 1413718 BLAKE2B 7ba0a6cb78cdef5f16e80d98d1b02f41ae700c44365de26a0a650b60fe95b4b806e36786d16ec50ed5c78c8b86c13afe8e7fe215dd938df654c2883d5493d318 SHA512 431e722d027b03f1b657841ccaba43233961e810aecfe1a679e3ba4ba92fea94f28524195861a6fd4fe6fc6267a1af6489b9b69e5e30f919ac3a476fd35698ec DIST pylint-2.17.6.gh.tar.gz 1415348 BLAKE2B d760a81cc8a453a081f1b0e3845c5a0b608b8109863665361990da127323c877e8e02ed9c1aca656fa84dd49941b23652fc465177a3e347942047299ebb86a32 SHA512 1e1bba425d295f9d267ef439f4f402dfc7284ee57ac41c222ac39e502c66bbac60c9afb0024ca4236de7cc7130ac733c781f5ee98670fae054005a8d69107123 DIST pylint-2.17.7.gh.tar.gz 1415651 BLAKE2B 9b2edea7d7d9e05fd265749cb1e50e77513e382518dc16bf654861e66564c55a430193ab1f538cb23e31e85d2130784c648ba185d62139c6df752ca54f0fc09d SHA512 514fe9d244a58e21fade66f0e343f2162a2fc2f99d7197f4d91801250c13fde2ddc365f92a274d89d602689466a12bac3ff9dd364ce15891171ef86d6313aba2 +DIST pylint-3.0.0.gh.tar.gz 1418878 BLAKE2B e0e86bc53e3b081b92a1f7af94a53b125e4d57c08c269e30defd51fcf07024deaf02a664d05d506a469999e6f6660a4f3d26a6698f8023f48a9d81467dce0282 SHA512 77f20425d03fd2e13e3c6ee7f75b32f37918aafbaeab7280d4275e4bdd285d9d4df541e6165bbe76a57663ff78dc4d8126a72788ee29b08fea5c479f9b162b09 +DIST pylint-3.0.0b0.gh.tar.gz 1421208 BLAKE2B e58859e85b5001236a7f92060bca3e828957c8a24b3f0981cac795f0a0ce1af3d0be3ab8cc45c9e7fee173f988598e23fb3b9bc3c257d2e354c7d1c621ae7301 SHA512 265f29d28879c09320a8aa3d235873d96505a2472fb9b41ac0f11fa453c2e4d3fb57133bc588583ac82bdaad895b1cafe828f5662d3700baf6eaf6c3f22817db diff --git a/dev-python/pylint/pylint-3.0.0.ebuild b/dev-python/pylint/pylint-3.0.0.ebuild new file mode 100644 index 0000000000000..5046bb6252b7c --- /dev/null +++ b/dev-python/pylint/pylint-3.0.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps +# Adjust dep bounds! +RDEPEND=" + =dev-python/astroid-3.0.0[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + =dev-python/mccabe-0.6[${PYTHON_USEDEP}] + =dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + + # incompatible versions of numpy/scikit-learn? + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pylint/pylint-3.0.0_beta0.ebuild b/dev-python/pylint/pylint-3.0.0_beta0.ebuild new file mode 100644 index 0000000000000..5046bb6252b7c --- /dev/null +++ b/dev-python/pylint/pylint-3.0.0_beta0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps +# Adjust dep bounds! +RDEPEND=" + =dev-python/astroid-3.0.0[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + =dev-python/mccabe-0.6[${PYTHON_USEDEP}] + =dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + + # incompatible versions of numpy/scikit-learn? + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pymongo/pymongo-4.5.0.ebuild b/dev-python/pymongo/pymongo-4.5.0.ebuild index 994727171236d..9145df4591b8c 100644 --- a/dev-python/pymongo/pymongo-4.5.0.ebuild +++ b/dev-python/pymongo/pymongo-4.5.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc kerberos +native-extensions +test-full" RDEPEND=" diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 99cb5b1d2d2fd..1dc813963f348 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.5.2.gh.tar.gz 153032 BLAKE2B 58cb9ef1bc842fd31612009201e4fafbb5c477b7284cf1f85f1e2939167573c27d451a8b8735d52be8cfb467ff1bfe30b7b83567926b3945beae62b1ee82833c SHA512 e8794341c0b5e6d9d7c72bd4cf29380adc2415563724d5af0ff808d8fb81afea646477859a2dfd5dc2d3ccf62cad5118887891faa11e70b125cbb8b7e88e977a +DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 diff --git a/dev-python/pypiserver/pypiserver-2.0.1.ebuild b/dev-python/pypiserver/pypiserver-2.0.1.ebuild new file mode 100644 index 0000000000000..ece25808b1117 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.0.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version dev-python/twine; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + epytest tests +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index da5c4fd77bafc..4c6b4ffec3455 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1 +1,2 @@ DIST pyproject_fmt-1.1.0.tar.gz 14219 BLAKE2B 9b5180edab6f1f0684d1bc5a503321f09d59acfc71e2f98a36c2b974f95a3f6c0309d43e2a87cbb0c9249d3bc0f74f0696dd3965d9fd2c8329441a2f20fcafea SHA512 dc18e19b7140bfe7a97e1b9720d493327f9006fb666130438b0ef670a91480e2faaad9ff951d42b8856044d028b725ec3b6a522084b7090208df5c853cefc78c +DIST pyproject_fmt-1.2.0.tar.gz 14304 BLAKE2B 7d7c469b5e5156097bdc176aa874338b4f848c8a2fb20bee3467d4267a60a6942c4bb512bebd1aa8abbe53349df9a899e9e0e9c27e2298f22d77ffca181af134 SHA512 368a29ca91052f51551ac3d0c707994fc9ba77ee5854460880164aafec9d92dd28d2950644cbda8760ce6396076ec9f3a034444e11cf0f59c6822cf2b6253f68 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.2.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-1.2.0.ebuild new file mode 100644 index 0000000000000..c440d098979a6 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-1.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + dev-python/tox + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are completely meaningless and copying them + # to the ebuild is a horrible waste of time + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.10.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.10.ebuild index 160635935c8f9..24d169ccfa4fd 100644 --- a/dev-python/pyside2-tools/pyside2-tools-5.15.10.ebuild +++ b/dev-python/pyside2-tools/pyside2-tools-5.15.10.ebuild @@ -5,7 +5,7 @@ EAPI=8 # TODO: Add PyPy once officially supported. See also: # https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) CMAKE_IN_SOURCE_BUILD=1 inherit cmake python-r1 diff --git a/dev-python/pyside2/pyside2-5.15.10.ebuild b/dev-python/pyside2/pyside2-5.15.10-r1.ebuild similarity index 99% rename from dev-python/pyside2/pyside2-5.15.10.ebuild rename to dev-python/pyside2/pyside2-5.15.10-r1.ebuild index 3319ffae4898e..953d87b2799a4 100644 --- a/dev-python/pyside2/pyside2-5.15.10.ebuild +++ b/dev-python/pyside2/pyside2-5.15.10-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 # TODO: Add PyPy once officially supported. See also: # https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit cmake python-r1 virtualx @@ -81,7 +81,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} RESTRICT="test" # Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2)*:5" +QT_PV="$(ver_cut 1-3)*:5" RDEPEND="${PYTHON_DEPS} ~dev-python/shiboken2-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/pyside6-tools/Manifest b/dev-python/pyside6-tools/Manifest index 4e27687b13645..94251ca94c20b 100644 --- a/dev-python/pyside6-tools/Manifest +++ b/dev-python/pyside6-tools/Manifest @@ -1,2 +1 @@ -DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d SHA512 fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21 SHA512 ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403 diff --git a/dev-python/pyside6-tools/pyside6-tools-6.5.1.1.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.5.1.1.ebuild deleted file mode 100644 index ed40d74f1f175..0000000000000 --- a/dev-python/pyside6-tools/pyside6-tools-6.5.1.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{9..11} ) -CMAKE_IN_SOURCE_BUILD=1 - -inherit cmake python-r1 - -MY_PN="pyside-setup-everywhere-src" - -DESCRIPTION="PySide development tools (pyside6-lupdate with support for Python)" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" -S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/pyside-tools" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/pyside6-${PV}[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -src_prepare() { - cmake_src_prepare - - python_copy_sources -} - -src_configure() { - pyside-tools_configure() { - local mycmakeargs=( - # the tools conflict with tools from Qt - -DNO_QT_TOOLS=yes - ) - CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_configure - } - - python_foreach_impl pyside-tools_configure -} - -src_compile() { - pyside-tools_compile() { - CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_compile - } - - python_foreach_impl pyside-tools_compile -} - -src_install() { - pyside-tools_install() { - python_doexe "${BUILD_DIR}/"*.py - } - - python_foreach_impl pyside-tools_install - - einstalldocs -} diff --git a/dev-python/pyside6/Manifest b/dev-python/pyside6/Manifest index 4e27687b13645..94251ca94c20b 100644 --- a/dev-python/pyside6/Manifest +++ b/dev-python/pyside6/Manifest @@ -1,2 +1 @@ -DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d SHA512 fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21 SHA512 ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403 diff --git a/dev-python/pyside6/pyside6-6.5.1.1-r1.ebuild b/dev-python/pyside6/pyside6-6.5.1.1-r1.ebuild deleted file mode 100644 index e428854ccd9b3..0000000000000 --- a/dev-python/pyside6/pyside6-6.5.1.1-r1.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake python-r1 virtualx - -# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects" -# USE flag after an external "dev-qt/qtremoteobjects" package has been created. -# TODO: Add conditional support for apidoc generation via a new "doc" USE flag. -# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once -# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support. -# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note -# that the "PySide6/QtGui/CMakeLists.txt" and -# "PySide6/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by -# testing whether the "Qt5::Gui" list property defined by -# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation -# time contains the substring "opengles2". Since cmake does not permit -# properties to be overridden from the command line, these files must instead -# be conditionally patched to avoid these tests. An issue should be filed with -# upstream requesting a CLI-settable variable to control this. - -MY_PN="pyside-setup-everywhere-src" - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" -S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/pyside6" - -# See "sources/pyside6/PySide6/licensecomment.txt" for licensing details. -# Shall we allow essential modules to be disabled? They are: -# (core), gui, widgets, printsupport, sql, network, testlib, concurrent, -# x11extras (for X) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" -SLOT="0" -KEYWORDS="~amd64" -IUSE=" - +dbus charts +concurrent designer gles2-only +gui help multimedia - +network network-auth +opengl positioning +printsupport qml quick - quick3d serialport +sql svg test +testlib webchannel webengine - websockets +widgets +xml -" - -# Manually reextract these requirements on version bumps by running the -# following one-liner from within "${S}": -# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt -# Note that the "designer" USE flag corresponds to the "Qt6UiTools" module. -REQUIRED_USE="${PYTHON_REQUIRED_USE} - charts? ( gui widgets ) - designer? ( widgets ) - gles2-only? ( gui ) - gui? ( dbus opengl ) - help? ( network sql widgets ) - multimedia? ( gui network ) - network-auth? ( network ) - opengl? ( gui ) - printsupport? ( widgets ) - qml? ( network ) - quick? ( gui network opengl qml ) - quick3d? ( gui network opengl qml quick ) - sql? ( widgets ) - svg? ( gui ) - testlib? ( widgets ) - webchannel? ( qml ) - webengine? ( network gui printsupport quick webchannel ) - websockets? ( network ) - widgets? ( gui ) -" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2)*:6" - -RDEPEND="${PYTHON_DEPS} - ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP}] - =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] - charts? ( =dev-qt/qtcharts-${QT_PV} ) - designer? ( =dev-qt/qttools-${QT_PV}[designer] ) - gui? ( - =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] - x11-libs/libxkbcommon - ) - help? ( =dev-qt/qttools-${QT_PV}[assistant] ) - multimedia? ( =dev-qt/qtmultimedia-${QT_PV} ) - network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) - positioning? ( =dev-qt/qtpositioning-${QT_PV} ) - printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) - qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] ) - quick3d? ( =dev-qt/qtquick3d-${QT_PV} ) - serialport? ( =dev-qt/qtserialport-${QT_PV} ) - svg? ( =dev-qt/qtsvg-${QT_PV} ) - testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) - webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) - webengine? ( =dev-qt/qtwebengine-${QT_PV}[widgets?] ) - websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) -" -DEPEND="${RDEPEND} - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" -# testlib is toggled by the gui flag on qtbase - -PATCHES=( - "${FILESDIR}/${PN}-6.3.1-no-strip.patch" - "${FILESDIR}/${PN}-6.3.1-fix-designer-plugin-install-location.patch" -) - -src_configure() { - # See collect_module_if_found macros in PySideHelpers.cmake - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DAnimation=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DCore=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DExtras=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DInput=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DLogic=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DRender=yes - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Bluetooth=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Charts=$(usex !charts) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Concurrent=$(usex !concurrent) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DataVisualization=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DBus=$(usex !dbus) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Designer=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Gui=$(usex !gui) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Help=$(usex !help) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6HttpServer=yes - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Location=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Multimedia=$(usex !multimedia) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6NetworkAuth=$(usex !network-auth) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Network=$(usex !network) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Nfc=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGL=$(usex !opengl) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGLWidgets=$(usex !opengl yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Pdf=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PdfWidgets=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning=$(usex !positioning) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PrintSupport=$(usex !printsupport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=$(usex !qml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick3D=$(usex !quick3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=$(usex !quick) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickControls2=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=$(usex !quick yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6RemoteObjects=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Scxml=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sensors=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort=$(usex !serialport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SpatialAudio=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sql=$(usex !sql) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6StateMachine=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Svg=$(usex !svg) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SvgWidgets=$(usex !svg yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Test=$(usex !testlib) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6TextToSpeech=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6UiTools=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel=$(usex !webchannel) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick=$(usex !webengine yes $(usex !quick)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebSockets=$(usex !websockets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=$(usex !widgets) - #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6WinExtras=yes - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=$(usex !xml) - # try to avoid pre-stripping - -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes - -DQFP_NO_STRIP=yes - - ) - - pyside6_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" - -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}" - ) - cmake_src_configure - } - python_foreach_impl pyside6_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - local -x PYTHONDONTWRITEBYTECODE - python_foreach_impl virtx cmake_src_test -} - -src_install() { - pyside6_install() { - cmake_src_install - python_optimize - - # Uniquify the shiboken6 pkgconfig dependency in the PySide6 pkgconfig - # file for the current Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - sed -i -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ - "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die - - # Uniquify the PySide6 pkgconfig file for the current Python target, - # preserving an unversioned "pyside6.pc" file arbitrarily associated - # with the last Python target. (See the previously linked issue.) - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl pyside6_install - - # CMakeLists.txt installs a "PySide6Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., pyside6-tools) to target one - # "libpyside6-*.so" library linked to one Python interpreter. See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i -e 's~pyside6-python[[:digit:]]\+\.[[:digit:]]\+~pyside6${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)/cmake/PySide6/PySide6Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die -} diff --git a/dev-python/pyside6/pyside6-6.5.2-r1.ebuild b/dev-python/pyside6/pyside6-6.5.2-r2.ebuild similarity index 99% rename from dev-python/pyside6/pyside6-6.5.2-r1.ebuild rename to dev-python/pyside6/pyside6-6.5.2-r2.ebuild index 09ab09ce3ed73..5d11103e11153 100644 --- a/dev-python/pyside6/pyside6-6.5.2-r1.ebuild +++ b/dev-python/pyside6/pyside6-6.5.2-r2.ebuild @@ -75,7 +75,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} RESTRICT="test" # Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2)*:6" +QT_PV="$(ver_cut 1-3)*:6" RDEPEND="${PYTHON_DEPS} ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/python-evdev/python-evdev-1.6.0.ebuild b/dev-python/python-evdev/python-evdev-1.6.0.ebuild index 765ea2aba68e9..af63183595825 100644 --- a/dev-python/python-evdev/python-evdev-1.6.0.ebuild +++ b/dev-python/python-evdev/python-evdev-1.6.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm x86" +KEYWORDS="amd64 ~arm ~arm64 x86" distutils_enable_tests pytest diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index bff16e82a9024..f2796d6586af9 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1,2 +1 @@ -DIST python-glanceclient-4.3.0.tar.gz 205005 BLAKE2B 63f99858e4fafd041a99a34e3a0a22403f637d2317fe236fd9da55f84f7bc58b410fe4b859af2cf7ccc8cb4f8cf17f80e57afa846a9f33e9a54b1da069f6a6ea SHA512 7f381a6f997b8d1c73c9d2bafa14ecf3d4899640f28d669b7b4762a9c01d8df366b616f0be9bc00c7ea4561f407adceb8d10e721d12d4f5fb5790fd4cdb7362d DIST python-glanceclient-4.4.0.tar.gz 205612 BLAKE2B 8a1e31eb8dbefe4b08e945377bb190264332cd01066b96ec061e8839a45294ed6cf5ab08fd89d97b57bc072987ce04d19f94a887d5e8eaa10760d996058122bf SHA512 31d2994fef3298f790a3ec268b26d432602a6b73265277e961ff2b47df2a84028253da8b2090193e1e65c55ab6e4b40413a16d01a653b90cae926545ea4097ae diff --git a/dev-python/python-glanceclient/python-glanceclient-4.3.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.3.0.ebuild deleted file mode 100644 index e39e4b6168cfc..0000000000000 --- a/dev-python/python-glanceclient/python-glanceclient-4.3.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A client for the OpenStack Glance API" -HOMEPAGE=" - https://opendev.org/openstack/python-glanceclient/ - https://github.com/openstack/python-glanceclient/ - https://pypi.org/project/python-glanceclient/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/keystoneauth1-3.6.2[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}] - =dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - dev-python/ddt[${PYTHON_USEDEP}] - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - dev-python/tempest[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_test() { - # functional tests require cloud instance access - eunittest -b glanceclient/tests/unit -} diff --git a/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild index 6d7d881d456b2..232d8a4bb350f 100644 --- a/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild +++ b/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/keystoneauth1-3.6.2[${PYTHON_USEDEP}] diff --git a/dev-python/pytz_deprecation_shim/Manifest b/dev-python/pytz_deprecation_shim/Manifest deleted file mode 100644 index 6d44d53e64089..0000000000000 --- a/dev-python/pytz_deprecation_shim/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pytz_deprecation_shim-0.1.0.post0.tar.gz 60190 BLAKE2B a6d186ca6fff17a3fb787ad6164fcf45fbac272e6123491a6822699cf54a115c9941f2b1ee3d227f531a0ab1d11846300dc24974611cc1671c77405606704754 SHA512 201eea777f4da9def1b060911da5eaa89652f6716d5608278fdc94a2f67af5ea23a8b667cb181e03d5edd7f0a07f4954047621668f4c2e7bb325dd07f454d0b6 diff --git a/dev-python/pytz_deprecation_shim/metadata.xml b/dev-python/pytz_deprecation_shim/metadata.xml deleted file mode 100644 index 12126b02ffe22..0000000000000 --- a/dev-python/pytz_deprecation_shim/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - python@gentoo.org - Python - - - - pytz-deprecation-shim - pganssle/pytz-deprecation-shim - - diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild deleted file mode 100644 index a85eee83b3d10..0000000000000 --- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Shims to make deprecation of pytz easier" -HOMEPAGE=" - https://github.com/pganssle/pytz-deprecation-shim/ - https://pypi.org/project/pytz-deprecation-shim/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - sys-libs/timezone-data -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -src_prepare() { - # apparently used only as a fallback - sed -i -e '/tzdata/d' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild index eb4b15cd91608..3693914f96df0 100644 --- a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild +++ b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/cleo[${PYTHON_USEDEP}] diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest index bc38d551258f5..8d4f401e669a7 100644 --- a/dev-python/pyupgrade/Manifest +++ b/dev-python/pyupgrade/Manifest @@ -1,2 +1,3 @@ DIST pyupgrade-3.12.0.gh.tar.gz 63321 BLAKE2B 8b8e5f637c4cd59d5c208bd3d5a620c9462ba1998dd88ead150240fb4b2eece78d97b611b91ecc6fe800f22f19705fb97eaf38c3e3a6fa8efcf2c9cf88435849 SHA512 1d585491fb1da8ec0ac269fe3cd068f515dfea5fd54454906d91ef316bb740443e6140669a4bbc1fe762feea9e637a2f553e606695d7bfc352280b52b663e33d DIST pyupgrade-3.13.0.gh.tar.gz 63800 BLAKE2B b1e5c1288b36f7193aae03476ceb0009bd193d0c2801e425501580bb0c8800d7bb101587999133673f15a874956763d55cb8b920e267f135b5d5743de0666769 SHA512 9cd1392bc9522ebffc30e9f9344cbf753f930b684c7022f19d50de69463dea35ec5ea60bba4e6f5ebc74936c784beff57b44d0e7c1c83d03d21f3b57c537e243 +DIST pyupgrade-3.14.0.gh.tar.gz 64107 BLAKE2B a9499bd5db04c37a427ad1aea17f8c7c2fee53175e84351b4c94e8685c31f30683dfc381c4e99335909650f0ea13e474b01f8fba529e728526ec6330a099f75d SHA512 818b1caa83771cbcc8b9577e6d0b9d9c6c6a42fd88b43aea5be3abeacce902a1b5a7f454e002fa7c7379e1d6093aaba362bf97de1d504d209dc44cfb5a63b795 diff --git a/dev-python/pyupgrade/pyupgrade-3.14.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.14.0.ebuild new file mode 100644 index 0000000000000..19a841ef7effd --- /dev/null +++ b/dev-python/pyupgrade/pyupgrade-3.14.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Tool + pre-commit hook to automatically upgrade syntax for newer Pythons" +HOMEPAGE=" + https://github.com/asottile/pyupgrade/ + https://pypi.org/project/pyupgrade/ +" +# no tests in sdist, as of 3.3.2 +SRC_URI=" + https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/tokenize-rt-5.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 0fbc25a5608cb..375b0618acf90 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,2 +1,4 @@ DIST pyzotero-1.5.10.tar.gz 526403 BLAKE2B f62607b14dd558f7d3bb74e9758ae3bc762df178ce92c31253d183609dc0e8c48e67382457a6078139e003076ee8b1cd20959d807fdf9fd8bf1cf2c383bbdf1a SHA512 9fe4c337e597786ada1cfdfbe1bbb42f03356e3a1258760f945f22e17fd3c48a77ad1f92b3854fc36be4ffcbaf9453cd7109f2bd339b2bfe837719fdbc71b129 +DIST pyzotero-1.5.15.tar.gz 527652 BLAKE2B dee831d15cb5a387b985ff1a85fd505b5063dc7348a61a1acc4a5b1c730fe7ec2f55096697df14df16e17c32cb2d15460f9896eb28d9481a08c96f149716a4f2 SHA512 0061e08983aaef115a88e181093b5e7bca521f5a627dfbfc7ccdf56ff7d606aca2c1d70001dc3c93cc621b621d1909f9d0f6acb25a65b04e0bf9764ed969de8b +DIST pyzotero-1.5.16.tar.gz 527689 BLAKE2B b772368057c7ef078dbbe187ae4089a1d0dec883de9ffcced875b111478cad5ab48b23f48411426be6e17db61e741a359e275a0615a84071cbab8cd635779485 SHA512 56521688229399eff1997e42212e155dc691f6fe1f28e8db997dd5419e93552854c974f4069d34c19678bf1df9e7b0d0328c52993bd5f4a5e5f33853347fa033 DIST pyzotero-1.5.9.tar.gz 526093 BLAKE2B bf29b557226363d71d536c41fb168b55b0d63dace5789f8abc92b8342bffb1ddcb4344132a68cc401db0ca0a536f534141690b017bc4dcf4d45299dec308a554 SHA512 be8c2135d3cc1bc5defc27a4eaf5233ced01a7c84cdf89074ce318558728c9356ddcf9e4ede4012b03c1f836dde641fee9366ca954e5d3cf35642638c3e38145 diff --git a/dev-python/pyzotero/pyzotero-1.5.15.ebuild b/dev-python/pyzotero/pyzotero-1.5.15.ebuild new file mode 100644 index 0000000000000..f3a14dc2a0905 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.15.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.21.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/pyzotero/pyzotero-1.5.16.ebuild b/dev-python/pyzotero/pyzotero-1.5.16.ebuild new file mode 100644 index 0000000000000..f3a14dc2a0905 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.16.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.21.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/qiskit-terra/Manifest b/dev-python/qiskit-terra/Manifest index d82c325260294..df08ffda80e62 100644 --- a/dev-python/qiskit-terra/Manifest +++ b/dev-python/qiskit-terra/Manifest @@ -46,6 +46,7 @@ DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b41651872 DIST pyo3-macros-backend-0.19.1.crate 49916 BLAKE2B 930774ee7ec936bbefc4ea81e2496cd15438dc82954ec7b85c0bc42b290b41c60869f8b31e109ba16a373d3ebf1e0058c0c7ef7d4911ae40feb99fb61d66a745 SHA512 7c7949588a15ef57b12f11e903c1110228bb653212761c97ff50399aa39be97108b471a2cdf47afb307f6c86bfb24b3e9ab32fd08e0550ee27e8808f2acd5145 DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e DIST qiskit-0.25.1.gh.tar.gz 12138283 BLAKE2B 6fcc24f01888d1e1e8a2dbc491f361d1fb2afd306cfa5da9ffd26e7448224a210ce3e7ab1ecf04efb36be7c85a6ccbf71a8d4817a291fe0af1b66e6297d1e6e1 SHA512 bc1fefcabacfaa65cef35f0a9fbdb04f42a188ef811e2115b0e44dbc85d2cb8f2c6c1403e0d59728b7f69b5ff7420808abd8aafa422640ad5df967275f763523 +DIST qiskit-0.25.2.gh.tar.gz 12330466 BLAKE2B 6bf11f841372a4be5e836457c87ce30b70a93f4e00cdd4af32f17bcbe9af5fd6c09f92f6734888c899ddf5dba59fa3b249995dcf85df2606b55a727562e4dc0e SHA512 e6b19990ad3e4e540817b8134e772bbcb772f9755cde6fe3a7e241bc4f0bc92f501bfd0ef52311394e7297e685aeb1d2c1a8494fce54dc784fe84c16884f507f DIST qiskit-terra-0.25.0.gh.tar.gz 10378062 BLAKE2B 6c5a30f9e3d8ffb8ac6415b1afbe4965031aae5e9959d9aa6b5a0fe7f269e0d61958161be5c67a22f861a8ba474ba37d197e51ac1b89340725729be0a6906cab SHA512 9c50c71a956d46858dc7e9d3634dc71f71a079c89b2651eb5dd5e921628bd64e73c6779dc70cbac5b6186c7374023ac6b036472213ce447aee6817fd0a433288 DIST quote-1.0.28.crate 28382 BLAKE2B 9fb16c3bb2a7fec3d8138ffec1f58277061f4a643c9051e1f6525f9e347ed9de41a3797eb3140a6dd828526eb4114c1f7ca562151dc933f338d64b175ed35d9f SHA512 846d718153f78cbae6dc714caa9413a5d5964bcc5e032f5c6c5356c62c33bf22635955ebdff0dede69ba1c9657387e65d61de7c537f6f56f8060721dfa52d735 DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 diff --git a/dev-python/qiskit-terra/qiskit-terra-0.25.2.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.25.2.ebuild new file mode 100644 index 0000000000000..e6bed22000a8b --- /dev/null +++ b/dev-python/qiskit-terra/qiskit-terra-0.25.2.ebuild @@ -0,0 +1,188 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +CRATES=" + ahash@0.7.6 + ahash@0.8.3 + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + crossbeam-channel@0.5.8 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.14 + crossbeam-utils@0.8.15 + either@1.8.1 + fixedbitset@0.4.2 + getrandom@0.2.9 + hashbrown@0.12.3 + hermit-abi@0.2.6 + indexmap@1.9.3 + indoc@1.0.9 + itertools@0.10.5 + libc@0.2.144 + libm@0.2.7 + lock_api@0.4.9 + matrixmultiply@0.3.7 + memoffset@0.8.0 + memoffset@0.9.0 + ndarray@0.15.6 + num-bigint@0.4.3 + num-complex@0.4.3 + num-integer@0.1.45 + num-traits@0.2.15 + num_cpus@1.15.0 + numpy@0.19.0 + once_cell@1.17.2 + parking_lot@0.12.1 + parking_lot_core@0.9.7 + petgraph@0.6.3 + ppv-lite86@0.2.17 + priority-queue@1.3.1 + proc-macro2@1.0.59 + pyo3-build-config@0.19.2 + pyo3-ffi@0.19.2 + pyo3-macros-backend@0.19.2 + pyo3-macros@0.19.2 + pyo3@0.19.2 + quote@1.0.28 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_distr@0.4.3 + rand_pcg@0.3.1 + rawpointer@0.2.1 + rayon-cond@0.2.0 + rayon-core@1.11.0 + rayon@1.7.0 + redox_syscall@0.2.16 + rustc-hash@1.1.0 + rustworkx-core@0.13.1 + scopeguard@1.1.0 + smallvec@1.10.0 + syn@1.0.109 + target-lexicon@0.12.7 + unicode-ident@1.0.9 + unindent@0.1.11 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-sys@0.45.0 + windows-targets@0.42.2 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_msvc@0.42.2 + windows_i686_gnu@0.42.2 + windows_i686_msvc@0.42.2 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_msvc@0.42.2 +" + +inherit cargo distutils-r1 multiprocessing optfeature + +MY_P=qiskit-${PV} +DESCRIPTION="Terra is the foundation on which Qiskit is built" +HOMEPAGE=" + https://github.com/Qiskit/qiskit/ + https://pypi.org/project/qiskit-terra/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3 MPL-2.0 ) +" +SLOT="0" +IUSE="+visualization" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/rustworkx-0.13.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + >=dev-python/ply-3.10[${PYTHON_USEDEP}] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${PYTHON_USEDEP}] + >=dev-python/dill-0.3[${PYTHON_USEDEP}] + >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + =dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + >=dev-python/ipywidgets-7.3.0[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] + >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] + test? ( + app-text/poppler[png] + >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] + >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] + >=dev-python/networkx-2.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/qiskit-aer[${PYTHON_USEDEP}] + >=sci-libs/scikit-learn-0.20.0[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED=" + usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so + usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so +" + +distutils_enable_tests pytest + +src_prepare() { + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' qiskit/test/base.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw + test/python/primitives/test_backend_estimator.py::TestBackendEstimator::test_bound_pass_manager + test/python/primitives/test_backend_sampler.py::TestBackendSampler::test_bound_pass_manager + test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin + test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + ) + + rm -rf qiskit || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Run the Python test suite rather than everything under test/ which + # includes the 'randomized' suite. Upstream run that in a separate CI job. + # Note: use -p timeout --timeout 500 if debugging hanging tests. + epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal test/python +} + +pkg_postinst() { + optfeature "qiskit.circuit.classicalfunction support" dev-python/tweedledum +} diff --git a/dev-python/radon/radon-6.0.1.ebuild b/dev-python/radon/radon-6.0.1.ebuild index 520b0f6f49135..be3e9f7dcf95a 100644 --- a/dev-python/radon/radon-6.0.1.ebuild +++ b/dev-python/radon/radon-6.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/readme-renderer/readme-renderer-42.0.ebuild b/dev-python/readme-renderer/readme-renderer-42.0.ebuild index b241dd84c3b1f..bb69a7ba0663d 100644 --- a/dev-python/readme-renderer/readme-renderer-42.0.ebuild +++ b/dev-python/readme-renderer/readme-renderer-42.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong x86" +KEYWORDS="amd64 arm arm64 ~loong ~sparc x86" RDEPEND=" >=dev-python/docutils-0.13.1[${PYTHON_USEDEP}] diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index dffc8963eb5ca..14611da52d5b2 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1,3 +1,2 @@ -DIST redis-py-4.5.5.gh.tar.gz 4748642 BLAKE2B 6e924477be81af995190328b8747e2eac3d905fcff8cd97c6f89702e3888a4185918144cf11b9173b25dd4c2e62ce988e2f1f5b2c1261bb35e64031772a5a81a SHA512 f1d8f1b009f30613776904cef42a090a51da2833d667d47f9650c9a35187d11911d5b23b20f2ba2279714758963830c873473028775f39419e4d996da54eee83 DIST redis-py-5.0.0.gh.tar.gz 4767898 BLAKE2B 0dc1fcafe7ad82c00bf634e19b5afb7201f39dfd26dfcce398fbc40cff79fe03d3e2ecc2acccebf1405700fb72fc5894ce1b8438b55e6c10d52ec08124da50cb SHA512 24133be64b73a58edd7b0361a8b168b67f0e783576aaf0007f4b4b8d6032a227d6ebc7319c89fc323fc72ef1063e4a899d9a8be9eaa833d347345a59a65fff31 DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01 SHA512 05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130 diff --git a/dev-python/redis/redis-4.5.5.ebuild b/dev-python/redis/redis-4.5.5.ebuild deleted file mode 100644 index 54cd0ebf54afd..0000000000000 --- a/dev-python/redis/redis-4.5.5.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -MY_P=redis-py-${PV} -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE=" - https://github.com/redis/redis-py/ - https://pypi.org/project/redis/ -" -SRC_URI=" - https://github.com/redis/redis-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - # TODO - tests/test_commands.py::TestRedisCommands::test_acl_list - # redis-7 different return - tests/test_commands.py::TestRedisCommands::test_xautoclaim - # hangs on all targets - tests/test_asyncio/test_cwe_404.py::test_standalone - ) - - # TODO: try to run more servers? - epytest -m "not redismod and not onlycluster and not replica and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - if has_version ">=dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/redis/redis-5.0.0.ebuild b/dev-python/redis/redis-5.0.0.ebuild index 00bec2d400ad1..93562e3c2c3c0 100644 --- a/dev-python/redis/redis-5.0.0.ebuild +++ b/dev-python/redis/redis-5.0.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/referencing/referencing-0.30.2.ebuild b/dev-python/referencing/referencing-0.30.2.ebuild index 3e7aecf07a378..904427f59b2fd 100644 --- a/dev-python/referencing/referencing-0.30.2.ebuild +++ b/dev-python/referencing/referencing-0.30.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/rpds-py/rpds-py-0.9.2.ebuild b/dev-python/rpds-py/rpds-py-0.9.2.ebuild index 949ae96d7031b..58ed603ca609e 100644 --- a/dev-python/rpds-py/rpds-py-0.9.2.ebuild +++ b/dev-python/rpds-py/rpds-py-0.9.2.ebuild @@ -63,7 +63,7 @@ LICENSE+=" Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 9f11cb78a80a5..f67e562606862 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,2 +1,3 @@ DIST ruamel.yaml-0.17.32.tar.xz 190144 BLAKE2B fe58904cacff21bd64eb7e9cc4ea613ae0ad8e6718f568f64876385b70b6c2ce2bc6137537ddf9d3c7e9c08c66a1112f78527080c025fb5655ddce2b73a4f477 SHA512 e78ae975c3a7281d69ca965604fbc7f014cf8aaec9e51e27c795caefc5708019c57629f54044b12833bca0c846a8005fc0b95e64f75b2da226cdca2fefbcd8ae DIST ruamel.yaml-0.17.33.tar.xz 190420 BLAKE2B 93a91f1ad6e17bf0a4f6d90e782786aafe959f298c4bf109c62450fbb42df79908f9037b8e7535dbcb33eacbef0680fec72a800918045c01b427eba07bb32090 SHA512 75b13e920298b729ce9ac764162864eaf8492795b3ae3bad7dfe1ad4e5cc92e84ae5063859ae694d6334bb3e9660ba68cbf56888674f98ac787ff10266373e15 +DIST ruamel.yaml-0.17.34.tar.xz 190824 BLAKE2B e396b59f94a18e77e7bd3d42cc8f934b8b2c8adbd1292861dde18136bc6aa585e4ba90db0b4631f15737c9c2d8fc49ca8fd2d12bc7b5a96e6a2672db7c87ba0f SHA512 7b5098b3e3aa6aa38158626a139fe98e1c90d37870a81ade50b0dd446a5b772623a7759ff0dccee2a1346ed442bcaabe4be34af9f5760b4bfb91cce46673b5c1 diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.34.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.34.ebuild new file mode 100644 index 0000000000000..128dbc52c0bb5 --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.34.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +MY_P="${P/-/.}" +DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" +HOMEPAGE=" + https://pypi.org/project/ruamel.yaml/ + https://sourceforge.net/projects/ruamel-yaml/ +" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] + !dev-python/namespace-ruamel +" +BDEPEND=" + test? ( + dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + _test/test_deprecation.py::test_collections_deprecation + ) + local EPYTEST_IGNORE=( + # Old PyYAML tests from lib/ require special set-up and are + # invoked indirectly via test_z_olddata, tell pytest itself + # to leave the subdir alone. + _test/lib/ + ) + + # this is needed to keep the tests working while + # dev-python/namespace-ruamel is still installed + distutils_write_namespace ruamel + epytest +} diff --git a/dev-python/setuptools-scm/Manifest b/dev-python/setuptools-scm/Manifest index f28feba89e0db..1aabe119937bd 100644 --- a/dev-python/setuptools-scm/Manifest +++ b/dev-python/setuptools-scm/Manifest @@ -1,4 +1,5 @@ DIST setuptools-scm-8.0.1.tar.gz 71827 BLAKE2B 4011879490a02f5bb8b4fa0292ee696010cca9cb5c322854f2c342b4c02a86f7a31535c3fe7b4e6eab4fb77c90a469714227c1487ee7e1c1d4de3a4db1137b6b SHA512 05c087cbcb8bf2f03d68cf91e5545c25dea85d61d16c26194ade42a5e78a573f1adc4265897998d4b151834e994b3aa32e02a1eb2fa103a4cd1f3c8e3b78d8d4 DIST setuptools-scm-8.0.2.tar.gz 72614 BLAKE2B 80dedf269f504a632f6b8c8ceafc28948e359825b926ac851219171db4015856aaebde8c0e8ee81dc807bb1b25010d686a039063922046dc4d72beacf14914c6 SHA512 1a636f452cbe61fc1bc6fca49032e7d12b80fe5d8931f292cfa295d6787fb9273fd7f3887f3f74d60c1da19f4e2f676d038fd860c0410838225cad95e6375f9b DIST setuptools-scm-8.0.3.tar.gz 72824 BLAKE2B f45b3bf67cc259e18fbd3a155d10967cf7c6a9df69d6bff7cc452236da3c3e1d0205ff7f5523c5bfdcbdbf5056e00f06c21dc1178edf14b386a0b89e95c947c1 SHA512 7002da1abdabbf617fb92b94aa04f6fe90aa5cbe26ae7ff8a9df0c53b35e8d13e6294ed38373d081ccafe375b376d52e72d5c7a031dbfb356aa0ee3221641096 +DIST setuptools-scm-8.0.4.tar.gz 74280 BLAKE2B 317f4955365b6b7d21ddecc846b0158a72537692b70b5f2092183bd93af119875054d775628659b113dec3bdb94575485b6f1e58760f1580b143dc3b0882cb57 SHA512 1b584f20dfad115f379a97de9e96bb3b36ab00986381748c2f395facd26ce01a6556ccfbabeb8f0cf9ce8720b26ce3a00040dba02cc689701ccf1d31f13277da DIST setuptools_scm-7.1.0.tar.gz 71904 BLAKE2B be5ae215dadcc290290762b732434258409ecc2d71cdf1332ffe73431effae7cbc33e052a718efd952be79350171ed3e468492fc719bc08750dc23364fb0ee9d SHA512 bd7260672c213db6b8c5842dbb6ac69e69ce040777865c935033971f65d905bd8e6b54e174190a924e452c302e69d4c1de231cbc8f603176ba013a739840dad3 diff --git a/dev-python/setuptools-scm/setuptools-scm-8.0.4.ebuild b/dev-python/setuptools-scm/setuptools-scm-8.0.4.ebuild new file mode 100644 index 0000000000000..bd4c320ce6c3c --- /dev/null +++ b/dev-python/setuptools-scm/setuptools-scm-8.0.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools_scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-vcs/git + !sparc? ( + dev-vcs/mercurial + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing/test_git.py::test_git_getdate_signed_commit + + # fetching from the Internet + testing/test_regressions.py::test_pip_download + + # calls flake8, unpredictable + testing/test_functions.py::test_dump_version_flake8 + ) + + if has_version dev-python/nose; then + EPYTEST_DESELECT+=( + # https://bugs.gentoo.org/892639 + testing/test_integration.py::test_pyproject_support + ) + fi + + epytest +} diff --git a/dev-python/shiboken2/Manifest b/dev-python/shiboken2/Manifest index 44289e185b453..5ec5cb3e888e0 100644 --- a/dev-python/shiboken2/Manifest +++ b/dev-python/shiboken2/Manifest @@ -1,2 +1 @@ DIST pyside-setup-opensource-src-5.15.10.tar.xz 3583764 BLAKE2B 7e19e8f8460582012d3fec09ac99f826298cbfcd0887339c2adababb7a21bfc67a2918e91858888e89eca0a6f780929b2a7fa70c28d72ece24b7ea939ca76f56 SHA512 dc548ab870fcc5cc637de1bcb2f428527c650287fdb3720a3ade4638cc0bb12bc4a1ed87e7f6a4ec730a26742e08ceec806bcac6af91c7a01ddc0ce7980a79d2 -DIST pyside-setup-opensource-src-5.15.9.tar.xz 3581660 BLAKE2B 65d5317f9ea55385bbe093cf43c214655effd877feed6409acc4f6f65768dcde8c94c4f29157f8d7dcb36d442c649290764706834885b08ecf9934b383b3e2a4 SHA512 cc63d64b909f1fd98b64a0bba61b278b1a5b60059168287546ee36204ede2df4317eb4ce5638a268d387e6db40fec203631fc4a48e4116a6b4a30d675bf876d3 diff --git a/dev-python/shiboken2/shiboken2-5.15.10.ebuild b/dev-python/shiboken2/shiboken2-5.15.10-r1.ebuild similarity index 99% rename from dev-python/shiboken2/shiboken2-5.15.10.ebuild rename to dev-python/shiboken2/shiboken2-5.15.10-r1.ebuild index 0a971215217a6..b47b73c5ae044 100644 --- a/dev-python/shiboken2/shiboken2-5.15.10.ebuild +++ b/dev-python/shiboken2/shiboken2-5.15.10-r1.ebuild @@ -12,7 +12,7 @@ EAPI=8 # "/usr/bin/shiboken2" at build time and "libshiboken2-*.so" at runtime. # TODO: Add PyPy once officially supported. See also: # https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit cmake llvm python-r1 toolchain-funcs @@ -37,7 +37,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="test" # Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2)*:5" +QT_PV="$(ver_cut 1-3)*:5" # Since Clang is required at both build- and runtime, BDEPEND is omitted here. LLVM_MAX_SLOT=15 diff --git a/dev-python/shiboken2/shiboken2-5.15.9.ebuild b/dev-python/shiboken2/shiboken2-5.15.9.ebuild deleted file mode 100644 index 8fb400960db97..0000000000000 --- a/dev-python/shiboken2/shiboken2-5.15.9.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Split the "/usr/bin/shiboken2" binding generator from the -# "/usr/lib64/libshiboken2-*.so" family of shared libraries. The former -# requires everything (including Clang) at runtime; the latter only requires -# Qt and Python at runtime. Note that "pip" separates these two as well. See: -# https://doc.qt.io/qtforpython/shiboken2/faq.html#is-there-any-runtime-dependency-on-the-generated-binding -# Once split, the PySide2 ebuild should be revised to require -# "/usr/bin/shiboken2" at build time and "libshiboken2-*.so" at runtime. -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake llvm python-r1 toolchain-funcs - -MY_P=pyside-setup-opensource-src-${PV} - -DESCRIPTION="Python binding generator for C++ libraries" -HOMEPAGE="https://wiki.qt.io/PySide2" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz" -S="${WORKDIR}/${MY_P}/sources/shiboken2" - -# The "sources/shiboken2/libshiboken" directory is triple-licensed under the -# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 -# with version 1.0 of a Qt-specific exception enabling shiboken2 output to be -# arbitrarily relicensed. (TODO) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" -IUSE="+docstrings numpy test vulkan" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2)*:5" - -# Since Clang is required at both build- and runtime, BDEPEND is omitted here. -LLVM_MAX_SLOT=15 -RDEPEND="${PYTHON_DEPS} - =dev-qt/qtcore-${QT_PV} - =dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - =dev-qt/qtxml-${QT_PV} - =dev-qt/qtxmlpatterns-${QT_PV} - ) - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) - vulkan? ( dev-util/vulkan-headers ) -" -DEPEND="${RDEPEND} - test? ( =dev-qt/qttest-${QT_PV} ) -" - -DOCS=( AUTHORS ) - -PATCHES=( - "${FILESDIR}"/${PN}-5.15.5-python311-1.patch - "${FILESDIR}"/${PN}-5.15.5-python311-2.patch - "${FILESDIR}"/${PN}-5.15.5-python311-3.patch - "${FILESDIR}"/${PN}-5.15.6-fix-pyside2-compile.patch - "${FILESDIR}"/${PN}-5.15.8-py-limited-api.patch - "${FILESDIR}"/${PN}-5.15.5-add-numpy-1.23-compatibility.patch -) - -# Ensure the path returned by get_llvm_prefix() contains clang as well. -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -src_prepare() { - # TODO: File upstream issue requesting a sane way to disable NumPy support. - if ! use numpy; then - sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \ - libshiboken/CMakeLists.txt || die - fi - - # Shiboken2 assumes Vulkan headers live under either "$VULKAN_SDK/include" - # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". - if use vulkan; then - sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ - ApiExtractor/clangparser/compilersupport.cpp || die - fi - - # Shiboken2 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" - # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the - # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is - # the largest version specifier that exists under the "/usr/lib/clang/" - # subdirectory. This assumption is false in edge cases, including when - # users downgrade from newer Clang versions but fail to remove those - # versions with "emerge --depclean". See also: - # https://github.com/leycec/raiagent/issues/85 - # - # Sadly, the clang-* family of functions exported by the "toolchain-funcs" - # eclass are defective, returning nonsensical placeholder strings if the - # end user has *NOT* explicitly configured their C++ compiler to be Clang. - # PySide2 does *NOT* care whether the end user has done so or not, as - # PySide2 unconditionally requires Clang in either case. See also: - # https://bugs.gentoo.org/619490 - sed -i -e 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'$(CPP=clang clang-fullversion)'/include"))~' \ - ApiExtractor/clangparser/compilersupport.cpp || die - - cmake_src_prepare -} - -src_configure() { - # Minimal tests for now, 2 failing with the extended version - # FIXME Subscripted generics cannot be used with class and instance checks - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DDISABLE_DOCSTRINGS=$(usex !docstrings) - ) - - shiboken2_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DUSE_PYTHON_VERSION="${EPYTHON#python}" - ) - # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. - local -x LLVM_INSTALL_DIR="$(get_llvm_prefix "${LLVM_MAX_SLOT}")" - cmake_src_configure - } - python_foreach_impl shiboken2_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - python_foreach_impl cmake_src_test -} - -src_install() { - shiboken2_install() { - cmake_src_install - python_optimize - - # Uniquify the "shiboken2" executable for the current Python target, - # preserving an unversioned "shiboken2" file arbitrarily associated - # with the last Python target. - cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die - - # Uniquify the Shiboken2 pkgconfig file for the current Python target, - # preserving an unversioned "shiboken2.pc" file arbitrarily associated - # with the last Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl shiboken2_install - - # CMakeLists.txt installs a "Shiboken2Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., PySide2) to target one "libshiboken2-*.so" - # library and one "shiboken2" executable linked to one Python interpreter. - # See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i \ - -e 's~shiboken2-python[[:digit:]]\+\.[[:digit:]]\+~shiboken2${PYTHON_CONFIG_SUFFIX}~g' \ - -e 's~/bin/shiboken2~/bin/shiboken2${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)"/cmake/Shiboken2*/Shiboken2Targets-${CMAKE_BUILD_TYPE,,}.cmake || die - - # Remove the broken "shiboken_tool.py" script. By inspection, this script - # reduces to a noop. Moreover, this script raises the following exception: - # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py' - rm "${ED}"/usr/bin/shiboken_tool.py || die -} diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest index 4e27687b13645..94251ca94c20b 100644 --- a/dev-python/shiboken6/Manifest +++ b/dev-python/shiboken6/Manifest @@ -1,2 +1 @@ -DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d SHA512 fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21 SHA512 ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403 diff --git a/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild b/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild deleted file mode 100644 index d7d5a598c11e0..0000000000000 --- a/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: Split the "/usr/bin/shiboken6" binding generator from the -# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former -# requires everything (including Clang) at runtime; the latter only requires -# Qt and Python at runtime. Note that "pip" separates these two as well. See: -# https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding -# Once split, the PySide6 ebuild should be revised to require -# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime. -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake llvm python-r1 toolchain-funcs - -MY_PN="pyside-setup-everywhere-src" - -DESCRIPTION="Python binding generator for C++ libraries" -HOMEPAGE="https://wiki.qt.io/PySide6" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" -S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/shiboken6" - -# The "sources/shiboken6/libshiboken" directory is triple-licensed under the -# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 -# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be -# arbitrarily relicensed. (TODO) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+docstrings numpy test vulkan" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2)*:6" - -# Since Clang is required at both build- and runtime, BDEPEND is omitted here. -LLVM_MAX_SLOT=15 -RDEPEND="${PYTHON_DEPS} - =dev-qt/qtbase-${QT_PV} - =dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - ) - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) - vulkan? ( dev-util/vulkan-headers ) -" -DEPEND="${RDEPEND} - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" -# testlib is toggled by the gui flag on qtbase - -DOCS=( AUTHORS ) - -PATCHES=( - "${FILESDIR}/${PN}-6.3.1-no-strip.patch" -) - -# Ensure the path returned by get_llvm_prefix() contains clang as well. -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -src_prepare() { - # TODO: File upstream issue requesting a sane way to disable NumPy support. - if ! use numpy; then - sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \ - libshiboken/CMakeLists.txt || die - fi - - # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" - # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". - if use vulkan; then - sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ - ApiExtractor/clangparser/compilersupport.cpp || die - fi - - # Shiboken6 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" - # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the - # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is - # the largest version specifier that exists under the "/usr/lib/clang/" - # subdirectory. This assumption is false in edge cases, including when - # users downgrade from newer Clang versions but fail to remove those - # versions with "emerge --depclean". See also: - # https://github.com/leycec/raiagent/issues/85 - # - # Sadly, the clang-* family of functions exported by the "toolchain-funcs" - # eclass are defective, returning nonsensical placeholder strings if the - # end user has *NOT* explicitly configured their C++ compiler to be Clang. - # PySide6 does *NOT* care whether the end user has done so or not, as - # PySide6 unconditionally requires Clang in either case. See also: - # https://bugs.gentoo.org/619490 - sed -i -e 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'$(CPP=clang clang-fullversion)'/include"))~' \ - ApiExtractor/clangparser/compilersupport.cpp || die - - cmake_src_prepare -} - -src_configure() { - # Minimal tests for now, 2 failing with the extended version - # FIXME Subscripted generics cannot be used with class and instance checks - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DDISABLE_DOCSTRINGS=$(usex !docstrings) - ) - - shiboken6_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DUSE_PYTHON_VERSION="${EPYTHON#python}" - ) - # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. - local -x LLVM_INSTALL_DIR="$(get_llvm_prefix "${LLVM_MAX_SLOT}")" - cmake_src_configure - } - python_foreach_impl shiboken6_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - python_foreach_impl cmake_src_test -} - -src_install() { - shiboken6_install() { - cmake_src_install - python_optimize - - # Uniquify the "shiboken6" executable for the current Python target, - # preserving an unversioned "shiboken6" file arbitrarily associated - # with the last Python target. - cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die - - # Uniquify the Shiboken6 pkgconfig file for the current Python target, - # preserving an unversioned "shiboken6.pc" file arbitrarily associated - # with the last Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl shiboken6_install - - # CMakeLists.txt installs a "Shiboken6Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., PySide6) to target one "libshiboken6-*.so" - # library and one "shiboken6" executable linked to one Python interpreter. - # See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i \ - -e 's~shiboken6-python[[:digit:]]\+\.[[:digit:]]\+~shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ - -e 's~/bin/shiboken6~/bin/shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)"/cmake/Shiboken6/Shiboken6Targets-${CMAKE_BUILD_TYPE,,}.cmake || die - - # Remove the broken "shiboken_tool.py" script. By inspection, this script - # reduces to a noop. Moreover, this script raises the following exception: - # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py' - rm "${ED}"/usr/bin/shiboken_tool.py || die -} diff --git a/dev-python/shiboken6/shiboken6-6.5.2.ebuild b/dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild similarity index 99% rename from dev-python/shiboken6/shiboken6-6.5.2.ebuild rename to dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild index b5ec49a76c681..365771516fcd4 100644 --- a/dev-python/shiboken6/shiboken6-6.5.2.ebuild +++ b/dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild @@ -37,7 +37,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="test" # Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2)*:6" +QT_PV="$(ver_cut 1-3)*:6" # Since Clang is required at both build- and runtime, BDEPEND is omitted here. LLVM_MAX_SLOT=15 diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 426a52733e011..1e30672c6c8dc 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,3 +1,4 @@ DIST sqlglot-18.10.1.tar.gz 8803525 BLAKE2B 4e500eb9239fc5a3169a8f00aa022ff579f750c5c4c13e0906a4a6749216051a8b1f69d83b1d5f1ab118abb20f79b83f7881c5cef74d8d8a1066be1fcc1e588f SHA512 09ae7bb28cedd6d9c267694dbc38dcea75a860fb54e60d412f78a36629abba70e1be42683b220eec918f9f59782ce014625e1e7b15d17bc57dcf3658d49b95b7 +DIST sqlglot-18.11.2.tar.gz 8833005 BLAKE2B eee98c392bd40cc552cdb09a6d4e60ff21d0f75c59d2961994409de7ac44d702c28aa01472e4406dbb6c8ac4d3496e71fc4ac2bea5e82c48d47cdd98111d5e79 SHA512 855686bd8bdaba68f564dbff0005c0362c83b146fd5d6da3a3d948657384201d2fe825a758f960650f540dcaef5c073197fdfb34fe788331d20bcaf44f03a10a DIST sqlglot-18.8.0.tar.gz 8764753 BLAKE2B f1a01a1dc939a53476d396c66e74b1ec0550f557ef2eac1bec5001229964e2838655d361612b20527fae0f8112ccc940295cd0d92e83d5ba1f272f4d9372374b SHA512 3e98ff8ad4e6061c41d90b33c7982b46b8e06680d14e989923077d61ac93d390df64df6ff182a1c87911979dd84ac493275bbc091bcdcc9a1dfce2a4091c7fa7 DIST sqlglot-18.9.0.tar.gz 8790638 BLAKE2B c951ee964b888dadaa3fd974bad89a689e9be9e5d17f42e5387c8c97152604205df7871294cb249ce9a0f6ed6a66fb41aba0f6596851e96252444c06908b91f1 SHA512 1e24d7936e94ced97ccc290634392434c064732017fa012b270632336663faa2315658e3dfc9d3bbd94648220f412c91cb9d0d4b97b3f26a21fa2129f4fce84a diff --git a/dev-python/sqlglot/sqlglot-18.11.2.ebuild b/dev-python/sqlglot/sqlglot-18.11.2.ebuild new file mode 100644 index 0000000000000..368b77416b42a --- /dev/null +++ b/dev-python/sqlglot/sqlglot-18.11.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/tpm2-pytss/files/tpm2-pytss-2.1.0-test-add-check-for-renamed-cryptography-types.patch b/dev-python/tpm2-pytss/files/tpm2-pytss-2.1.0-test-add-check-for-renamed-cryptography-types.patch new file mode 100644 index 0000000000000..c1aeaee4dcd1a --- /dev/null +++ b/dev-python/tpm2-pytss/files/tpm2-pytss-2.1.0-test-add-check-for-renamed-cryptography-types.patch @@ -0,0 +1,45 @@ +From e4006e6066c015d9ed55befa9b98247fbdcafd7d Mon Sep 17 00:00:00 2001 +From: Erik Larsson +Date: Mon, 26 Jun 2023 12:15:41 +0200 +Subject: [PATCH] test: add check for renamed cryptography types + +Some types have changed their names in newer cryptography release, so add them to the tests + +Signed-off-by: Erik Larsson +--- + test/test_crypto.py | 16 ++++++++++++++-- + 1 file changed, 14 insertions(+), 2 deletions(-) + +diff --git a/test/test_crypto.py b/test/test_crypto.py +index 92cda00..7d7466e 100644 +--- a/test/test_crypto.py ++++ b/test/test_crypto.py +@@ -596,11 +596,23 @@ class CryptoTest(TSS2_EsapiTest): + + with self.assertRaises(ValueError) as e: + TPMT_SENSITIVE.from_pem(der) +- self.assertEqual(str(e.exception), "unsupported key type: _DSAPrivateKey") ++ self.assertIn( ++ str(e.exception), ++ ( ++ "unsupported key type: _DSAPrivateKey", ++ "unsupported key type: DSAPrivateKey", ++ ), ++ ) + + with self.assertRaises(ValueError) as e: + TPMT_PUBLIC.from_pem(dsa_public_key) +- self.assertEqual(str(e.exception), "unsupported key type: _DSAPublicKey") ++ self.assertIn( ++ str(e.exception), ++ ( ++ "unsupported key type: _DSAPublicKey", ++ "unsupported key type: DSAPublicKey", ++ ), ++ ) + + def test_from_pem_with_symmetric(self): + sym = TPMT_SYM_DEF_OBJECT(algorithm=TPM2_ALG.AES) +-- +2.41.0 + diff --git a/dev-python/tpm2-pytss/tpm2-pytss-2.1.0.ebuild b/dev-python/tpm2-pytss/tpm2-pytss-2.1.0-r1.ebuild similarity index 85% rename from dev-python/tpm2-pytss/tpm2-pytss-2.1.0.ebuild rename to dev-python/tpm2-pytss/tpm2-pytss-2.1.0-r1.ebuild index 087095e3631ce..18d96bdbc4e2f 100644 --- a/dev-python/tpm2-pytss/tpm2-pytss-2.1.0.ebuild +++ b/dev-python/tpm2-pytss/tpm2-pytss-2.1.0-r1.ebuild @@ -2,9 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) + inherit distutils-r1 pypi DESCRIPTION="Python bindings for TSS" @@ -33,6 +35,10 @@ DEPEND="${RDEPEND} BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}] dev-python/pkgconfig[${PYTHON_USEDEP}]" +PATCHES=( + "${FILESDIR}/${PN}-2.1.0-test-add-check-for-renamed-cryptography-types.patch" + ) + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} distutils_enable_tests pytest diff --git a/dev-python/tweedledum/Manifest b/dev-python/tweedledum/Manifest deleted file mode 100644 index 0ca31a66f0e48..0000000000000 --- a/dev-python/tweedledum/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST tweedledum-1.1.1-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch 4394926 BLAKE2B 1035945714e7a5f5ac8cc41f9b799c6a3f0ded13b2f86098be11705d09029578d7e019cd784c6fb783c1bbaddb49425b5e2ec4bed142f01436620c6ac793e8f5 SHA512 1307e63be3366ec0b52e4238e3ac58c793f437acca95840b0bf15499efb3eae0e339d3c75c61b9a0c2734eaa6be416b6a35b51f784884aef98d86613e0b540d1 -DIST tweedledum-1.1.1.gh.tar.gz 5105832 BLAKE2B 71e3e9baaccc345910d5be3831ea0476b06bc3171311d17fc3f160b7d4c9026bab719b1e80f1d462183cdcc1feb750542e2649c2aab5cdc6d4551ab258866649 SHA512 eda9c0d895d59450150946d52d942174652d305a863a10bafa60300cde63a692a8105b7bb5dcc86aeb610b666945215905cf95859f3726b875c88d5cd3d34891 diff --git a/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch b/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch deleted file mode 100644 index 64a171c50b462..0000000000000 --- a/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/895130 ---- a/external/pybind11/include/pybind11/attr.h -+++ b/external/pybind11/include/pybind11/attr.h -@@ -10,6 +10,7 @@ - - #pragma once - -+#include - #include "cast.h" - - PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE) ---- a/include/tweedledum/IR/Cbit.h -+++ b/include/tweedledum/IR/Cbit.h -@@ -5,6 +5,7 @@ - #pragma once - - #include -+#include - #include - #include - #include diff --git a/dev-python/tweedledum/metadata.xml b/dev-python/tweedledum/metadata.xml deleted file mode 100644 index ef80e29ba7f02..0000000000000 --- a/dev-python/tweedledum/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - gaboroszkar@protonmail.com - Gábor Oszkár Dénes - - - sci@gentoo.org - Gentoo Science Project - - - proxy-maint@gentoo.org - Proxy Maintainers - - - tweedledum is a library for synthesis, compilation, and optimization of quantum circuits. The library is written to be scalable up to problem sizes in which quantum circuits outperform classical ones. Also, it is meant to be used both independently and alongside established tools. - - - boschmitt/tweedledum - tweedledum - - diff --git a/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild b/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild deleted file mode 100644 index 77026b12bc5ad..0000000000000 --- a/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 - -DESCRIPTION="Library for analysis, compilation, synthesis, optimization of quantum circuits" -HOMEPAGE="https://github.com/boschmitt/tweedledum" -SRC_URI="https://github.com/boschmitt/tweedledum/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" -# Drop on next bump, see bug #858200 -SRC_URI+=" https://github.com/boschmitt/tweedledum/commit/e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch -> ${P}-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -# Unbundle dev-python/pybind11[${PYTHON_USEDEP}]? -RDEPEND=" - dev-cpp/nlohmann_json - dev-libs/libfmt:= -" -DEPEND=" - ${RDEPEND} - dev-cpp/eigen -" -BDEPEND=">=dev-python/scikit-build-0.12.0" - -PATCHES=( - "${DISTDIR}"/${P}-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch - "${FILESDIR}"/${PN}-1.1.1-gcc-13.patch -) - -distutils_enable_tests pytest - -python_compile() { - # -DTWEEDLEDUM_USE_EXTERNAL_PYBIND11=ON - local -x SKBUILD_CONFIGURE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" - distutils-r1_python_compile -} - -python_test() { - epytest python/test -} diff --git a/dev-python/twisted/twisted-22.10.0-r3.ebuild b/dev-python/twisted/twisted-22.10.0-r3.ebuild index e611173baef2f..b678b28eafcf5 100644 --- a/dev-python/twisted/twisted-22.10.0-r3.ebuild +++ b/dev-python/twisted/twisted-22.10.0-r3.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="conch http2 serial ssl test" RESTRICT="!test? ( test )" diff --git a/dev-python/twisted/twisted-23.8.0.ebuild b/dev-python/twisted/twisted-23.8.0.ebuild index 461f8eba8d056..8d8f1e807f6ad 100644 --- a/dev-python/twisted/twisted-23.8.0.ebuild +++ b/dev-python/twisted/twisted-23.8.0.ebuild @@ -22,7 +22,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="conch http2 serial ssl test" RESTRICT="!test? ( test )" diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index afbf3b4df506b..8fa77d5ac8490 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,4 +1,2 @@ -DIST typeguard-4.1.0.tar.gz 67584 BLAKE2B d2f6777cad306410d4a536312a981600371e0e0cae224eee286e3b6bd48a0777ca587eb44b4f48fd9a2c7fe5e35d274f5d1c2eb508ed9708b25b686b395976fb SHA512 5a1a374c1b9679cf1d840a750698caea47deae0fcec8eda3312773fd8eee8ccc533030b78c8e1c8bfae6bee79c323ba421176b2c8d2e85a87444ba767891ede7 -DIST typeguard-4.1.3.tar.gz 67821 BLAKE2B 66373b95f9f3c995ad560f4f35318647a6dd8581b1b7ad1a4adbc3f4944a7ca130cc3291d12b062b3c0d05f82ad254249a80ececa5984f4d16fd093deeecc1fb SHA512 bf9914ac33b3c7afb439e96c9319f79ee67591d3bfa7da1f0df50ba7b2bbaf0c3705d45d9fe7215b132f838f4d57ae2c0abe1f4b90c4199520601453d2ca04f8 DIST typeguard-4.1.4.tar.gz 68958 BLAKE2B 92147b2d8e2c444d4e8085ebe337aee4e1be771678ef84c7fca14aef8a3b18c51dd694948fa0b0a4c3bfa1a6e1c11fe38d1990cd734cfbc358a8a54a731e018a SHA512 fc1b8c154d3e26f83241eda5e7781a8d09ac7cb5d5da5809bebf40db7a1691afe008384bdaafbfca4f3eb619e452c8bb841d5691e90bcabb95ab00b710d03c98 DIST typeguard-4.1.5.tar.gz 69228 BLAKE2B 2af39b1cb179483e167b8cfbf053e633f5947b3a17c496aaa2bdf22f3a69f7b41e2c9f317534eb12ffb781364cf81d117ced9fafd389aadd85d16d05e42bff0b SHA512 50bf3760246dba5de2e98038c78acbd6f2fd2d69ae8c688c3efeface5ef6cc4c2521f82d6084dabc1258286ac589ff94f1b9e3c9b67e9b019d725bf13884fce2 diff --git a/dev-python/typeguard/typeguard-4.1.0.ebuild b/dev-python/typeguard/typeguard-4.1.0.ebuild deleted file mode 100644 index fcb8380128ee3..0000000000000 --- a/dev-python/typeguard/typeguard-4.1.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # the XFAIL test pass due to some package being installed - epytest -o xfail_strict=False -} diff --git a/dev-python/typeguard/typeguard-4.1.3.ebuild b/dev-python/typeguard/typeguard-4.1.3.ebuild deleted file mode 100644 index 2d5d1842fcbf1..0000000000000 --- a/dev-python/typeguard/typeguard-4.1.3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # the XFAIL test pass due to some package being installed - epytest -o xfail_strict=False -} diff --git a/dev-python/typeguard/typeguard-4.1.4.ebuild b/dev-python/typeguard/typeguard-4.1.4.ebuild index 26615350643d9..fcb8380128ee3 100644 --- a/dev-python/typeguard/typeguard-4.1.4.ebuild +++ b/dev-python/typeguard/typeguard-4.1.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/tzdata/tzdata-9999.ebuild b/dev-python/tzdata/tzdata-9999.ebuild index 5e212ace5c26b..42001246e79fa 100644 --- a/dev-python/tzdata/tzdata-9999.ebuild +++ b/dev-python/tzdata/tzdata-9999.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://peps.python.org/pep-0615/" LICENSE="public-domain" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" sys-libs/timezone-data diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index 9ebdf4b3c07fb..999e6a2d2ca9f 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -1,3 +1,5 @@ DIST urllib3-1.26.16.tar.gz 303733 BLAKE2B 94c0cfb8696b15ff7aed25927ba584d0d67b150953586ca4d74ddc8f1d0a95ca447a482cf7d0f95728fad1e7e51a610e29c3e342ebe68e65a86789308544ea51 SHA512 caa58af5bf49644459a9074be659511b56c5d66802153c72ba2ba2eb9c0aafd56b4cd8f8588964ee7d2a9b16a5e114d62298ab1e128710260ed86f1e315b5571 +DIST urllib3-1.26.17.tar.gz 305031 BLAKE2B 616b183168a78737988428efa52516586b66cab067d6a257af544c67922156e1e769fbbdd65c8f1ba606f02faa5918e4bafe8c1b27105b8e3f5fe644260d093d SHA512 f26c54def8564981f241a94c915c660d26a52d5437a1e1f4b8ebb6d6cd9de834a31b5816306c2cf2cadc2af00a1633bee97c8bbefa5a45b8e732f7566b4c0327 DIST urllib3-2.0.4.tar.gz 281517 BLAKE2B 58635787069b6d8e83394ddacca2c70824c03190efb4e0838b9b80d8e8c1499fa0143e1d38ece4e2a7f9b34d6b50f9805050bf85707d98eb171307ff35f8b215 SHA512 64d55714d871716730af5a691fc222722cffc13b0603ecae597e5f4cfd82297beede2b08cedc030b2419bd446f51c4c6e54f466ad96c71dd0848abbf806b4db4 DIST urllib3-2.0.5.tar.gz 281697 BLAKE2B 7ae1cc90243cd2069767d4a3f7ca3b96d9e6270f38b363ba2c2cfddeb293cc75782740524bdf91d64bd08dcf1dc44cb9fe6ec2b501d34bdf4c69d893c794382a SHA512 dead3fcda9637c6142b577f051f25578249f7513d3d2bdf4ed880b7a063ff7ee2e946e72b91355328b12205600abc487252ca025f3946408093df46134d9fc12 +DIST urllib3-2.0.6.tar.gz 281846 BLAKE2B 3af632a77f07d5c686e6412b06d67df5c62517239431ead7d0c7e7bbb5efe06c298db0afda1a84fb314f3e3936edd16aef693ac316a923f67232abf8789b6201 SHA512 872a5899ad4486b45fe7a327f029beb5f7d3dd8447b58b861922b32bd15f1cff68d12136f262c2d2d3740047976bc6cff16a54590c1eab19949149e7dae2956a diff --git a/dev-python/urllib3/urllib3-1.26.17.ebuild b/dev-python/urllib3/urllib3-1.26.17.ebuild new file mode 100644 index 0000000000000..fd7fd21b51005 --- /dev/null +++ b/dev-python/urllib3/urllib3-1.26.17.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" +HOMEPAGE=" + https://github.com/urllib3/urllib3/ + https://pypi.org/project/urllib3/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="brotli test" +RESTRICT="!test? ( test )" + +# dev-python/{pyopenssl,cryptography,idna,certifi} are optional runtime +# dependencies. Do not add them to RDEPEND. They should be unnecessary with +# modern versions of python (>= 3.2). +RDEPEND=" + >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] + =dev-python/tornado-4.2.1[\${PYTHON_USEDEP}] + >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] + " "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # unbundle urllib3 + rm src/urllib3/packages/six.py || die + find -name '*.py' -exec sed -i \ + -e 's:\([.]*\|urllib3\.\)\?packages\.six:six:g' \ + -e 's:from \([.]*\|urllib3\.\)\?packages import six:import six:g' \ + {} + || die +} + +python_test() { + local -x CI=1 + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + # unstable (relies on warning count) + test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPProxyManager::test_proxy_verified_warning + ) + has "${EPYTHON}" python3.{8..10} && EPYTEST_DESELECT+=( + test/contrib/test_pyopenssl.py::TestPyOpenSSLHelpers::test_get_subj_alt_name + ) + + epytest +} diff --git a/dev-python/urllib3/urllib3-2.0.6.ebuild b/dev-python/urllib3/urllib3-2.0.6.ebuild new file mode 100644 index 0000000000000..32852e31e793b --- /dev/null +++ b/dev-python/urllib3/urllib3-2.0.6.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" +HOMEPAGE=" + https://github.com/urllib3/urllib3/ + https://pypi.org/project/urllib3/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="brotli test zstd" +RESTRICT="!test? ( test )" + +# [secure] extra is deprecated and slated for removal, we don't need it: +# https://github.com/urllib3/urllib3/issues/2680 +RDEPEND=" + >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] + =dev-python/brotlicffi-0.8.0[${PYTHON_USEDEP}] ) + zstd? ( >=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep " + ${RDEPEND} + dev-python/brotlicffi[\${PYTHON_USEDEP}] + dev-python/freezegun[\${PYTHON_USEDEP}] + dev-python/pytest[\${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}] + dev-python/pytest-xdist[\${PYTHON_USEDEP}] + >=dev-python/tornado-4.2.1[\${PYTHON_USEDEP}] + >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] + >=dev-python/zstandard-0.18.0[\${PYTHON_USEDEP}] + " "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + # upstream considers 0.5 s to be "long" for a timeout + # we get tons of test failures on *fast* systems because of that + sed -i -e '/LONG_TIMEOUT/s:0.5:5:' test/__init__.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x CI=1 + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + # take forever + test/contrib/test_pyopenssl.py::TestSocketSSL::test_requesting_large_resources_via_ssl + test/with_dummyserver/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl + # stupid test, next bump please verify if they fixed it + test/test_poolmanager.py::TestPoolManager::test_deprecated_no_scheme + # fails with newer secure SSL configuration, which removes TLS 1.1 + test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint + test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint + test/with_dummyserver/test_https.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint + test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint + # TODO: timeouts + test/contrib/test_pyopenssl.py::TestSocketClosing::test_timeout_errors_cause_retries + test/with_dummyserver/test_socketlevel.py::TestSocketClosing::test_timeout_errors_cause_retries + # warnings, sigh + test/with_dummyserver/test_connectionpool.py::TestConnectionPool::test_request_chunked_is_deprecated + ) + + # plugins make tests slower, and more fragile + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # some tests are very fragile to timing + epytest -p rerunfailures --reruns=10 --reruns-delay=2 \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/websockets/websockets-11.0.3-r1.ebuild b/dev-python/websockets/websockets-11.0.3-r1.ebuild index a5c8fa1f39630..780348397b0c7 100644 --- a/dev-python/websockets/websockets-11.0.3-r1.ebuild +++ b/dev-python/websockets/websockets-11.0.3-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" distutils_enable_tests pytest diff --git a/dev-python/widgetsnbextension/widgetsnbextension-4.0.8.ebuild b/dev-python/widgetsnbextension/widgetsnbextension-4.0.8.ebuild index 4b0e57c8be649..ba299544b22cc 100644 --- a/dev-python/widgetsnbextension/widgetsnbextension-4.0.8.ebuild +++ b/dev-python/widgetsnbextension/widgetsnbextension-4.0.8.ebuild @@ -19,6 +19,10 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +BDEPEND=" + dev-python/jupyter-packaging[${PYTHON_USEDEP}] +" + RDEPEND=" dev-python/notebook[${PYTHON_USEDEP}] " diff --git a/dev-python/widgetsnbextension/widgetsnbextension-4.0.9.ebuild b/dev-python/widgetsnbextension/widgetsnbextension-4.0.9.ebuild index cf43c5c961b1a..633f9b5dc4f48 100644 --- a/dev-python/widgetsnbextension/widgetsnbextension-4.0.9.ebuild +++ b/dev-python/widgetsnbextension/widgetsnbextension-4.0.9.ebuild @@ -19,6 +19,10 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +BDEPEND=" + dev-python/jupyter-packaging[${PYTHON_USEDEP}] +" + RDEPEND=" dev-python/notebook[${PYTHON_USEDEP}] " diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 75b7216b9338a..eb9a0db409906 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -2,3 +2,4 @@ DIST XlsxWriter-RELEASE_3.1.2.gh.tar.gz 36697835 BLAKE2B 055d0ac2e70ce5f86167f63 DIST XlsxWriter-RELEASE_3.1.3.gh.tar.gz 37317330 BLAKE2B 08dd76cfb7bcb336d0fa64276d11d0cee90809169cf0597739a262b970cc82741ac56beb681e78e7f3d88bec65f4a5c4b7a368ea800aab8bcfc4814e5b679638 SHA512 673b51d7d25fae462fb0b40fbb131ffd32237ee0078d235cbe1bb2fb4cee67bf72955aa555e3f5950bee9be7d256dad9ddadba2df4f50dc774cf1fda7503f43c DIST XlsxWriter-RELEASE_3.1.4.gh.tar.gz 37324495 BLAKE2B ebedb84e46eb73e750b9442969c397bb9c77af807c1bd78fe956bf304ae942cb8575f8f410631c7ae542f9e16c1d5c76385ba232fec109bc5ccf59fd1843b2c3 SHA512 2faa7a9fc03a620c3a1f9230685b2bd09c5b282fb783d36a28de225b1d5e64663db32cd5da1a16ffe3cb4bc886f77b79eb7f13ce460c18f6e88667b9979e504e DIST XlsxWriter-RELEASE_3.1.5.gh.tar.gz 37348174 BLAKE2B ae86c45f63dabe7678a476fcc7aae60de36a0b4b1a422b83ecfb6143ab0b1563ee274ea715aca7147e1fa184a3311c9f7c92c3b7d3c01bf934d5772c635862e3 SHA512 c2da3a2dc52e7f9b887e71828452484edabd99e882a3cbeed9969e04fef538cac2b48042900e9ac4bf8e41ed21178aa498b3ebecd018d2bdd31cad29b81c040b +DIST XlsxWriter-RELEASE_3.1.6.gh.tar.gz 37354453 BLAKE2B a2b54fb38d7c7a60b5814968431b781f533dc0803ed23aed38df4e78ea0d5f9315cddb00ec6d59db340e5cf19142cac2179ace53d42e903d8b0f2cfe64b0385b SHA512 4a7996163ff25881210b729d025998343bf9f142693a40e6f73039a3b4582e668699bbd27e1a77c0bbfba61f2160ecd8cf1179206d011217b46cf11d17b56bc4 diff --git a/dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild new file mode 100644 index 0000000000000..ef0440386377b --- /dev/null +++ b/dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +TAG=RELEASE_${PV} +MY_P=XlsxWriter-${TAG} +DESCRIPTION="Python module for creating Excel XLSX files" +HOMEPAGE=" + https://github.com/jmcnamara/XlsxWriter/ + https://pypi.org/project/XlsxWriter/ +" +SRC_URI=" + https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest diff --git a/dev-python/ytmusicapi/Manifest b/dev-python/ytmusicapi/Manifest index 86405654779ba..8d42c2897ca31 100644 --- a/dev-python/ytmusicapi/Manifest +++ b/dev-python/ytmusicapi/Manifest @@ -1,3 +1 @@ -DIST ytmusicapi-1.1.1.tar.gz 69876 BLAKE2B bdc729033710fd1a1bbfb7ee98c3e0ed4651c1f784f3d3fe2d429bac012d6440a897e38955c88f2d8cbe298e5bfdae4e191a894435a4e27b4f6fde57d9117569 SHA512 f65f568d7837cca06b9e1827d39cbb281adf4c9bbf9c1e1030e320ccaac9df00a343bdfa7036807cea57d205b3501551bed37f71e4c33e7cc5a898412ef9e564 -DIST ytmusicapi-1.2.0.tar.gz 71189 BLAKE2B 99c93d650c1546004db2b13b2b56c6cbaa2450b440c0efe4a09cf97d0944dae307c51d0414c00702dd91653ae0e0f4f88efea75d45a55111647235dd5e0d1476 SHA512 4fa5efcbbc2a5e079cfa588ef4328cc17390edb44ae1261f6de87a18d57e7c1d02009e1b6cac26163ed149b131782692f97ec532cff6ee1040812e7f5a9cf193 DIST ytmusicapi-1.2.1.tar.gz 71105 BLAKE2B 852015adc0b15a34a1a808810c37bb15d6a2ed7bf1fbcd1dfa8dc3559115842a325b9ce45630ed620f15c113d1f75b3811ab4d9b2cb4416ae4b08903ca1c91c7 SHA512 758050e30f6e328aeb0a43b440cd9bab9719730203073def810a33071f7b5c01a34b83ed3615cf4010f54c29b768f166b4a76ab6a49306f8d299f4a933af21aa diff --git a/dev-python/ytmusicapi/ytmusicapi-1.1.1.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.1.1.ebuild deleted file mode 100644 index 7b7932d2da726..0000000000000 --- a/dev-python/ytmusicapi/ytmusicapi-1.1.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unofficial API for YouTube Music" -HOMEPAGE="https://ytmusicapi.readthedocs.io/ - https://github.com/sigma67/ytmusicapi/" - -LICENSE="MIT" -KEYWORDS="amd64 ~x86" -SLOT="0" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" - -distutils_enable_sphinx docs/source \ - dev-python/sphinx-rtd-theme diff --git a/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild deleted file mode 100644 index 7b7932d2da726..0000000000000 --- a/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unofficial API for YouTube Music" -HOMEPAGE="https://ytmusicapi.readthedocs.io/ - https://github.com/sigma67/ytmusicapi/" - -LICENSE="MIT" -KEYWORDS="amd64 ~x86" -SLOT="0" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" - -distutils_enable_sphinx docs/source \ - dev-python/sphinx-rtd-theme diff --git a/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild index 3d685ec4c091c..7b7932d2da726 100644 --- a/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild +++ b/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://ytmusicapi.readthedocs.io/ https://github.com/sigma67/ytmusicapi/" LICENSE="MIT" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" SLOT="0" RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 26f60b47486db..3b1f66712aad1 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -3,4 +3,5 @@ DIST zeroconf-0.112.0.tar.gz 155715 BLAKE2B ce19e2d7798f3bc4e6e3ae5b6d319594f694 DIST zeroconf-0.113.0.tar.gz 155892 BLAKE2B 4de635a601349d2db2e2a0e72c0a1a130e3f9590bde2b1adfd603e758a17362a7588e90dfeeed91841317c0bc977f51ca176fa4e94734641ca8249436e78844c SHA512 e9000ea6d2787598b3203c79446c0f5f5efc833abcc2b625542850383e9905be023c89938adace8f7c06d46fb88263bb556281f0929fb1d5fa822dd55cbe9751 DIST zeroconf-0.114.0.tar.gz 156001 BLAKE2B b3bc076746f5d510ba655dc5de748e7ff7cb0c0b4db371369a0b886828d0721b92b47d3f8c4cf74135aa1642ffef5e4953c12160060a25b714072f3c50215d63 SHA512 e03ac6c6861112e4164a2f20cf1fe2492c39e636c57673b1a2a65d0ac67abfa24739662e27a9628b06add8e5f38554c53b8612c8ff685ed0ad8c97dab51e6250 DIST zeroconf-0.115.0.tar.gz 156238 BLAKE2B 5f32c06e247bff5bfbd0ea53588458e8da6e94a2ee0a33627de1195c6e34fffee7c403cc8c6e234f4ab91cde10af50b3714b6493e5ae33f0523fdb8fd2f8f6bc SHA512 95d0c106e4a5bd5a25d0c91224642ada7cefbe16e3a4fbfff7c31b03c7359d34160c120adb9d4c06fb50be2cb20e298a1e775cd8c7b62f7207d04be59f49f6d8 +DIST zeroconf-0.115.1.tar.gz 156318 BLAKE2B 1322b3ccf7d4d749642bb813b1655aefb410c1e953b89edb6a07196031e8a8fb8cfc923fd5d4a7149b7b25e5a16612ec86c6f353caf326d6cc3cff9a6881f7a3 SHA512 786e0dc1e7a321e37e491220f7aa83c5678ef7396bcf844d4928433fa7a1f43d1c5bb4dca10372ea982de5fb7640f3f8bb4b304ad59f9c6b4017c594bc54af61 DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a diff --git a/dev-python/zeroconf/zeroconf-0.115.1.ebuild b/dev-python/zeroconf/zeroconf-0.115.1.ebuild new file mode 100644 index 0000000000000..b3ff07347a6dd --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.115.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} diff --git a/dev-ruby/mustermann/Manifest b/dev-ruby/mustermann/Manifest index b2cb17aca9c2b..f80e0a7b3bed9 100644 --- a/dev-ruby/mustermann/Manifest +++ b/dev-ruby/mustermann/Manifest @@ -1,3 +1 @@ -DIST mustermann-1.1.2.gem 51712 BLAKE2B 18333b94381f4e250d2af26a5c93f246dd41b310d158937478b190fe60fb7f6261a73b3399ddbfc2bb5cf0fc2ddb457f7919d9e61d132bf8ffa82757ab5f2cea SHA512 5eae07fed9a9df6799909145964bc635beb1be47454bd32219f2e3df8b915e3875db412aae0d67be94ccaf35d8071f553a364363b701076211f7de3b744f1b46 -DIST mustermann-2.0.2.gem 50176 BLAKE2B 82c134d56a11178a085dc3182e61c67e6e83638f637da23124b3b12aa388622a4d073f693bf562109e07b3bfe75f01ce0492b4fd1f050105b61925b59c7a9410 SHA512 ed72ec2e376e160cd315cdd8fb0693993b02d6898167dc6f158049bd8e0a6ad4f98e604108992e5787067ea951be793d2a7e6e47df2d582907868300aaa74e5a DIST mustermann-3.0.0.gem 50176 BLAKE2B fc77327de469f0886de782c577ac164b222bbe18074f1ec63c35a08344cfcdf9a2cb44b453c594e2b153db3055ff1e7bcf969240ade04e70be5cb85a73e486a3 SHA512 c33d41281fe2ac80c0af0c5c31dbab2068c73b9da19a4b82b387bbe551019fc115675634d932a8e56b070c3a06a85d830c982a103e6c5193aff8647f599be6e3 diff --git a/dev-ruby/mustermann/mustermann-1.1.2.ebuild b/dev-ruby/mustermann/mustermann-1.1.2.ebuild deleted file mode 100644 index 7c667d0565611..0000000000000 --- a/dev-ruby/mustermann/mustermann-1.1.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31" - -# There are specs but they depend heavily on unpackaged code. -RUBY_FAKEGEM_RECIPE_TEST="none" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A library implementing patterns that behave like regular expressions" -HOMEPAGE="https://github.com/sinatra/mustermann" - -LICENSE="MIT" -SLOT="1" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="" - -ruby_add_rdepend "=dev-ruby/ruby2_keywords-0.0*" diff --git a/dev-ruby/mustermann/mustermann-2.0.2.ebuild b/dev-ruby/mustermann/mustermann-2.0.2.ebuild deleted file mode 100644 index 70388b88a0f30..0000000000000 --- a/dev-ruby/mustermann/mustermann-2.0.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31" - -# There are specs but they depend heavily on unpackaged code. -RUBY_FAKEGEM_RECIPE_TEST="none" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A library implementing patterns that behave like regular expressions" -HOMEPAGE="https://github.com/sinatra/mustermann" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="" - -ruby_add_rdepend "=dev-ruby/ruby2_keywords-0.0*" diff --git a/dev-ruby/sequel/Manifest b/dev-ruby/sequel/Manifest index 70111265dfce5..26fce3cf83783 100644 --- a/dev-ruby/sequel/Manifest +++ b/dev-ruby/sequel/Manifest @@ -1,2 +1,3 @@ DIST sequel-5.71.0.tar.gz 1738648 BLAKE2B 88837e479680695bdac2e4dbabe824052820ce3061b0fa128fc8083389ce3f94caebf9d17e5349a0bda7d171c22fc13b09048ea8cd36d8631df6f51e1181723b SHA512 283d5a8783d9fd87dd394131c23422d10071cce3f6c0797a7be26cc2d2934309dc867d0479a1c525fe2422a3ab1137452218a259897eaf66d4afce44c06b1882 DIST sequel-5.72.0.tar.gz 1743121 BLAKE2B 8c5211ba20e8cf58d469d05ad02664cae9669c7d13211a1f96e4e8be2b7dde50316d3755d1673c7c419dc9559716d5bcae1235053e2d0afb51b8764400c04048 SHA512 4f0e65dc85d1a59f0801cf0735ce777683227423d6acec1d28e652f2ca8b34c704177898a5aed108dbc1a7834903493ecda40cdc8ea399eab5d39c930e3f927f +DIST sequel-5.73.0.tar.gz 1749172 BLAKE2B 8d2e637d06b9e6e8813ceab47e3d3b062d94fc17a9627a025e5fcd25e2e61b960da2a57bcc6b1cbbf69094a27fe458b29cd625138743607e833ca191eac975d2 SHA512 a86cb1441d3f4f3d2a48b924bc029dcec215268be98d62be1a69bbd4aaee48bc720cce52d93e890997b459e8ff26eeddab456d63f309149cb4c84314e275f08e diff --git a/dev-ruby/sequel/sequel-5.73.0.ebuild b/dev-ruby/sequel/sequel-5.73.0.ebuild new file mode 100644 index 0000000000000..9cffa9a082138 --- /dev/null +++ b/dev-ruby/sequel/sequel-5.73.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" +RUBY_FAKEGEM_GEMSPEC="sequel.gemspec" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem + +DESCRIPTION="A lightweight database toolkit for Ruby" +HOMEPAGE="https://sequel.jeremyevans.net/" +SRC_URI="https://github.com/jeremyevans/sequel/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend "dev-ruby/bigdecimal" + +ruby_add_bdepend "test? ( + dev-ruby/activemodel + dev-ruby/minitest + dev-ruby/minitest-global_expectations + dev-ruby/minitest-hooks + dev-ruby/nokogiri + dev-ruby/tzinfo +)" diff --git a/dev-ruby/twitter/Manifest b/dev-ruby/twitter/Manifest index cd562c4bd17d0..87742ff586912 100644 --- a/dev-ruby/twitter/Manifest +++ b/dev-ruby/twitter/Manifest @@ -1,3 +1,2 @@ -DIST twitter-7.0.0.tar.gz 831181 BLAKE2B aeb888bf1551116916cc10a4c0278dcee541e953c6e1be09bd95f348b8a2a08075d44c4b8beb736b13564d550b5797184c725141c5c3866f5423afddfdfbea19 SHA512 4b0f831ddb1f54fc5894a15010d17b54c62f6caa3eadd6a1f0e0ef37235f29f53f6315c49213244d79ab3708d5a7b1e1b9735d1f35fa291a66d439db916d3ec7 DIST twitter-8.0.0.tar.gz 830698 BLAKE2B 187c37adb2971845730ba8ef15f7350083130c1c2f1704f3dc909aee28e8b7742e1a45b3bac8d198eb45f4e415dd15ebfe0099d9e52b7c5a5ec40ca2a6cdaa2e SHA512 b67e97385cb53cb4d75381fb16a6395d0ea72dc2fa0a900ff072ef0ef87947364967da9070e5a2449f5a938740ac0910a342d8ff3bd62095ecfb468b173a754e DIST twitter-8.0.1.tar.gz 830580 BLAKE2B a6a89eeaaf0095b022f31363d153fe980777e6588755115e6a3ee469ece8a753c9abf72747e986858562ec0ea4ca9b0eed31067aee1713dadc221b705db33d7e SHA512 864b882e2797efe7e3c846b8ea39bb323395cacc42128d6a1fe74106249ca4e3419efd04237c5b46a697ce0204a109fbd1af906917820d67f1a2b1ecb71501fa diff --git a/dev-ruby/twitter/twitter-7.0.0-r3.ebuild b/dev-ruby/twitter/twitter-7.0.0-r3.ebuild deleted file mode 100644 index 8ba69d61035da..0000000000000 --- a/dev-ruby/twitter/twitter-7.0.0-r3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_DOC="yard" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="twitter.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Ruby wrapper around the Twitter API" -HOMEPAGE="https://github.com/sferik/twitter/" -SRC_URI="https://github.com/sferik/twitter/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend " - >=dev-ruby/addressable-2.3 - =dev-ruby/buftok-0.2.0* - >=dev-ruby/equalizer-0.0.11 - =dev-ruby/equalizer-0.0* - dev-ruby/http:4 - dev-ruby/http-form_data:2 - =dev-ruby/http_parser_rb-0.6* - >=dev-ruby/memoizable-0.4.2 - =dev-ruby/multipart-post-2* - >=dev-ruby/naught-1.1 - =dev-ruby/simple_oauth-0.3* -" - -ruby_add_bdepend "test? ( - dev-ruby/rspec:3 - dev-ruby/webmock:3 - >=dev-ruby/timecop-0.6.1 - ) - doc? ( dev-ruby/yard )" - -all_ruby_prepare() { -# rm Gemfile || die - sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code." - - sed -i -e '/simplecov/,/^end/ s:^:#:' \ - -e '1igem "webmock", "~>3.0"' spec/helper.rb || die - - # Avoid a spec that fails due to changes in dependencies. - sed -i -e '/#reverse_token/,/^ end/ s:^:#:' \ - spec/twitter/rest/oauth_spec.rb -} - -each_ruby_test() { - CI=true RSPEC_VERSION=3 ruby-ng_rspec || die -} diff --git a/dev-ruby/unicode-display_width/Manifest b/dev-ruby/unicode-display_width/Manifest index d2d2dec55073d..ffad72f4c4581 100644 --- a/dev-ruby/unicode-display_width/Manifest +++ b/dev-ruby/unicode-display_width/Manifest @@ -1,2 +1,3 @@ DIST unicode-display_width-1.7.0.tar.gz 10822 BLAKE2B c3db387b9d61ba4ea9d5559824b22e40f173f9e9bcf7fdad3dba1edc36b39ae90276818bd54e74a6731bd2cb8c48b28e440d07f7e3cedbd8dc13441f79a2b56c SHA512 2b6d2b0118f4a2ad69e98fe2fac611ca94adc0dc59ad076083d0243c630a81a01d650965149a25feaf8986c262a5d55294e064361420e2140b53c5ced5fb1c77 DIST unicode-display_width-2.4.2.tar.gz 13096 BLAKE2B 89f7f8ded131a6c049242ede8822475c2629e2377a6b06ca59b1264c1c18981039c95c0aea8a24c00488b8f5c48aed3cc1b5672785eb36bbcf3cee1af8c2cc53 SHA512 c0815c19821855fed2d3205a6cae2059e0338fb27148f55281c910b54d5b0be2d34ba4bf990ba1c328c454f7ec8dbc0c69427550f2d62d1ac4ce5174b53b8ff3 +DIST unicode-display_width-2.5.0.tar.gz 13115 BLAKE2B 93d50190346409b3ba0dc23cbce841cabab7584f07a5b152851e40fd06168ff26a38c4872aed994e1a77292cf04de31f54075ad6b4329975fd93c30d9afe38b3 SHA512 cd6302136e5d61e6209bd9c6eb432c09d562b59a6a02868a3343a5968c56239cff0f547ed5bed15d5a6a06265385a6a499b148e59f9b84778241c9f8c5efa2be diff --git a/dev-ruby/unicode-display_width/unicode-display_width-2.5.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-2.5.0.ebuild new file mode 100644 index 0000000000000..566cc9a8e3fca --- /dev/null +++ b/dev-ruby/unicode-display_width/unicode-display_width-2.5.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt" +HOMEPAGE="https://github.com/janlelis/unicode-display_width" +SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm64" +SLOT="$(ver_cut 1)" +IUSE="" + +all_ruby_prepare() { + # Avoid experimental emoji support for now + sed -e '/\[emoji\]/,/^ end/ s:^:#:' \ + -e '/Config object based API/,/^end/ s:^:#:' \ + -i spec/display_width_spec.rb || die +} diff --git a/dev-scheme/chez/chez-9.6.2.ebuild b/dev-scheme/chez/chez-9.6.2.ebuild index 6cce9c1863650..d843641e5a158 100644 --- a/dev-scheme/chez/chez-9.6.2.ebuild +++ b/dev-scheme/chez/chez-9.6.2.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}"/csv${PV//a} # which are both MIT licensed. LICENSE="Apache-2.0 MIT" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="X ncurses threads" BDEPEND="virtual/pkgconfig" diff --git a/dev-scheme/guile-gcrypt/Manifest b/dev-scheme/guile-gcrypt/Manifest index 6f754c556550f..8f752af6b1340 100644 --- a/dev-scheme/guile-gcrypt/Manifest +++ b/dev-scheme/guile-gcrypt/Manifest @@ -1,2 +1 @@ -DIST guile-gcrypt-0.3.0.tar.gz 55022 BLAKE2B 20d0948df250637c38a9e583ed9b8e0f4fd6d6142a60b4cceddab9a6a5c3062ffc7a0c8bc61187a1e942a137186ccc6e3cbc44b86d3c64f8cea91c67ae46cb08 SHA512 036017bbf10247bf474f41bb23fa0e824ed17241f169d0b36da5b20753502050bf6b14fa3a584076521e8f076732b75fe3f5e0ec9fb9ffeaf142319a98d36ae9 DIST guile-gcrypt-0.4.0.tar.gz 56915 BLAKE2B 0b1ca0b23531f1dd28422798f235d15898ec67dd77fa08b52f9ccbfc9b9c1ed55abd1ec7cd15c9a129444e9d7411e24ef5b73ebc8547ca9e0408e7e5a552a200 SHA512 5dbb5ca9f00a607200c600d438f5d96db271a5e889f4e92d361793073ef618b1f731c3bc31dc39c7b939c2e9111da7905ed68845f55fe7fd24b064496e9d2677 diff --git a/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild b/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild deleted file mode 100644 index 925cd6308503b..0000000000000 --- a/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Guile bindings of libgcrypt" -HOMEPAGE="https://notabug.org/cwebber/guile-gcrypt" -SRC_URI="https://notabug.org/cwebber/guile-gcrypt/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-scheme/guile-2.0.11:= - dev-libs/libgcrypt:0= -" -DEPEND="${RDEPEND}" - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' - -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die - - # upstream tag on top of source tree. has no autogenerated files - eautoreconf -} - -src_install() { - default - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections: https://bugs.gentoo.org/905898 - dostrip -x "/usr/$(get_libdir)/guile" -} diff --git a/dev-scheme/guile-gi/Manifest b/dev-scheme/guile-gi/Manifest index 2681e7b7ed118..58ec9ee423fc7 100644 --- a/dev-scheme/guile-gi/Manifest +++ b/dev-scheme/guile-gi/Manifest @@ -1,2 +1 @@ -DIST guile-gi-0.3.1.tar.gz 345440 BLAKE2B 17c4ecda48951244d427098767072621278750614919f13d1b03b7ecda5f06b2274c7db50c4288b4bfe581cd852e80cd1d4137b5ccc0e18d0e23866e1eba323a SHA512 b866df95946069cad606bc8f7e7c988665029482bcb986109d652728023151a5e60ee39e86635b9f0b9f0d4d3a9cd72f39b65ee983438f71dff186994e3af197 DIST guile-gi-0.3.2.tar.gz 350346 BLAKE2B 8680891e3a0854b2741a26847ad0f75262d83ba240caa6afc38765445477cd3d9b4abfecf0c2dc68b05c61efe6cdbde633c16d98cbb6db49e2727adfb83004c3 SHA512 88a58ac8c97a2bb0c9304183423b77831365706aafb9a98185a555b19783247aaf7bf80963a3b75090a9774a8360b3767583e8cdd8416fdad0d3c23973fb37c6 diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild deleted file mode 100644 index 77813d0f30d85..0000000000000 --- a/dev-scheme/guile-gi/guile-gi-0.3.1-r2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile" -HOMEPAGE="https://spk121.github.io/guile-gi/" - -if [[ "${PV}" == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/spk121/${PN}.git" -else - SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3" -SLOT="0" -RESTRICT="test" # Tests fail - -DEPEND=" - >=dev-scheme/guile-2.0.9:= - dev-libs/gobject-introspection - x11-libs/gtk+:3[introspection] -" -RDEPEND="${DEPEND}" -BDEPEND="sys-apps/texinfo" - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' - -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die - - eautoreconf -} - -src_configure() { - econf --disable-static --enable-introspection=yes -} - -src_install() { - default - - mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die - find "${ED}" -type f -name '*.la' -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections. Bug https://bugs.gentoo.org/905898 - dostrip -x /usr/$(get_libdir)/guile -} diff --git a/dev-scheme/guile-gnutls/Manifest b/dev-scheme/guile-gnutls/Manifest index 45b8c11a3e44e..727ba44c51c5a 100644 --- a/dev-scheme/guile-gnutls/Manifest +++ b/dev-scheme/guile-gnutls/Manifest @@ -1,3 +1 @@ -DIST guile-gnutls-3.7.11.tar.gz 684772 BLAKE2B 518d46fdc6f24cae03216205ffd010e45a9c38c6f8d0f6b7021df74308bb24706772174b6e8078057d20b06f7c81a4fe42b388c309ce463ad044f194ea33cbc6 SHA512 bdd7e0dc97939ef792facde0038062ffc4f6a8d2495eb57d08b774b774a4edd7259de46d3a86de2a36c0ed5027889ffa91f2edce2289e5932f16a421870693d7 -DIST guile-gnutls-3.7.12.tar.bz2 159199 BLAKE2B 1d44344d98231d2dcceedc87f8959c301024a1cb20a7e055dcf477e79b166405673d2447080e6579022435c546f8f34223320718d03ecc3612f9c6c10607dcac SHA512 c75ed619fd2eb79718ac5634c24a589308e371f83cac941fafcec297ea2877cb793760c4bfa0ca9f7396ca591daa781aebc0622636fc904f58f544193a655e3d DIST guile-gnutls-3.7.14.tar.bz2 176631 BLAKE2B 9d21a90e066d4360a329b5bd8f4375856b90fd0c262250064fa8ec92a76372b2c8cb746c10c5d8465353e49d1e8dae0a5897eba4831e1f947b9102b72b05b756 SHA512 7f690ea7c09e5017eef2a660f9db022d627fd562b90d1ce663915e5f28c38cafd3c8fdb459afe98a6ae973cc25283ec5dac00e590ba674f4af2f955abdb75ae7 diff --git a/dev-scheme/guile-gnutls/guile-gnutls-3.7.11-r1.ebuild b/dev-scheme/guile-gnutls/guile-gnutls-3.7.11-r1.ebuild deleted file mode 100644 index 6ab4195e2beb9..0000000000000 --- a/dev-scheme/guile-gnutls/guile-gnutls-3.7.11-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Guile-GnuTLS provides Guile bindings for the GnuTLS library" -HOMEPAGE="https://gnutls.gitlab.io/guile/manual/ - https://gitlab.com/gnutls/guile/" -SRC_URI="https://gitlab.com/gnutls/guile/uploads/56e18069ab63ca67d61aecb6b2697ec1/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-scheme/guile-2.0.0:= - net-libs/gnutls:=[-guile(-)] -" -DEPEND="${RDEPEND}" - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' - -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die -} - -src_configure() { - econf --disable-srp-authentication # bug #894050 -} - -src_install() { - default - - find "${ED}" -type f -name "*.la" -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections: https://bugs.gentoo.org/905898 - dostrip -x "/usr/$(get_libdir)/guile" -} diff --git a/dev-scheme/guile-gnutls/guile-gnutls-3.7.12.ebuild b/dev-scheme/guile-gnutls/guile-gnutls-3.7.12.ebuild deleted file mode 100644 index 2ddce6cbaeeeb..0000000000000 --- a/dev-scheme/guile-gnutls/guile-gnutls-3.7.12.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Guile-GnuTLS provides Guile bindings for the GnuTLS library" -HOMEPAGE="https://gnutls.gitlab.io/guile/manual/ - https://gitlab.com/gnutls/guile/" -SRC_URI="https://gitlab.com/gnutls/guile/-/archive/v${PV}/guile-v${PV}.tar.bz2 - -> ${P}.tar.bz2" -S="${WORKDIR}"/guile-v${PV} - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-scheme/guile-2.0.0:= - net-libs/gnutls:=[-guile(-)] -" -DEPEND="${RDEPEND}" - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' - -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die - - eautoreconf -} - -src_configure() { - econf --disable-srp-authentication # bug #894050 -} - -src_install() { - default - - find "${ED}" -type f -name "*.la" -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections: https://bugs.gentoo.org/905898 - dostrip -x "/usr/$(get_libdir)/guile" -} diff --git a/dev-scheme/guile-ncurses/Manifest b/dev-scheme/guile-ncurses/Manifest index 5b3628129a54f..eb270fdf7a1df 100644 --- a/dev-scheme/guile-ncurses/Manifest +++ b/dev-scheme/guile-ncurses/Manifest @@ -1,2 +1 @@ -DIST guile-ncurses-3.0.tar.gz 910030 BLAKE2B e7bfa1e7c7ff8fd4e8b653a5bcada99f8f047142322e4abb946cd42b27bd1d2014f904b5a73d5356ad95bec1c394d0b76ad06204a7d117ab4c2e9a3181633fa2 SHA512 6f36ec57b1835dc90f6691243e3b627e067522c78ea620fc109bf270016034842a933c2d9e09c1a3998a740ae17cb1b7ae291d3e4c578c54128eae4c88a450ac DIST guile-ncurses-3.1.tar.gz 921257 BLAKE2B 26ee97ac62ae7877ecf4cce9d798f7afadc98cbba914da1c802321bf83572e5bfe9775e6e3739bbe849cde9843998aca001b6753bde9d5fbb48c4d70133740f9 SHA512 c43264cfb0cc9fe658f7ddd53bb3dfc6c7636ecaf9b8f3f416d449e6463e38061faf419b43d91775dd9642a904055122e7992c16dea1532de6229fcfa68e292f diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild deleted file mode 100644 index fb61958b58dfd..0000000000000 --- a/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Guile FFI to ncurses library for text-based console UI" -HOMEPAGE="https://www.gnu.org/software/guile-ncurses/" -SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-scheme/guile-2.0.0:= - sys-libs/ncurses:= -" -DEPEND="${RDEPEND}" -BDEPEND="sys-apps/texinfo" - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' - -PATCHES=( - "${FILESDIR}/${P}-slibtool.patch" # 843416 -) - -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die - - # Remove bad tests - # > In procedure list-ref: Wrong type argument in position 1: #f - local bad_tests=( - curs_attr_attr_off_underline - curs_attr_attr_on_blink - curs_attr_attr_on_bold - curs_attr_attr_on_dim - curs_attr_attr_on_invis - curs_attr_attr_on_protect - curs_attr_attr_on_reverse - curs_attr_attr_on_standout - curs_attr_attr_on_underline - curs_attr_attr_set - curs_attr_attr_set_normal - curs_attr_standend - curs_attr_standout - curs_bkgd_bkgd - curs_bkgd_bkgdset - ) - local bad_test - for bad_test in "${bad_tests[@]}" ; do - echo "#t" > test/${bad_test}.scm || die - done - - eautoreconf # 843560 -} - -src_test() { - emake check -} - -src_install() { - default - - find "${ED}" -type f -name '*.la' -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections: https://bugs.gentoo.org/905898 - dostrip -x "/usr/$(get_libdir)/guile" -} diff --git a/dev-scheme/guile-ssh/Manifest b/dev-scheme/guile-ssh/Manifest index 06d5cfba150d0..0a63bb90db1ba 100644 --- a/dev-scheme/guile-ssh/Manifest +++ b/dev-scheme/guile-ssh/Manifest @@ -1,3 +1 @@ -DIST guile-ssh-0.16.0.tar.gz 522003 BLAKE2B dfa6011bb8b220b9a365fde832434eca0c26b58361a919b36228a95a7b042eb68ef7a0d5aa4b0360119983dc63fe65175ae67fe74da38e90ca19a3914f3d6b07 SHA512 195d763e49fd2506c50fea25606ec1873e3c950851f0be0f91fd73842acb9104c89baa1c69daccc7b28b6504a4aa1648a4c049991a63ecf7336c03c48d23e570 -DIST guile-ssh-0.16.2.tar.gz 523528 BLAKE2B 1cf513a5c77f5ea622c80ce96f8a8b3b2a83e371f1d44bb236a65a6b50e3edfd1096a1b2971a45a1df35bb90d611104214caae49f70ec4c5d96a137d66a28d37 SHA512 7a8143e408c91779591b32a50f2fceb3348bcdf92e810cf6dd70e0e9777229277bb26ba87b0a1f79590ed136aedb06661ce77bad577fb56187af324d209a552d DIST guile-ssh-0.16.3.tar.gz 524546 BLAKE2B e8cbe500493d80962f31b1d9ab97f5dc45c2e3612f419244528676b6cc3cf517a7dd84022b84356b0da456cdca404cca3ee25bef1762da9f0e126e086f34a721 SHA512 7b66dd5a29d47f3f7beaefb6576f74f62fe30736ddf97870a72612b44a608d61edd5ba9bc520e577b6f19a9de9044743e880601bae26b9645dafbef2c3134609 diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild deleted file mode 100644 index 82787f9347f0c..0000000000000 --- a/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library providing access to the SSH protocol for GNU Guile" -HOMEPAGE="https://memory-heap.org/~avp/projects/guile-ssh/ - https://github.com/artyom-poptsov/guile-ssh/" -SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-scheme/guile-2.0.0:= - net-libs/libssh:0=[server,sftp] -" -DEPEND="${RDEPEND}" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) -PATCHES=( - "${FILESDIR}"/${P}-tests.patch -) - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' - -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die - - eautoreconf -} - -src_install() { - default - - find "${ED}" -name "*.la" -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections: https://bugs.gentoo.org/905898 - dostrip -x "/usr/$(get_libdir)/guile" -} diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild deleted file mode 100644 index 82787f9347f0c..0000000000000 --- a/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library providing access to the SSH protocol for GNU Guile" -HOMEPAGE="https://memory-heap.org/~avp/projects/guile-ssh/ - https://github.com/artyom-poptsov/guile-ssh/" -SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-scheme/guile-2.0.0:= - net-libs/libssh:0=[server,sftp] -" -DEPEND="${RDEPEND}" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) -PATCHES=( - "${FILESDIR}"/${P}-tests.patch -) - -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' - -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die - - eautoreconf -} - -src_install() { - default - - find "${ED}" -name "*.la" -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections: https://bugs.gentoo.org/905898 - dostrip -x "/usr/$(get_libdir)/guile" -} diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest index 6fe06928b59fa..c13b0f07a14dd 100644 --- a/dev-scheme/racket/Manifest +++ b/dev-scheme/racket/Manifest @@ -1,8 +1,6 @@ DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682 -DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471 DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8 -DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05 DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051 diff --git a/dev-scheme/racket/racket-8.10.ebuild b/dev-scheme/racket/racket-8.10.ebuild index aea3f9340d793..37f448162231d 100644 --- a/dev-scheme/racket/racket-8.10.ebuild +++ b/dev-scheme/racket/racket-8.10.ebuild @@ -25,7 +25,7 @@ LICENSE=" # PV == SLOT but this has to be checked carefully and in cases # where we use _p, _pre, etc it will have to be set manually. SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads" # See bug #809785 re chez/threads REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )" diff --git a/dev-scheme/racket/racket-8.7.ebuild b/dev-scheme/racket/racket-8.7.ebuild deleted file mode 100644 index c1aa334b4e61c..0000000000000 --- a/dev-scheme/racket/racket-8.7.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop optfeature toolchain-funcs readme.gentoo-r1 - -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language" -HOMEPAGE="https://racket-lang.org/ - https://github.com/racket/racket/" -SRC_URI=" - minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) - !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz ) -" -S="${WORKDIR}"/${P}/src - -# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html -LICENSE=" - || ( MIT Apache-2.0 ) - chez? ( Apache-2.0 ) - !chez? ( LGPL-3 ) -" -# Bytecode generated by Racket is not compatible between versions. -# The bytecode version should be denoted by SLOT, in most cases -# PV == SLOT but this has to be checked carefully and in cases -# where we use _p, _pre, etc it will have to be set manually. -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" -IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads" -# See bug #809785 re chez/threads -REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )" - -RDEPEND=" - !dev-tex/slatex - dev-db/sqlite:3 - dev-libs/libffi:= - ncurses? ( sys-libs/ncurses:= ) -" -DEPEND="${RDEPEND}" - -# "mred" and "mzscheme" are binaries generated by Racket, not CC -QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme" - -DOC_CONTENTS=" -If you wish to use sys-libs/readline instead of dev-libs/libedit -for readline-like features in the Racket's REPL you can install -the package 'readline-gpl' using raco, Racket's package manager -https://pkgs.racket-lang.org/package/readline-gpl -" - -# Package database files (for pkg_preinst & pkg_config) -PKGDB=( - /usr/share/racket/info-cache.rktd - /usr/share/racket/links.rktd - /usr/share/racket/pkgs/pkgs.rktd -) - -src_prepare() { - # Prepare the environment. - unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME - - default - - # Remove bundled libffi. - rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi" -} - -src_configure() { - # Compilation of Zuo does not respect the autoconf configuration. - tc-export CC - - # Configure Zuo. - pushd "${S}"/zuo >/dev/null || die - econf - popd >/dev/null || die - - # Configure Racket. - # Libtool: - # According to vapier, we should use the bundled libtool - # such that we don't preclude cross-compile. - # Thus don't use --enable-lt=/usr/bin/libtool - # Backend: - # --enable-bc builds Racket w/o chez backend - # C Libraries: - # --enable-libs & --disable-shared is the way to build - # .a files that are needed to embed Racket into programs - # https://docs.racket-lang.org/inside/cs-embedding.html - local myconf=( - --disable-shared - --disable-strip - --docdir="${EPREFIX}"/usr/share/doc/${PF} - --enable-libs - $(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly") - $(use_enable doc docs) - $(use_enable iconv) - $(use_enable ncurses curses) - ) - # Some options are togglable only for the BC version (are forced in CS) - ! use chez && myconf+=( - --enable-float - --enable-foreign - --enable-gracket - --enable-libffi - $(use_enable futures) - $(use_enable jit) - $(use_enable places) - $(use_enable threads pthread) - ) - econf "${myconf[@]}" -} - -src_compile() { - # Compile Racket. - CC_FOR_BUILD="$(tc-getCC)" default - - # Recompile Zuo with optimizations. - emake -C zuo -} - -src_install() { - # Install Racket. - default - - # Install Zuo. - emake -C zuo DESTDIR="${ED}" install - - # raco needs decompressed files for packages doc installation, bug #662424 - use doc && docompress -x /usr/share/doc/${PF} - - # Create missing desktop files and icon. - if ! use minimal ; then - newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png - make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;" - make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;" - fi - - readme.gentoo_create_doc -} - -pkg_preinst() { - # If we are merging the same SLOT check if package - # database files exist and do not overwrite them - if has_version ${CATEGORY}/${PN}:${SLOT} ; then - echo "We are installing the same SLOT: ${SLOT}" - local rktd - for rktd in "${PKGDB[@]}" ; do - if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then - einfo "Keeping old file: ${rktd}" - mv "${ED}"/${rktd} "${ED}"/${rktd}.bak || - die "failed to create a backup of ${rktd}" - cp "${EROOT}"/${rktd} "${ED}"/${rktd} || - die "failed to create a copy of ${rktd}" - fi - done - fi -} - -pkg_postinst() { - # If we have any pkgs not included in Racket main distribution (outsiders), - # then we have to re-setup them or during installation other pkgs will want - # to recompile parts of "outsider" pkgs they depend upon (and fail). - local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') ) - if [[ -n "${outsiders[@]}" ]] ; then - ebegin "Running \"raco setup\" for outsider packages" - echo "Outsiders: ${outsiders[@]}" - raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}" - eend 0 # do not fail - fi - - optfeature "readline editing features in REPL" dev-libs/libedit - optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra - - readme.gentoo_print_elog -} - -pkg_config() { - einfo "Swapping package database backup files" - - for rktd in "${PKGDB[@]}" ; do - mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config - mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd} - mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak - done -} diff --git a/dev-tcltk/tdom/tdom-0.9.3.ebuild b/dev-tcltk/tdom/tdom-0.9.3.ebuild index c3a87e64272b8..7aaf1d9930d5d 100644 --- a/dev-tcltk/tdom/tdom-0.9.3.ebuild +++ b/dev-tcltk/tdom/tdom-0.9.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://tdom.org/downloads/${P}-src.tgz" LICENSE="MPL-1.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="threads" DEPEND=" diff --git a/dev-util/ROPgadget/ROPgadget-7.4.ebuild b/dev-util/ROPgadget/ROPgadget-7.4.ebuild index ae37f83946c6f..e1e378053ddbd 100644 --- a/dev-util/ROPgadget/ROPgadget-7.4.ebuild +++ b/dev-util/ROPgadget/ROPgadget-7.4.ebuild @@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget" else SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" fi LICENSE="GPL-2" diff --git a/dev-util/cbindgen/cbindgen-0.25.0.ebuild b/dev-util/cbindgen/cbindgen-0.25.0.ebuild index 80a8294202851..c3d58e177ad56 100644 --- a/dev-util/cbindgen/cbindgen-0.25.0.ebuild +++ b/dev-util/cbindgen/cbindgen-0.25.0.ebuild @@ -65,7 +65,7 @@ SRC_URI=" # use cargo-license for a more accurate license picture LICENSE="Apache-2.0 BSD Boost-1.0 MIT MPL-2.0 Unicode-DFS-2016 Unlicense" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86" RESTRICT="test" QA_FLAGS_IGNORED="usr/bin/cbindgen" diff --git a/dev-util/ccache/ccache-4.8.2.ebuild b/dev-util/ccache/ccache-4.8.2.ebuild index 8ec5b78da959f..9bc2873389e38 100644 --- a/dev-util/ccache/ccache-4.8.2.ebuild +++ b/dev-util/ccache/ccache-4.8.2.ebuild @@ -31,7 +31,7 @@ fi LICENSE="GPL-3 LGPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" # Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220 IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test" RESTRICT="!test? ( test )" diff --git a/dev-util/gtk-update-icon-cache/Manifest b/dev-util/gtk-update-icon-cache/Manifest index 2483d64264414..434c12a316dbd 100644 --- a/dev-util/gtk-update-icon-cache/Manifest +++ b/dev-util/gtk-update-icon-cache/Manifest @@ -1 +1,2 @@ DIST gtk-update-icon-cache-3.24.31.tar.bz2 92491 BLAKE2B 4388e7dfbb89e80bc686d5def74dc363562f944ee29b7355849c42ae391034039e138e1e25f5bfaaade09a6f71a5a94e47f5ad921a51ed6ab0485c0d863045ab SHA512 bc86fe49ce1e6eb3a4657dc536a9106eaeaa1f6682d7f8b61da36a5577add7ada8dd46e81de8274800c9e659ddbc4d4d610d6b691c8e582f35298a7e619c3c0c +DIST gtk-update-icon-cache-3.24.38.tar.bz2 92762 BLAKE2B 9edd023da4aa9bfb2540132eff5e5fb4e7ee3a0381e17ea923fcd9c3263d0634cbf7a3c241422dbf2d8c9c12df64219720d5258a5956df95d4cf28ffbeb341cc SHA512 362c87c77a05aef4c670c85865c6bcdfa344f8307b2eadb20f52d9683af253fe0edd27cda209c4501b67da3af852beade1a15c9143d6caaea50b2b48f2b15cab diff --git a/dev-util/gtk-update-icon-cache/gtk-update-icon-cache-3.24.38.ebuild b/dev-util/gtk-update-icon-cache/gtk-update-icon-cache-3.24.38.ebuild new file mode 100644 index 0000000000000..d4ef282891f70 --- /dev/null +++ b/dev-util/gtk-update-icon-cache/gtk-update-icon-cache-3.24.38.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="GTK update icon cache" +HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/Community/gentoo/gtk-update-icon-cache" +SRC_URI="https://gitlab.gnome.org/Community/gentoo/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" + +# man page was previously installed by gtk+:3 ebuild +RDEPEND=" + >=dev-libs/glib-2.53.4:2 + >=x11-libs/gdk-pixbuf-2.30:2 + ! "${T}"/pip.conf <<-EOF || die + [global] + quiet = 2 + + [install] + no-index = yes + no-dependencies = yes + EOF + + # used by *git_sdist_generator tests + git init -q || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -qm init || die + fi +} + +src_configure() { + filter-lto # TODO: cleanup after bug #893658 + + local cargoargs=( + # TODO: try switching to `--profile gentoo` then should be able to + # remove all `use debug` checks and --release in tests, but needs: + # https://github.com/gentoo/gentoo/pull/29510 + $(usev debug '--profile dev') + --no-default-features + # like release.yml + native-tls for better platform support than rustls + --features full,password-storage$(usev ssl ,native-tls) + ) + + export MATURIN_SETUP_ARGS=${cargoargs[*]} + export OPENSSL_NO_VENDOR=1 +} + +python_compile_all() { + use !doc || mdbook build -d html guide || die + + if ! tc-is-cross-compiler; then + local maturin=target/$(usex debug{,} release)/maturin + ${maturin} completions bash > "${T}"/${PN} || die + ${maturin} completions fish > "${T}"/${PN}.fish || die + ${maturin} completions zsh > "${T}"/_${PN} || die + else + ewarn "shell completion files were skipped due to cross-compilation" + fi +} + +python_test() { + local -x COLUMNS=100 # what tests/cmd was generated for + local -x MATURIN_TEST_PYTHON=${EPYTHON} + local -x PIP_CONFIG_FILE=${T}/pip.conf + local -x VIRTUALENV_SYSTEM_SITE_PACKAGES=1 + + local skip=( + # avoid need for wasm over a single hello world test + --skip integration_wasm_hello_world + # fragile depending on rust version, also wants libpypy*-c.so for pypy + --skip pyo3_no_extension_module + ) + + edo cargo test $(usev !debug --release) ${MATURIN_SETUP_ARGS} -- "${skip[@]}" +} + +python_install_all() { + dodoc Changelog.md README.md + use doc && dodoc -r guide/html + + if ! tc-is-cross-compiler; then + dobashcomp "${T}"/${PN} + dofishcomp "${T}"/${PN}.fish + dozshcomp "${T}"/_${PN} + fi +} diff --git a/dev-util/meld/meld-3.22.0-r2.ebuild b/dev-util/meld/meld-3.22.0-r2.ebuild index e1ee5884d75eb..0bf443a411825 100644 --- a/dev-util/meld/meld-3.22.0-r2.ebuild +++ b/dev-util/meld/meld-3.22.0-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) PYTHON_REQ_USE="xml(+)" inherit gnome.org gnome2-utils meson python-single-r1 xdg diff --git a/dev-util/meson/files/1.2.2/0001-python-dependency-ensure-that-setuptools-doesn-t-inj.patch b/dev-util/meson/files/1.2.2/0001-python-dependency-ensure-that-setuptools-doesn-t-inj.patch new file mode 100644 index 0000000000000..c552831cfd6bb --- /dev/null +++ b/dev-util/meson/files/1.2.2/0001-python-dependency-ensure-that-setuptools-doesn-t-inj.patch @@ -0,0 +1,39 @@ +From 5f96e35b873d6230970fd63ba2e706bbd3f4e26f Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Fri, 8 Sep 2023 16:54:48 -0400 +Subject: [PATCH 1/7] python dependency: ensure that setuptools doesn't inject + itself into distutils + +We do not use setuptools for anything, and only lightly use distutils. +Unpredictable issues can occur due to setuptools monkey-patching, which +interferes with our intended use. Tell setuptools to simply never get +involved. + +Note: while it's otherwise possible to check if the probe is run using +sys.executable and avoid forking, setuptools unconditionally injects +itself at startup in a way that requires subprocess isolation to +disable. + +(cherry picked from commit 9f610ad5b72ea91de2d7aeb6f3266d0a7477062e) +--- + mesonbuild/dependencies/python.py | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py +index 160772888..f04494674 100644 +--- a/mesonbuild/dependencies/python.py ++++ b/mesonbuild/dependencies/python.py +@@ -113,7 +113,9 @@ class BasicPythonExternalProgram(ExternalProgram): + + with importlib.resources.path('mesonbuild.scripts', 'python_info.py') as f: + cmd = self.get_command() + [str(f)] +- p, stdout, stderr = mesonlib.Popen_safe(cmd) ++ env = os.environ.copy() ++ env['SETUPTOOLS_USE_DISTUTILS'] = 'stdlib' ++ p, stdout, stderr = mesonlib.Popen_safe(cmd, env=env) + + try: + info = json.loads(stdout) +-- +2.42.0 + diff --git a/dev-util/meson/files/1.2.2/0002-python-module-stop-using-distutils-schemes-on-suffic.patch b/dev-util/meson/files/1.2.2/0002-python-module-stop-using-distutils-schemes-on-suffic.patch new file mode 100644 index 0000000000000..51c13d6926ffe --- /dev/null +++ b/dev-util/meson/files/1.2.2/0002-python-module-stop-using-distutils-schemes-on-suffic.patch @@ -0,0 +1,72 @@ +From cb4e62a8c55118988babac8b8254e0af1dc9698b Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Mon, 21 Nov 2022 20:47:14 -0500 +Subject: [PATCH 2/7] python module: stop using distutils schemes on + sufficiently new Debian + +Since 3.10.3, Debian finally started patching sysconfig with custom +paths, instead of just distutils. This means we can now go use that +instead. It reduces our reliance on the deprecated distutils module. + +Partial fix for #7702 + +(cherry picked from commit 40f897fa92f7d3cc43788d3000733310ce77cf0c) +--- + mesonbuild/scripts/python_info.py | 32 +++++++++++++++++++++++-------- + 1 file changed, 24 insertions(+), 8 deletions(-) + +diff --git a/mesonbuild/scripts/python_info.py b/mesonbuild/scripts/python_info.py +index 9c3a0791a..65597b121 100755 +--- a/mesonbuild/scripts/python_info.py ++++ b/mesonbuild/scripts/python_info.py +@@ -13,7 +13,6 @@ if sys.path[0].endswith('scripts'): + del sys.path[0] + + import json, os, sysconfig +-import distutils.command.install + + def get_distutils_paths(scheme=None, prefix=None): + import distutils.dist +@@ -37,15 +36,32 @@ def get_distutils_paths(scheme=None, prefix=None): + # default scheme to a custom one pointing to /usr/local and replacing + # site-packages with dist-packages. + # See https://github.com/mesonbuild/meson/issues/8739. +-# XXX: We should be using sysconfig, but Debian only patches distutils. ++# ++# We should be using sysconfig, but before 3.10.3, Debian only patches distutils. ++# So we may end up falling back. + +-if 'deb_system' in distutils.command.install.INSTALL_SCHEMES: +- paths = get_distutils_paths(scheme='deb_system') +- install_paths = get_distutils_paths(scheme='deb_system', prefix='') +-else: +- paths = sysconfig.get_paths() ++def get_install_paths(): ++ if sys.version_info >= (3, 10): ++ scheme = sysconfig.get_default_scheme() ++ else: ++ scheme = sysconfig._get_default_scheme() ++ ++ if sys.version_info >= (3, 10, 3): ++ if 'deb_system' in sysconfig.get_scheme_names(): ++ scheme = 'deb_system' ++ else: ++ import distutils.command.install ++ if 'deb_system' in distutils.command.install.INSTALL_SCHEMES: ++ paths = get_distutils_paths(scheme='deb_system') ++ install_paths = get_distutils_paths(scheme='deb_system', prefix='') ++ return paths, install_paths ++ ++ paths = sysconfig.get_paths(scheme=scheme) + empty_vars = {'base': '', 'platbase': '', 'installed_base': ''} +- install_paths = sysconfig.get_paths(vars=empty_vars) ++ install_paths = sysconfig.get_paths(scheme=scheme, vars=empty_vars) ++ return paths, install_paths ++ ++paths, install_paths = get_install_paths() + + def links_against_libpython(): + from distutils.core import Distribution, Extension +-- +2.42.0 + diff --git a/dev-util/meson/files/1.2.2/0003-python-module-refactor-pypy-detection-into-a-consist.patch b/dev-util/meson/files/1.2.2/0003-python-module-refactor-pypy-detection-into-a-consist.patch new file mode 100644 index 0000000000000..484e967c83286 --- /dev/null +++ b/dev-util/meson/files/1.2.2/0003-python-module-refactor-pypy-detection-into-a-consist.patch @@ -0,0 +1,36 @@ +From c179c18765514d5c37737dec996b4c91cb31477f Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Mon, 2 Oct 2023 16:40:15 -0400 +Subject: [PATCH 3/7] python module: refactor pypy detection into a consistent + variable + +(cherry picked from commit 3d3a10ef022284c8377bd9f8e1b1adec73c50d95) +--- + mesonbuild/scripts/python_info.py | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/mesonbuild/scripts/python_info.py b/mesonbuild/scripts/python_info.py +index 65597b121..d17b3a376 100755 +--- a/mesonbuild/scripts/python_info.py ++++ b/mesonbuild/scripts/python_info.py +@@ -72,6 +72,8 @@ def links_against_libpython(): + variables = sysconfig.get_config_vars() + variables.update({'base_prefix': getattr(sys, 'base_prefix', sys.prefix)}) + ++is_pypy = '__pypy__' in sys.builtin_module_names ++ + if sys.version_info < (3, 0): + suffix = variables.get('SO') + elif sys.version_info < (3, 8, 7): +@@ -88,7 +90,7 @@ print(json.dumps({ + 'install_paths': install_paths, + 'version': sysconfig.get_python_version(), + 'platform': sysconfig.get_platform(), +- 'is_pypy': '__pypy__' in sys.builtin_module_names, ++ 'is_pypy': is_pypy, + 'is_venv': sys.prefix != variables['base_prefix'], + 'link_libpython': links_against_libpython(), + 'suffix': suffix, +-- +2.42.0 + diff --git a/dev-util/meson/files/1.2.2/0004-python-module-stop-using-distutils-link-to-libpython.patch b/dev-util/meson/files/1.2.2/0004-python-module-stop-using-distutils-link-to-libpython.patch new file mode 100644 index 0000000000000..2ebdbcc2b30f2 --- /dev/null +++ b/dev-util/meson/files/1.2.2/0004-python-module-stop-using-distutils-link-to-libpython.patch @@ -0,0 +1,72 @@ +From 3c493dae4bd8410bfb09e8f654605f65e15d8e66 Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Tue, 22 Nov 2022 22:56:10 -0500 +Subject: [PATCH 4/7] python module: stop using distutils "link to libpython" + probe on recent python + +On python >=3.8, this information is expected to be encoded in the +sysconfig vars. + +In distutils, it is always necessary to link to libpython on Windows; +for posix platforms, it depends on the value of LIBPYTHON (which is the +library to link to, possibly the empty string) as generated by +configure.ac and embedded into python.pc and python-config.sh, and then +coded a second time in the distutils python sources. + +There are a couple of caveats which have ramifications for Cygwin and +Android: + +- python.pc and python-config.sh disagree with distutils when python is + not built shared. In that case, the former act the same as a shared + build, while the latter *never* links to libpython + +- python.pc disagrees with python-config.sh and distutils when python is + built shared. The former never links to libpython, while the latter do + +The disagreement is resolved in favor of distutils' behavior in all +cases, and python.pc is correct for our purposes on python 3.12; see: +https://github.com/python/cpython/pull/100356 +https://github.com/python/cpython/pull/100967 + +Although it was not backported to older releases, Cygwin at least has +always patched in a fix for python.pc, which behavior is now declared +canonical. We can reliably assume it is always correct. + +This is the other half of the fix for #7702 + +(cherry picked from commit 2d6c10908b3771216e7ce086af1ee4dc77e698c2) +--- + mesonbuild/scripts/python_info.py | 17 +++++++++++++---- + 1 file changed, 13 insertions(+), 4 deletions(-) + +diff --git a/mesonbuild/scripts/python_info.py b/mesonbuild/scripts/python_info.py +index d17b3a376..a3f3d3535 100755 +--- a/mesonbuild/scripts/python_info.py ++++ b/mesonbuild/scripts/python_info.py +@@ -64,10 +64,19 @@ def get_install_paths(): + paths, install_paths = get_install_paths() + + def links_against_libpython(): +- from distutils.core import Distribution, Extension +- cmd = Distribution().get_command_obj('build_ext') +- cmd.ensure_finalized() +- return bool(cmd.get_libraries(Extension('dummy', []))) ++ # on versions supporting python-embed.pc, this is the non-embed lib ++ # ++ # PyPy is not yet up to 3.12 and work is still pending to export the ++ # relevant information (it doesn't automatically provide arbitrary ++ # Makefile vars) ++ if sys.version_info >= (3, 8) and not is_pypy: ++ variables = sysconfig.get_config_vars() ++ return bool(variables.get('LIBPYTHON', 'yes')) ++ else: ++ from distutils.core import Distribution, Extension ++ cmd = Distribution().get_command_obj('build_ext') ++ cmd.ensure_finalized() ++ return bool(cmd.get_libraries(Extension('dummy', []))) + + variables = sysconfig.get_config_vars() + variables.update({'base_prefix': getattr(sys, 'base_prefix', sys.prefix)}) +-- +2.42.0 + diff --git a/dev-util/meson/files/1.2.2/0005-tests-fix-test-case-to-not-import-distutils-on-pytho.patch b/dev-util/meson/files/1.2.2/0005-tests-fix-test-case-to-not-import-distutils-on-pytho.patch new file mode 100644 index 0000000000000..078e9035e2288 --- /dev/null +++ b/dev-util/meson/files/1.2.2/0005-tests-fix-test-case-to-not-import-distutils-on-pytho.patch @@ -0,0 +1,31 @@ +From ae44d9a379faca6274db819be44ffca3e0159f56 Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Mon, 2 Oct 2023 23:51:57 -0400 +Subject: [PATCH 5/7] tests: fix test case to not import distutils on python + 3.12 + +Testing the correctness of the `modules: ` kwarg can be done with other +guaranteed stdlib modules that are even more guaranteed since they +didn't get deprecated for removal. + +(cherry picked from commit ecf261330c498783760cbde00b613b7469f8d3c0) +--- + test cases/python/5 modules kwarg/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test cases/python/5 modules kwarg/meson.build b/test cases/python/5 modules kwarg/meson.build +index 9751adaab..41a9a4fae 100644 +--- a/test cases/python/5 modules kwarg/meson.build ++++ b/test cases/python/5 modules kwarg/meson.build +@@ -1,7 +1,7 @@ + project('python kwarg') + + py = import('python') +-prog_python = py.find_installation('python3', modules : ['distutils']) ++prog_python = py.find_installation('python3', modules : ['os', 'sys', 're']) + assert(prog_python.found() == true, 'python not found when should be') + prog_python = py.find_installation('python3', modules : ['thisbetternotexistmod'], required : false) + assert(prog_python.found() == false, 'python not found but reported as found') +-- +2.42.0 + diff --git a/dev-util/meson/files/1.2.2/0006-mark-the-PyPI-metadata-as-supporting-python-3.12.patch b/dev-util/meson/files/1.2.2/0006-mark-the-PyPI-metadata-as-supporting-python-3.12.patch new file mode 100644 index 0000000000000..0e1f167b32fb2 --- /dev/null +++ b/dev-util/meson/files/1.2.2/0006-mark-the-PyPI-metadata-as-supporting-python-3.12.patch @@ -0,0 +1,25 @@ +From d9abf4a97dc182b3c57204a792000d620f9f941e Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Tue, 3 Oct 2023 00:22:25 -0400 +Subject: [PATCH 6/7] mark the PyPI metadata as supporting python 3.12 + +meson itself runs okay on 3.12, and the last issue for *probing* against +3.12 is solved. Tests pass here locally. + +(cherry picked from commit 880f21281ee359e01de659fe7d45549d19e6b84d) +--- + setup.cfg | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/setup.cfg b/setup.cfg +index dfaba76dd..2f2962eed 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -30,6 +30,7 @@ classifiers = + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 ++ Programming Language :: Python :: 3.12 + Topic :: Software Development :: Build Tools + long_description = Meson is a cross-platform build system designed to be both as fast and as user friendly as possible. It supports many languages and compilers, including GCC, Clang, PGI, Intel, and Visual Studio. Its build definitions are written in a simple non-Turing complete DSL. + diff --git a/dev-util/meson/files/1.2.2/0007-Revert-rust-apply-global-project-and-environment-C-a.patch b/dev-util/meson/files/1.2.2/0007-Revert-rust-apply-global-project-and-environment-C-a.patch new file mode 100644 index 0000000000000..4ada76ae909b9 --- /dev/null +++ b/dev-util/meson/files/1.2.2/0007-Revert-rust-apply-global-project-and-environment-C-a.patch @@ -0,0 +1,141 @@ +From 9d1d4ae746ce39d1916dfe71fd6dcc5fce27e828 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 3 Oct 2023 16:52:56 +0100 +Subject: [PATCH 7/7] Revert "rust: apply global, project, and environment C + args to bindgen" + +This reverts commit 36210f64f22dc10d324db76bb1a7988c9cd5b14e. + +This ended up not doing what was intended - see https://github.com/mesonbuild/meson/issues/12065#issuecomment-1742263677. + +Bug: https://bugs.gentoo.org/914989 +Bug: https://bugs.gentoo.org/915014 +Signed-off-by: Sam James +--- + mesonbuild/modules/rust.py | 6 ------ + test cases/rust/12 bindgen/meson.build | 18 ------------------ + .../rust/12 bindgen/src/global-project.h | 10 ---------- + test cases/rust/12 bindgen/src/global.c | 5 ----- + test cases/rust/12 bindgen/src/global.rs | 14 -------------- + test cases/rust/12 bindgen/test.json | 5 +---- + 6 files changed, 1 insertion(+), 57 deletions(-) + delete mode 100644 test cases/rust/12 bindgen/src/global-project.h + delete mode 100644 test cases/rust/12 bindgen/src/global.c + delete mode 100644 test cases/rust/12 bindgen/src/global.rs + +diff --git a/mesonbuild/modules/rust.py b/mesonbuild/modules/rust.py +index e6e5c633f..3514412e6 100644 +--- a/mesonbuild/modules/rust.py ++++ b/mesonbuild/modules/rust.py +@@ -232,12 +232,6 @@ class RustModule(ExtensionModule): + elif isinstance(s, CustomTarget): + depends.append(s) + +- clang_args.extend(state.global_args.get('c', [])) +- clang_args.extend(state.project_args.get('c', [])) +- cargs = state.get_option('args', state.subproject, lang='c') +- assert isinstance(cargs, list), 'for mypy' +- clang_args.extend(cargs) +- + if self._bindgen_bin is None: + self._bindgen_bin = state.find_program('bindgen') + +diff --git a/test cases/rust/12 bindgen/meson.build b/test cases/rust/12 bindgen/meson.build +index e7cb5f3db..c05cc0631 100644 +--- a/test cases/rust/12 bindgen/meson.build ++++ b/test cases/rust/12 bindgen/meson.build +@@ -8,9 +8,6 @@ if not prog_bindgen.found() + error('MESON_SKIP_TEST bindgen not found') + endif + +-add_project_arguments('-DPROJECT_ARG', language : 'c') +-add_global_arguments('-DGLOBAL_ARG', language : 'c') +- + # This seems to happen on windows when libclang.dll is not in path or is not + # valid. We must try to process a header file for this to work. + # +@@ -84,18 +81,3 @@ test('generated header', rust_bin2) + + subdir('sub') + subdir('dependencies') +- +-gp = rust.bindgen( +- input : 'src/global-project.h', +- output : 'global-project.rs', +-) +- +-gp_lib = static_library('gp_lib', 'src/global.c') +- +-gp_exe = executable( +- 'gp_exe', +- structured_sources(['src/global.rs', gp]), +- link_with : gp_lib, +-) +- +-test('global and project arguments', gp_exe) +diff --git a/test cases/rust/12 bindgen/src/global-project.h b/test cases/rust/12 bindgen/src/global-project.h +deleted file mode 100644 +index 6084e8ed6..000000000 +--- a/test cases/rust/12 bindgen/src/global-project.h ++++ /dev/null +@@ -1,10 +0,0 @@ +-#ifndef GLOBAL_ARG +-char * success(void); +-#endif +-#ifndef PROJECT_ARG +-char * success(void); +-#endif +-#ifndef CMD_ARG +-char * success(void); +-#endif +-int success(void); +diff --git a/test cases/rust/12 bindgen/src/global.c b/test cases/rust/12 bindgen/src/global.c +deleted file mode 100644 +index 10f6676f7..000000000 +--- a/test cases/rust/12 bindgen/src/global.c ++++ /dev/null +@@ -1,5 +0,0 @@ +-#include "src/global-project.h" +- +-int success(void) { +- return 0; +-} +diff --git a/test cases/rust/12 bindgen/src/global.rs b/test cases/rust/12 bindgen/src/global.rs +deleted file mode 100644 +index 4b70b1ecc..000000000 +--- a/test cases/rust/12 bindgen/src/global.rs ++++ /dev/null +@@ -1,14 +0,0 @@ +-// SPDX-license-identifer: Apache-2.0 +-// Copyright © 2023 Intel Corporation +- +-#![allow(non_upper_case_globals)] +-#![allow(non_camel_case_types)] +-#![allow(non_snake_case)] +- +-include!("global-project.rs"); +- +-fn main() { +- unsafe { +- std::process::exit(success()); +- }; +-} +diff --git a/test cases/rust/12 bindgen/test.json b/test cases/rust/12 bindgen/test.json +index b3a758562..f94ee85f9 100644 +--- a/test cases/rust/12 bindgen/test.json ++++ b/test cases/rust/12 bindgen/test.json +@@ -1,10 +1,7 @@ + { +- "env": { +- "CFLAGS": "-DCMD_ARG" +- }, + "stdout": [ + { +- "line": "test cases/rust/12 bindgen/meson.build:30: WARNING: Project targets '>= 0.63' but uses feature introduced in '1.0.0': \"rust.bindgen\" keyword argument \"include_directories\" of type array[str]." ++ "line": "test cases/rust/12 bindgen/meson.build:27: WARNING: Project targets '>= 0.63' but uses feature introduced in '1.0.0': \"rust.bindgen\" keyword argument \"include_directories\" of type array[str]." + } + ] + } +-- +2.42.0 + diff --git a/dev-util/meson/meson-1.2.2-r1.ebuild b/dev-util/meson/meson-1.2.2-r1.ebuild new file mode 100644 index 0000000000000..300aa26142b12 --- /dev/null +++ b/dev-util/meson/meson-1.2.2-r1.ebuild @@ -0,0 +1,122 @@ +# Copyright 2016-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +DISTUTILS_USE_PEP517=setuptools + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/mesonbuild/meson" + inherit git-r3 +else + inherit pypi + + MY_P=${P/_/} + S=${WORKDIR}/${MY_P} + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + fi +fi + +inherit bash-completion-r1 distutils-r1 toolchain-funcs + +DESCRIPTION="Open source build system" +HOMEPAGE="https://mesonbuild.com/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-util/ninja + dev-vcs/git + sys-libs/zlib[static-libs(+)] + virtual/pkgconfig + ) +" +RDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.1-python-path.patch + "${FILESDIR}"/1.2.2 +) + +python_prepare_all() { + local disable_unittests=( + # ASAN and sandbox both want control over LD_PRELOAD + # https://bugs.gentoo.org/673016 + -e 's/test_generate_gir_with_address_sanitizer/_&/' + + # ASAN is unsupported on some targets + # https://bugs.gentoo.org/692822 + -e 's/test_pch_with_address_sanitizer/_&/' + + # https://github.com/mesonbuild/meson/issues/7203 + -e 's/test_templates/_&/' + + # Broken due to python2 wrapper + -e 's/test_python_module/_&/' + ) + + sed -i "${disable_unittests[@]}" unittests/*.py || die + + # Broken due to python2 script created by python_wrapper_setup + rm -r "test cases/frameworks/1 boost" || die + + distutils-r1_python_prepare_all +} + +src_test() { + tc-export PKG_CONFIG + if ${PKG_CONFIG} --exists Qt5Core && ! ${PKG_CONFIG} --exists Qt5Gui; then + ewarn "Found Qt5Core but not Qt5Gui; skipping tests" + else + distutils-r1_src_test + fi +} + +python_test() { + ( + # test_meson_installed + unset PYTHONDONTWRITEBYTECODE + + # https://bugs.gentoo.org/687792 + unset PKG_CONFIG + + # test_cross_file_system_paths + unset XDG_DATA_HOME + + # 'test cases/unit/73 summary' expects 80 columns + export COLUMNS=80 + + # If JAVA_HOME is not set, meson looks for javac in PATH. + # If javac is in /usr/bin, meson assumes /usr/include is a valid + # JDK include path. Setting JAVA_HOME works around this broken + # autodetection. If no JDK is installed, we should end up with an empty + # value in JAVA_HOME, and the tests should get skipped. + export JAVA_HOME=$(java-config -O 2>/dev/null) + + # Call python3 instead of EPYTHON to satisfy test_meson_uninstalled. + python3 run_tests.py + ) || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr/share/vim/vimfiles + doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax} + + insinto /usr/share/zsh/site-functions + doins data/shell-completions/zsh/_meson + + dobashcomp data/shell-completions/bash/meson +} diff --git a/dev-util/pkgcheck/pkgcheck-0.10.25-r2.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.25-r2.ebuild new file mode 100644 index 0000000000000..3526f28efb7ee --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.10.25-r2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit elisp-common distutils-r1 optfeature + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgcheck.git + https://github.com/pkgcore/pkgcheck.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + inherit pypi +fi + +DESCRIPTION="pkgcore-based QA utility for ebuild repos" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" + +LICENSE="BSD MIT" +SLOT="0" +IUSE="emacs" + +if [[ ${PV} == *9999 ]]; then + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" +else + RDEPEND=" + >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.12.18[${PYTHON_USEDEP}]" +fi +RDEPEND+=" + dev-libs/tree-sitter + >=dev-libs/tree-sitter-bash-0.20.3_p20230921 + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lazy-object-proxy[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pathspec[${PYTHON_USEDEP}] + >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] + emacs? ( + >=app-editors/emacs-24.1:* + app-emacs/ebuild-mode + app-emacs/flycheck + ) +" +BDEPEND="${RDEPEND} + dev-python/wheel + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +SITEFILE="50${PN}-gentoo.el" + +distutils_enable_tests pytest + +export USE_SYSTEM_TREE_SITTER_BASH=1 + +src_compile() { + distutils-r1_src_compile + + if use emacs ; then + pushd "${S}"/contrib/emacs >/dev/null || die + elisp-compile *.el + popd >/dev/null || die + fi +} + +python_install_all() { + local DOCS=( NEWS.rst ) + [[ ${PV} == *9999 ]] || doman man/* + distutils-r1_python_install_all + + if use emacs ; then + elisp-install ${PN} "${S}"/contrib/emacs/*.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + + optfeature "Network check support" dev-python/requests + optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild index c53659016c064..3526f28efb7ee 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -34,7 +34,7 @@ else fi RDEPEND+=" dev-libs/tree-sitter - =dev-libs/tree-sitter-bash-0.20.3_p20230921 dev-python/chardet[${PYTHON_USEDEP}] dev-python/lazy-object-proxy[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest index d0f72ebc4f7f2..3c1653f926855 100644 --- a/dev-util/promu/Manifest +++ b/dev-util/promu/Manifest @@ -2,3 +2,5 @@ DIST promu-0.13.0-deps.tar.xz 106902576 BLAKE2B c09fadd7957896a452f3d34bf066eddc DIST promu-0.13.0.tar.gz 46099 BLAKE2B 674580c4b853881db6307f065678afdb561fcab51be6ad3ac604849b6a7f3c63b1eb5f5be4f4ee533f25e087b3ed19bb7584ee5c72b30b8c0e33d19f690cc115 SHA512 04feddf514417e636498d111b0cc9678af4b1c2be16eb61f257e013b10ec427b5055d54150a76dce0867d659ca7e8833702e29bdf32cb00d5d02dad906c3de21 DIST promu-0.14.0-deps.tar.xz 9838972 BLAKE2B 110e71d59c05974ca2fd953c240b3f798e22bd9631463a6c211714dc9a0782fba38c6114180fe999e11de8776a8eb0a8e807e3ff6bc56cab7a3b3711c1846ff6 SHA512 675d4d16c2278064d7fe6b22c3e92c6e4bba865649342c1af7d7f3c99e35fc4679d132ca12ff5ea45bac64d8a40319dd55023bda1bbc601884c28da10103c1b7 DIST promu-0.14.0.tar.gz 47254 BLAKE2B d944677b1ceb3cb6e6ff8fb1a04cb5df54b8731c7d721a6c8016ea96e8a7696f238fe614ff2011b0c3c2b6240799125bf6ec4ccacecd8fea16e35e29fc8e347b SHA512 709214f72f6ad1e4cbd04cb92b2f10efa2f198265f3a3e2274e8a454a2e24ce42db024d15e26f8bb5f9e3c8672d212dac6b0a52cead8dde9e425f0bf72577260 +DIST promu-0.15.0-deps.tar.xz 11022948 BLAKE2B e8f1a65dca92147c1f617dbfb7279c1eb45efcdc93a019c7a4fb9e9ff2895e71283e1368751e37732972554d7dce20ed08553f9e3111efa2b48eb0c86e191a06 SHA512 f4d1456969ea5454990ccebf81d49e857e3a6311b81dfcdb2538e82e8b7842d1020fd489567a10534759d44c69f6adb1e70f9de4b36c24286908c5758b8fd05d +DIST promu-0.15.0.tar.gz 33465 BLAKE2B 83fae1e8cf663fe9aaedbdf66d86f3d4d7db0b14572cec9f0e9b25a205712cf19b137f6cafa3adcc0cbdd9177078a1bc696b9333ae830cf38de83e4837829abf SHA512 7e1de86c67b7a6d469e49b63431c9be1f93295f79225bfe409deef426c11c2f5273e185ef3b53ff5fd5fd41ddf7d9ddc79c2629e34a7ae2ec55adebdf8ff3b44 diff --git a/dev-util/promu/metadata.xml b/dev-util/promu/metadata.xml index 9a9b03c07115c..0d11858975232 100644 --- a/dev-util/promu/metadata.xml +++ b/dev-util/promu/metadata.xml @@ -5,7 +5,17 @@ zmedico@gentoo.org Zac Medico + + rahil3108@gmail.com + Rahil Bhimjiani + + + proxy-maint@gentoo.org + Proxy Maintainers + prometheus/promu + https://github.com/prometheus/promu/issues + https://github.com/prometheus/promu/blob/master/README.md diff --git a/dev-util/promu/promu-0.15.0.ebuild b/dev-util/promu/promu-0.15.0.ebuild new file mode 100644 index 0000000000000..36b0779a8ac2f --- /dev/null +++ b/dev-util/promu/promu-0.15.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Prometheus Utility Tool" +HOMEPAGE="https://github.com/prometheus/promu" +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/prometheus/promu.git" +else + SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +fi +LICENSE="Apache-2.0" +LICENSE+=" BSD BSD-2 MIT" +SLOT="0" + +RESTRICT+=" test" +DOCS=( + "doc/examples" + "README.md" +) + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + emake build +} + +src_install() { + if [[ ${PV} == *9999 ]]; then + dobin "${PN}" + else + newbin "${P}" "${PN}" + fi + einstalldocs +} diff --git a/dev-util/promu/promu-9999.ebuild b/dev-util/promu/promu-9999.ebuild new file mode 100644 index 0000000000000..36b0779a8ac2f --- /dev/null +++ b/dev-util/promu/promu-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Prometheus Utility Tool" +HOMEPAGE="https://github.com/prometheus/promu" +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/prometheus/promu.git" +else + SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +fi +LICENSE="Apache-2.0" +LICENSE+=" BSD BSD-2 MIT" +SLOT="0" + +RESTRICT+=" test" +DOCS=( + "doc/examples" + "README.md" +) + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + emake build +} + +src_install() { + if [[ ${PV} == *9999 ]]; then + dobin "${PN}" + else + newbin "${P}" "${PN}" + fi + einstalldocs +} diff --git a/dev-util/pwntools/Manifest b/dev-util/pwntools/Manifest index 3355e3824cc85..fc5aeba8bb9b8 100644 --- a/dev-util/pwntools/Manifest +++ b/dev-util/pwntools/Manifest @@ -1,3 +1,4 @@ DIST pwntools-4.10.0.gh.tar.gz 4228469 BLAKE2B a452d1efb23430a27630b402ad49967088bf8f9bcfa1e9fda1a87c58384c750531724ad24efa89caaa205097617529f9e0b8489251b7d5f098540efd8e4459c3 SHA512 6d96b71da08661ca225cc21bb06d66333c8ccdb79852bbd679ff7d69b091fe3cc6811f7317e1011e7c6867c5b70aaeb5f02de2fb03882914005fbbde583570d0 DIST pwntools-4.11.0.gh.tar.gz 4237576 BLAKE2B 11b1b6a923c44ee1b5027b4a71f9f3b6b9bcd36a2a38915ee46ffc855b0749528a204581dcb5071d50031701924b3cc08edf95b363d1d1b6e76d029a91011293 SHA512 a5be69a19cea933680f1946e389fad4edbbdb0d6106cd1f78778f901a6ddaaef734389678c5b4f16718a788d53bff6025817d83c06ab3dc1a200a5ff3c696aaa DIST pwntools-4.11.0_beta0.gh.tar.gz 4234690 BLAKE2B 8e87cd9eddf1fe7e4ee716a8e5ad82150b0f9c8c3bd44e4c071b551643be032111b97d7024844cd0107ef259287e29920d3fa672a7f458331baba7a97ec7acac SHA512 f3377b2c2b2cd25f3c36930245117fbbdb30fb8ff7f0c0c8633745cbb9b5192822087d8621da5ad325bf349efe616c538435fb490a35b12f57d04b79788d07f3 +DIST pwntools-4.12.0_beta0.gh.tar.gz 4244487 BLAKE2B a5312c5c454ddfbdbfd27ddf200194155db1dbc6bd545bc2de0ba0d18bee731dc9d7109e205e4426776a12a9cf715a45a365afd1b624edd0d3e1abb81e3a1936 SHA512 d14ea4283b78387362673c5416e2c7aa55c6ac5e2cd7191f57b28afdf55b1cf8c4044c265022591f30f56bcf7bde8d745e2dc70ada6763abf07c43899516f537 diff --git a/dev-util/pwntools/pwntools-4.12.0_beta0.ebuild b/dev-util/pwntools/pwntools-4.12.0_beta0.ebuild new file mode 100644 index 0000000000000..ae6e8ade51453 --- /dev/null +++ b/dev-util/pwntools/pwntools-4.12.0_beta0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="CTF framework and exploit development library" +HOMEPAGE="https://github.com/Gallopsled/pwntools" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Gallopsled/pwntools.git" +else + SRC_URI="https://github.com/Gallopsled/pwntools/archive/${PV/_beta/beta}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + S="${WORKDIR}/${PN}-${PV/_beta/beta}" +fi + +LICENSE="MIT GPL-2+ BSD-2" +SLOT="0" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/capstone-3.0.5[python,${PYTHON_USEDEP}] + >=dev-util/ROPgadget-5.3[${PYTHON_USEDEP}] + >=dev-util/unicorn-1.0.2[python,${PYTHON_USEDEP}] + dev-python/colored-traceback[${PYTHON_USEDEP}] + >=dev-python/intervaltree-3.0[${PYTHON_USEDEP}] + >=dev-python/mako-1.0.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/paramiko-1.15.2[${PYTHON_USEDEP}] + >=dev-python/psutil-3.3.0[${PYTHON_USEDEP}] + >=dev-python/pyelftools-0.2.4[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pyserial-2.7[${PYTHON_USEDEP}] + dev-python/PySocks[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/requests-2.0[${PYTHON_USEDEP}] + dev-python/rpyc[${PYTHON_USEDEP}] + >=dev-python/six-1.12.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-4.11.0_update_deps.patch" +) + +python_configure_all() { + DISTUTILS_ARGS=( + --only-use-pwn-command + ) +} + +src_install() { + distutils-r1_src_install + + rm -r "${ED}/usr/pwntools-doc" || die +} diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index a42888a658a66..5908e870ed7e8 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1 +1,2 @@ DIST mozilla-rr-5.6.0.tar.gz 1579320 BLAKE2B 14ea99c4486c72db844b5cad3f0c300d7bf5d49449e7080ed0484f89022be6d9b7f81b3808b65f59028a5256a6b3f6508729d5b7e8f3f45d8353ceb7ae2a577a SHA512 4b5ef65b6c6a4b62fc72949b4541aaf608f6133ea0b6c2e529a8eed725e6a0b5186f20ed60b210821e6929410e1f21723840eacfdc85bf12c87703e7ebf5f9a7 +DIST mozilla-rr-5.7.0.tar.gz 1688069 BLAKE2B 613196a441b8c384765403838d4c89248eeb85af203b596ff01610fe65c62650cbeb7f8bde4c97ac4bb65f2bdcf7caa605ca1b6cb2f8f36b0355d816ed39a4f1 SHA512 e0e45f47a5f1de9e0e3f982e9eb5565699189ed23c52de03bf68b8215e7b8ac267619c04495c19e75a55aa8e0face08b9bb6c7f325650384c10a719c17ecf576 diff --git a/dev-util/rr/rr-5.7.0.ebuild b/dev-util/rr/rr-5.7.0.ebuild new file mode 100644 index 0000000000000..4cf7e880d27fd --- /dev/null +++ b/dev-util/rr/rr-5.7.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +CMAKE_BUILD_TYPE=Release + +inherit cmake linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/" +SRC_URI="https://github.com/rr-debugger/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="multilib test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + dev-libs/capnproto:= + sys-libs/zlib:= +" +RDEPEND=" + ${DEPEND} + sys-devel/gdb[xml] +" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_USEDEP}] + ') + sys-devel/gdb[xml] + )" + +QA_FLAGS_IGNORED=" + usr/lib.*/rr/librrpage.so + usr/lib.*/rr/librrpage_32.so +" + +RESTRICT="test" # toolchain and kernel version dependent + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_test() { + if has usersandbox ${FEATURES} ; then + ewarn "Test suite fails under FEATURES=usersandbox (bug #632394). Skipping." + return 0 + fi + + cmake_src_test +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -Ddisable32bit=$(usex !multilib) #636786 + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + python_fix_shebang "${ED}"/usr/bin/rr-collect-symbols.py +} diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index 8a54fff8263c1..627c332d46392 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -1,7 +1,8 @@ DIST Inflector-0.11.4.crate 17438 BLAKE2B eaf0c7f983b3186e9bc89353021a10592f2877e46585bd50b96db9b087343d1199c7b6cf3fa53cd274fb6d33de025a904b8aa31a7ac9599ae3689ecdbcec34cd SHA512 f1f6463e033b6d3c16c51dc1e1a3f5569954308b95b59058294b7f9310919bbda797e99e6a07529071bb83f0688867a243997d33795a7136b0af73977004296e +DIST LibCST-03179b55ebe7e916f1722e18e8f0b87c01616d1f.gh.tar.gz 747131 BLAKE2B ded9d5cea4bf823228c0c050f98adf8a899a2de0b66734f212012aef6a424ffbaed4e2b491149163f66b9d988a0535caa5a655cf54ca9224fe2a0e2e04f7f205 SHA512 2d44bd81a41cbd47969ff47a7fd621048aaae45f5d8002afe54e1a58591a61e9800c3ebf5b38dd47fc2eb20ed43d958d1287d61ef2b367fd018052abb51e0536 DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1 DIST ahash-0.8.3.crate 42416 BLAKE2B 84836a4e33451012ff32c1a1a90500d87eb7ce649b60dff4eecfb0d25b9782a186376c154673c3121b154ff4616016d1718dfd687b88f4772c2c89eeb2f119b6 SHA512 cf2d2f1201ac0969cf4e2a0c47090bee971b2287ac44b5e091c90a9eced03cf6ff56d7900cc0f529d4acedc30bd400261c15e50efabdd1731f79951b449af53e -DIST aho-corasick-1.0.5.crate 172064 BLAKE2B bab7767070b959e8e4c054bf505b9423d7fc8b02dc682b559f54db986abe72ddf83a069b4bb585d71b47de92d2fce66a1c151a0d29c4aae99378ca05c3d5eb50 SHA512 6b0a64dbfe0c166341a34cd169bc46d28e40f72db4d599a1aff5327a6e891408f39e8e92e983cf9396a8e8135f93e41550237ff3e5c8c05a5325688746fd814b +DIST aho-corasick-1.1.1.crate 182812 BLAKE2B df74c2cfa0ae392a8d466e370ba761c4cd37c65773affba9a3cdcf7f5797b34b4a25e1646be3de5081644b34db2dce273609edb4f18a1ce7fdbf31ac28a10b88 SHA512 a894e1cefbb63a3b7b78a3676874d0b7a507c27970f48cdfbda1e5deefbf6b20ed4271b660a12eea77b318cd2fa0f80850a0b1ddfe0d0731ffa326c0fc295692 DIST android-tzdata-0.1.1.crate 7674 BLAKE2B 4385a4875aadaacd5284a9ca7d1bf8a7bf14bf8925d1563d52fbabacc3af2c1ea08bfcf77106f3648f4fa052ac295158a21e7a0131d31eb9aecd99ea4ba20055 SHA512 4294024c21ddd0090c42c8eedf708d40d917f55ad5a4cb7aa3e64cfb6551b6df60f2e36bc08620c1d2fc8c7ba7207411518ee5c8635f60ed8ad9efdd458a2077 DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e SHA512 b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191 DIST anes-0.1.6.crate 23857 BLAKE2B 9ef464a964709b408c7d7846b9b1e54e52d6ae8f21f22ccfe509ef7197d4694f439084dbdb01fdf88829d181965ea9d1452253789a46fdf6d0520e3413c50d61 SHA512 f9dfaaca9ca327881ec30efaf24e208daae668b1e9d6963c8b0ca9f9fd13be777c793076a87980429f0dfa4db28ef5331ce6652a76da4d5a87485b23fc2fde29 @@ -35,8 +36,8 @@ DIST chrono-0.4.31.crate 214513 BLAKE2B 2ac43852ea14cb7b129adf68ff62adac1763b3f4 DIST ciborium-0.2.1.crate 34974 BLAKE2B 370f4228aa63075cd7a0d41dd83f15211fc69267235905e7f5607f6e6c0baf64db0f6203c97990604de2ae683ca1937acf284c6444702414fe1a685ccfdc12a4 SHA512 4403239badcdb5ea6e754e706472e25c4593a1fbdfc5a07e46409ea3dac41151020204167102dbf401a2e5f31b3731267bc3759be59a73880a022e5f4a3064fc DIST ciborium-io-0.2.1.crate 6679 BLAKE2B 1835b1002c2e5f6fb1cc36a6a1f1e3ee10423760646b00a75e5ee5e66dfd2892914705e4456ec440cde27dda04e28329febfbd5c640ec7f86e7c013a9a9d748d SHA512 8860de0a72f07d0d0bb84af3c24635193540c574cc87367c7379222bf97ed68648330511866810265b68076bd1146e0ddb41c269e62db669b1c3390aca679c50 DIST ciborium-ll-0.2.1.crate 14649 BLAKE2B 02f5ddca41141e426492afe237ef439acca518c448a6f8daea650ceb925f6a13517819df88c93c979ed1ad9e8411cde400ff39ca288d2de8577ec870531453f3 SHA512 214550780734dcb0bb5dc999ecf22283850bf52ee4a9cfb58d86bdac9d4b80db32f0664eef71e8197e7e56a6643ff45d2974b9a36945db2c754a98df42adf9f8 -DIST clap-4.4.4.crate 54812 BLAKE2B 62c4de57d222fa41305b0459ab152e85c1a0aa3b9f72c97a87b0e4d3ee30b762fee7dec2831c74ed192b7620bdeb28f8722fa0efc6edaeae51e0d7395c8ecd4e SHA512 92d70ecc3a3d3800edfcbfa6d7767d06027790c4bfa88d0205a62665366511961b5e45630abd1eb53abd121563196ef1171c20b9df18b6fc2e0c6a375b24b770 -DIST clap_builder-4.4.4.crate 162344 BLAKE2B 7c6f4ced18655caea97b52d43bdf28e6b65e952336dddaac83d26ce8166ed17b3c8b67f7612010858624bdc8913b8bae12eb69364f77392426973e8b17c3bda3 SHA512 a74b68fe67ca50177ef79539278f97d2adb872885b5e8babdb486c50fffdec87c42cab9fb4112ad1449d8c22e5fece765d0190654c0d36cf21ad866284bee204 +DIST clap-4.4.5.crate 54815 BLAKE2B 89716654bac0189993d382bdfff8bf5ca084ae08404aec9a7eb7d07613f9d9cdeb8c77b075b0d796054bc0e9c01222f796bd76fe1960a86f18cda799ee4cb030 SHA512 69daac21dcd5f815f1d57314bcd12ddf697fc3cc8f44c2e450fbc59ccfc3b5ef6e75df286d09720af7489d2dc0793f2eb65a34abb14c5fba903b319c24ce2d11 +DIST clap_builder-4.4.5.crate 162442 BLAKE2B 4f5bd295e1d52e2190ae6f65d8f9fea3a2982c621aadc74d57a0c1869bd9d9834026061503b230c2395cb4de1535867b66d68c2cff869ce9d359bf3f3a0f4285 SHA512 d15d8a9041c00ff9cc80e992ee85efd8a840222ed34901d7e158e41750c1ed1475f5ed0269abf2ba6da0bc0e752885e8360804c48c80e1a7985adc2747659e82 DIST clap_complete-4.4.0.crate 37256 BLAKE2B bcf58bb9739823bf87d854f9b10206f9ac59a537c5e103915f03dd291f1656943b0aef3a41345b66dd63046b395e6cfde5d19c89b3e1e321fd8374268cedb456 SHA512 56a5d9e49dd5fda7d06100dc2701ce1c231b255400f4fe06fa37066b366ccbd9c8064c9305d29017db8e31d2b88ba1acef4934ec8ae82f649a28bdbabed05d84 DIST clap_complete_command-0.5.1.crate 8273 BLAKE2B 84302d7ffc34d9e947dd141421462b2035f324a77a8c68fa342a49242b0f97e43afc54be90d7cbb2efb311ea7848313af3d98c572402e7b25f83c22ff1fce8c4 SHA512 0cbd75f41349c709440ceee1075cd209f927b928c665b31907caecae91ab0b1e00c0a73f8185df754663e4d079467c6312abdc175bb6f8bd58c6d783b371754c DIST clap_complete_fig-4.4.0.crate 10486 BLAKE2B ee68943cb4d0b1e8609e3a54a2522d9a87d3fdbae7a0b16da233043077f033660a56abe177e4d4766f90de6cae08a7d11c9b487d7735e1f92f9b33551c747d3c SHA512 313610635be8c383079615d1c77a5e35e2bdc2c10e1df9284d0ecad9e35d5ebab2adbccc77a9682ba17a3db1574c87c93ee1667537626882dc66a9bc4435beda @@ -114,7 +115,7 @@ DIST indicatif-0.17.7.crate 63108 BLAKE2B 665bc2077207cac6ca2071d9e6ead76abb30d5 DIST indoc-2.0.4.crate 14311 BLAKE2B 8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44 SHA512 ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a DIST inotify-0.9.6.crate 22971 BLAKE2B 7a6cedd29b2503911fb42324fe3b4f4f20abb62a6b4370f8a7f634d9988f1b3053a70d69d6bbd7b850aae2590ded7548b73326a598d31e5b579e19ac3cc781d8 SHA512 39c3db1b6da620df9eaaa41cc20c2f22b9a372e181ed7d8ba0c7ad4e711ba4486bcec7ff86bb4d814d9c53e071cc4e43845567069e45b897c562cb677fc872b2 DIST inotify-sys-0.1.5.crate 6965 BLAKE2B d70124656ce3e6f5ea3f430e8e7100d0691003161234b40542ca86c407ecaac1785f3eca98e9fd2914dababbc3f47a0855c99c9f19245d1f2cd5312739c802af SHA512 dae749f32c533b0c9f99963d97a77dcbfcacf173ec8fd7a02f275804f9925e867b4dfdf6be52c3c3c3de136d64e6e7d6b30a3bf804a01608cf974b0cc2e346da -DIST insta-1.32.0.crate 543885 BLAKE2B e4f8bcc98dbb14116584ef75aaebe20db97232cd1b2d204235f7a676f3be3f297104fb41a9850e4de435c5e3f8d06b6d0e17120b16a4c3cf1dfc46785ad08368 SHA512 4bd3808737c609230dc2ee8e2b4235795bd4c744fe823f2a46e947d64c9d2c4ee0d0d3141f603976c2524731b18eb3acd8ebd4395b364c4ff60b1bb7dc904314 +DIST insta-1.33.0.crate 543900 BLAKE2B 1873281acd3b461cab6985e95ff2ce21c4ac3e8b29b98a7e86e9403a6f4883730482b86c91179547965b24ab80010895d34fb3f65d0c0fd9e89d7e594bd6e7a4 SHA512 84ffb050248547e9bcee09f01543a9b1612a119e12a321ed6e7b269a94653ddf5eb787443748fd7db7ab18fd1c604547868d67334d90a0a2c267463247876c4e DIST insta-cmd-0.4.0.crate 11925 BLAKE2B 307a25394bc93e8289644c3df660ec0de96ea3e3b3ac53e632ee8b0ed8e2bf342019e9004ed7a78230ff28bb6807d3f8fe5c6b880f4ee27258d7fd2f4316c2ea SHA512 933ea5c3b0408523ab3e4587879f8ad8dbbbfea0ed30322b18ba6fe6aaea93f0687faa33fa1f5bb8d06394cdf0753aa53e2f5a74b9b7952383e71f96be15e83d DIST instant-0.1.12.crate 6128 BLAKE2B 728923f757c1ee4e4a7afb90e460eed81392068961240a538e5c6468e15a0b6491f590fb5f6cc46e6d78901ca232351f65abb9f2f230d8f4983c5e58c4011902 SHA512 fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407 DIST is-macro-0.3.0.crate 5252 BLAKE2B a6d6bdd9be134c5df29a88e294a2907f5f30e5eb15d24eccc25563a9fa7ae75962b00b85b452918d09f3072991846283d4f8519141a5b0c7397b7f39fe1b98f5 SHA512 5bf9bd45a015b2a39d84d904ee1136137cab7668a12a362042cce2b83f37a73fe3371d662156a82ae538d957d37fc063630d1fe5d3128e58250f5d7c531588df @@ -132,8 +133,6 @@ DIST lexical-parse-float-0.8.5.crate 180161 BLAKE2B 881e4db32a21c26a1919fd1373ae DIST lexical-parse-integer-0.8.6.crate 33647 BLAKE2B a0ebd7a51c271a163796b0f55bb85e16830bf06e26e3f10d9b13dc5b65af590c77f47fb64360a8738c5ad4be6e6932d58e83e1594a80c067859645c35b907c53 SHA512 e9a814d2928bf5bb2d9dce53e26c65356191c9e21c3aa0e674d58ed879aa52293272f3897f64372d996a3f8c471b0f59348ad48f15a21c2f35ed15f522ac2daa DIST lexical-util-0.8.5.crate 85152 BLAKE2B 42a968c6f9d20cb4cb10906399d37d6581b425eadb31439fec4a71395819133249c4fb75b1d962100e77ba35b6f6b4cd428d5b5c161b405b22333ee390e671a6 SHA512 449c7f2a22c109cd179937c36e14d91c742e1a837a85fcf4fb58c21f05317511d1281b564d216a34760ae54a0df2d0ff5caf49da4aa9d43a8d87fcec0033cc39 DIST libc-0.2.147.crate 686772 BLAKE2B ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb SHA512 bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e -DIST libcst-0.1.0.crate 109735 BLAKE2B fb3b24625a8e0e79ea05b5c922ab66c37941dd7cb16d00163ef8120ac41ed7a6f768b97709be13d41d3d2cef682b7f8842cbc8ec5a2bd27848a9b633e3e6c21d SHA512 988d13734173da471f24523b84ee2ca58278eae2534be756124c4493bca332ee5d33f3f029016d402db19adfaddb07c5a87352d092e67f2bb7947641b8322563 -DIST libcst_derive-0.1.0.crate 9250 BLAKE2B 49fb3fd1260f1a040723c7c693a79f97a86310cc1e31ec2532d05bd44737db40454ae847e5b60f8dd9e67c2e5dec0585f084f8fd6d8a953b73cb93922e761c95 SHA512 5e6bfdf06e54903d685863660e8614d14c09a270e9f73fee1012641561e20ed5a8d4915f5a1bcaf252eb5b6889afdfcf55c969b31bdc4ac80954441cfd1cca5b DIST libmimalloc-sys-0.1.35.crate 184695 BLAKE2B 13d7793a67c6e2bf2377af59818c2e109e7b9f6d6415089970626b614bb33e96fd30bc962f820d5bb2beeefae6e155a30b7584e7027e3187f088c190eb8115f7 SHA512 7f9ef551d23d7e22073cf9d8593103a4ca17cf82b65b2bc1404dbfc2cec46c4f305ad9dfda9ca1c61e7ff3a617196c6798f505d62c90552dd25b4ba0c05e5847 DIST linked-hash-map-0.5.6.crate 15049 BLAKE2B 0f30e388633c60433dcbee353507f1c6857bd210f0b61a4d166a9b95067bdadaebe49d5fca4fa6ce13072e26037c6f75d46cc30cf8dc3c9cfcb3f33b33630093 SHA512 031a87645381c96beff33572e4bac1a9877e52fd2f99d39918fbede17d72291b35e2eb69e07edec20c3058554c35cc38fe85b8f175c2a3c69366136fcc71f707 DIST linux-raw-sys-0.4.5.crate 1274380 BLAKE2B e15ca5b63cb994e86a8161e3b6e4bd20da8f574d1a470128f9a209a729ff22c86470f4c2b2a8ccbc1e37d6284b026e0805902645ea4b742425fe34491e519638 SHA512 13c36e03cb5bdb2e9f17622e21eda608057fc9d908bc55a829fdeeb77785094769d4f4b4daf376c5509ceb3abfdb3936f668bd6d5b2fd48e21c5c28b6e597e78 @@ -141,7 +140,7 @@ DIST lock_api-0.4.10.crate 26713 BLAKE2B 113adf8554c65e9782e8fd0360d0398567dfbfd DIST log-0.4.20.crate 38307 BLAKE2B cb9c9a401b49bd68c18d5e42f2ed94446f1aeb184caa23cefacad4ce54a2a357143af54a5595c45d6f3c3d20b054c451d9e6ccdc09c19cca99ffffdaf8bbfc72 SHA512 8661b0c71d3b7fc0d679aa3d7f06910e6d3da1c53862aa06526000e1bcaa0b0b068415a1a9ab317c318f00d15346dba8a4f5d2a60d8850790bed9cfaaf757b3e DIST matchers-0.1.0.crate 6948 BLAKE2B ec3a5d01d2fedbb4dbf5bb185afbb9401410463a61f51674e0df6a571db352b2bbabfb99cdbdcfb4e511ae783165bf0258f5163f240a229b9087f9edbd0df41a SHA512 84214c1a84952d85631aa1ab5115df7cda223ac64e2acf055b6129ba1aa26ddc87615a8b51ca890ce3fee0419053fa7fe1599ae128f1d211b58c07b0c4af3b19 DIST matches-0.1.10.crate 2592 BLAKE2B 6e9e8ce8ade3fa0f144a1befae104f63764f8346fe864395be44f99d40ff0fbaeb45b6f2fafb2e7822d1ca72f1cbeaee4c5f9bc3e2485cfef2b8de2a4183ec04 SHA512 2248c6192238a8eda2dc389a5c27357555607b726d195c36c4cf647f793a4a9e17ecdf5145b5a4d8fe6eba7f9b23c7b2db1cbd553f5610d25976e3709bc2fe4d -DIST memchr-2.6.3.crate 94377 BLAKE2B 5f1603397d6703ddd9a1e68429cb6e9dae9021e14692c1e084f3b5c82d36645a1fa930c7a76b97df8e1919402fa7e1c621969ce85ce20c82b3087104afe18f25 SHA512 8d5e1425ea702a0950c95271dfd2e81610731496f77af0d683536b074a22922a7d7ec6da41577487d1d658e3b27257b7d1e142761b523e68760a2f5f24f049bc +DIST memchr-2.6.4.crate 94439 BLAKE2B d1136f7105a33565214fdeecdc5a95e74d7fc7cf45997f81bf3cf389f3015fa561ab326433ddcff2db0b7259246eb6d26fc7b4e3c90c3af8b9b7ed7e8ec56ba0 SHA512 1065a67e04ec9210c70e430288e0a8d39f36ce6414722099553e99112ea2f8f710eae44bf39f8775b9850e6c8a50e634a1b1b084a8eb4f6b2eae6697dcf5b5f4 DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 DIST mimalloc-0.1.39.crate 3727 BLAKE2B f61007119805ec636fef03acb096c97ad65d1fdd548eb2c2b7d1fffb8bf4f2a1cdc0b27d05965adbe917390474f93499341084179ce82698bba87d8a58e52fbb SHA512 6fc9116ed74bca69ca4c4944c37ba235105c631960779a1becaafd2cdefb83566c8403e9636f73922bd7a628a168713d1e7651600c4dbf132b16cc9080ee23f3 DIST minimal-lexical-0.2.1.crate 94841 BLAKE2B e6b8919b80d938d0b98d60d4f5f29ce43d77ebfcf8b18bde08909141915c6ef4f0d07a543538d4f3ba8527a9f55926d4a8e83473248469d087e80b274d701d61 SHA512 385fab51884bdcc7b0f2728a219ab164d0dc8efe42160b918f2c09f79ecf853fb12bda006d11e649f097bae1499dcd41ddf2a8784ee7d178cf2c28059e46078c @@ -154,8 +153,6 @@ DIST nix-0.26.4.crate 279099 BLAKE2B 41debf1f21427ad6c25c6cd26b7867feb8ba4636602 DIST nom-7.1.3.crate 117570 BLAKE2B 5643b67990b7305e101b16b8cd27c447e162a7adc6d0dfac00920b0cb50fea98c9d4edca63c34f6845cba05f8d0acb407cf3045cf64a4cb28e53c8b6bc9090cf SHA512 1ffce08dde299bc0e0367ad59c7b6a83e23decfa11115ee076ab91ec53cdd9ef37e4c2103c96eff23a7b6b8b5c3f67c83ce1917928c7d4c6462083bdfa0c9cad DIST notify-6.1.1.crate 40117 BLAKE2B e8f2626841903b7cb261ece9ff7d42aa6655b439a2d613f43a0d518355af2842e8731a6a2a92fdb84d82f0f7cf7423f051ab529cd22248944a19b3338e5b0f29 SHA512 58a44759d96c3ec7c431a37d92e1c1a0f112d75fac9651e9fead7a3a1de46074d79a251320b0522891711879da4ab42dd008c5a28a994039890f8d434d215e69 DIST nu-ansi-term-0.46.0.crate 24311 BLAKE2B d2e678e0eab5ad48534e686b1a4af344996d1b07a0fa40839072df3061bd7e5bc9341363403ea3ef8d19c7725ba3b7a8ed540c63e2209123b1b93f69418288b6 SHA512 b4f37786dc85e0596e2b7b261a5a9fe0265bf1651c39efb358dd649b926b12c3093f307b98bf0c4df3899f0a7cb1854f2596bd5c3e22fbbef42f912ab2eb5043 -DIST num-bigint-0.4.4.crate 99369 BLAKE2B 09a44754e3a3d4f949b3714d96ddd7f3915164d611036675e3df421d6c0863e368eb0180978a4ec27fbfff529b4999d2593e411903516670c24c08fbed6a79de SHA512 0dcef3344a933509fdfe87d6adb0bb1bf67af3c692ccaeec5663a8f18ad0a251199ef9c7a24c25b95d1b255b413947e70f0a205669d549b13e54b6f4864ab3b5 -DIST num-integer-0.1.45.crate 22529 BLAKE2B 4da3e801f71ba8f92c692497e200bfc8d32183c94eaad91260683b09f4697c03175fec7cff5a9ff3782d5db5d514d74f22f7a61a102c0f0d2e67a7a4b4f29222 SHA512 731bdc09c3af7f9d8b171041f2957aa60facef93b06886000d8ba60d410aabbbee358d700bf31b2588b2e077464f290f24a0b712df7bb7f12972675b6c9bd735 DIST num-traits-0.2.16.crate 50130 BLAKE2B 1101d28cb4dce477657684a068792b94c7008a965e655edbabfeff51cbe6f008450dc6d7e4fc5dc4fe9c3ee8623ed77a7bde83ce2f68e75d618295fe6cebe0a8 SHA512 2ef65e2f6275b1000f611cc4d019b2f4846a8964b54d9b96462da10e3ac9edbf3d1de82e40094c76f7f5205740361b0eb0ced414bcddbaba5955144f728c6f94 DIST number_prefix-0.4.0.crate 6922 BLAKE2B 81bd3b588c788e6865104e5ce87119b5e0c5a526042963d52cd582ff23c2f8c9f32b4c445ef0397fc402b6d047e031d8e2c67ac97e191bde22e17662eec3a554 SHA512 a43b668d7314218b86ca7451daa9dfef71f6c9f6616bc34c12d94ae6030f182bcca9da83905cb46f3d49d0aa81385a787e92e4f3ae239658067adc249f8174df DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 @@ -172,7 +169,7 @@ DIST pathdiff-0.2.1.crate 7142 BLAKE2B 7f9a162c2add4acd69a81171fdb31aa9a67beb4e1 DIST peg-0.8.1.crate 17093 BLAKE2B 9cef0848d005fac3cd767dff16c1226bac39b1fbf9ab4730a03226249c672fc7d75c964eee0a6c109e631a43a1d9a161cb1093d2e98c29e03631af47c133b681 SHA512 e2b88ee2f55e1761b46191bd79a945261bbc7ce327a98cbd47394e5d60608a47cc845cdb0d834149e43d694ff542fb9eadbbc2b628facfe492f89a6bd1786d38 DIST peg-macros-0.8.1.crate 27881 BLAKE2B 70705aa86c901bd54cfc8e1bc37d5cfcc4e932e2953e4b2f70be862df938d5e0b57258d0ff7812f217ae19b9dbb3f2a40161a2392d4877b040892d8c61e22593 SHA512 84f7fb240ea3c543df4d28f3bbcd80fa6d68133af3557c214eca2298a8e988dbbea84fda85fc87d1f1149dcf4cf6e8b83e23c3a75525409aa0d02758fcf2cfc1 DIST peg-runtime-0.8.1.crate 4019 BLAKE2B 48293433e655ee0a243361f1af0fd35160a32a41cb40d5acbbffafec0d9adac9c7b01668288f4108d896c1509abccedac5ba9c08b2ab38482efafee2394c66bc SHA512 360677e388c0d98053bf60d7ae003bafae38e892d4f30e5f31f6fe26f13e236aa1e0dfc7c4d741604b4df601a1cbee376b5a32078ec6b0abe0b2062ab0d136cc -DIST pep440_rs-0.3.11.crate 23835 BLAKE2B 33fdef06df53317bfeca3487468dd15f9f67cf8b10f2d1d98bf1e0a384c6d20fb0a576c1385ea3c31ec8a5a3e7e2f8216c67f4f6f5554ff275ba848d2fe3b7b4 SHA512 69b7ffb22ffdf461a497b14a59b5693c5f1e80a0bf1717b4b9dc7349be0435083ef4f3f7a958dcde5fd9cfba35f1b4be7702d6980a5858fc48304ac488dbfeea +DIST pep440_rs-0.3.12.crate 23943 BLAKE2B c2b19b4ebd4a6a5b05f35e95f6b748cfd992ae67487f775ac67d09ad2b2fa3ff17927f22d89d440e3d41906fccc05387ce0c93792ee6eb5fe1611b38892ecee1 SHA512 b405d0b2e87e18c65e8ed36d0eadd5b56d8161d8567fd1f7fd4cec6f276d2c362990571b7d069d31e80dd7cf4cff921274e82cb4211adba35a454ead0b2669d8 DIST pep508_rs-0.2.1.crate 30134 BLAKE2B f49fc4a816b87ab6bd72d038ffec0f62089154bd3caf2d95b44e73794377e076047a7f95a22fc72d50a19614825d731151b0e22fb2364dba8dc7e05dfa716ae5 SHA512 761c477654fcd7044a864ca27d37c9d584ed2df5f949bcfd293c626384063e96d77866e5a86ca4c482fa3a60d9a200a0a132a5174e29c57690cb0369664c7767 DIST percent-encoding-2.3.0.crate 10196 BLAKE2B 155bb1aaf0db4d22179bbe24b2d312f3d507876436e8ce76dfb59775282c1136a6c2bf5672f4b6bc274e4535acc9e50497c3e20b77aa2490512755c9cc9e6c41 SHA512 54ba129b0f3b43627707be994a281cdb69d5a7bdbc91dfeaa0226cf2834adeff7d2597dca5d11dd48b5731e831acf1284497b251abfebc0618761f98fe3c01cd DIST petgraph-0.6.4.crate 185895 BLAKE2B 9ddfb2796c461d2820db8227753113b02024e5dcb694a0bb2826bc1f375f028d8b98a3bd67555485db7fab88eb86043f5b768585dbe0c60703cc655976030a2c SHA512 b5a21572526387af3151dd4f864bd95c94f65eaf0612d96f99926faf646214df205bcc652b98d3b281f2e270779a4c1fdd6a32614ed60b3612e5d594b2bf3f20 @@ -214,12 +211,11 @@ DIST regex-syntax-0.7.5.crate 343366 BLAKE2B af07596e45e3525ffd253d6070ddad08dff DIST result-like-0.4.6.crate 4311 BLAKE2B 612ad606f331449907b9c0c99b525aedd53b46b5143b21472eb34d38ac64026498712de7c774183c358531b8296952eb39067c0bc5da07fee5483c28d78de37b SHA512 81b202903a90058a993315253099748c69b9caa42e62121f3fdd63b7d4f22878c81133d0b09f28f3366f180615241cfadf3e055ac86fb9662b9c982e5cc06a91 DIST result-like-derive-0.4.6.crate 5814 BLAKE2B 2598173bb8920e6b8143e034a77eeab17dea379f947098c35054c928db567513da4043d0830a8dbc40d3660e1257b90b18309f36cd83ac03e018921ae48343da SHA512 1097cfd81fe99472c0c308df7ba64ebd20497b0f855b66839c2a81ce8a179a305d04e7eb4d17be9d1dcc3e90f5fec7d59cf6d3093924354a6e02aa4ac2bfcbb5 DIST ring-0.16.20.crate 5082615 BLAKE2B 6011eb7148c2d2ab410e564a06604f4350e07ea030e4d7dcb30574b977f0b0c7e53e09f6e6dbb2d068cdf110262876c48dfaeeef1b691932a056fe149916d934 SHA512 d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191 -DIST ruff-0.0.291.gh.tar.gz 3097146 BLAKE2B e5521ad832376cdf253300b995b8b4ac1f0e71a893cbec23211d34fba34f770c865da140987dbd024704cc749caf1fe6eca513760c8e855cef8b393a7127c276 SHA512 cae79673f305883ad7a761bb80c4da48c96d318e67ca670e9781b9b7df655baf30fa05f09035bfaa58937dbceccdb95e1f4e060d5a11b8ae591700444a038bb9 +DIST ruff-0.0.292.gh.tar.gz 3153481 BLAKE2B 405d07119dfdde12e1f7184059ea9db43253f90ca72a7ac7c3862adb15a99534c5349ad396b4f368c0da950c8ad61de7a3af4a3a173ddd8724f5bc72f2dd572c SHA512 bc3e8968e9c621d76e1be05a40c17454c3c2ca72d286be1c01c82679dba99caa054e1a5031f92bb16d328d0927c74a1a087771a19c61824cf497d617267768cb DIST rust-stemmers-1.2.0.crate 2351301 BLAKE2B d633c0d7091fd05e55a521670104831bed89deef7a2fb7c1eed3528246e65b67a97888fed48b134b10c477e7b95c034e8bbad70500c779b1ff7b0c334de0b37b SHA512 b9453a0984d41e5a692e5ea1a8a7bc6142de30f7b345a269489b8d4ebe3b3d442e7fe5f338c72a790521dea7a2ad9605c0ca8218a6b76d8bc5e19ae02cf711d7 DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 DIST rustix-0.38.10.crate 342427 BLAKE2B 6b65b3b8d7ceba7e606bb1a2b07d447b8110c728c0b3a81838be8b0ad04ff01f4a6d9b6fc1a4725a392eeb0d455a06b6f7abf40b0990a7dbdf4a632199ccde95 SHA512 4329ad809994cb377f2bade3673a3cc829062f4c9977019735b90df17af92c22d3f036a13a3fe7073872dcac8f5e424db7bc56b0d2530e5e7b468a9d92a867c9 DIST rustls-0.21.7.crate 283818 BLAKE2B 9d1f814a79c91d5a6ecbe4219c4b93882462e4b6e7baebe3b4b6f26ffc22edd26991c2a287aa9e90a2c8e46266ec993a969cd2d541487e94a13a471b115aa866 SHA512 44d8e9af46113651bfbd627042c9643dcb82a94369fefd6010ce3c53378d3014697d97cad0c1e8649480c0e3b437096f0adf23e44bc98a6580df48c39f2642f6 -DIST rustls-webpki-0.100.2.crate 71561 BLAKE2B 60c86cd859276754ed137681d14ff199976eaf10e7c744956998f774ce6a4c3fbfe02b3bd0382e61c61f9f84f798a5678174230930b568403b2cafa553f48e58 SHA512 2b67d962b0d9a0a912f05424d384fad51e4645d482d8333e9b7522097390204502fbbcdf25e2b045d2a9a25da15ec3d1177a64439d32f97b4c9cabad84c64461 DIST rustls-webpki-0.101.4.crate 164324 BLAKE2B 127391b0d209b0ab2bdf1c39481263794becf9e6bae7f19adf0adbecf44a49ce0f3decca6c7b6f33266bd976222f8a08574f86e7018c7f3b475364677eaea29c SHA512 76e1780027469e2b9ab8305bd0242f22764d77094f4283aa78033665b1cc1a04aeecaa1dbbd6a28d95ade752447a2311cf76be16ccc2e87fb514293b57809984 DIST rustversion-1.0.14.crate 17261 BLAKE2B db30d01914059a893bdb4c448ed0bf04852085c2d948bfbed8819a1d2317c34133cf609abdd806ad628b86974a9c1ab9d09f79743cb8e13257ef32cd444f49c6 SHA512 466d753c28c4899ab3da3e9f3366f7ecc435d484f51e0c07acfa5f3367af0de27ea3bc75efda22159b4990c976b1466a27e7c31c834c72a87d8234318357454b DIST ryu-1.0.15.crate 46906 BLAKE2B 6d6949e43aaa27fba0ec6002fa11ba859af8d867f87c90d88413267186abbf6302b817985bca3d577ab3fab2e319e11756f144473a16330dfd8fc7b604cdc4b3 SHA512 4655b5647f919082a9b84b889539ae7fb23a1201057cf280efe79c58cb5f040864efb7812cda5021bf6d34838a15d173ac8bdb0fb9fa2dba85173d3efa5a826b @@ -230,7 +226,7 @@ DIST scoped-tls-1.0.1.crate 8202 BLAKE2B 20be49f0546691bcff3f0fc257345e432e20083 DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST sct-0.7.0.crate 27502 BLAKE2B 93912044e47473d72d7415e01cbe2545f84d7d087e7a7fb210be7524d44f69daaa58edf487ea6f8e5f06cbe25ec02062b1b55978e7cb4761b8bfd79a32d4fcc7 SHA512 175d2a912e3f35dcb110991a066d7d9b0d47a0febe4e92ab7d92a27c886a7eb9abf203c9080b3e2cbda9bedbc816bd138476363c2a0c7367d3abc7e6bce83046 DIST seahash-4.1.0.crate 31976 BLAKE2B f553bcff7af9da9b024efd8db4ec8cbe4100dcf4ccd8f627c724fe4a34b678ef0be8da44e92ea55c4622b9f9f37228792a22c8bcdd54e652ca926eb3c7d37655 SHA512 4d9111dd2e491c7f6d49e0b79a3c23628c02d6603ac46e88ed137ca737830003b549ccb38087679de2cf0b02a53065b89f8d79e0ac9ddb66844d970cc6383f8b -DIST semver-1.0.18.crate 29703 BLAKE2B b1867f552ac87968d895c5e49123bcce0f8aa0ad384e421e5ac88bd04ae203ed6b731d5c77fb8488ec6601f1f02a8f2a207a9d21f1cc66d433032628f5d7beda SHA512 698dcd37b354cfd6ee452dce02d16051f23088ce53f0b4d099e1e4ad0f9350996f0b9b2e1c3ac7d5ed258accd92773266892e945fcae28055d4671c7ae5aac02 +DIST semver-1.0.19.crate 30027 BLAKE2B 426db70341dea6a78264d70f6aba45dd6b9f9ad5950a2dc09ed07c59642ea0ab5bd70325837ba4280aa40321027c4110f86f441fa29b726c6ecec3eb7da60c19 SHA512 df67c8042a8045196ef2a929b3075056d27da68cbf8d895bc4527ed2a769c579382cbe720e34554078182c12657fe40d47206a676d142d82b73715551f3f6e1c DIST serde-1.0.188.crate 76230 BLAKE2B 81e92adf17e3f2ce73c82e3069b8fd656211cfeb6755abd338b74d52f748f5bba6690abf5c83ea2a126fbd6187bc587b539f0ebcf621e928085876f28fbb9513 SHA512 7d42ce834bcd1034f8ccbcd6646cc93f8e189e344f29f4d7b0ab148ba11ce7848d0ab986dce7a0245fcd6893243f5768f7bc0ca9c24c75c53585ecc899d312d2 DIST serde-wasm-bindgen-0.6.0.crate 19623 BLAKE2B 93506fc78d1516155ff2b5acc90a0621cf6497a315da7894ea109071ff7d09ff7c6b6b23485d23ff0163c7ae2ddd3c057138dec832cdfdcfcdbd1ffbcf687ed0 SHA512 52b31f9014fa6b98007782d46a5f7ded5cf90461de329e88bc105c3dc00646fdc6e67a518e86ea99ee10423dd14fc6710f32fd770d5c99ae3a38dec5d69daf2c DIST serde_derive-1.0.188.crate 55563 BLAKE2B 3b24044915a704d9d8a2cae6e6547ecffea7ee3fd4260ddb2bf7fa38b23fd7fc597b61ac28bf65b9f0d45e18ffd6bc7596f5a3d602cc79835697fb3f5440242f SHA512 fa9132a319f7829e6afad65289031be99255466d76270875d9d81f82f63e53592eaef5452d0df38da92e9d0b6f2b37e91026635fff4bf597b0ae662b71b5eff0 @@ -263,8 +259,8 @@ DIST termtree-0.4.1.crate 4557 BLAKE2B d4300b0e6e908c519a0a76f5e08167f4467f428b2 DIST test-case-3.2.1.crate 8664 BLAKE2B 9238eb28a712dc3d0e4c37705a02219f14ebd50076923c335ce8ca53a36ae60072fd87546a9a94d5a6c20ddb11475570ee6f3b8c5adb794536cc0560f363a5ad SHA512 60724384f47ed37089362c30eed7365de240c86fcd5dafe05061a29ce313fe9d91cc40a021455acc32fb4bbe7225aa81874f3e79c097fb41876e7d18cb4a2337 DIST test-case-core-3.2.1.crate 13783 BLAKE2B 61d5c7383443a401b2fdcf35091ddcc5d2c183a44438a7c2d17cdcdfd884ce515b86514a71826222f4c02d0e94d0734e383d97178bcda074ea5ffbcea38f569a SHA512 aa794947a737e8cdc8323cd55f7166eb1d93718f887388dd9537721cd26100ccd2afa27d0a017104024ca3d032ced686c9f778cd01cdd6b15577ae7d3ce1ab3e DIST test-case-macros-3.2.1.crate 5011 BLAKE2B ea959c01b66ed021101d3b45834e01e95eb6ad0d4d087af9d9e91b11f695279d07ec3b2acc729f4dfcb5d348b4bdf818c2e6376e131ce70c7f678c365c373ffb SHA512 21ad4f69caf795575e4bf04e4ce438d6d47f5878abd4ab0094c53cf56cef262ba01951e9acaf4bf3ddf23a502378d5af971e54d71019faa1cc3df99bcbf11abe -DIST thiserror-1.0.48.crate 18862 BLAKE2B b98d63646526e1ed0baf27a17faacee3d8be34421f6fb211d4e1909965a3a327440c0b97c4aba423f416c5a849a47a1d42623a6e64ae27d2236706dc9a30a783 SHA512 078427d19a28f59aaca27f508795cfb06c024b5a34dfc83360c3bec2b8f7abe474706a41fb68732998f154507921beb03dd033f0a6d1dcfcee03b1f2adb8a0b2 -DIST thiserror-impl-1.0.48.crate 15096 BLAKE2B 6b5eed1102256f2c809c21201cf319cc8eed11ab1dd04e6b6bf9759c8eb32e58f0c88407e7c515ac801cea69abfa3bba0c4ee98b034459129f322f6918e9e168 SHA512 6826e242445fba8beb16325fe2e0ad0423b84aae6c1a035dca85e6e07d2b62be8879cb1a0a2b307602d330ad83530260a2480123c9ac5cde59157f74ffd665b7 +DIST thiserror-1.0.49.crate 18912 BLAKE2B ec93a21ea72626a0d49d87e8989633a4a1c6747e3dc4f183bd490b52488ded6fe97e60d0db59da6e67db2c2181ac13eb903a9b77bc8df7f61de77fdd73bd1c3e SHA512 a6b0476b9250f2a1555ad1f528b062fe7683f7aed338efaebd86b967e58d08f03ea10b4b6c502f4b6ccbeb44cf773b7511996a8504e541c1ea6a6efcc8cc2814 +DIST thiserror-impl-1.0.49.crate 15101 BLAKE2B 7a097705408155ff28e13b30c9a84e5da5cbb2ea60cd586f2bea303aab8180b4d57dc7edff1b36437376c04aa03758c4ba573492118785c3cd1f12b70d77de66 SHA512 dffaacf5238c81fa5bdd605c84c7d064695c4435b5927c0a7ef8975340170252d1361ad48c26116663fcdb0afaec0ec0a63b5f613ad256d75bcdfa3f0659a437 DIST thread_local-1.1.7.crate 13585 BLAKE2B f497dbcdfaf7dbc8b4b0dd97f77ba93df15b63303e7894c9032c9822a5b8111e0a21db2fa8cfdce5a503f70959ac9cdf48c840b925bdd850dc15e8436ba72379 SHA512 3772452c2a349fb564d29bb06e13c8ae64807db27c3ee217fa04fd0e9847e94adeea582b82ffc2d9116f31ff478eb088550caf1346c263de49b55fa17b431c31 DIST tikv-jemalloc-sys-0.5.4+5.3.0-patched.crate 884765 BLAKE2B 58789abe69c2a7c653fb0227aba06f814e2a0cc0d007f382a2d7fef34013022656a1d4c439bae8b86b85bf47b2b90f59ab14077af71176845c58998554fddc72 SHA512 d9c2254acb33fbae58048a978cc27173bbe3c5f1aed0c0c8ce8e86dd09e6faee80676cdced9950169758ca7298f8d5c6ead81e47909866d98bc35c7db16ea2c8 DIST tikv-jemallocator-0.5.4.crate 13101 BLAKE2B 4dfc9e39418ce00d2c9913624db9f558fcbffdd224ffa5536906092186c2e3cbed0b9df6e6e0c530a803887b5341d46af307c014faba9512fa312fb8f41796aa SHA512 e66a14d83e22fa3e895b631c1f2a141dfd526e8a8f0a83f272de814627340ad3ab7b9b986ef491d59ce53b05524f07ed5f643b999ac2f3feabc5e1ec0675cee2 @@ -294,7 +290,7 @@ DIST unicode-width-0.1.11.crate 19187 BLAKE2B 6baf7f3b32eb838925e591792abfe11968 DIST unicode-xid-0.2.4.crate 15352 BLAKE2B 80c327b39f3b8f2cdb5747cde968cfa1efe7b65b6bee9136adc881fa19f66aa5b1010d9d08de55a61b322d665b5b0cb0395e9ac471f6333c40d8dca5d97e123c SHA512 e67bd1258e1961807d9d5fe583a89ab5b82b2a529ecd32cadfc79aa5331380eb4a2db9fd96b74c8eace47f2f29021587d69bcdbf79f7e2650e92a25f7839d03c DIST unicode_names2-4ce16aa85cbcdd9cc830410f1a72ef9a235f2fde.gh.tar.gz 799276 BLAKE2B c7f777e387bd5c3f0a459c79fd642c5ac526d438efdfc96b46d271d5e807fc6796de6f362ab69f353deab360fdc7ca45dbcf4837412b0172e4df9d89b982b767 SHA512 9623bf76114d2f7f107c74a08b974efcccf8a024549447709231a2a9e72f317ec7d67f44dec2ab6be9979bb3eb7b87d09c70450b9f976b4d56814d0fc8cf30d1 DIST untrusted-0.7.1.crate 7924 BLAKE2B e0152791e781a4805120e3437b7e0219db3aa0282af4faaf2cfb15718421ff26abc56021c546f6aebb411f5abd27020273ba0f785e012a4b0089e96c2db4faa6 SHA512 5ebe3266912e4e78fdfdd13f9fcc07e9cf489d19d5e9ff346486f47aa58a0aca35278d561612c49eb3cab5a6759ac974d3b92bfabc399e1bc0808428dc347be0 -DIST ureq-2.7.1.crate 111068 BLAKE2B 79213d1aa2e7cf4fab43ccf8ab9c1f804d717b8dad8b47d2fc3d28dc82b05e73eb798f29ebe8b1fe1954029f407db5c02ed79a054b9783ba931c7c6bc6ae8052 SHA512 44447f3e4e417b2fa4f94f1ca638b0ceb43877a2ef4697619d7c584407a0fbcac2624a7a3d9528c00aa81401e98e51a29ea051051123d716399e1f67e0a3afb8 +DIST ureq-2.8.0.crate 112867 BLAKE2B 60409a3d3b271a1578986f5d99c14c8c1300b44010d32cd52f3e32885eb0ed36cadc04b939f2e0d81a0b30f21be433f4c7428b0485c75217b00ed0988c29fd43 SHA512 3b398a52da98e9350792d29eeef8a20d4689a55210df3e30d3e1786d3c5e378c3a144d64b3728f282a07e7e701ce21794e6c50eccceef670d7f5bfefd5da0333 DIST url-2.4.1.crate 78228 BLAKE2B 6e324237af50605e9285889d967e6a66e258982c5e78ec99b2df68cbcc555574c0b0d650724ecb015e1065c737c88e3c04205973c35b0afcd63f222e91dde3f9 SHA512 ff2aed100e405f4474e17dcc01d59b63460e7a8babeb7cdcf9df6c1c65216c425e24d557f76c7097702b2befc381656107bef755ce929089b52a3901c46aa185 DIST utf8parse-0.2.1.crate 13435 BLAKE2B a1c111d7ffc60690f2aaa86f034c66ba1abe4e126f1774a4377d41eba3269369862f57515af387ea785d69a8adf46338b5e53761b5ee6f4f4380473f4d9cab0a SHA512 51fba8f1e7eb74b7020fd831e30a67fc8353ac2ee07335c8c3374a5570ac8117f165f6905d4b7f0360095b7b5ed3e739001d02a8cc3c89195baf2cd679136050 DIST uuid-1.4.1.crate 55291 BLAKE2B 36a1d7abe0a695f6fa3a8ad3a0c8a078bc61b17396a317b01226d9b35a3544a8a74305ade1166dfee7a9028e6d4a1e6b0956dc0975ea58a86ec6052fb869c577 SHA512 95914b62948941e9dcda7b66b932088b328a23286d163449a72961874f4a856db6db1d60a125e56cd1d7b1c00391485a45520852ea49bd8e5a7b8cae8ecf8b96 @@ -316,9 +312,9 @@ DIST wasm-bindgen-shared-0.2.87.crate 7248 BLAKE2B 0393ce9452119fd5f92836a76b28d DIST wasm-bindgen-test-0.3.37.crate 16984 BLAKE2B a37d1cb40592a86ce58137311dd65ef3622d2a7837d64f895b7950954e1feac5b1bb44b1417c947963957477badaf897dd2661497040a6a45204ede483f2df12 SHA512 642a772a358f396c7b2bad0aa96ff97e28c96007d66d06782ca0305e73359d6b6aca39cdb5dfc976230ec5cd147720242506e437403cdee9473a78b2bed7e733 DIST wasm-bindgen-test-macro-0.3.37.crate 7739 BLAKE2B e931670baf8f854781130a1cc0062566b96863c28e03fbc0f6296fd70763f14488ea0b3b198a15b11895f9f07a2f7d6fa9a5451e95c08e1faf150b288e3ea030 SHA512 e33763962d426b59749ae7f17c7f524a585963c6e0a7a2a0337c51bdc323f6fd8a6e9c63297fb80c6e8f1e5d0d25bb8970a94d2eaa4381cc028ed61e475407b4 DIST web-sys-0.3.64.crate 725584 BLAKE2B f650eecc22ca53b75fff06c4117439d8fe9efa486701cb16a0daf76865cd017a9e25ed8c7ae1fc65fa2dd94a12c14bc2e6f9e837b70b47b4ca468bef65a29f82 SHA512 b02b0bc3f1354842b364d2f062ea4f5025edb6e615046750b56a6e2fcacef7e0b46a190eb45e14e590cf297e3ec1a813a81612ac5acfc12d744fe16c5ce041a4 -DIST webpki-roots-0.23.1.crate 245626 BLAKE2B 06937586fd4c34f4d2ec6f1bd0318b282cb98eddf52c2408d74cd677a343fc9ae1b17091f703a82b2b99605fb1e44a29a8339cf9a7a4509ad6ea1dd7deeef0ad SHA512 0fc144a385c92cc641f8683e935ccc3c30678404094f75b1b4396adbdaa40a2a758cc196c3df6f550a3e617bc780bf5d1448b752a3a1cd626605e28dbf307fb6 +DIST webpki-roots-0.25.2.crate 250405 BLAKE2B e603f95c1d05a7191b00abff160f52063945ca7cb8159b40da3b6934703ac5cdd5a2ffc36a6437e62c9bcba871331bdd32e2cab606b56617027bce8f66722c10 SHA512 7988580df398bad3d62e6ce9d19afc9af7c7ad9d374533c2c67fccce930243a2712c667da9bf02a7624e88dfb94cd5ea04fcf58eda006976ca27e5c87fcb1002 DIST which-4.4.0.crate 10889 BLAKE2B 3118f923319f260d6574ee0fd28d641f858a1885c3082090f079ca64acd2a3dd996aafd84803f0f2ae2e58b87d5cadf63059d75e72ff836dbf3ebcf4cee82602 SHA512 8380e5ea79f7768c8b1479c2fbb6e6c8b232f3a8d43b6554b78a370f302fb396d53842678d760ce9fc720fe607cfb9da3e0da4180e4a6ecfef48119105555fd7 -DIST wild-2.1.0.crate 7548 BLAKE2B 51de93b588b1d2934a7b41a8a259a3948db846383e966ac4d1d0fde68927dedd6aac08eb659ceee893a2c1005a33e320bd7ee1b3af17c05a3f0ad6e213ef3230 SHA512 458716b78fde64c65a10ae28d9ac75494c5362a834dd48f5d29efbf7bc54323033f524cfa8ec9d4c851121cfc357d3935129069fcb746e656b8ae397cb9b197c +DIST wild-2.2.0.crate 8067 BLAKE2B 628902dd8c2d252397bb0677b59295f37ab088df79cbc92c32d3a17023535d9c192b49bffe23c74a49145e0e3c57cbb84c0db7d41923adc204b291d19d9f3272 SHA512 12a3484f372b5979715d56afdadc6d9b152ee75c1961fd0352f5cfb500691b526d4fc32bee32af7548cb7e6bb20288a5eae710a473bde9d2065fcbfc3f8de851 DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd diff --git a/dev-util/ruff/ruff-0.0.291.ebuild b/dev-util/ruff/ruff-0.0.292.ebuild similarity index 94% rename from dev-util/ruff/ruff-0.0.291.ebuild rename to dev-util/ruff/ruff-0.0.292.ebuild index c317557746ca6..a8eba68b933e7 100644 --- a/dev-util/ruff/ruff-0.0.291.ebuild +++ b/dev-util/ruff/ruff-0.0.292.ebuild @@ -12,7 +12,7 @@ CRATES=" Inflector@0.11.4 adler@1.0.2 ahash@0.8.3 - aho-corasick@1.0.5 + aho-corasick@1.1.1 android-tzdata@0.1.1 android_system_properties@0.1.5 anes@0.1.6 @@ -46,8 +46,8 @@ CRATES=" ciborium-io@0.2.1 ciborium-ll@0.2.1 ciborium@0.2.1 - clap@4.4.4 - clap_builder@4.4.4 + clap@4.4.5 + clap_builder@4.4.5 clap_complete@4.4.0 clap_complete_command@0.5.1 clap_complete_fig@4.4.0 @@ -126,7 +126,7 @@ CRATES=" inotify-sys@0.1.5 inotify@0.9.6 insta-cmd@0.4.0 - insta@1.32.0 + insta@1.33.0 instant@0.1.12 is-macro@0.3.0 is-terminal@0.4.9 @@ -143,8 +143,6 @@ CRATES=" lexical-parse-integer@0.8.6 lexical-util@0.8.5 libc@0.2.147 - libcst@0.1.0 - libcst_derive@0.1.0 libmimalloc-sys@0.1.35 linked-hash-map@0.5.6 linux-raw-sys@0.4.5 @@ -152,7 +150,7 @@ CRATES=" log@0.4.20 matchers@0.1.0 matches@0.1.10 - memchr@2.6.3 + memchr@2.6.4 memoffset@0.9.0 mimalloc@0.1.39 minimal-lexical@0.2.1 @@ -165,8 +163,6 @@ CRATES=" nom@7.1.3 notify@6.1.1 nu-ansi-term@0.46.0 - num-bigint@0.4.4 - num-integer@0.1.45 num-traits@0.2.16 number_prefix@0.4.0 once_cell@1.18.0 @@ -183,7 +179,7 @@ CRATES=" peg-macros@0.8.1 peg-runtime@0.8.1 peg@0.8.1 - pep440_rs@0.3.11 + pep440_rs@0.3.12 pep508_rs@0.2.1 percent-encoding@2.3.0 petgraph@0.6.4 @@ -228,7 +224,6 @@ CRATES=" rust-stemmers@1.2.0 rustc-hash@1.1.0 rustix@0.38.10 - rustls-webpki@0.100.2 rustls-webpki@0.101.4 rustls@0.21.7 rustversion@1.0.14 @@ -240,7 +235,7 @@ CRATES=" scopeguard@1.2.0 sct@0.7.0 seahash@4.1.0 - semver@1.0.18 + semver@1.0.19 serde-wasm-bindgen@0.6.0 serde@1.0.188 serde_derive@1.0.188 @@ -273,8 +268,8 @@ CRATES=" test-case-core@3.2.1 test-case-macros@3.2.1 test-case@3.2.1 - thiserror-impl@1.0.48 - thiserror@1.0.48 + thiserror-impl@1.0.49 + thiserror@1.0.49 thread_local@1.1.7 tikv-jemalloc-sys@0.5.4+5.3.0-patched tikv-jemallocator@0.5.4 @@ -303,7 +298,7 @@ CRATES=" unicode-width@0.1.11 unicode-xid@0.2.4 untrusted@0.7.1 - ureq@2.7.1 + ureq@2.8.0 url@2.4.1 utf8parse@0.2.1 uuid-macro-internal@1.4.1 @@ -325,9 +320,9 @@ CRATES=" wasm-bindgen-test@0.3.37 wasm-bindgen@0.2.87 web-sys@0.3.64 - webpki-roots@0.23.1 + webpki-roots@0.25.2 which@4.4.0 - wild@2.1.0 + wild@2.2.0 winapi-i686-pc-windows-gnu@0.4.0 winapi-util@0.1.5 winapi-x86_64-pc-windows-gnu@0.4.0 @@ -359,6 +354,8 @@ CRATES=" " declare -A GIT_CRATES=( + [libcst]='https://github.com/Instagram/LibCST;03179b55ebe7e916f1722e18e8f0b87c01616d1f;LibCST-%commit%/native/libcst' + [libcst_derive]='https://github.com/Instagram/LibCST;03179b55ebe7e916f1722e18e8f0b87c01616d1f;LibCST-%commit%/native/libcst_derive' [unicode_names2]='https://github.com/youknowone/unicode_names2;4ce16aa85cbcdd9cc830410f1a72ef9a235f2fde;unicode_names2-%commit%' ) @@ -408,11 +405,6 @@ LICENSE+=" ISC SSLeay openssl MIT " -# rustls-webpki -LICENSE+=" - ISC BSD -" - QA_FLAGS_IGNORED="usr/bin/.* usr/lib.*/libruff.*.so" DOCS=( diff --git a/dev-util/strace/strace-6.4-r1.ebuild b/dev-util/strace/strace-6.4-r1.ebuild index 6f64840850c17..6ad8536b8e153 100644 --- a/dev-util/strace/strace-6.4-r1.ebuild +++ b/dev-util/strace/strace-6.4-r1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" fi LICENSE="LGPL-2.1+ test? ( GPL-2+ )" diff --git a/dev-util/sysprof-capture/sysprof-capture-3.36.0-r1.ebuild b/dev-util/sysprof-capture/sysprof-capture-3.36.0-r1.ebuild index 4f5d504abc73c..413812a0c3c15 100644 --- a/dev-util/sysprof-capture/sysprof-capture-3.36.0-r1.ebuild +++ b/dev-util/sysprof-capture/sysprof-capture-3.36.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ HOMEPAGE="http://sysprof.com/" LICENSE="GPL-3+ GPL-2+" SLOT="3" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="" RDEPEND=">=dev-libs/glib-2.61.3:2[${MULTILIB_USEDEP}]" diff --git a/dev-util/tkdiff/tkdiff-5.5.2.ebuild b/dev-util/tkdiff/tkdiff-5.5.2.ebuild index 13ad74c9b3685..e0d30b7ef09f1 100644 --- a/dev-util/tkdiff/tkdiff-5.5.2.ebuild +++ b/dev-util/tkdiff/tkdiff-5.5.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PV}/${MYP}.zip" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" RDEPEND="dev-lang/tk" DEPEND="${RDEPEND}" diff --git a/dev-vcs/rsvndump/Manifest b/dev-vcs/rsvndump/Manifest index 0257d0fd4937d..cfed37a13b520 100644 --- a/dev-vcs/rsvndump/Manifest +++ b/dev-vcs/rsvndump/Manifest @@ -1,2 +1,3 @@ DIST rsvndump-0.6.1.tar.bz2 233503 BLAKE2B eee3c0c61724544bc5b335d97eb76b0826cadaa883830f84e9be6fab4f901121d0cb2517633b5a53f2bc465d5ce384ce234d052860eadfd7c5237ac0192ab771 SHA512 3055070b8e128dad0ef099130d3ac7fe147a334b97c3db71354f37a00dfba3ec34194bf4dc5f1e31315852681501422986ac3d6b032fa4d6a6f9d87c45c5b391 +DIST rsvndump-0.6.2.tar.bz2 234950 BLAKE2B 8c42ca253573df0fdadac28ae19602c02fbf156c0cdc136607191c666498707610929d0c535f743c9a7f978ef0b2e42da33c696abc7ed377fc486d01a1e11830 SHA512 a33d262c9a5e6c82129fa11fc503439d903e7237275e7fd14ab728c1d4c37496bcc7a5b59e3dd937df7108ccf0b24078635771b6297c1337912d6eda396cd406 DIST rsvndump-0.6.tar.bz2 220891 BLAKE2B 97792a13beb0a37452df941599a753297f0322d04608e86da0740cb553a9da7d1a2f9b6e712c15698ae9d5f2c8d4911d8bed45e66c58ca46b2d1b0c29ec4f275 SHA512 cadb10b48e66be1ea562fa6b96460b5c864e2f16a1e0d5fbb4be4d31023b6d5dfa978634900b1649530a12335eb712032d9d9cc82f663737581521121d3b2120 diff --git a/dev-vcs/rsvndump/rsvndump-0.6.2.ebuild b/dev-vcs/rsvndump/rsvndump-0.6.2.ebuild new file mode 100644 index 0000000000000..f59d8cbbc67ba --- /dev/null +++ b/dev-vcs/rsvndump/rsvndump-0.6.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Dump a remote Subversion repository" +HOMEPAGE="http://rsvndump.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3+ BSD public-domain" # rsvndump, snappy-c, critbit89 +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc" + +RDEPEND="dev-vcs/subversion + dev-libs/apr + dev-libs/apr-util + sys-devel/gettext" +DEPEND="${RDEPEND} + doc? ( app-text/xmlto + >=app-text/asciidoc-8.4 )" + +src_prepare() { + default + + # We need to patch use of /usr/lib because it is a problem with + # linker lld with profile 17.1 on amd64 (see https://bugs.gentoo.org/739028). + # The grep sandwich acts as a regression test so that a future + # version bump cannot break patching without noticing. + if [[ $(get_libdir) != lib ]] ; then + grep -wq svn_prefix/lib m4/find_svn.m4 || die + sed "s,svn_prefix/lib,svn_prefix/$(get_libdir)," -i m4/find_svn.m4 || die + grep -w svn_prefix/lib m4/find_svn.m4 && die + + grep -wq SVN_PREFIX/lib configure.ac || die + sed "s,SVN_PREFIX/lib,SVN_PREFIX/$(get_libdir)," -i configure.ac || die + grep -w SVN_PREFIX/lib configure.ac && die + fi + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable doc man) \ + $(use_enable debug) +} diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 01cd184f41c0e..4f7e4d0477393 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -444,20 +444,6 @@ kernel-build_merge_configs() { fi fi - if [[ ${KERNEL_IUSE_SECUREBOOT} ]]; then - if use secureboot; then - # This only effects arm64 and riscv where the bootable image may - # contain its own decompressor (zboot). If enabled we get a - # sign-able efi file. - cat <<-EOF > "${WORKDIR}/secureboot.config" || die - ## Enable zboot for signing - CONFIG_EFI_ZBOOT=y - EOF - - merge_configs+=( "${WORKDIR}/secureboot.config" ) - fi - fi - if [[ ${#user_configs[@]} -gt 0 ]]; then elog "User config files are being applied:" local x diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index 5efa80ce67e83..a43cef51ef811 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -72,18 +72,12 @@ if [[ -z ${_LLVM_SOURCE_TYPE+1} ]]; then _LLVM_SOURCE_TYPE=snapshot case ${PV} in + 18.0.0_pre20231002) + EGIT_COMMIT=39fec5457c0925bd39f67f63fe17391584e08258 + ;; 18.0.0_pre20230925) EGIT_COMMIT=f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3 ;; - 18.0.0_pre20230906) - EGIT_COMMIT=7e5809e7e7bc9a828427b6540a51d45884d8bbbb - ;; - 18.0.0_pre20230829) - EGIT_COMMIT=f6259d9b9a546dbfa5bc2f29313c6edd6c701177 - ;; - 18.0.0_pre20230825) - EGIT_COMMIT=e3373c6c83d3855adb78f1952a3bf0398baf359e - ;; *) die "Unknown snapshot: ${PV}" ;; diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index fbed387e0ca08..03d6a82fd3103 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Gentoo Authors +# Copyright 2011-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: systemd.eclass @@ -227,6 +227,48 @@ systemd_install_serviced() { ) } +# @FUNCTION: systemd_install_dropin +# @USAGE: [--user] +# @DESCRIPTION: +# Install as the dropin file .d/00gentoo.conf, +# overriding the settings of . +# Defaults to system unit dropins, unless --user is provided, +# which causes the dropin to be installed for user units. +# The required argument may be '-', in which case the +# file is read from stdin and must also be specified. +# @EXAMPLE: +# systemd_install_dropin foo.service "${FILESDIR}/foo.service.conf" +# systemd_install_dropin foo.service - <<-EOF +# [Service] +# RestartSec=120 +# EOF +systemd_install_dropin() { + debug-print-function ${FUNCNAME} "${@}" + + local basedir + if [[ $# -ge 1 ]] && [[ $1 == "--user" ]]; then + basedir=$(_systemd_unprefix systemd_get_userunitdir) + shift 1 + else + basedir=$(_systemd_unprefix systemd_get_systemunitdir) + fi + + local unit=${1} + local src=${2} + + [[ ${unit} ]] || die "No unit specified" + [[ ${src} ]] || die "No conf file specified" + + # avoid potentially common mistake + [[ ${unit} == *.d ]] && die "Unit ${unit} must not have .d suffix" + + ( + insopts -m 0644 + insinto "${basedir}/${unit}".d + newins "${src}" 00gentoo.conf + ) +} + # @FUNCTION: systemd_enable_service # @USAGE: # @DESCRIPTION: diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 556bbac353074..8398ee004a7d4 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -576,9 +576,7 @@ _tc-has-openmp() { # @DESCRIPTION: # Test for OpenMP support with the current compiler and error out with # a clear error message, telling the user how to rectify the missing -# OpenMP support that has been requested by the ebuild. Using this function -# to test for OpenMP support should be preferred over tc-has-openmp and -# printing a custom message, as it presents a uniform interface to the user. +# OpenMP support that has been requested by the ebuild. # # You should test for any necessary OpenMP support in pkg_pretend in order to # warn the user of required toolchain changes. You must still check for OpenMP diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest index 75c0ddb615869..ac986352011a9 100644 --- a/games-fps/eduke32/Manifest +++ b/games-fps/eduke32/Manifest @@ -5,4 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15 DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833 -DIST eduke32_src_20230826-10364-c257d5a65.tar.xz 18711604 BLAKE2B ea4cb72f58aad0336e36ac0509701f51f84c2255e57c1440c0fb581f708a20e31b73406211b657f453b19d74de5e4ddfd8accc278af09901f7cff75456f33966 SHA512 2c0f065dcb39c91931d3b4cb9822bb2d976f7771b3119d75f241ee052400c2f0cce0b56d46fdd3c1cf873c91722f932f433828d0e7d95ead1d146d1ea433f999 +DIST eduke32_src_20230926-10459-8feaf6c25.tar.xz 19141676 BLAKE2B 387d56f09d98a661d0518ddc23420b42f955d2285bc9075e6cec1a60ba6d814ee96e3452c92cb57dd0a82949f7f353186b92eca912fa184c7bb0941413c2a28c SHA512 1575d03cf6b3a92e9b911cac98b10650b940a15793f87d5203b6d146b5ca6108901ad2fd1508276742376fec600149f8e658a5e37ce006a6c26bd1e8f75930d4 diff --git a/games-fps/eduke32/eduke32-20230826.10364.ebuild b/games-fps/eduke32/eduke32-20230926.10459.ebuild similarity index 98% rename from games-fps/eduke32/eduke32-20230826.10364.ebuild rename to games-fps/eduke32/eduke32-20230926.10459.ebuild index ae52591f3f385..4f27ffafa2d11 100644 --- a/games-fps/eduke32/eduke32-20230826.10364.ebuild +++ b/games-fps/eduke32/eduke32-20230926.10459.ebuild @@ -5,7 +5,7 @@ EAPI=8 inherit desktop toolchain-funcs xdg-utils -EGIT_COMMIT="c257d5a65" +EGIT_COMMIT="8feaf6c25" MY_BUILD="$(ver_cut 2)" MY_DATE="$(ver_cut 1)" MY_PV_HRP="5.4" @@ -77,9 +77,9 @@ BDEPEND=" PDEPEND="duke3d? ( games-fps/duke3d-data )" PATCHES=( - "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch" "${FILESDIR}/${PN}-20200505.8904-gcc10.patch" "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch" + "${FILESDIR}/${PN}-20230926.10459-search-duke3d-path.patch" ) src_unpack() { diff --git a/games-fps/eduke32/files/eduke32-20190820.8043-search-duke3d-path.patch b/games-fps/eduke32/files/eduke32-20190820.8043-search-duke3d-path.patch deleted file mode 100644 index c35af40c749e1..0000000000000 --- a/games-fps/eduke32/files/eduke32-20190820.8043-search-duke3d-path.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/source/duke3d/src/common.cpp 2018-04-12 23:03:47.000000000 +0200 -+++ b/source/duke3d/src/common.cpp 2018-05-11 00:04:36.590712915 +0200 -@@ -794,6 +794,8 @@ - - addsearchpath("/usr/share/games/jfduke3d"); - addsearchpath("/usr/local/share/games/jfduke3d"); -+ addsearchpath("/usr/share/games/duke3d"); -+ addsearchpath("/usr/share/duke3d"); - addsearchpath("/usr/share/games/eduke32"); - addsearchpath("/usr/local/share/games/eduke32"); - #elif defined EDUKE32_OSX diff --git a/games-fps/eduke32/files/eduke32-20230926.10459-search-duke3d-path.patch b/games-fps/eduke32/files/eduke32-20230926.10459-search-duke3d-path.patch new file mode 100644 index 0000000000000..0bb66794b401a --- /dev/null +++ b/games-fps/eduke32/files/eduke32-20230926.10459-search-duke3d-path.patch @@ -0,0 +1,11 @@ +--- a/source/duke3d/src/common.cpp ++++ b/source/duke3d/src/common.cpp +@@ -642,6 +642,8 @@ + + addsearchpath("/usr/share/games/jfduke3d"); + addsearchpath("/usr/local/share/games/jfduke3d"); ++ addsearchpath("/usr/share/games/duke3d"); ++ addsearchpath("/usr/share/duke3d"); + addsearchpath("/usr/share/games/" APPBASENAME); + addsearchpath("/usr/local/share/games/" APPBASENAME); + addsearchpath("/app/extensions/extra"); diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest index bf9bde5d47854..25fdbf17d59b4 100644 --- a/games-server/bedrock-server/Manifest +++ b/games-server/bedrock-server/Manifest @@ -1 +1 @@ -DIST bedrock-server-1.20.30.02.zip 88025941 BLAKE2B 4259d3de3363efe01c374107deb3f6c451243be0c6bd62478fd9d965778364e078704d6a411751c5130e9a3261f7dffad6de7e7506eeaee4af5ae588e188fc7e SHA512 1a4909ca45807d029f8aa2280a6bdd2420991a6e5ce6f7af16c61f4b2fc6c2b390b6587b1db955025e3eb682c82385edf70dc3e600f68089bf8fcbd37eac4335 +DIST bedrock-server-1.20.31.01.zip 87981399 BLAKE2B 286c83ec0bc6d044c6704accde65cb1a7225e0f46280a8c0fc3a5b42cda5f31fb175606a11c5e637327e14a794c6ff8747b335a58dc61ec14dccb8213978628f SHA512 206f6baa7e73538507e121c56d12587af77b0bc9e6d586d9f09bf383ec099fa4982bc64f0bfa925651afbedb31e85db83e718f1cf01d7515854019b072548a31 diff --git a/games-server/bedrock-server/bedrock-server-1.20.30.02.ebuild b/games-server/bedrock-server/bedrock-server-1.20.31.01.ebuild similarity index 100% rename from games-server/bedrock-server/bedrock-server-1.20.30.02.ebuild rename to games-server/bedrock-server/bedrock-server-1.20.31.01.ebuild diff --git a/gnome-base/gnome-light/gnome-light-40.0.ebuild b/gnome-base/gnome-light/gnome-light-40.0.ebuild index ea16fff20336c..e6a6801035960 100644 --- a/gnome-base/gnome-light/gnome-light-40.0.ebuild +++ b/gnome-base/gnome-light/gnome-light-40.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ LICENSE="metapackage" SLOT="2.0" IUSE="cups +gnome-shell" -KEYWORDS="amd64 ~arm ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" # XXX: Note to developers: # This is a wrapper for the 'light' GNOME 3 desktop, and should only consist of diff --git a/gnome-extra/gnome-firmware/Manifest b/gnome-extra/gnome-firmware/Manifest index 5535bc7f0a471..66e93180440e8 100644 --- a/gnome-extra/gnome-firmware/Manifest +++ b/gnome-extra/gnome-firmware/Manifest @@ -1,2 +1,2 @@ -DIST gnome-firmware-43.0.tar.xz 261244 BLAKE2B 93eaf911d080f70d9f7de0467804751fe9f26fbe7d9aa0835360949bcc8c7ecb827ecc1a21c71392448b98b442db239ac85181bd1bfeedd896ff7357ebfee206 SHA512 8aa06de07e5fb40f15ee8c8a688552978dd183db8f783246094d5713c99d8b90aeb50212517a45e80e3152053fed864f99028f1f2b8535dc596c86a7d70c339a DIST gnome-firmware-43.2.tar.xz 272344 BLAKE2B 6fc698d3b8c831d4802111bc5bfd290f570a1a87ca621280621e191c9669b892732ed63b8dac516fd7231092b777977844f06848c32ea67a9ff6338166330f25 SHA512 8524a2b2c5ab5de5f2cbb01e02e158d351e29182af6330c34760745fdd2817323ac11eaad302a540dfe16d29aef10778c38bb705523d8260340d06188b98fc4d +DIST gnome-firmware-45.0.tar.xz 277276 BLAKE2B b6ef1995b3861e4f44a7463d55be3450cdb6e1d623b41e82d87ddbd3b25cde258ecdd8ed0d6edf1b9c4d6711ad401050a879ad5dcae1d77267511b92f078082f SHA512 62cf662545ab3f4eb5f9f76880a5593dd3a428fdc255eb011bb53b6a3b9f81e8ad5d8b392734ca02ba6067fde32087e19f581b0e9103c960afb72168309053d3 diff --git a/gnome-extra/gnome-firmware/gnome-firmware-43.0.ebuild b/gnome-extra/gnome-firmware/gnome-firmware-45.0.ebuild similarity index 73% rename from gnome-extra/gnome-firmware/gnome-firmware-43.0.ebuild rename to gnome-extra/gnome-firmware/gnome-firmware-45.0.ebuild index 7fb07fc6db85f..c808f3bd68fdb 100644 --- a/gnome-extra/gnome-firmware/gnome-firmware-43.0.ebuild +++ b/gnome-extra/gnome-firmware/gnome-firmware-45.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,15 +11,15 @@ SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" IUSE="+man elogind systemd" RDEPEND=" >=gui-libs/gtk-4.2:4 - dev-libs/glib:2 - >=sys-apps/fwupd-1.7.5[elogind?,systemd?] + >=dev-libs/glib-2.74.0:2 + >=sys-apps/fwupd-1.8.11[elogind?,systemd?] >=dev-libs/libxmlb-0.1.7:= - >=gui-libs/libadwaita-1.0.0:1 + >=gui-libs/libadwaita-1.4:1 elogind? ( sys-auth/elogind ) systemd? ( sys-apps/systemd ) " @@ -32,11 +32,6 @@ BDEPEND=" DOCS=( README.md ) -PATCHES=( - # https://gitlab.gnome.org/World/gnome-firmware/-/issues/47 - "${FILESDIR}/${P}-build-failure.patch" -) - src_configure() { local emesonargs=( -Dconsolekit=false diff --git a/gui-apps/gnome-console/gnome-console-45.0-r1.ebuild b/gui-apps/gnome-console/gnome-console-45.0-r1.ebuild index d0a7a7b2bfde9..b95d66d5c219b 100644 --- a/gui-apps/gnome-console/gnome-console-45.0-r1.ebuild +++ b/gui-apps/gnome-console/gnome-console-45.0-r1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/console" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~loong" +KEYWORDS="~amd64 ~arm64 ~loong" IUSE="test" RESTRICT="!test? ( test )" diff --git a/gui-apps/wl-clipboard/wl-clipboard-2.2.1-r1.ebuild b/gui-apps/wl-clipboard/wl-clipboard-2.2.1-r1.ebuild index a6e7955164232..eb69a2b7385a5 100644 --- a/gui-apps/wl-clipboard/wl-clipboard-2.2.1-r1.ebuild +++ b/gui-apps/wl-clipboard/wl-clipboard-2.2.1-r1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/bugaevc/${PN}.git" else SRC_URI="https://github.com/bugaevc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" fi LICENSE="GPL-3" diff --git a/gui-wm/hyprland/Manifest b/gui-wm/hyprland/Manifest index 03e51408765b9..4c4e9e1253aaf 100644 --- a/gui-wm/hyprland/Manifest +++ b/gui-wm/hyprland/Manifest @@ -1,2 +1,2 @@ -DIST hyprland-0.28.0.gh.tar.gz 14060441 BLAKE2B 25059b74b67df222867e84f5f1d44219302e7e454ec68110b70d6e915e95913bfdc8c6112bc8725e9be61f10a44603a96ba70980a9835d4b7757363825b93326 SHA512 c0802f2b061d5c9265c7767fae6ddaf00c1bbf6dc620f75593ba1538f94105a9ebe1517b7be444a1e70b81fd3a4205afd8154ba9ad02b3d610b00a9440ee6a63 DIST hyprland-0.29.1.gh.tar.gz 14056843 BLAKE2B 9e9f1b15d354cf5e391b1add5dc5ce8cf2e4b206853465028a6170e613c7c5435e9a6e3318cd1006d3c2874d885128b95495bba08444fade0185b2a69d9ab950 SHA512 abbfd244b7473ec521a639b0d424e2873193ab9ef0d24e6272e15b79da9ade8ee56ea4cffdc328713f99600c1d320384839d32eb223034945659b015125e98b1 +DIST hyprland-0.30.0.gh.tar.gz 14064946 BLAKE2B 188328ed08ca8a9db97ae94b77159f9ebe5361a050a177ec586f376b168dab4c9dcd6b6d71d3314e9470f46b57f0610a92cdfe73ff1704b9f55f21399895e69f SHA512 f8053c19460e7768aa00944d1fc624d85ff9e042d0750a74d28e08147fe50e45262bdb1c259642bb7241746a8fb967344841e58fa598213f8c333f15246f9c94 diff --git a/gui-wm/hyprland/files/hyprland-0.30.0-3400-fix-build.patch b/gui-wm/hyprland/files/hyprland-0.30.0-3400-fix-build.patch new file mode 100644 index 0000000000000..3ee5ca7100150 --- /dev/null +++ b/gui-wm/hyprland/files/hyprland-0.30.0-3400-fix-build.patch @@ -0,0 +1,49 @@ +From 8637bfb1b79d7778447d93349f14b86dea41d2a4 Mon Sep 17 00:00:00 2001 +From: Jan Beich +Date: Sat, 23 Sep 2023 12:31:37 +0000 +Subject: [PATCH] build: Unbreak build without precompiled headers (#3400) + +* helpers: add missing header after 2e34548aea5b + +src/helpers/VarList.cpp: In constructor 'CVarList::CVarList(const std::string&, size_t, char, bool)': +src/helpers/VarList.cpp:19:34: error: 'removeBeginEndSpacesTabs' was not declared in this scope + 19 | m_vArgs.emplace_back(removeBeginEndSpacesTabs(in.substr(pos))); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +src/helpers/VarList.cpp:23:30: error: 'removeBeginEndSpacesTabs' was not declared in this scope + 23 | m_vArgs.emplace_back(removeBeginEndSpacesTabs(std::string_view{s}.data())); + | ^~~~~~~~~~~~~~~~~~~~~~~~ + +* helpers: add missing C linkage after 0dbd99700319 + +ld.lld: error: undefined symbol: wlr_region_scale(pixman_region32*, pixman_region32 const*, float) +>>> referenced by Region.cpp +>>> src/Hyprland.p/helpers_Region.cpp.o:(CRegion::scale(float)) +>>> did you mean: extern "C" wlr_region_scale +>>> defined in: /usr/lib/libwlroots.so.12032 +--- + src/helpers/Region.cpp | 2 ++ + src/helpers/VarList.cpp | 1 + + 2 files changed, 3 insertions(+) + +diff --git a/src/helpers/Region.cpp b/src/helpers/Region.cpp +index e2db466438..5515e71e7e 100644 +--- a/src/helpers/Region.cpp ++++ b/src/helpers/Region.cpp +@@ -1,6 +1,8 @@ + #include "Region.hpp" ++extern "C" { + #include + #include ++} + + CRegion::CRegion() { + pixman_region32_init(&m_rRegion); +diff --git a/src/helpers/VarList.cpp b/src/helpers/VarList.cpp +index c29a1e9641..780ea9a045 100644 +--- a/src/helpers/VarList.cpp ++++ b/src/helpers/VarList.cpp +@@ -1,3 +1,4 @@ ++#include "MiscFunctions.hpp" + #include "VarList.hpp" + #include + #include diff --git a/gui-wm/hyprland/files/hyprland-0.30.0-no-wlroots-automagic-r1.patch b/gui-wm/hyprland/files/hyprland-0.30.0-no-wlroots-automagic-r1.patch new file mode 100644 index 0000000000000..452c1cc80f5e3 --- /dev/null +++ b/gui-wm/hyprland/files/hyprland-0.30.0-no-wlroots-automagic-r1.patch @@ -0,0 +1,18 @@ +diff --git a/meson.build b/meson.build +index d515621e..08993f8a 100644 +--- a/meson.build ++++ b/meson.build +@@ -39,7 +39,12 @@ add_project_arguments( + ], + language: 'cpp') + +-wlroots = subproject('wlroots', default_options: ['examples=false', 'renderers=gles2']) ++if get_option('xwayland').enabled() ++ wlroots = subproject('wlroots', default_options: ['backends=drm,libinput,x11','examples=false','renderers=gles2','xcb-errors=disabled','xwayland=enabled']) ++else ++ wlroots = subproject('wlroots', default_options: ['backends=drm,libinput','examples=false','renderers=gles2','xcb-errors=disabled','xwayland=disabled']) ++endif ++ + have_xwlr = wlroots.get_variable('features').get('xwayland') + xcb_dep = dependency('xcb', required: get_option('xwayland')) + diff --git a/gui-wm/hyprland/hyprland-0.28.0-r1.ebuild b/gui-wm/hyprland/hyprland-0.30.0.ebuild similarity index 76% rename from gui-wm/hyprland/hyprland-0.28.0-r1.ebuild rename to gui-wm/hyprland/hyprland-0.30.0.ebuild index 1da193f4e2188..46dcb4002906d 100644 --- a/gui-wm/hyprland/hyprland-0.28.0-r1.ebuild +++ b/gui-wm/hyprland/hyprland-0.30.0.ebuild @@ -70,6 +70,7 @@ DEPEND=" " BDEPEND=" ${WLROOTS_BDEPEND} + || ( >=sys-devel/gcc-13:* >=sys-devel/clang-16:* ) app-misc/jq dev-util/cmake dev-util/wayland-scanner @@ -77,18 +78,22 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}/hyprland-0.30.0-no-wlroots-automagic-r1.patch" + "${FILESDIR}/hyprland-0.30.0-3400-fix-build.patch" +) + pkg_setup() { [[ ${MERGE_TYPE} == binary ]] && return - if tc-is-gcc; then - STDLIBVER=$(echo '#include ' | $(tc-getCXX) -x c++ -dM -E - | \ - grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/') - - if ! [[ ${STDLIBVER} -ge 12 ]]; then - die "Hyprland requires >=sys-devel/gcc-12.1.0 to build" - fi - elif [[ $(clang-major-version) -lt 16 ]]; then - die "Hyprland requires >=sys-devel/clang-16.0.3 to build"; + if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then + eerror "Hyprland requires >=sys-devel/gcc-13 to build" + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile Hyprland!" + elif tc-is-clang && ver_test $(clang-version) -lt 16 ; then + eerror "Hyprland requires >=sys-devel/clang-16 to build" + eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" + die "Clang version is too old to compile Hyprland!" fi } @@ -96,15 +101,9 @@ src_prepare() { if use video_cards_nvidia; then cd "${S}/subprojects/wlroots" || die eapply "${S}/nix/patches/wlroots-nvidia.patch" - # https://bugs.gentoo.org/911597 - # https://github.com/hyprwm/Hyprland/pull/2874 - # https://github.com/hyprwm/Hyprland/blob/main/nix/wlroots.nix#L54 - sed -i -e 's/glFlush();/glFinish();/' render/gles2/renderer.c || die cd "${S}" || die fi - eapply "${FILESDIR}/hyprland-0.28.0-no-wlroots-automagic-r1.patch" - default } diff --git a/kde-frameworks/kxmlgui/files/kxmlgui-5.111.0-fix-xml-merging.patch b/kde-frameworks/kxmlgui/files/kxmlgui-5.111.0-fix-xml-merging.patch new file mode 100644 index 0000000000000..013fbab9d1c7d --- /dev/null +++ b/kde-frameworks/kxmlgui/files/kxmlgui-5.111.0-fix-xml-merging.patch @@ -0,0 +1,156 @@ +https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/190 +https://bugs.kde.org/show_bug.cgi?id=475016 + +From f015fa6006d2e2eea2d2aac11c18219b255722ef Mon Sep 17 00:00:00 2001 +From: Mladen Milinkovic +Date: Fri, 29 Sep 2023 20:01:49 +0200 +Subject: [PATCH] Fix merging of XMLs with multiple ActionProperties tags + +BUG: 475016 +--- a/autotests/kxmlgui_unittest.cpp ++++ b/autotests/kxmlgui_unittest.cpp +@@ -88,6 +88,26 @@ static void createXmlFile(QFile &file, int version, int flags, const QByteArray + file.write("\n"); + } + ++class ShortcutSchemeHandler ++{ ++public: ++ ShortcutSchemeHandler(const QString &scheme) ++ : cgScheme(KSharedConfig::openConfig(), "Shortcut Schemes") ++ , prevScheme(cgScheme.readEntry("Current Scheme", QStringLiteral("Default"))) ++ { ++ cgScheme.writeEntry("Current Scheme", scheme); ++ } ++ ++ ~ShortcutSchemeHandler() ++ { ++ cgScheme.writeEntry("Current Scheme", prevScheme); ++ } ++ ++private: ++ KConfigGroup cgScheme; ++ const QString prevScheme; ++}; ++ + static void clickApply(KEditToolBar *dialog) + { + QDialogButtonBox *box = dialog->findChild(); +@@ -106,6 +126,15 @@ void KXmlGui_UnitTest::initTestCase() + QFile::remove(configFile); + KSharedConfig::openConfig()->reparseConfiguration(); + } ++ ++ // Create "Test" shortcut scheme to eliminate the KF warning ++ QFile testScheme = QFile(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) ++ + QLatin1String("/%1/shortcuts/%2").arg(QCoreApplication::applicationName(), QStringLiteral("Test"))); ++ if (!testScheme.exists()) { ++ QVERIFY(QFileInfo(testScheme).dir().mkpath(QStringLiteral("."))); ++ QVERIFY(testScheme.open(QIODevice::WriteOnly)); ++ testScheme.write(QByteArray("")); ++ } + } + + void KXmlGui_UnitTest::testFindVersionNumber_data() +@@ -457,6 +486,56 @@ void KXmlGui_UnitTest::testPartMerging() + factory.removeClient(&hostClient); + } + ++void KXmlGui_UnitTest::testShortcutSchemeMerging() ++{ ++ TestGuiClient client; ++ ++ ShortcutSchemeHandler sss(QStringLiteral("Test")); ++ ++ KActionCollection *ac = client.actionCollection(); ++ ++ QAction *a = ac->addAction(QStringLiteral("test_action")); ++ ac->setDefaultShortcut(a, QKeySequence(QStringLiteral("Ctrl+A"))); ++ ++ const QByteArray appXml = R"( ++ ++ ++ ++ &File ++ ++ ++ ++)"; ++ client.createGUI(appXml, false); ++ ++ const QByteArray settingsXml = R"( ++ ++ ++ ++ &File ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++)"; ++ client.mergeXML(settingsXml); ++ ++ KMainWindow mainWindow; ++ KXMLGUIBuilder builder(&mainWindow); ++ KXMLGUIFactory factory(&builder); ++ factory.addClient(&client); ++ ++ QCOMPARE(a->shortcut(), QKeySequence(QStringLiteral("Ctrl+C"))); ++ ++ factory.removeClient(&client); ++} ++ + void KXmlGui_UnitTest::testPartMergingSettings() // #252911 + { + const QByteArray hostXml = +--- a/autotests/kxmlgui_unittest.h ++++ b/autotests/kxmlgui_unittest.h +@@ -23,6 +23,7 @@ private Q_SLOTS: + void testVersionHandlerNewVersionUserChanges(); + void testPartMerging(); + void testPartMergingSettings(); ++ void testShortcutSchemeMerging(); + void testUiStandardsMerging_data(); + void testUiStandardsMerging(); + void testActionListAndSeparator(); +--- a/autotests/testguiclient.h ++++ b/autotests/testguiclient.h +@@ -42,6 +42,10 @@ public: + + setXML(QString::fromLatin1(xml), true); + } ++ void mergeXML(const QByteArray &xml) ++ { ++ setXML(QString::fromLatin1(xml), true); ++ } + void createActions(const QStringList &actionNames) + { + KActionCollection *coll = actionCollection(); +--- a/src/kxmlguiclient.cpp ++++ b/src/kxmlguiclient.cpp +@@ -587,6 +587,8 @@ bool KXMLGUIClientPrivate::isEmptyContainer(const QDomElement &base, KActionColl + + QDomElement KXMLGUIClientPrivate::findMatchingElement(const QDomElement &base, const QDomElement &additive) + { ++ const QString idAttribute(base.tagName() == QLatin1String("ActionProperties") ? QStringLiteral("scheme") : QStringLiteral("name")); ++ + QDomNode n = additive.firstChild(); + while (!n.isNull()) { + QDomElement e = n.toElement(); +@@ -604,7 +606,7 @@ QDomElement KXMLGUIClientPrivate::findMatchingElement(const QDomElement &base, c + + // now see if our tags are equivalent + if (equalstr(tag, base.tagName()) // +- && e.attribute(QStringLiteral("name")) == base.attribute(QStringLiteral("name"))) { ++ && e.attribute(idAttribute) == base.attribute(idAttribute)) { + return e; + } + } +-- +GitLab diff --git a/kde-frameworks/kxmlgui/kxmlgui-5.110.0-r1.ebuild b/kde-frameworks/kxmlgui/kxmlgui-5.110.0-r1.ebuild new file mode 100644 index 0000000000000..e891a27f36949 --- /dev/null +++ b/kde-frameworks/kxmlgui/kxmlgui-5.110.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_DESIGNERPLUGIN="true" +PVCUT=$(ver_cut 1-2) +QTMIN=5.15.9 +inherit ecm frameworks.kde.org + +DESCRIPTION="Framework for managing menu and toolbar actions in an abstract way" + +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +LICENSE="LGPL-2+" +IUSE="" + +# slot op: includes QtCore/private/qlocale_p.h +DEPEND=" + >=dev-qt/qtcore-${QTMIN}:5= + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5[ssl] + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + =kde-frameworks/kconfig-${PVCUT}*:5 + =kde-frameworks/kconfigwidgets-${PVCUT}*:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/kglobalaccel-${PVCUT}*:5 + =kde-frameworks/kguiaddons-${PVCUT}*:5 + =kde-frameworks/ki18n-${PVCUT}*:5 + =kde-frameworks/kiconthemes-${PVCUT}*:5 + =kde-frameworks/kitemviews-${PVCUT}*:5 + =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-5.111.0-fix-xml-merging.patch +) + +src_test() { + # Files are missing; whatever. Bugs 650290, 668198, 808216 + local myctestargs=( + -E "(ktoolbar_unittest|kxmlgui_unittest|ktooltiphelper_unittest)" + ) + + ecm_src_test +} diff --git a/kde-misc/kdiff3/Manifest b/kde-misc/kdiff3/Manifest index ac9255f770a34..532bb7b9c48e3 100644 --- a/kde-misc/kdiff3/Manifest +++ b/kde-misc/kdiff3/Manifest @@ -1,2 +1,2 @@ DIST kdiff3-1.10.5.tar.xz 1119712 BLAKE2B ba2a2750db48e74d1668b8f39fb59bede65385fd9c9457881f90f4bb55bed20a96c1983ff43ac21896773cf9894ab171a8b2a4054cd11d9a115263caec2dd223 SHA512 567feae45f622fe07c33435949da2418b74a986afad72b25a53f1bf9d628e4a5dc2b2e915caec9ddeb02a57e0309ecde6554af100e38af3143f7601f9a8a12f2 -DIST kdiff3-1.10.6.tar.bz2 1330356 BLAKE2B 5953183ed599346ccc09b0ab112114fa18dbf7ec5d09e2492d850bdc0fba2e38eef6e3ffc399213931aefd6e4ed0ab54053ff96bebf9c5109dbdc487b18298f8 SHA512 104ff95d84e4fb81a4b8fcdb407030cb2123d466795e6c778d6645aba7ea2d9ffa4db286ad05966119e4fd64859ce12b38c351719e5a16dae06011ac9afdb966 +DIST kdiff3-1.10.6.tar.xz 1122552 BLAKE2B 381f9a579247d5b3b630a16a633beb99ce9d33d3a2ecca90d072654ab3705ac5911d207187dfc73a901ca78ce3d53d30573f7c7b411fe17c29e3272d96a48abc SHA512 86b6274acddd58ff80d6d1c83aa884987af05df1b820732394d52197c43adfb13258336de38ffa87203ed8700dd1b9725c96a8be67c48e1189ea776216152e7f diff --git a/kde-misc/kdiff3/kdiff3-1.10.6_pre0.ebuild b/kde-misc/kdiff3/kdiff3-1.10.6.ebuild similarity index 90% rename from kde-misc/kdiff3/kdiff3-1.10.6_pre0.ebuild rename to kde-misc/kdiff3/kdiff3-1.10.6.ebuild index 4dba975a38475..4c421ae349cec 100644 --- a/kde-misc/kdiff3/kdiff3-1.10.6_pre0.ebuild +++ b/kde-misc/kdiff3/kdiff3-1.10.6.ebuild @@ -10,8 +10,7 @@ inherit ecm kde.org DESCRIPTION="Frontend to diff3 based on KDE Frameworks" HOMEPAGE="https://apps.kde.org/kdiff3/ https://userbase.kde.org/KDiff3" -SRC_URI="https://invent.kde.org/sdk/${PN}/-/archive/${PV/_pre0/}/${P/_pre0/}.tar.bz2" -S="${WORKDIR}/${P/_pre0/}" +SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" LICENSE="GPL-2" SLOT="5" diff --git a/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.27.8-fallback-gtk-portals-settings.patch b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.27.8-fallback-gtk-portals-settings.patch new file mode 100644 index 0000000000000..22afdbc240bf0 --- /dev/null +++ b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.27.8-fallback-gtk-portals-settings.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/915111 +https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/33f8d622559a59fa01e4099f5623af7d001de549 + +From 33f8d622559a59fa01e4099f5623af7d001de549 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= +Date: Fri, 22 Sep 2023 20:17:55 +0200 +Subject: [PATCH] data/kde-portals.conf: Fallback to GTK portals for Settings + +Add a fallback to the GTK portal for Settings. This makes sure that GTK +apps always get valid fonts and related settings. + +See: https://bugzilla.redhat.com/2240211 +See: https://pagure.io/fedora-kde/SIG/issue/396 +See: https://github.com/flatpak/xdg-desktop-portal/issues/1017 +See: https://github.com/flatpak/xdg-desktop-portal/issues/1112 +See: https://bugs.kde.org/show_bug.cgi?id=474746 + +BUG: 474746 + +See: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/231 +(cherry picked from commit 93f96d31d14a88b45065a21616135a126131c579) +--- a/data/kde-portals.conf ++++ b/data/kde-portals.conf +@@ -1,2 +1,3 @@ + [preferred] + default=kde ++org.freedesktop.impl.portal.Settings=kde;gtk; +-- +GitLab diff --git a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.8-r1.ebuild b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.8-r1.ebuild new file mode 100644 index 0000000000000..3a90e13b0256a --- /dev/null +++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.8-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KFMIN=5.106.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.9 +inherit ecm plasma.kde.org + +DESCRIPTION="Backend implementation for xdg-desktop-portal that is using Qt/KDE Frameworks" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="" + +# dev-qt/qtgui: QtXkbCommonSupport is provided by either IUSE libinput or X +COMMON_DEPEND=" + >=dev-libs/wayland-1.15 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + || ( + >=dev-qt/qtgui-${QTMIN}:5[libinput] + >=dev-qt/qtgui-${QTMIN}:5[X] + ) + >=dev-qt/qtprintsupport-${QTMIN}:5[cups] + >=dev-qt/qtwayland-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5[dbus] + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kirigami-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kwayland-${KFMIN}:5 + >=kde-frameworks/plasma-${KFMIN}:5 + x11-libs/libxkbcommon +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/plasma-wayland-protocols-1.7.0 + >=dev-libs/wayland-protocols-1.25 + >=dev-qt/qtconcurrent-${QTMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + kde-misc/kio-fuse:5 + sys-apps/xdg-desktop-portal +" +BDEPEND=" + >=dev-qt/qtwaylandscanner-${QTMIN}:5 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.27.8-fallback-gtk-portals-settings.patch +) diff --git a/mail-mta/exim/Manifest b/mail-mta/exim/Manifest index 079903b715c8e..08e3a5320cb66 100644 --- a/mail-mta/exim/Manifest +++ b/mail-mta/exim/Manifest @@ -1,6 +1,8 @@ DIST exim-4.94.2.tar.xz 1838076 BLAKE2B 684e115a7af3efdab15451f8e11f9b53455c9166d8c078216d7a95223d77569cec8a882ed99b9180acbd8a9e747a0bca03d56993d011de15dc35143a989ab046 SHA512 5334c236221ed4e03dbc33e6a79d939b06037fa2f4b71971607a360b67af5c85a89681ee13a5eeaf0184382c55a160cf2e89ed7afb2949f025a54f1e88f9e3fc DIST exim-4.96-gentoo-patches-r0.tar.xz 13308 BLAKE2B e01cd8b90593329d858cced27bea9da4860e80500c0b0b3f86418931a77616ac1e4a532cfffc551de5844bfcbcd115c1591b28577c234beb551458dc0877e764 SHA512 0a8d7b5903c8cd7c2cc07e4ea3ed62200ee0116fe0b5513ec97ba7f3ab1dd5cd0dc181eb93c3c1c7f767be7df3546ac07b622a8f4352eb883323c3a005a1c7db +DIST exim-4.96.1.tar.xz 1879404 BLAKE2B fc6425be41ef7722f7d7b6b541c01774a4bafe55ca38152dc3fbb837e00ea52fabc39a42fcbf0500f4e0eda40deec3cbb0d746da9700a4a615f9ee4869e325c5 SHA512 ef1a0e57c59cdf4e915b3ac5dcdbc69f565b14dd92b0527f6796b2c46a9ec34f991f9790fb4171c99417f7e482cdd62d77e780cc71fab227c8bed876103f7fdd DIST exim-4.96.tar.xz 1879152 BLAKE2B 4b424f2ebc661bd0db35d7f6da86300c6d5cb5b9a52cddd24fdd452daa76c84e471d4f8f278cf951d1503b01fd46fc3e6858d6feded09f34253d2cf2ae99b45a SHA512 6b863661465a0b9897c1b71875c5196a1903cf560dd85de45b08242b9731edb2bc10eb56945d62e477e5d15cc7a8d493915bff2ca81689673a8091c66f62c89e DIST exim-pdf-4.94.2.tar.xz 2092248 BLAKE2B 973ab4f117fdb58afa017bc41b4496fac1277e707a9926d67317c455b0bd617021c17cba6c8d793d8962aacef12c0790d5add7174017512b7b1ea070f8e8533d SHA512 3a661f69d81a992798d4b7e5b7def7cfffa297a7b3c02a6631be426cefff5a6e8783fa322a1bd105d01f7b06968d01e77963e6ab7be3157f63eb62eb6ff172b0 +DIST exim-pdf-4.96.1.tar.xz 2132252 BLAKE2B 7e6d756630211b6465f9162c7a6b461774b3999ad8c3c1ace157a39b7e07f86644d206c5687991b6098aec47445319def44ddb2895b2a16146f6abd1c11d47a6 SHA512 d39ee2f9a05326809a6e8454a108d717838dacfa42c2cade72f5937b1b44d70e70152fa75f4b4e9548cd4198d54f8a8c1323e14d7d1f9a0a23c99a53db1001b0 DIST exim-pdf-4.96.tar.xz 2137468 BLAKE2B 7f61767f91864c43a3b7b6ca36ec7f41da6ad7029687a38cfa9307c444c2ffbd3eb61d45645ffd20ec16ba64a37e1ff08c02e7e4e36499c7783679af9a399081 SHA512 05e94579631656330d95d237c58bc9fd52229a067c5846e7c3409b4c83040c9216819bcb0090673d9991fd59e2c2025340592b31b241b557c6775782106854d1 DIST system_filter.exim.gz 3075 BLAKE2B d05e872b5cef377d29126cda03fc0a74c8777b2119b76ff43da6e8de808035eb9bfcb034a85d81824f135d484e864bfc0629fc1af2c228a7277d5ee7cf9cde79 SHA512 cb358d3ce2499a0bb5920d962a06f2af8486e55ec90c8c928bd8e3aefb279aa57f5f960d5adfcef68bd94110b405eaa144e9629cfe6014a529c79c544600bbf3 diff --git a/mail-mta/exim/exim-4.96.1.ebuild b/mail-mta/exim/exim-4.96.1.ebuild new file mode 100644 index 0000000000000..2fb3f6b6970a1 --- /dev/null +++ b/mail-mta/exim/exim-4.96.1.ebuild @@ -0,0 +1,655 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit db-use toolchain-funcs pam systemd + +IUSE="arc berkdb +dane dcc +dkim dlfunc dmarc +dnsdb doc dovecot-sasl +dsn gdbm gnutls idn ipv6 ldap lmtp maildir mbx +mysql nis pam perl pkcs11 postgres +prdr proxy radius redis sasl selinux +socks5 spf sqlite srs +ssl syslog tdb tcpd +tpda X" +REQUIRED_USE=" + arc? ( dkim spf ) + dane? ( ssl !gnutls ) + dmarc? ( dkim spf ) + dkim? ( ssl !gnutls ) + gnutls? ( ssl ) + pkcs11? ( ssl ) + || ( berkdb gdbm tdb ) +" +# NOTE on USE="gnutls dane", gnutls[dane] is masked in base, unmasked +# for x86 and amd64 only, due to this, repoman won't allow depending on +# gnutls[dane] for all else. Because we cannot express USE=dane when +# USE=gnutls is in effect only in package.use.mask, the only option we +# have left is to a) ignore the dependency (but that results in bug +# #661164) or b) mask the usage of USE=dane with USE=gnutls. Both are +# incorrect, but b) is the only "correct" view from repoman. +# We cannot express a required use for berkdb/gdbm/tdb correctly because +# berkdb and gdbm are both enabled in base profile + +SDIR=$([[ ${PV} == *_rc* ]] && echo /test + [[ ${PV} == *.*.*.* ]] && echo /fixes) +COMM_URI="https://downloads.exim.org/exim4${SDIR}" + +GPV="r0" +DESCRIPTION="A highly configurable, drop-in replacement for sendmail" +SRC_URI="${COMM_URI}/${P//_rc/-RC}.tar.xz + https://dev.gentoo.org/~grobian/distfiles/${PN}-4.96-gentoo-patches-${GPV}.tar.xz + mirror://gentoo/system_filter.exim.gz + doc? ( ${COMM_URI}/${PN}-pdf-${PV//_rc/-RC}.tar.xz )" +HOMEPAGE="https://www.exim.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +COMMON_DEPEND=">=sys-apps/sed-4.0.5 + dev-libs/libpcre2:= + tdb? ( sys-libs/tdb:= ) + !tdb? ( berkdb? ( >=sys-libs/db-3.2:= =net-nds/openldap-2.0.7:= ) + elibc_glibc? ( + net-libs/libnsl:= + nis? ( + net-libs/libtirpc:= + >=net-libs/libnsl-1:= + ) + ) + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:= ) + sasl? ( >=dev-libs/cyrus-sasl-2.1.26-r2 ) + redis? ( dev-libs/hiredis:= ) + spf? ( >=mail-filter/libspf2-1.2.5-r1 ) + dmarc? ( mail-filter/opendmarc:= ) + X? ( + x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXaw + ) + sqlite? ( dev-db/sqlite ) + radius? ( net-dialup/freeradius-client ) + virtual/libcrypt:= + virtual/libiconv + " + # added X check for #57206 +BDEPEND="virtual/pkgconfig" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + !mail-mta/courier + !mail-mta/esmtp + !mail-mta/msmtp[mta] + !mail-mta/netqmail + !mail-mta/nullmailer + !mail-mta/postfix + !mail-mta/sendmail + !mail-mta/opensmtpd + !mail-mta/ssmtp[mta] + >=net-mail/mailbase-0.00-r5 + virtual/logger + dcc? ( mail-filter/dcc ) + selinux? ( sec-policy/selinux-exim ) + " + +S=${WORKDIR}/${P//_rc/-RC} + +src_prepare() { + # Legacy patches which need a respin for -p1 + eapply -p0 "${FILESDIR}"/exim-4.14-tail.patch + eapply -p0 "${FILESDIR}"/exim-4.74-radius-db-ENV-clash.patch # 287426 + eapply "${FILESDIR}"/exim-4.93-as-needed-ldflags.patch # 352265, 391279 + eapply -p0 "${FILESDIR}"/exim-4.76-crosscompile.patch # 266591 + eapply "${FILESDIR}"/exim-4.69-r1.27021.patch + eapply "${FILESDIR}"/exim-4.95-localscan_dlopen.patch + + # Upstream post-release fixes :( + local GPVDIR=${WORKDIR}/${PN}-4.96-gentoo-patches-${GPV} + eapply "${GPVDIR}"/exim-4.96-rewrite-malformed-addr-fix.patch # upstr + eapply "${GPVDIR}"/exim-4.96-spf-memory-error-fix.patch # upstr + eapply "${GPVDIR}"/exim-4.96-regex-use-after-free.patch # upstr + eapply -p2 "${GPVDIR}"/exim-4.96-dmarc_use_after_free.patch # upstr + eapply "${GPVDIR}"/exim-4.96-deamon-startup-fix.patch # upstr + eapply "${GPVDIR}"/exim-4.96-openssl-verify-ocsp.patch # upstr + eapply "${GPVDIR}"/exim-4.96-openssl-double-expansion.patch # upstr + eapply "${GPVDIR}"/exim-4.96-recursion-dns_again.patch # upstr + eapply "${GPVDIR}"/exim-4.96-openssl-tls_eccurve-setting.patch # upstr + eapply "${GPVDIR}"/exim-4.96-openssl-tls_eccurve-lt-3.patch # upstr + eapply "${GPVDIR}"/exim-4.96-openssl-bad-alpn.patch # upstr + eapply "${GPVDIR}"/exim-4.96-dane-dns_again.patch # upstr + eapply "${GPVDIR}"/exim-4.96-expansion-crash.patch # upstr + eapply "${GPVDIR}"/exim-4.96-transport-crash.patch # upstr + + # oddity, they disable berkdb as hack, and then throw an error when + # berkdb isn't enabled + sed -i \ + -e 's/_DB_/_DONTMESS_/' \ + -e 's/define DB void/define DONTMESS void/' \ + src/auths/call_radius.c || die + + # API changed from 1.3 to 1.4, upstream doesn't think 1.4 should be + # used, but 1.3 has a CVE and Gentoo (like most downstreams) only + # has 1.4 available + eapply "${FILESDIR}"/exim-4.94-opendmarc-1.4.patch + + if use maildir ; then + eapply "${FILESDIR}"/exim-4.94-maildir.patch + else + eapply -p0 "${FILESDIR}"/exim-4.80-spool-mail-group.patch # 438606 + fi + + eapply_user + + # user Exim believes it should be + MAILUSER=mail + MAILGROUP=mail + if use prefix && [[ ${EUID} != 0 ]] ; then + MAILUSER=$(id -un) + MAILGROUP=$(id -gn) + fi +} + +src_configure() { + # general config and paths + + local aliases="${EPREFIX}/etc/mail/aliases" + sed -i \ + -e "/SYSTEM_ALIASES_FILE/s'SYSTEM_ALIASES_FILE'${aliases}'" \ + src/configure.default || die + + sed -i -e 's/^buildname=.*/buildname=exim-gentoo/' Makefile || die + + if use elibc_musl; then + sed -i -e 's/^LIBS = -lnsl/LIBS =/g' OS/Makefile-Linux || die + fi + + local conffile="${EPREFIX}/etc/exim/exim.conf" + sed -e "48i\CFLAGS=${CFLAGS}" \ + -e "s:BIN_DIRECTORY=/usr/exim/bin:BIN_DIRECTORY=${EPREFIX}/usr/sbin:" \ + -e "s;EXIM_USER=;EXIM_USER=ref:${MAILUSER};" \ + -e "s:CONFIGURE_FILE=.*$:CONFIGURE_FILE=${conffile}:" \ + -e "s:ZCAT_COMMAND=.*$:ZCAT_COMMAND=${EPREFIX}/bin/zcat:" \ + -e "s:COMPRESS_COMMAND=.*$:COMPRESS_COMMAND=${EPREFIX}/bin/gzip:" \ + src/EDITME > Local/Makefile || die + + # work on Local/Makefile from now on + cd Local + + cat >> Makefile <<- EOC + INFO_DIRECTORY=${EPREFIX}/usr/share/info + PID_FILE_PATH=${EPREFIX}/run/exim.pid + SPOOL_DIRECTORY=${EPREFIX}/var/spool/exim + HAVE_ICONV=yes + WITH_CONTENT_SCAN=yes + EOC + + # configure db implementation, Exim always needs one for its hints + # database, we prefer tdb and gdbm, since bdb is kind of getting + # less and less support + if use tdb ; then + cat >> Makefile <<- EOC + USE_TDB=yes + DBMLIB = -ltdb + EOC + sed -i -e 's:^USE_DB=yes:# USE_DB=yes:' Makefile || die + sed -i -e 's:^USE_GDBM=yes:# USE_GDBM=yes:' Makefile || die + elif use gdbm ; then + cat >> Makefile <<- EOC + USE_GDBM=yes + DBMLIB = -lgdbm + EOC + sed -i -e 's:^USE_DB=yes:# USE_DB=yes:' Makefile || die + sed -i -e 's:^USE_TDB=yes:# USE_TDB=yes:' Makefile || die + else # must be berkdb via required_use + # use the "native" interfaces to the DBM and CDB libraries, support + # passwd and directory lookups by default + local DB_VERS="5.3 5.1 4.8 4.7 4.6 4.5 4.4 4.3 4.2 3.2" + cat >> Makefile <<- EOC + USE_DB=yes + # keep include in CFLAGS because exim.h -> dbstuff.h -> db.h + CFLAGS += -I$(db_includedir ${DB_VERS}) + DBMLIB = -l$(db_libname ${DB_VERS}) + EOC + sed -i -e 's:^USE_GDBM=yes:# USE_GDBM=yes:' Makefile || die + sed -i -e 's:^USE_TDB=yes:# USE_TDB=yes:' Makefile || die + fi + + # if we use libiconv, now is the time to tell so + if use !elibc_glibc && use !elibc_musl ; then + cat >> Makefile <<- EOC + EXTRALIBS_EXIM=-liconv + EOC + fi + + # support for IPv6 + if use ipv6; then + cat >> Makefile <<- EOC + HAVE_IPV6=YES + EOC + fi + + # support i18n/IDNA + if use idn; then + cat >> Makefile <<- EOC + SUPPORT_I18N=yes + SUPPORT_I18N_2008=yes + EXTRALIBS_EXIM += -lidn -lidn2 + EOC + fi + + # + # mail storage formats + # + + # mailstore is Exim's traditional storage format + cat >> Makefile <<- EOC + SUPPORT_MAILSTORE=yes + EOC + + # mbox + if use mbx; then + cat >> Makefile <<- EOC + SUPPORT_MBX=yes + EOC + fi + + # maildir + if use maildir; then + cat >> Makefile <<- EOC + SUPPORT_MAILDIR=yes + EOC + fi + + # + # lookup methods + # + + # support passwd and directory lookups by default + cat >> Makefile <<- EOC + LOOKUP_CDB=yes + LOOKUP_PASSWD=yes + LOOKUP_DSEARCH=yes + EOC + + if ! use dnsdb; then + # DNSDB lookup is enabled by default + sed -i -e 's:^LOOKUP_DNSDB=yes:# LOOKUP_DNSDB=yes:' Makefile || die + fi + + if use ldap; then + cat >> Makefile <<- EOC + LOOKUP_LDAP=yes + LDAP_LIB_TYPE=OPENLDAP2 + LOOKUP_INCLUDE += -I"${EPREFIX}"/usr/include/ldap + LOOKUP_LIBS += -lldap -llber + EOC + fi + + if use mysql; then + cat >> Makefile <<- EOC + LOOKUP_MYSQL=yes + LOOKUP_INCLUDE += $(mysql_config --include) + LOOKUP_LIBS += $(mysql_config --libs) + EOC + fi + + if use nis; then + cat >> Makefile <<- EOC + LOOKUP_NIS=yes + LOOKUP_NISPLUS=yes + EOC + if use elibc_glibc ; then + cat >> Makefile <<- EOC + LOOKUP_INCLUDE += -I"${EPREFIX}"/usr/include/tirpc + LOOKUP_LIBS += -lnsl + EOC + fi + fi + + if use postgres; then + cat >> Makefile <<- EOC + LOOKUP_PGSQL=yes + LOOKUP_INCLUDE += -I$(pg_config --includedir) + LOOKUP_LIBS += -L$(pg_config --libdir) -lpq + EOC + fi + + if use sqlite; then + cat >> Makefile <<- EOC + LOOKUP_SQLITE=yes + LOOKUP_SQLITE_PC=sqlite3 + EOC + fi + + if use redis; then + cat >> Makefile <<- EOC + LOOKUP_REDIS=yes + LOOKUP_LIBS += -lhiredis + EOC + fi + + # Exim monitor, enabled by default, controlled via X USE-flag, + # disable if not requested, bug #46778 + if use X; then + cp ../exim_monitor/EDITME eximon.conf || die + cat >> Makefile <<- EOC + EXIM_MONITOR=eximon.bin + EOC + fi + + # + # features + # + + # DomainKeys Identified Mail, RFC4871 + if ! use dkim; then + # DKIM is enabled by default + cat >> Makefile <<- EOC + DISABLE_DKIM=yes + EOC + fi + + # Per-Recipient-Data-Response + if ! use prdr; then + # PRDR is enabled by default + cat >> Makefile <<- EOC + DISABLE_PRDR=yes + EOC + fi + + # Transport post-delivery actions + if use !tpda && use !dane; then + # EVENT is enabled by default + cat >> Makefile <<- EOC + DISABLE_EVENT=yes + EOC + fi + + # log to syslog + if use syslog; then + local eximlog="${EPREFIX}/var/log/exim/exim_%s.log" + sed -i \ + -e "s:LOG_FILE_PATH=${eximlog}:LOG_FILE_PATH=syslog:" \ + Makefile || die + cat >> Makefile <<- EOC + LOG_FILE_PATH=syslog + EOC + else + cat >> Makefile <<- EOC + LOG_FILE_PATH=${EPREFIX}/var/log/exim/exim_%s.log + EOC + fi + + # starttls support (ssl) + if use ssl; then + if use gnutls; then + echo "USE_GNUTLS=yes" >> Makefile + echo "USE_GNUTLS_PC=gnutls $(use dane && echo gnutls-dane)" \ + >> Makefile + use pkcs11 || echo "AVOID_GNUTLS_PKCS11=yes" >> Makefile + else + echo "USE_OPENSSL=yes" >> Makefile + echo "USE_OPENSSL_PC=openssl" >> Makefile + fi + else + echo "DISABLE_TLS=yes" >> Makefile + fi + + # TCP wrappers + if use tcpd; then + cat >> Makefile <<- EOC + USE_TCP_WRAPPERS=yes + EXTRALIBS_EXIM += -lwrap + EOC + fi + + # Light Mail Transport Protocol + if use lmtp; then + cat >> Makefile <<- EOC + TRANSPORT_LMTP=yes + EOC + fi + + # embedded Perl + if use perl; then + cat >> Makefile <<- EOC + EXIM_PERL=perl.o + EOC + fi + + # dlfunc + if use dlfunc; then + cat >> Makefile <<- EOC + EXPAND_DLFUNC=yes + HAVE_LOCAL_SCAN=yes + DLOPEN_LOCAL_SCAN=yes + EOC + fi + + # Proxy Protocol + if use proxy; then + cat >> Makefile <<- EOC + SUPPORT_PROXY=yes + EOC + fi + + # SOCKS5 (outbound) proxy support + if use socks5; then + cat >> Makefile <<- EOC + SUPPORT_SOCKS=yes + EOC + fi + + # DANE + if use !dane; then + # DANE is enabled by default + sed -i -e 's:^SUPPORT_DANE=yes:# SUPPORT_DANE=yes:' Makefile || die + fi + + # DMARC + if use dmarc; then + cat >> Makefile <<- EOC + SUPPORT_DMARC=yes + EXTRALIBS_EXIM += -lopendmarc + EOC + fi + + # Sender Policy Framework + if use spf; then + cat >> Makefile <<- EOC + SUPPORT_SPF=yes + EXTRALIBS_EXIM += -lspf2 + EOC + fi + + # + # experimental features + # + + # Authenticated Receive Chain + if use arc; then + echo "EXPERIMENTAL_ARC=yes">> Makefile + fi + + # Distributed Checksum Clearinghouse + if use dcc; then + echo "EXPERIMENTAL_DCC=yes">> Makefile + fi + + # Sender Rewriting Scheme + if use srs; then + # this one is the default/supported variant since 4.95, and the + # only variant available since 4.96 + cat >> Makefile <<- EOC + SUPPORT_SRS=yes + EOC + fi + + # Delivery Sender Notifications extra information in fail message + if use dsn; then + cat >> Makefile <<- EOC + EXPERIMENTAL_DSN_INFO=yes + EOC + fi + + # + # authentication (SMTP AUTH) + # + + # standard bits + cat >> Makefile <<- EOC + AUTH_SPA=yes + AUTH_CRAM_MD5=yes + AUTH_PLAINTEXT=yes + EOC + + # Cyrus SASL + if use sasl; then + cat >> Makefile <<- EOC + CYRUS_SASLAUTHD_SOCKET=${EPREFIX}/run/saslauthd/mux + AUTH_CYRUS_SASL=yes + AUTH_LIBS += -lsasl2 + EOC + fi + + # Dovecot + if use dovecot-sasl; then + cat >> Makefile <<- EOC + AUTH_DOVECOT=yes + EOC + fi + + # Pluggable Authentication Modules + if use pam; then + cat >> Makefile <<- EOC + SUPPORT_PAM=yes + AUTH_LIBS += -lpam + EOC + fi + + # Radius + if use radius; then + cat >> Makefile <<- EOC + RADIUS_CONFIG_FILE=${EPREFIX}/etc/radiusclient/radiusclient.conf + RADIUS_LIB_TYPE=RADIUSCLIENTNEW + AUTH_LIBS += -lfreeradius-client + EOC + fi +} + +src_compile() { + emake CC="$(tc-getCC)" HOSTCC="$(tc-getBUILD_CC)" \ + AR="$(tc-getAR) cq" RANLIB="$(tc-getRANLIB)" FULLECHO='' +} + +src_install() { + cd "${S}"/build-exim-gentoo || die + dosbin exim + if use X; then + dosbin eximon.bin + dosbin eximon + fi + fperms 4755 /usr/sbin/exim + + dosym exim /usr/sbin/sendmail + dosym exim /usr/sbin/rsmtp + dosym exim /usr/sbin/rmail + dosym ../sbin/exim /usr/bin/mailq + dosym ../sbin/exim /usr/bin/newaliases + dosym ../sbin/sendmail /usr/lib/sendmail + + for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \ + exim_tidydb exinext exiwhat exigrep eximstats exiqsumm exiqgrep \ + convert4r3 convert4r4 exipick + do + dosbin $i + done + + dodoc -r "${S}"/doc/. + doman "${S}"/doc/exim.8 + use dsn && dodoc "${S}"/README.DSN + use doc && dodoc "${WORKDIR}"/${PN}-pdf-${PV//rc/RC}/doc/*.pdf + + # conf files + insinto /etc/exim + newins "${S}"/src/configure.default exim.conf.dist + doins "${WORKDIR}"/system_filter.exim + doins "${FILESDIR}"/auth_conf.sub + + if use pam; then + pamd_mimic system-auth exim auth account + fi + + # headers, #436406 + if use dlfunc ; then + # fixup includes so they actually can be found when including + sed -i \ + -e '/#include "\(config\|store\|mytypes\).h"/s:"\(.\+\)"::' \ + local_scan.h || die + insinto /usr/include/exim + doins {config,local_scan}.h ../src/{mytypes,store}.h + fi + + insinto /etc/logrotate.d + newins "${FILESDIR}/exim.logrotate" exim + + newinitd "${FILESDIR}"/exim.rc10 exim + newconfd "${FILESDIR}"/exim.confd exim + + systemd_dounit \ + "${FILESDIR}"/{exim.service,exim.socket,exim-submission.socket} + systemd_newunit \ + "${FILESDIR}"/exim_at.service 'exim@.service' + systemd_newunit \ + "${FILESDIR}"/exim-submission_at.service 'exim-submission@.service' + + diropts -m 0750 -o ${MAILUSER} -g ${MAILGROUP} + keepdir /var/log/${PN} +} + +pkg_postinst() { + if [[ ! -f ${EROOT}/etc/exim/exim.conf ]] ; then + einfo "${EROOT}/etc/exim/system_filter.exim is a sample system_filter." + einfo "${EROOT}/etc/exim/auth_conf.sub contains the configuration sub" + einfo "for using smtp auth." + einfo "Please create ${EROOT}/etc/exim/exim.conf from" + einfo " ${EROOT}/etc/exim/exim.conf.dist." + fi + if use berkdb && ( use gdbm || use tdb ) ; then + ewarn "USE=berkdb is ignored because USE=gdbm or USE=tdb is enabled!" + fi + if use dmarc ; then + einfo "DMARC support requires ${EROOT}/etc/exim/opendmarc.tlds" + einfo "you can populate this file with the contents downloaded from" + einfo " https://publicsuffix.org/list/public_suffix_list.dat" + fi + if use dcc ; then + einfo "DCC support is experimental, you can find some limited" + einfo "documentation at the bottom of this prerelease message:" + einfo " http://article.gmane.org/gmane.mail.exim.devel/3579" + fi + if use srs; then + einfo "SRS support using libsrs_alt was dropped in this" + einfo "release of Exim, you are now using the native SRS implementation" + fi + use dsn && einfo "extra information in fail DSN message is experimental" + einfo + elog "Note that this release contains a tainted variable check that" + elog "is likely to break your configuration used with Exim 4.93 and before." + elog "Please check your transports for occurences of \$local_part, and" + elog "use a replacement like \$local_part_data where possible." +} diff --git a/media-fonts/lxgw-wenkai/Manifest b/media-fonts/lxgw-wenkai/Manifest index f0031974547f3..c611fc8c7ddad 100644 --- a/media-fonts/lxgw-wenkai/Manifest +++ b/media-fonts/lxgw-wenkai/Manifest @@ -1,2 +1,2 @@ -DIST lxgw-wenkai-v1.250.tar.gz 61555569 BLAKE2B c1b98aa2c508f75cd83d88a24b9b69556745e527b95d908303715648d69ca09a2ef20360715def813c20e54a2756d054d3317586562954c4b1ae738c51c0cfb5 SHA512 c40f400d92890fadd6f625f2744a97df5206a0ef6b21a2d3642a97b97c39f6513f08f41daaa0c41c0367079becfcb6f7ecb7300c984b371e12cd2b37684caaa2 DIST lxgw-wenkai-v1.300.tar.gz 62468087 BLAKE2B 1c33aec7e363781e2b65335869b54266a39b95e478216ddad819ef0db6631fbc46ae65d644b699d8ed3fea019f0a7cafd4a284d3099fdc9de6aed9fbee780ae4 SHA512 1a1de82b3c34b65b82bb1cc1726362da22f4a54c9bbf336adf455c695db07678c9fbbd5dbfae0b5f19d0a17b522a862f56fc759d27dfeec9297ad6ebf05381ed +DIST lxgw-wenkai-v1.310.tar.gz 63110288 BLAKE2B d68234995e8199b5c740d6d407171d0baa96b5fe9bd13c6e6f9bd9f16abd7e81664c26329647029e25a997260019ffdeac698c4084e5f7818a1ac3f83eb55fff SHA512 4b0985bde3257b07bb74a92d6519c8acd8403a2aa4f4ff4219a71f760bb9ce9e3e8c44209dde76b6c96c5962a41aa543cbb6924947f4ddebe6978a37b0e41d5f diff --git a/media-fonts/lxgw-wenkai/lxgw-wenkai-1.250.ebuild b/media-fonts/lxgw-wenkai/lxgw-wenkai-1.310.ebuild similarity index 94% rename from media-fonts/lxgw-wenkai/lxgw-wenkai-1.250.ebuild rename to media-fonts/lxgw-wenkai/lxgw-wenkai-1.310.ebuild index 58a680ac7a77b..e979d4d78470f 100644 --- a/media-fonts/lxgw-wenkai/lxgw-wenkai-1.250.ebuild +++ b/media-fonts/lxgw-wenkai/lxgw-wenkai-1.310.ebuild @@ -14,6 +14,6 @@ S="${WORKDIR}/${MY_P}" LICENSE="OFL-1.1" SLOT="0" -KEYWORDS="amd64 ~loong" +KEYWORDS="~amd64 ~loong" FONT_SUFFIX="ttf" diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index 597c1371055c1..ae0ec3561a674 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,3 +1,3 @@ -DIST noto-20230531.tar.gz 1022922148 BLAKE2B 3e4c628206589ca6caa2e0d843591838e9eef6e2c1d2ebf7b6477c32d0ddb7e7452b60d2d1c6974aa3a68d71ed1005d1bbdafaafda36456056047be1b330f8fd SHA512 ec0911da969669610cd0fad7785e1155ff14dc1456e8cf5f833077718733afbe59348dec6441d44150cbe82e919d4679110c670ef1eae4dbb820d6d0b38061ae DIST noto-20230731.tar.gz 1027194986 BLAKE2B cf0d4942b961ffba7d479a31e0c22c3d24ed1f563e1f8022d027b02773897cf2ec46b6b4576fe497c593f4b24bbac879caa746330993eebd576920dc9c4c16e5 SHA512 4ec85c0f3fcbab2ed5039b6ab3600de35279dfdd14caeea3aa25bfc98d9c5642920d855b81e472a1f7fe03691d218ecdcd1950fb2f6ae0e1b4e3aab342ffe516 DIST noto-20230831.tar.gz 1027210631 BLAKE2B e0afe6cf519a8a7a9bf68231297b9232803f819b8ae215dc45d6eca9e678b5f86e24b9c483f3127a938df537bbfc9ef934c5d4e0080d81e239b195ed00af02e9 SHA512 78352196a668dc4ce3b62adde6501fe863c7fa8545591b25c0721a5fc010df70e937eca0012aaeb3a77c8dcfa60be4211a6572d1b71e7092eb78eed465469414 +DIST noto-20230930.tar.gz 1034822159 BLAKE2B 25af396043c2639d31711357b44bbf588f2d8a156c1bd6c1fcbd130d42c80664f74a40c7f30be41c1fe82611d5e2b8587bae84497bef6381fea07374435eea02 SHA512 ce2e73e8cb179e6968d76241add907878d5f53de2923fa809957eef43fa030200a25f1aedf137f7c8c4daa6406e88fe9637c0d13e31bb41a8b3be6f2605c73ab diff --git a/media-fonts/noto/noto-20230831.ebuild b/media-fonts/noto/noto-20230831.ebuild index 33a0f85a6d7ad..f78017cce7659 100644 --- a/media-fonts/noto/noto-20230831.ebuild +++ b/media-fonts/noto/noto-20230831.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/notofonts/notofonts.github.io/archive/${COMMIT}.tar. LICENSE="OFL-1.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" # Extra allows to optionally reduce disk usage even returning to tofu # issue as described in https://fonts.google.com/noto IUSE="cjk +extra" diff --git a/media-fonts/noto/noto-20230531.ebuild b/media-fonts/noto/noto-20230930.ebuild similarity index 90% rename from media-fonts/noto/noto-20230531.ebuild rename to media-fonts/noto/noto-20230930.ebuild index aafbf95621986..0220fc48452cf 100644 --- a/media-fonts/noto/noto-20230531.ebuild +++ b/media-fonts/noto/noto-20230930.ebuild @@ -7,12 +7,12 @@ inherit font DESCRIPTION="Google's font family that aims to support all the world's languages" HOMEPAGE="https://fonts.google.com/noto https://github.com/notofonts/notofonts.github.io" -COMMIT="f20eb388d2742b5ebf2cf3d1a2992303cce67cf6" +COMMIT="229a3227db2dd56dce55b0e0d507153c50021e5d" SRC_URI="https://github.com/notofonts/notofonts.github.io/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="OFL-1.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" # Extra allows to optionally reduce disk usage even returning to tofu # issue as described in https://fonts.google.com/noto IUSE="cjk +extra" diff --git a/media-gfx/blender/blender-3.3.6-r1.ebuild b/media-gfx/blender/blender-3.3.6-r1.ebuild index 5680b3b6a336c..8452075832d45 100644 --- a/media-gfx/blender/blender-3.3.6-r1.ebuild +++ b/media-gfx/blender/blender-3.3.6-r1.ebuild @@ -133,6 +133,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3.2.2-Cycles-add-option-to-specify-OptiX-runtime-root-dire.patch "${FILESDIR}"/${PN}-3.2.2-Fix-T100845-wrong-Cycles-OptiX-runtime-compilation-i.patch "${FILESDIR}"/${PN}-3.3.0-fix-build-with-boost-1.81.patch + "${FILESDIR}"/${PN}-3.3.6-cycles-gcc13.patch ) blender_check_requirements() { diff --git a/media-gfx/blender/blender-3.3.8.ebuild b/media-gfx/blender/blender-3.3.8.ebuild index fac6a83ed7f73..12beb87e5c35b 100644 --- a/media-gfx/blender/blender-3.3.8.ebuild +++ b/media-gfx/blender/blender-3.3.8.ebuild @@ -19,7 +19,7 @@ else # Update these between major releases. TEST_TARBALL_VERSION="$(ver_cut 1-2).0" #SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-${TEST_TARBALL_VERSION}-tests.tar.xz )" - KEYWORDS="~amd64 ~arm ~arm64" + KEYWORDS="amd64 ~arm ~arm64" fi SLOT="${PV%.*}" @@ -133,6 +133,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3.2.2-Cycles-add-option-to-specify-OptiX-runtime-root-dire.patch "${FILESDIR}"/${PN}-3.2.2-Fix-T100845-wrong-Cycles-OptiX-runtime-compilation-i.patch "${FILESDIR}"/${PN}-3.3.0-fix-build-with-boost-1.81.patch + "${FILESDIR}"/${PN}-3.3.6-cycles-gcc13.patch ) blender_check_requirements() { diff --git a/media-gfx/blender/blender-3.4.1-r3.ebuild b/media-gfx/blender/blender-3.4.1-r3.ebuild index 7a0b020b28fca..801a0d0bf0dbd 100644 --- a/media-gfx/blender/blender-3.4.1-r3.ebuild +++ b/media-gfx/blender/blender-3.4.1-r3.ebuild @@ -140,6 +140,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-3.3.0-fix-build-with-boost-1.81.patch + "${FILESDIR}"/${PN}-3.3.6-cycles-gcc13.patch ) blender_check_requirements() { diff --git a/media-gfx/blender/files/blender-3.3.6-cycles-gcc13.patch b/media-gfx/blender/files/blender-3.3.6-cycles-gcc13.patch new file mode 100644 index 0000000000000..955be2424e19d --- /dev/null +++ b/media-gfx/blender/files/blender-3.3.6-cycles-gcc13.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/914740 +--- a/intern/cycles/util/thread.cpp ++++ b/intern/cycles/util/thread.cpp +@@ -6,6 +6,8 @@ + #include "util/system.h" + #include "util/windows.h" + ++#include ++ + CCL_NAMESPACE_BEGIN + + thread::thread(function run_cb) : run_cb_(run_cb), joined_(false) diff --git a/media-gfx/digikam/digikam-8.1.0-r1.ebuild b/media-gfx/digikam/digikam-8.1.0-r1.ebuild index 1480188f76bc5..9bee3a0bbefb9 100644 --- a/media-gfx/digikam/digikam-8.1.0-r1.ebuild +++ b/media-gfx/digikam/digikam-8.1.0-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${KDE_BUILD_TYPE} != live ]]; then SRC_URI="mirror://kde/stable/${PN}/${PV}/" fi SRC_URI+="digiKam-${PV/_/-}.tar.xz" - KEYWORDS="amd64 ~x86" + KEYWORDS="amd64 ~arm64 ~x86" S="${WORKDIR}/${PN}-${PV/_/-}" fi diff --git a/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch new file mode 100644 index 0000000000000..1a42a15839a69 --- /dev/null +++ b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch @@ -0,0 +1,11 @@ +Bug: https://bugs.gentoo.org/896210 +--- a/src/getopt.c ++++ b/src/getopt.c +@@ -40,6 +40,7 @@ + #endif + + #include ++#include + + /* Comment out all this code if we are using the GNU C Library, and are not + actually compiling the library itself. This code is part of the GNU C diff --git a/media-gfx/gozer/gozer-0.7-r4.ebuild b/media-gfx/gozer/gozer-0.7-r5.ebuild similarity index 86% rename from media-gfx/gozer/gozer-0.7-r4.ebuild rename to media-gfx/gozer/gozer-0.7-r5.ebuild index f14a25fce9c2e..6dd3168d57a0c 100644 --- a/media-gfx/gozer/gozer-0.7-r4.ebuild +++ b/media-gfx/gozer/gozer-0.7-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,6 +24,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-fix-build-with-clang16.patch ) src_prepare() { diff --git a/media-gfx/gphotofs/files/gphotofs-0.5-fix-build-clang16.patch b/media-gfx/gphotofs/files/gphotofs-0.5-fix-build-clang16.patch new file mode 100644 index 0000000000000..0a88035cc60f2 --- /dev/null +++ b/media-gfx/gphotofs/files/gphotofs-0.5-fix-build-clang16.patch @@ -0,0 +1,11 @@ +Bug: https://bugs.gentoo.org/896214 +--- a/gphotofs.c ++++ b/gphotofs.c +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + /* + * Static variables set by command line arguments. diff --git a/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild new file mode 100644 index 0000000000000..5fe6dbff0ba6a --- /dev/null +++ b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="FUSE file system for interfacing with digital cameras using gphoto2" +HOMEPAGE="http://www.gphoto.org/" +SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/glib:2 + media-libs/libgphoto2:= + sys-fs/fuse:0=" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5-fix-build-clang16.patch +) diff --git a/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch b/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch new file mode 100644 index 0000000000000..20c8a143a6e32 --- /dev/null +++ b/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch @@ -0,0 +1,13 @@ +Bug: https://bugs.gentoo.org/896218 +--- a/sources/getopt.c ++++ b/sources/getopt.c +@@ -22,6 +22,9 @@ + along with this program; if not, write to the Free Software + Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + */ ++ ++#include ++ + + /** + ** Additions / fixes for hp2xx diff --git a/media-gfx/hp2xx/hp2xx-3.4.4-r4.ebuild b/media-gfx/hp2xx/hp2xx-3.4.4-r4.ebuild new file mode 100644 index 0000000000000..c71fb1376d07b --- /dev/null +++ b/media-gfx/hp2xx/hp2xx-3.4.4-r4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Convert Hewlett-Packard's HP-GL plotter language to other graphics formats" +HOMEPAGE="https://www.gnu.org/software/hp2xx/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="jpeg png tiff X" + +RDEPEND=" + jpeg? ( media-libs/libjpeg-turbo:= ) + png? ( + media-libs/libpng:= + sys-libs/zlib + ) + tiff? ( media-libs/tiff:= ) + X? ( x11-libs/libX11 )" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/texinfo" + +PATCHES=( + "${FILESDIR}"/${P}-r1.patch + "${FILESDIR}"/${P}-docbuild.patch + "${FILESDIR}"/${P}-clang16-build.patch +) + +src_prepare() { + default + cp -v makes/generic.mak sources/Makefile || die +} + +src_configure() { + export PREVIEWER="no_prev" + export EX_SRC= + export EX_OBJ= + export EX_DEFS=-DUNIX + export ALL_LIBS=-lm + + use jpeg && \ + EX_SRC+=" to_jpg.c" \ + EX_OBJ+=" to_jpg.o" \ + EX_DEFS+=" -DJPG" \ + ALL_LIBS+=" -ljpeg" + use png && \ + EX_SRC+=" png.c to_png.c" \ + EX_OBJ+=" png.o to_png.o" \ + EX_DEFS+=" -DPNG" \ + ALL_LIBS+=" -lpng" + use tiff && \ + EX_SRC+=" to_tif.c" \ + EX_OBJ+=" to_tif.o" \ + EX_DEFS+=" -DTIF" \ + ALL_LIBS+=" -ltiff" + use X && \ + PREVIEWER="to_x11" \ + EX_DEFS="-DHAS_UNIX_X11" \ + ALL_LIBS+=" -lX11" + + tc-export CC +} + +src_compile() { + emake -C sources all +} + +src_install() { + dodir \ + /usr/bin \ + /usr/share/info \ + /usr/share/man/man1 + + emake \ + prefix="${ED}"/usr \ + mandir="${ED}"/usr/share/man \ + infodir="${ED}"/usr/share/info \ + install +} diff --git a/media-gfx/krita/files/krita-5.1.5-ocio-2.3.0.patch b/media-gfx/krita/files/krita-5.1.5-ocio-2.3.0.patch new file mode 100644 index 0000000000000..534e24469e8a3 --- /dev/null +++ b/media-gfx/krita/files/krita-5.1.5-ocio-2.3.0.patch @@ -0,0 +1,37 @@ +From 48edd05f32241c537cedf2831efc5eb91a112291 Mon Sep 17 00:00:00 2001 +From: killy |0veufOrever <80536642@qq.com> +Date: Tue, 19 Sep 2023 02:18:54 +0000 +Subject: [PATCH] Update OCIO to version 2.3.0 + +--- + 3rdparty/ext_ocio/CMakeLists.txt | 4 ++-- + plugins/dockers/lut/ocio_display_filter_vfx2021.cpp | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +From 21d384fe9fafde2f45f7339a2234f4022c53152f Mon Sep 17 00:00:00 2001 +From: killy |0veufOrever <80536642@qq.com> +Date: Tue, 19 Sep 2023 03:17:17 +0000 +Subject: [PATCH] Dimensions are not required when the OCIO version is less + than 2.3.0 + +--- + plugins/dockers/lut/ocio_display_filter_vfx2021.cpp | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp b/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp +--- a/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp ++++ b/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp +@@ -507,7 +507,13 @@ + unsigned height = 0; + OCIO::GpuShaderDesc::TextureType channel = OCIO::GpuShaderDesc::TEXTURE_RGB_CHANNEL; + OCIO::Interpolation interpolation = OCIO::INTERP_LINEAR; ++ ++#if OCIO_VERSION_HEX >= 0x2030000 ++ OCIO::GpuShaderCreator::TextureDimensions dimensions; ++ shaderDesc->getTexture(idx, textureName, samplerName, width, height, channel, dimensions, interpolation); ++#else + shaderDesc->getTexture(idx, textureName, samplerName, width, height, channel, interpolation); ++#endif + + if (!textureName || !*textureName || !samplerName || !*samplerName || width == 0) { + errOpenGL << "The texture data is corrupted"; diff --git a/media-gfx/krita/krita-5.1.5.ebuild b/media-gfx/krita/krita-5.1.5.ebuild index c8945c944730c..f313dc477e042 100644 --- a/media-gfx/krita/krita-5.1.5.ebuild +++ b/media-gfx/krita/krita-5.1.5.ebuild @@ -89,6 +89,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-4.3.1-tests-optional.patch" "${WORKDIR}/${P}-exiv2-0.28.patch" # bug 906472 + "${FILESDIR}/${P}-ocio-2.3.0.patch" # bug 915107 ) pkg_setup() { diff --git a/media-libs/compface/compface-1.5.2-r1.ebuild b/media-libs/compface/compface-1.5.2-r1.ebuild new file mode 100644 index 0000000000000..4577e34db17b4 --- /dev/null +++ b/media-libs/compface/compface-1.5.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit autotools + +DESCRIPTION="Utilities and library to convert to/from X-Face format" +HOMEPAGE="http://www.xemacs.org/Download/optLibs.html" +SRC_URI="http://ftp.xemacs.org/pub/xemacs/aux/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="dev-lang/perl" + +PATCHES=( + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-modern-c-porting.patch +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + newbin xbm2xface{.pl,} +} diff --git a/media-libs/compface/files/compface-modern-c-porting.patch b/media-libs/compface/files/compface-modern-c-porting.patch new file mode 100644 index 0000000000000..bc29be071240a --- /dev/null +++ b/media-libs/compface/files/compface-modern-c-porting.patch @@ -0,0 +1,515 @@ +diff --git a/arith.c b/arith.c +index 784946f..a4dd9df 100644 +--- a/arith.c ++++ b/arith.c +@@ -20,8 +20,7 @@ + #include "compface.h" + + void +-RevPush(p) +-Prob *p; ++RevPush(Prob *p) + { + if (NumProbs >= PIXELS * 2 - 1) + longjmp(comp_env, ERR_INTERNAL); +@@ -29,8 +28,7 @@ Prob *p; + } + + void +-BigPush(p) +-Prob *p; ++BigPush(Prob *p) + { + static WORD tmp; + +@@ -40,11 +38,10 @@ Prob *p; + } + + int +-BigPop(p) +-register Prob *p; ++BigPop(Prob *p) + { + static WORD tmp; +- register int i; ++ int i; + + BigDiv(0, &tmp); + i = 0; +@@ -61,11 +58,11 @@ register Prob *p; + #ifdef DEBUG + /* Print a BigInt in HexaDecimal + */ +-void +-BigPrint() ++void ++BigPrint (void) + { +- register int i, c, count; +- register WORD *w; ++ int i, c, count; ++ WORD *w; + + count = 0; + w = B.b_word + (i = B.b_words); +@@ -91,12 +88,11 @@ BigPrint() + * pointer to by r + */ + void +-BigDiv(a, r) +-register WORD a, *r; ++BigDiv(WORD a, WORD *r) + { +- register int i; +- register WORD *w; +- register COMP c, d; ++ int i; ++ WORD *w; ++ COMP c, d; + + a &= WORDMASK; + if ((a == 1) || (B.b_words == 0)) +@@ -135,12 +131,11 @@ register WORD a, *r; + /* Multiply a by B storing the result in B + */ + void +-BigMul(a) +-register WORD a; ++BigMul(WORD a) + { +- register int i; +- register WORD *w; +- register COMP c; ++ int i; ++ WORD *w; ++ COMP c; + + a &= WORDMASK; + if ((a == 1) || (B.b_words == 0)) +@@ -179,12 +174,11 @@ register WORD a; + /* Subtract a from B storing the result in B + */ + void +-BigSub(a) +-WORD a; ++BigSub(WORD a) + { +- register int i; +- register WORD *w; +- register COMP c; ++ int i; ++ WORD *w; ++ COMP c; + + a &= WORDMASK; + if (a == 0) +@@ -209,12 +203,11 @@ WORD a; + /* Add to a to B storing the result in B + */ + void +-BigAdd(a) +-WORD a; ++BigAdd(WORD a) + { +- register int i; +- register WORD *w; +- register COMP c; ++ int i; ++ WORD *w; ++ COMP c; + + a &= WORDMASK; + if (a == 0) +@@ -237,8 +230,8 @@ WORD a; + } + } + +-void +-BigClear() ++void ++BigClear (void) + { + B.b_words = 0; + } +diff --git a/cmain.c b/cmain.c +index ec0558d..2a95bc2 100644 +--- a/cmain.c ++++ b/cmain.c +@@ -61,9 +61,7 @@ char *strerrorwrap(); + #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} + + int +-main(argc, argv) +-int argc; +-char *argv[]; ++main(int argc, char **argv) + { + cmdname = *argv; + while (**argv) +@@ -121,11 +119,11 @@ char *argv[]; + } + + +-int +-WriteBuf() ++int ++WriteBuf (void) + { +- register char *s, *t; +- register int len; ++ char *s, *t; ++ int len; + + s = fbuf; + t = s + strlen(s); +@@ -144,15 +142,15 @@ WriteBuf() + } + + +-int +-ReadBuf() ++int ++ReadBuf (void) + { +- register int count, len; +- register char *t; ++ int count, len; ++ char *t; + + count = 0; + t = fbuf; +- while (len = read(infile, t, FACEBUFLEN - count)) ++ while ((len = read(infile, t, FACEBUFLEN - count))) + { + if (len == -1) + { +@@ -175,8 +173,7 @@ ReadBuf() + } + + #ifdef HAVE_STRERROR +-char *strerrorwrap(err) +-int err; ++char *strerrorwrap(int err) + { + char *c = strerror(err); + return ((c) ? (c) : "" ); +diff --git a/compface.c b/compface.c +index 90664c4..b1b00a8 100644 +--- a/compface.c ++++ b/compface.c +@@ -22,8 +22,7 @@ + #include "compface_private.h" + + int +-compface(fbuf) +-char *fbuf; ++compface(char *fbuf) + { + if (!(status = setjmp(comp_env))) + { +diff --git a/compface.h b/compface.h +index fc4f486..23ae426 100644 +--- a/compface.h ++++ b/compface.h +@@ -17,6 +17,7 @@ + #define COMPFACE_H + + #include ++#include + + /* For all function declarations, if ANSI then use a prototype. */ + +diff --git a/compress.c b/compress.c +index 3c97806..6f22e17 100644 +--- a/compress.c ++++ b/compress.c +@@ -21,12 +21,10 @@ + #include "compface.h" + + int +-Same(f, wid, hei) +-register char *f; +-register int wid, hei; ++Same(char *f, int wid, int hei) + { +- register char val, *row; +- register int x; ++ char val, *row; ++ int x; + + val = *f; + while (hei--) +@@ -42,9 +40,7 @@ register int wid, hei; + } + + int +-AllBlack(f, wid, hei) +-char *f; +-int wid, hei; ++AllBlack(char *f, int wid, int hei) + { + if (wid > 3) + { +@@ -59,17 +55,13 @@ int wid, hei; + } + + int +-AllWhite(f, wid, hei) +-char *f; +-int wid, hei; ++AllWhite(char *f, int wid, int hei) + { + return ((*f == 0) && Same(f, wid, hei)); + } + + void +-PopGreys(f, wid, hei) +-char *f; +-int wid, hei; ++PopGreys(char *f, int wid, int hei) + { + if (wid > 3) + { +@@ -95,9 +87,7 @@ int wid, hei; + } + + void +-PushGreys(f, wid, hei) +-char *f; +-int wid, hei; ++PushGreys(char *f, int wid, int hei) + { + if (wid > 3) + { +@@ -114,9 +104,7 @@ int wid, hei; + } + + void +-UnCompress(f, wid, hei, lev) +-register char *f; +-register int wid, hei, lev; ++UnCompress(char *f, int wid, int hei, int lev) + { + switch (BigPop(&levels[lev][0])) + { +@@ -138,9 +126,7 @@ register int wid, hei, lev; + } + + void +-Compress(f, wid, hei, lev) +-register char *f; +-register int wid, hei, lev; ++Compress(char *f, int wid, int hei, int lev) + { + if (AllWhite(f, wid, hei)) + { +@@ -164,10 +150,9 @@ register int wid, hei, lev; + } + + void +-UnCompAll(fbuf) +-char *fbuf; ++UnCompAll(char *fbuf) + { +- register char *p; ++ char *p; + + BigClear(); + BigRead(fbuf); +@@ -186,8 +171,7 @@ char *fbuf; + } + + void +-CompAll(fbuf) +-char *fbuf; ++CompAll(char *fbuf) + { + Compress(F, 16, 16, 0); + Compress(F + 16, 16, 16, 0); +diff --git a/file.c b/file.c +index 3a3809e..c69f5b5 100644 +--- a/file.c ++++ b/file.c +@@ -23,10 +23,9 @@ + int compface_xbitmap=0; + + void +-BigRead(fbuf) +-register char *fbuf; ++BigRead(char *fbuf) + { +- register int c; ++ int c; + + while (*fbuf != '\0') + { +@@ -39,13 +38,12 @@ register char *fbuf; + } + + void +-BigWrite(fbuf) +-register char *fbuf; ++BigWrite(char *fbuf) + { + static WORD tmp; + static char buf[DIGITS]; +- register char *s; +- register int i; ++ char *s; ++ int i; + + s = buf; + while (B.b_words > 0) +@@ -72,11 +70,10 @@ register char *fbuf; + } + + void +-ReadFace(fbuf) +-char *fbuf; ++ReadFace(char *fbuf) + { +- register int c, i; +- register char *s, *t; ++ int c, i; ++ char *s, *t; + + t = s = fbuf; + for(i = strlen(s); i > 0; i--) +@@ -129,11 +126,10 @@ char *fbuf; + } + + void +-WriteFace(fbuf) +-char *fbuf; ++WriteFace(char *fbuf) + { +- register char *s, *t; +- register int i, bits, digits, words; ++ char *s, *t; ++ int i, bits, digits, words; + int digsperword = DIGSPERWORD; + int wordsperline = WORDSPERLINE; + +diff --git a/gen.c b/gen.c +index 4dedc09..1b99536 100644 +--- a/gen.c ++++ b/gen.c +@@ -25,10 +25,9 @@ + static void Gen P((char *)) ; + + static void +-Gen(f) +-register char *f; ++Gen(char *f) + { +- register int m, l, k, j, i, h; ++ int m, l, k, j, i, h; + + for (j = 0; j < HEIGHT; j++) + { +@@ -91,13 +90,13 @@ register char *f; + } + } + +-void +-GenFace() ++void ++GenFace (void) + { + static char new[PIXELS]; +- register char *f1; +- register char *f2; +- register int i; ++ char *f1; ++ char *f2; ++ int i; + + f1 = new; + f2 = F; +@@ -107,8 +106,8 @@ GenFace() + Gen(new); + } + +-void +-UnGenFace() ++void ++UnGenFace (void) + { + Gen(F); + } +diff --git a/uncmain.c b/uncmain.c +index a94279d..52d3173 100644 +--- a/uncmain.c ++++ b/uncmain.c +@@ -57,9 +57,7 @@ char *strerrorwrap(int err); + #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} + + int +-main(argc, argv) +-int argc; +-char *argv[]; ++main(int argc, char **argv) + { + cmdname = *argv; + while (**argv) +@@ -124,11 +122,11 @@ char *argv[]; + } + + +-int +-WriteBuf() ++int ++WriteBuf (void) + { +- register char *s, *t; +- register int len; ++ char *s, *t; ++ int len; + + s = fbuf; + t = s + strlen(s); +@@ -147,15 +145,15 @@ WriteBuf() + } + + +-int +-ReadBuf() ++int ++ReadBuf (void) + { +- register int count, len; +- register char *t; ++ int count, len; ++ char *t; + + count = 0; + t = fbuf; +- while (len = read(infile, t, FACEBUFLEN - count)) ++ while ((len = read(infile, t, FACEBUFLEN - count))) + { + if (len == -1) + { +@@ -178,8 +176,7 @@ ReadBuf() + } + + #ifdef HAVE_STRERROR +-char *strerrorwrap(err) +-int err; ++char *strerrorwrap(int err) + { + char *c = strerror(err); + return ((c) ? (c) : "" ); +diff --git a/uncompface.c b/uncompface.c +index 1a61eb5..d41f9bc 100644 +--- a/uncompface.c ++++ b/uncompface.c +@@ -23,8 +23,7 @@ + #include "compface_private.h" + + int +-uncompface(fbuf) +-char *fbuf; ++uncompface(char *fbuf) + { + if (!(status = setjmp(comp_env))) + { diff --git a/media-libs/libkeyfinder/Manifest b/media-libs/libkeyfinder/Manifest index b28734f8163f2..201375747f76a 100644 --- a/media-libs/libkeyfinder/Manifest +++ b/media-libs/libkeyfinder/Manifest @@ -1 +1,2 @@ DIST libkeyfinder-2.2.7.tar.gz 79462 BLAKE2B 48b788eb871a133d755a892cdf73a677c31979380f0c03d914bf310727dd49f0e4184b2d5020829e7f78f2ad843273b5f983509ff785adc70c425a4260111315 SHA512 b98672cb0cc00326e526b79e96a0e0a8805bcd87f3711247031ea5a4fcb6447627d5b9210197e1cf23fa7c27093649e9fc702f53ee17df00e90a7caf074681e8 +DIST libkeyfinder-2.2.8.tar.gz 79473 BLAKE2B 9341a6d93742516ba213503414c359123b2313134a603ed621a6c7e99e77dbd6f38ad986758d9736c7083fec505c6a1495541a38d825c0d0015e86fa9baa3b3c SHA512 31d86715172b62dd72b122a8d480db4598731b87ca58522ad797116acfcbc53b8ecf8fe7eb2b129857b5044b27d32dda9e03927e0a27f8edcdc5d6ce607a76eb diff --git a/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild b/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild new file mode 100644 index 0000000000000..7b2991afb2737 --- /dev/null +++ b/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild @@ -0,0 +1,34 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Musical key detection library for digital audio" +HOMEPAGE="https://github.com/mixxxdj/libkeyfinder" +SRC_URI="https://github.com/mixxxdj/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +RDEPEND=" + sci-libs/fftw:3.0 +" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i -e "s/NAMES fftw /NAMES /" \ + cmake/FindFFTW3.cmake || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=OFF + ) + + cmake_src_configure +} diff --git a/media-libs/libkeyfinder/metadata.xml b/media-libs/libkeyfinder/metadata.xml index ea1481e43dc67..ecb0daf2a2e51 100644 --- a/media-libs/libkeyfinder/metadata.xml +++ b/media-libs/libkeyfinder/metadata.xml @@ -5,4 +5,7 @@ proaudio@gentoo.org Gentoo ProAudio Project + + mixxxdj/libkeyfinder + diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest index 67c89619152a6..cd9c310fc4c93 100644 --- a/media-libs/libsdl2/Manifest +++ b/media-libs/libsdl2/Manifest @@ -2,3 +2,4 @@ DIST SDL2-2.26.5.tar.gz 8085012 BLAKE2B f0363306ee031d399001259ac32e62cea2130d7a DIST SDL2-2.28.1.tar.gz 8109697 BLAKE2B c32537d42108dd75ea4f2ba907d6b045ba18d6be29f76a6f8a2f45400d069b0d43223a8855ba3103fa53c3b9d886b2e542133bcce1cd6cfcf5b17800dd5f9911 SHA512 1d5c1912c2a6d606b465938365a56ba5202367c47c6c88d303f4838f0c37826fe14aecbf588a3e86fa996d7118bd831f69559d2cc22c01bc4dbe56d03c5223b1 DIST SDL2-2.28.2.tar.gz 7341117 BLAKE2B 8216feed7ccd34e205c53eb8432e1c991857f8e6528874aa5b73b2c74d06db9a515c7366bfff3408b949be5aea79754bbc04c8174c7a633d22e8f465ecd064dd SHA512 2c5559c4ec2a71bb89b3fc6e9d0a2b206b8cc1021dfa4ad328aab9a931757ed5fac5ec76d4966dccf81bd861de20963e2013bac62be9ef75ebe1c08678999c39 DIST SDL2-2.28.3.tar.gz 7340914 BLAKE2B 1ef8950b7736fbbca4607ed9750114f94b8e6e944b2974941840c13b1677643126524cc41ad8c3ead699ea2f90295898888d3d0b31c7a80079420aa9187035fb SHA512 fb7ad4a41e85de3fcb414a3a3d19c3f61e286790a4936004d30025a8472a3f40f9fccf1241cf5cb34f48091567de65df463442fc2ce398ac85e51dbe677251e7 +DIST SDL2-2.28.4.tar.gz 7344208 BLAKE2B 03d1fec4c9c43d5b906ec9fafd69b75040f7c80696d9097b03c33a93760e579ff677b1dd9385c77d44209a5a8dbb295074d47595b8a2e39f00bc11ad32b7f154 SHA512 16950ccedcfdef42ee6eba1a6bf09ed7231ea0205fe8600388de2aed1aba94da2e5450d16e9732dce9f12569a238730b3727bf64b8699f1fed4cb3c5c94c3eaa diff --git a/media-libs/libsdl2/libsdl2-2.28.4.ebuild b/media-libs/libsdl2/libsdl2-2.28.4.ebuild new file mode 100644 index 0000000000000..2d61d660582a5 --- /dev/null +++ b/media-libs/libsdl2/libsdl2-2.28.4.ebuild @@ -0,0 +1,233 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +MY_P="SDL2-${PV}" +DESCRIPTION="Simple Direct Media Layer" +HOMEPAGE="https://www.libsdl.org/" +SRC_URI="https://www.libsdl.org/release/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus doc fcitx4 gles1 gles2 haptic ibus jack +joystick kms libsamplerate nas opengl oss pipewire pulseaudio sndio +sound static-libs +threads udev +video video_cards_vc4 vulkan wayland X xscreensaver" +REQUIRED_USE=" + alsa? ( sound ) + fcitx4? ( dbus ) + gles1? ( video ) + gles2? ( video ) + haptic? ( joystick ) + ibus? ( dbus ) + jack? ( sound ) + nas? ( sound ) + opengl? ( video ) + pulseaudio? ( sound ) + sndio? ( sound ) + vulkan? ( video ) + wayland? ( gles2 ) + xscreensaver? ( X ) +" + +COMMON_DEPEND=" + virtual/libiconv[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) + fcitx4? ( app-i18n/fcitx:4 ) + gles1? ( media-libs/mesa[${MULTILIB_USEDEP},gles1] ) + gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] ) + ibus? ( app-i18n/ibus ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] ) + kms? ( + >=x11-libs/libdrm-2.4.82[${MULTILIB_USEDEP}] + >=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm(+)] + ) + libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] ) + nas? ( + >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + ) + opengl? ( + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + ) + pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] ) + udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) + wayland? ( + >=dev-libs/wayland-1.20[${MULTILIB_USEDEP}] + >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl(+),gles2,wayland] + >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}] + ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-6.0.0[${MULTILIB_USEDEP}] + >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) + ) +" +RDEPEND=" + ${COMMON_DEPEND} + vulkan? ( media-libs/vulkan-loader ) +" +DEPEND=" + ${COMMON_DEPEND} + ibus? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) + vulkan? ( dev-util/vulkan-headers ) + X? ( x11-base/xorg-proto ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + media-gfx/graphviz + ) + wayland? ( >=dev-util/wayland-scanner-1.20 ) +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/SDL2/SDL_config.h + /usr/include/SDL2/SDL_platform.h + /usr/include/SDL2/begin_code.h + /usr/include/SDL2/close_code.h +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.16-static-libs.patch +) + +src_prepare() { + default + + # Unbundle some headers. + rm -r src/video/khronos || die + ln -s "${ESYSROOT}/usr/include" src/video/khronos || die + + # SDL seems to customize SDL_config.h.in to remove macros like + # PACKAGE_NAME. Add AT_NOEAUTOHEADER="yes" to prevent those macros from + # being reintroduced. + # https://bugs.gentoo.org/764959 + AT_NOEAUTOHEADER="yes" AT_M4DIR="${BROOT}/usr/share/aclocal acinclude" \ + eautoreconf +} + +multilib_src_configure() { + use custom-cflags || strip-flags + + if use ibus; then + local -x IBUS_CFLAGS="-I${ESYSROOT}/usr/include/ibus-1.0 -I${ESYSROOT}/usr/include/glib-2.0 -I${ESYSROOT}/usr/$(get_libdir)/glib-2.0/include" + fi + + # sorted by `./configure --help` + local myeconfargs=( + $(use_enable static-libs static) + --enable-system-iconv + --enable-atomic + $(use_enable sound audio) + $(use_enable video) + --enable-render + --enable-events + $(use_enable joystick) + $(use_enable haptic) + --enable-power + --enable-filesystem + $(use_enable threads pthreads) + --enable-timers + --enable-file + --enable-loadso + --enable-cpuinfo + --enable-assembly + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable cpu_flags_x86_sse ssemath) + $(use_enable cpu_flags_x86_mmx mmx) + $(use_enable cpu_flags_x86_3dnow 3dnow) + $(use_enable cpu_flags_x86_sse sse) + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable oss) + $(use_enable alsa) + --disable-alsa-shared + $(use_enable jack) + --disable-jack-shared + --disable-esd + $(use_enable pipewire) + --disable-pipewire-shared + $(use_enable pulseaudio) + --disable-pulseaudio-shared + --disable-arts + $(use_enable libsamplerate) + --disable-werror + $(use_enable nas) + --disable-nas-shared + $(use_enable sndio) + --disable-sndio-shared + $(use_enable sound diskaudio) + $(use_enable sound dummyaudio) + $(use_enable wayland video-wayland) + --disable-wayland-shared + $(use_enable video_cards_vc4 video-rpi) + $(use_enable X video-x11) + --disable-x11-shared + $(use_enable X video-x11-xcursor) + $(use_enable X video-x11-xdbe) + $(use_enable X video-x11-xfixes) + $(use_enable X video-x11-xinput) + $(use_enable X video-x11-xrandr) + $(use_enable xscreensaver video-x11-scrnsaver) + $(use_enable X video-x11-xshape) + $(use_enable aqua video-cocoa) + --disable-video-directfb + --disable-fusionsound + --disable-fusionsound-shared + $(use_enable kms video-kmsdrm) + --disable-kmsdrm-shared + $(use_enable video video-dummy) + $(use_enable opengl video-opengl) + $(use_enable gles1 video-opengles1) + $(use_enable gles2 video-opengles2) + $(use_enable vulkan video-vulkan) + $(use_enable udev libudev) + $(use_enable dbus) + $(use_enable fcitx4 fcitx) + $(use_enable ibus) + --disable-directx + --disable-rpath + --disable-render-d3d + $(use_with X x) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake V=1 +} + +src_compile() { + multilib-minimal_src_compile + + if use doc; then + cd docs || die + doxygen || die + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + # Do not delete the static .a libraries here as some are + # mandatory. They may be needed even when linking dynamically. + find "${ED}" -type f -name "*.la" -delete || die + + dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md + use doc && dodoc -r docs/output/html/ +} diff --git a/media-libs/libvpx/libvpx-1.13.0-r1.ebuild b/media-libs/libvpx/libvpx-1.13.0-r1.ebuild index 0774453098475..96aaa64d4a17a 100644 --- a/media-libs/libvpx/libvpx-1.13.0-r1.ebuild +++ b/media-libs/libvpx/libvpx-1.13.0-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0/8" -KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="cpu_flags_ppc_vsx3 doc +highbitdepth postproc static-libs test +threads" REQUIRED_USE="test? ( threads )" RESTRICT="!test? ( test )" diff --git a/media-libs/libvpx/libvpx-1.13.1.ebuild b/media-libs/libvpx/libvpx-1.13.1.ebuild index f383dae1d20fd..e92de1ca22a69 100644 --- a/media-libs/libvpx/libvpx-1.13.1.ebuild +++ b/media-libs/libvpx/libvpx-1.13.1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0/8" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="cpu_flags_ppc_vsx3 doc +highbitdepth postproc static-libs test +threads" REQUIRED_USE="test? ( threads )" RESTRICT="!test? ( test )" diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild index 6c26bb488b3c5..25a7f600b0169 100644 --- a/media-libs/openh264/openh264-2.3.1-r1.ebuild +++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild @@ -18,7 +18,7 @@ LICENSE="BSD" # (2.2.0 needed a minor bump due to undocumented but breaking ABI changes, just to be sure. # https://github.com/cisco/openh264/issues/3459 ) SLOT="0/7" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils" RESTRICT="bindist !test? ( test )" diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild index f97e1deaaf352..81838099d70c5 100644 --- a/media-libs/openh264/openh264-2.3.1-r3.ebuild +++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild @@ -18,7 +18,7 @@ LICENSE="BSD" # (2.2.0 needed a minor bump due to undocumented but breaking ABI changes, just to be sure. # https://github.com/cisco/openh264/issues/3459 ) SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86" IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils" RESTRICT="bindist !test? ( test )" diff --git a/media-libs/taglib/taglib-1.13.1.ebuild b/media-libs/taglib/taglib-1.13.1.ebuild index 9044836e0341d..7a16f31cc2bbb 100644 --- a/media-libs/taglib/taglib-1.13.1.ebuild +++ b/media-libs/taglib/taglib-1.13.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1 MPL-1.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index 395b3937f3d61..7eabebb916770 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -1,2 +1,3 @@ DIST fldigi-4.1.26.tar.gz 4964877 BLAKE2B 73048df0543b10602c7b49d8e5b426d20d4c563f3f2d3d5bd9cc5f91e071c429931e4f6307df8b256b3ab2be45c8023765cd0719a70310733c478b38d44fda0d SHA512 dee7cd8ce2a89ea6837a4515ef93c3e27d9674bbbb87f121b42c682bcd47e996de860796e45cd86ebfad5812569bbdc7c995a32953881987c84a6f8402b85faf DIST fldigi-4.1.27.tar.gz 4969090 BLAKE2B ddebcdb4193e42a23b5a74318aae1a2e82e68ba2ef294ae11042a06c6de54633412b8da82d70a166d629a4e8cc53315424398eb391f67ea010f00d96d6b4527f SHA512 fc4bf2cc6287bf11816bd0102c5ec0785cdc7ef6cb06358353ad683e7a50dbee86539239bbaa42bfea08943e608edac1aafc15c78fe62721c5655402842a8187 +DIST fldigi-4.2.00.tar.gz 4973115 BLAKE2B 365e98252d808b96d083451c92ad6d50243994966e2ad71dba0fc1dc83cacd50ce39a56938fa107d5abfa6df8be2d687898a9bb6183522972d8a2d16d0547709 SHA512 4f441872713930044f5e7f7df7dc51cd166bef314f5eaa6f414894af5fbdc417b7c62fea7a8b62f858eefb82e1a8fd821bf563789ed1f2f56cb721120ade6bde diff --git a/media-radio/fldigi/fldigi-4.2.00.ebuild b/media-radio/fldigi/fldigi-4.2.00.ebuild new file mode 100644 index 0000000000000..028d7b2b7e373 --- /dev/null +++ b/media-radio/fldigi/fldigi-4.2.00.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Sound card based multimode software modem for Amateur Radio use" +HOMEPAGE="http://www.w1hkj.com" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="hamlib nls pulseaudio" +IUSE_CPU_FLAGS=" sse sse2 sse3" +IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}" + +RDEPEND="x11-libs/fltk:1[threads,xft] + media-libs/libsamplerate + media-libs/libpng:0 + x11-misc/xdg-utils + dev-perl/RPC-XML + dev-perl/Term-ReadLine-Perl + || ( + media-libs/portaudio[oss] + media-libs/portaudio[alsa] + ) + hamlib? ( media-libs/hamlib:= ) + pulseaudio? ( media-libs/libpulse ) + >=media-libs/libsndfile-1.0.10" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +PATCHES=( "${FILESDIR}/${PN}-drop-nullptr-definition.patch" ) + +src_prepare() { + eapply ${PATCHES[@]} + eapply_user +} + +src_configure() { + #fails to compile with -flto (bug #860405) + filter-lto + + append-cxxflags $(test-flags-CXX -std=c++14) + local myconf="" + + use cpu_flags_x86_sse && myconf="${myconf} --enable-optimizations=sse" + use cpu_flags_x86_sse2 && myconf="${myconf} --enable-optimizations=sse2" + use cpu_flags_x86_sse3 && myconf="${myconf} --enable-optimizations=sse3" + + econf ${myconf} \ + --with-sndfile \ + $(use_with hamlib) \ + $(use_enable nls) \ + $(use_with pulseaudio) \ + --without-asciidoc +} diff --git a/media-radio/flrig/Manifest b/media-radio/flrig/Manifest index 6bc0a9a707a18..ff6c1ccfe8e51 100644 --- a/media-radio/flrig/Manifest +++ b/media-radio/flrig/Manifest @@ -1,2 +1,3 @@ DIST flrig-1.4.7.tar.gz 1042848 BLAKE2B a1cb9ccd57466dc1d2b387dd8a4e9784f937a2f0227a0e394b10a25b40d06c4c9566dff2b4e5f7b09b5564b13b8fa604a0618f7909b992053f8d7ec6f0aa4c7c SHA512 6d213e15e0a81808491509e10c84e6f90b5f22483a9a327a4a1a56fdd1b773f2ddfa615470e5e5458747bf4d7a2087f2753951b25e6d2169dcf26aed7f50d87d DIST flrig-1.4.8.tar.gz 1072241 BLAKE2B 002d2346a797af8abb04f029fa343846c307273a26af0b74063c3ce5e6c6de08c133630b34994d7ca550c70983fbca170f3215662d46dc404f835493d61d7bb6 SHA512 1075a48ad98375be2c901c693767eef0150b7548440f13a22664c02d7453ad1736b448846af0f38b6eeeb1777fe2f0147742bb83f3647e07fdeadbe2f5d51ae3 +DIST flrig-2.0.03.tar.gz 1107842 BLAKE2B 9421fb6b3e996119772de44cc5e4e8d308ab33cb03ab1d07faaf23db14a396df93dac137c8dc6c5c49ddf939f73530d6f2c0d1396c7bd8749ff7cbb951da277f SHA512 90543effff3e290f8a36c37ec1daecb1871fde857824b31366544f2526bd25e3db287058452acda99781274614e00eefb9d5f8d628c992e5cc9d71f4c36dca9b diff --git a/media-radio/flrig/flrig-2.0.03.ebuild b/media-radio/flrig/flrig-2.0.03.ebuild new file mode 100644 index 0000000000000..32b20011b1a50 --- /dev/null +++ b/media-radio/flrig/flrig-2.0.03.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Transceiver control program for Amateur Radio use" +HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" +SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +DOCS=(AUTHORS ChangeLog README) + +RDEPEND="x11-libs/libX11 + x11-libs/fltk:1 + x11-misc/xdg-utils" + +DEPEND="${RDEPEND} + sys-devel/gettext" + +PATCHES=( "${FILESDIR}/${PN}-1.4.4-musl.patch" ) + +src_prepare() { + eapply ${PATCHES[@]} + eapply_user +} + +src_configure() { + #fails to compile with -flto (bug #860408) + filter-lto + + econf +} diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest index a45043e852606..ad580f48d71c9 100644 --- a/media-radio/tucnak/Manifest +++ b/media-radio/tucnak/Manifest @@ -1,2 +1,3 @@ DIST tucnak-4.43.tar.gz 3607575 BLAKE2B 96aba674db8357cf86c870ccdb45f0d1c466a0dd2c446b066146935eee68a47352abd21f550d8d882496be153554ac0db5afbe40dfff285a557792c14271ccd5 SHA512 98f70b1c90218f97fdac8cd03029023cc5bc0909036a419664b72eebf03280b9aefee4321efff78b43da75c9e1c6559d04df06e39edf9fa753d3e3a372f16caa DIST tucnak-4.44.tar.gz 3613373 BLAKE2B 9bd9ae37c3adadfe5f52b3d1c848427607a44a7527f0493dc5acc674acd358cc100a29658f981248275008b7227957cdd031da80fe622acfa24d482101407bb6 SHA512 ae6115ba4b1d90e63a47ac9e1d659836287bfbd8b616543134152756322d6c794bc795a3fdd9d4cf11869828c8bf81927c3fa71fcc8699d123c6e58cb7d9865c +DIST tucnak-4.46.tar.gz 3617927 BLAKE2B 090a962c686e0de83d41c4fb017caaf9482d2058909164a97db4eb7e4bfd4d8fe19e21cc750f31493e4bf64454fa8d03f65b55da58749257601dba64b1476c8e SHA512 9c33c9dd7061d0ab2cb696ccf121145ebc60e0f8b2a29152ec6e59155af186c20d101cce698d48b8d669f64c8ee4b88d57d1896b574e9e250853a2bc45029d06 diff --git a/media-radio/tucnak/tucnak-4.46.ebuild b/media-radio/tucnak/tucnak-4.46.ebuild new file mode 100644 index 0000000000000..4e836bf30bfca --- /dev/null +++ b/media-radio/tucnak/tucnak-4.46.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools flag-o-matic + +DESCRIPTION="Amateur Radio VHF Contest Logbook" +HOMEPAGE="http://tucnak.nagano.cz" +SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa fftw gpm hamlib suid" + +RDEPEND="dev-libs/glib:2 + ~dev-libs/libzia-4.46 + media-libs/libsndfile + media-libs/libsdl2 + alsa? ( media-libs/alsa-lib ) + fftw? ( sci-libs/fftw:3.0 ) + gpm? ( sys-libs/gpm ) + hamlib? ( media-libs/hamlib:= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + eapply_user + # fix destop file + sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak.desktop || die + # fix doc install path + sed -i -e "s/docsdir/# docsdir/" \ + -e "s/docs_DATA =/# docs_DATA/" \ + -e "s/EXTRA_DIST =/# EXTRA_DIST =/" Makefile.am doc/Makefile.am || die + eautoreconf +} + +src_configure() { + append-ldflags -L/usr/$(get_libdir)/hamlib + econf $(use_with alsa) \ + $(use_with gpm) $(use_with hamlib) \ + $(use_with fftw fftw3) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog doc/NAVOD.pdf + if use suid ; then + fperms 4711 /usr/bin/soundwrapper + fi +} + +pkg_postinst() { + elog "In order to use sound with tucnak add yourself to the 'audio' group" + elog "and to key your rig via the parport add yourself to the 'lp' group" + elog "" + elog "tucnak can be used with the following additional packages:" + elog " media-radio/cwdaemon : Morse output via code cwdaemon" + elog " (No need to recompile)" + if use suid ; then + ewarn "You have choosen to install the little helper program 'soundwrapper'" + ewarn "setuid by setting USE=suid. That helper is only needed if you" + ewarn "want to use morse sidetone output via the PC speaker." + ewarn "" + ewarn "While the helper should be safe by design be aware that setting" + ewarn "any program setuid is a security risk." + fi +} diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest index 00cc8fbcec206..65460172da1b4 100644 --- a/media-sound/ardour/Manifest +++ b/media-sound/ardour/Manifest @@ -1,2 +1 @@ -DIST Ardour-7.4.0.tar.bz2 12940403 BLAKE2B 4f3ca19e44a9ab5908fb6a6cf29adefb6a7abf4a9f43f810f0a0fdbe8fc1e11cdb49e2a66336fddb0e5d49a0780ac5af7b9363d2f14d9e309b787ceb8c8dd060 SHA512 2533167986a8b7550848e03475931fcd1409f188abed0c7c2a5999869995a73576976d02080cf2ac310113b57ff62d39031615c92cb4fafbe5d96edfc3a4ec45 DIST Ardour-7.5.0.tar.bz2 13465772 BLAKE2B 647a6f952431c77ec6a66837e9668c75b69eb1a228c32c87772baf9a6dc18ab3554eea2c4056fe9d31c38acc398a3e55f681b66413bac49a9c8069f002c592c8 SHA512 9c3e37b5e4c12f2efd0fa567c2c0c7a324d3b4e6b86e2931b6574ca9bfdbc1e8af08bdf4d84bdc7cad9372d8015adb27410385bee0d6d8efec090bb26c319f8e diff --git a/media-sound/ardour/ardour-7.5-r1.ebuild b/media-sound/ardour/ardour-7.5-r1.ebuild deleted file mode 100644 index b4284c57729e7..0000000000000 --- a/media-sound/ardour/ardour-7.5-r1.ebuild +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE='threads(+)' -PLOCALES="ca cs de el en_GB es eu fr it ja ko nn pl pt pt_PT ru sv zh" -inherit toolchain-funcs flag-o-matic plocale python-any-r1 waf-utils desktop xdg - -DESCRIPTION="Digital Audio Workstation" -HOMEPAGE="https://ardour.org/" - -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://git.ardour.org/ardour/ardour.git" - inherit git-r3 -else - KEYWORDS="amd64 ~loong ~x86" - SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/Ardour-${PV}.0.tar.bz2" - S="${WORKDIR}/Ardour-${PV}.0" -fi - -LICENSE="GPL-2" -SLOT="7" -IUSE="doc jack nls phonehome pulseaudio cpu_flags_ppc_altivec cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" - -RDEPEND=" - dev-cpp/glibmm:2 - dev-cpp/gtkmm:2.4 - dev-libs/boost:= - dev-libs/glib:2 - dev-libs/libsigc++:2 - dev-libs/libxml2:2 - media-libs/alsa-lib - media-libs/aubio - media-libs/flac:= - media-libs/freetype:2 - media-libs/libart_lgpl - media-libs/liblo - media-libs/liblrdf - media-libs/libsamplerate - media-libs/libsndfile - media-libs/libsoundtouch - media-libs/raptor:2 - media-libs/rubberband - media-libs/taglib - media-libs/vamp-plugin-sdk - net-misc/curl - sys-libs/readline:0= - sci-libs/fftw:3.0[threads] - virtual/libusb:1 - x11-libs/cairo - x11-libs/gtk+:2 - x11-libs/pango - jack? ( virtual/jack ) - pulseaudio? ( media-libs/libpulse ) - media-libs/lilv - media-libs/sratom - dev-libs/sord - media-libs/suil[X,gtk2] - media-libs/lv2" -# !bundled-libs? ( media-sound/fluidsynth ) at least libltc is missing to be able to unbundle... - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-util/itstool - sys-devel/gettext - virtual/pkgconfig - doc? ( app-doc/doxygen[dot] ) - jack? ( virtual/jack )" - -PATCHES=( - "${FILESDIR}/${PN}-6.8-metadata.patch" - "${FILESDIR}/${PN}-7.4-libc++.patch" -) - -pkg_pretend() { - [[ $(tc-getLD) == *gold* ]] && (has_version sci-libs/fftw[openmp] || has_version sci-libs/fftw[threads]) && \ - ewarn "Linking with gold linker might produce broken executable, see bug #733972" -} - -pkg_setup() { - if has_version \>=dev-libs/libsigc++-2.6 ; then - append-cxxflags -std=c++11 - fi - python-any-r1_pkg_setup -} - -src_prepare() { - default - - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die - MARCH=$(get-flag march) - OPTFLAGS="" - if use cpu_flags_x86_sse; then - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then - elog "You enabled sse but use an march that does not support sse!" - elog "We add -msse to the flags now, but please consider switching your march in make.conf!" - fi - OPTFLAGS="sse" - fi - if use cpu_flags_x86_mmx; then - if [[ ${MARCH} == "i486" ]]; then - elog "You enabled mmx with i486 set as march! You have been warned!" - fi - OPTFLAGS="${OPTFLAGS} mmx" - fi - if use cpu_flags_x86_3dnow; then - OPTFLAGS="${OPTFLAGS} 3dnow" - fi - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \ - -i "${S}"/wscript || die - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die - append-flags "-lboost_system" - python_fix_shebang "${S}"/wscript - python_fix_shebang "${S}"/waf - my_lcmsg() { - rm -f {gtk2_ardour,gtk2_ardour/appdata,libs/ardour,libs/gtkmm2ext}/po/${1}.po - } - plocale_for_each_disabled_locale my_lcmsg -} - -src_configure() { - # avoid bug https://bugs.gentoo.org/800067 - local -x AS="$(tc-getCC) -c" - - local backends="alsa,dummy" - use jack && backends+=",jack" - use pulseaudio && backends+=",pulseaudio" - - tc-export CC CXX - mkdir -p "${D}" - local myconf=( - --configdir=/etc - --freedesktop - --noconfirm - --optimize - --with-backends=${backends} - $({ use cpu_flags_ppc_altivec || use cpu_flags_x86_sse; } && \ - echo "--fpu-optimization" || echo "--no-fpu-optimization") - $(usex doc "--docs" '') - $(usex nls "--nls" "--no-nls") - $(usex phonehome "--phone-home" "--no-phone-home") - # not possible right now --use-external-libs - ) - - waf-utils_src_configure "${myconf[@]}" -} - -src_compile() { - waf-utils_src_compile - use nls && waf-utils_src_compile i18n -} - -src_install() { - local s - - waf-utils_src_install - - mv ${PN}.1 ${PN}${SLOT}.1 || die - doman ${PN}${SLOT}.1 - - for s in 16 22 32 48 256 512; do - newicon -s ${s} gtk2_ardour/resources/Ardour-icon_${s}px.png ardour${SLOT}.png - done - - # the build system still installs ardour6.png files so we get rid of those to not conflict with ardour:6 - find "${D}/usr/share/icons/" -name ardour6.png -delete - - sed -i \ - -e "s/\(^Name=\).*/\1Ardour ${SLOT}/" \ - -e 's/;AudioEditing;/;X-AudioEditing;/' \ - build/gtk2_ardour/ardour${SLOT}.desktop || die - domenu build/gtk2_ardour/ardour${SLOT}.desktop - - insinto /usr/share/mime/packages - newins build/gtk2_ardour/ardour.xml ardour${SLOT}.xml -} - -pkg_postinst() { - xdg_pkg_postinst - - elog "Please do _not_ report problems with the package to ${PN} upstream." - elog "If you think you've found a bug, check the upstream binary package" - elog "before you report anything to upstream." -} diff --git a/media-sound/ardour/ardour-7.4-r3.ebuild b/media-sound/ardour/ardour-7.5-r2.ebuild similarity index 95% rename from media-sound/ardour/ardour-7.4-r3.ebuild rename to media-sound/ardour/ardour-7.5-r2.ebuild index c9ac3af6d6f0c..82c6d9e313d40 100644 --- a/media-sound/ardour/ardour-7.4-r3.ebuild +++ b/media-sound/ardour/ardour-7.5-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) PYTHON_REQ_USE='threads(+)' PLOCALES="ca cs de el en_GB es eu fr it ja ko nn pl pt pt_PT ru sv zh" inherit toolchain-funcs flag-o-matic plocale python-any-r1 waf-utils desktop xdg @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://git.ardour.org/ardour/ardour.git" inherit git-r3 else - KEYWORDS="amd64 x86" + KEYWORDS="amd64 ~loong x86" SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/Ardour-${PV}.0.tar.bz2" S="${WORKDIR}/Ardour-${PV}.0" fi @@ -35,7 +35,6 @@ RDEPEND=" media-libs/aubio media-libs/flac:= media-libs/freetype:2 - media-libs/libart_lgpl media-libs/liblo media-libs/liblrdf media-libs/libsamplerate @@ -89,7 +88,10 @@ pkg_setup() { src_prepare() { default + # delete optimization flags sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die + + # handle arch MARCH=$(get-flag march) OPTFLAGS="" if use cpu_flags_x86_sse; then @@ -111,9 +113,13 @@ src_prepare() { sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \ -i "${S}"/wscript || die sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die + + # boost and shebang append-flags "-lboost_system" python_fix_shebang "${S}"/wscript python_fix_shebang "${S}"/waf + + # handle locales my_lcmsg() { rm -f {gtk2_ardour,gtk2_ardour/appdata,libs/ardour,libs/gtkmm2ext}/po/${1}.po } @@ -129,7 +135,6 @@ src_configure() { use pulseaudio && backends+=",pulseaudio" tc-export CC CXX - mkdir -p "${D}" local myconf=( --configdir=/etc --freedesktop @@ -142,6 +147,7 @@ src_configure() { $(usex nls "--nls" "--no-nls") $(usex phonehome "--phone-home" "--no-phone-home") # not possible right now --use-external-libs + # missing dependency: https://github.com/c4dm/qm-dsp ) waf-utils_src_configure "${myconf[@]}" @@ -175,6 +181,7 @@ src_install() { insinto /usr/share/mime/packages newins build/gtk2_ardour/ardour.xml ardour${SLOT}.xml + rm "${D}/usr/share/mime/packages/ardour.xml" || die } pkg_postinst() { diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild index d38fad48fe221..dc901064219fd 100644 --- a/media-sound/ardour/ardour-9999.ebuild +++ b/media-sound/ardour/ardour-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) PYTHON_REQ_USE='threads(+)' PLOCALES="ca cs de el en_GB es eu fr it ja ko nn pl pt pt_PT ru sv zh" inherit toolchain-funcs flag-o-matic plocale python-any-r1 waf-utils desktop xdg @@ -21,8 +21,8 @@ else fi LICENSE="GPL-2" -SLOT="7" -IUSE="doc jack phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" +SLOT="8" +IUSE="doc jack nls phonehome pulseaudio cpu_flags_ppc_altivec cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" RDEPEND=" dev-cpp/glibmm:2 @@ -35,7 +35,6 @@ RDEPEND=" media-libs/aubio media-libs/flac:= media-libs/freetype:2 - media-libs/libart_lgpl media-libs/liblo media-libs/liblrdf media-libs/libsamplerate @@ -45,6 +44,7 @@ RDEPEND=" media-libs/rubberband media-libs/taglib media-libs/vamp-plugin-sdk + net-libs/libwebsockets net-misc/curl sys-libs/readline:0= sci-libs/fftw:3.0[threads] @@ -88,7 +88,10 @@ pkg_setup() { src_prepare() { default + # delete optimization flags sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die + + # handle arch MARCH=$(get-flag march) OPTFLAGS="" if use cpu_flags_x86_sse; then @@ -110,9 +113,13 @@ src_prepare() { sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \ -i "${S}"/wscript || die sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die + + # boost and shebang append-flags "-lboost_system" python_fix_shebang "${S}"/wscript python_fix_shebang "${S}"/waf + + # handle locales my_lcmsg() { rm -f {gtk2_ardour,gtk2_ardour/appdata,libs/ardour,libs/gtkmm2ext}/po/${1}.po } @@ -128,18 +135,19 @@ src_configure() { use pulseaudio && backends+=",pulseaudio" tc-export CC CXX - mkdir -p "${D}" local myconf=( --configdir=/etc --freedesktop --noconfirm --optimize --with-backends=${backends} - --no-fpu-optimization + $({ use cpu_flags_ppc_altivec || use cpu_flags_x86_sse; } && \ + echo '' || echo "--no-fpu-optimization") $(usex doc "--docs" '') - --no-nls + $(usex nls '' "--no-nls") $(usex phonehome "--phone-home" "--no-phone-home") # not possible right now --use-external-libs + # missing dependency: https://github.com/c4dm/qm-dsp ) waf-utils_src_configure "${myconf[@]}" @@ -173,6 +181,7 @@ src_install() { insinto /usr/share/mime/packages newins build/gtk2_ardour/ardour.xml ardour${SLOT}.xml + rm "${D}/usr/share/mime/packages/ardour.xml" || die } pkg_postinst() { diff --git a/media-sound/gpodder/Manifest b/media-sound/gpodder/Manifest index 7648d1783ae10..eb38f14310e37 100644 --- a/media-sound/gpodder/Manifest +++ b/media-sound/gpodder/Manifest @@ -1 +1,2 @@ DIST gpodder-3.11.2.tar.gz 1177302 BLAKE2B de66191dd50f5041b10f52c18be31e059f6547c12f7e81f036939b3fdf1a9de5e18d6a25dac9db9487e3efa907c9967e220f41386929b9053fe1e5670b6babe7 SHA512 367c1e0eba7a5973b681e7b91463624b4e9ef2ad75ce1697f5d2e5937958c417bc3e6b1b34a54344f66ebb047479ab16a35dd913e54050f71ac54af05e62b30a +DIST gpodder-3.11.3.tar.gz 1183434 BLAKE2B 553642b17beaadc686c2a2b01971436ca44e84029269f776423905bbac1c2448878d4fb8f3d9f8a1776da5c0417b5df425a884bb2b4d2a80c19e952ceb922a92 SHA512 643097fe209cc69a7674fd265a64099c9b34cc9b2dcee4cc09004113559334822db1dea5359f302956e15b74d3f9c5e1ce8727b89e02f067e7ee6b8261c53ca6 diff --git a/media-sound/gpodder/gpodder-3.11.3.ebuild b/media-sound/gpodder/gpodder-3.11.3.ebuild new file mode 100644 index 0000000000000..d6e67e460c880 --- /dev/null +++ b/media-sound/gpodder/gpodder-3.11.3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 optfeature xdg + +DESCRIPTION="A free cross-platform podcast aggregator" +HOMEPAGE="https://gpodder.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+dbus bluetooth mtp" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/podcastparser[${PYTHON_USEDEP}] + dev-python/mygpoclient[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + ') + bluetooth? ( net-wireless/bluez ) + mtp? ( media-libs/libmtp:= ) + kernel_linux? ( sys-apps/iproute2 ) +" +BDEPEND=" + dev-util/desktop-file-utils + dev-util/intltool + sys-apps/help2man + test? ( + $(python_gen_cond_dep ' + dev-python/minimock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + sed -i -e 's:--cov=gpodder::' makefile || die +} + +python_test() { + # These are pulled out from the Makefile to give us more control + # See bug #795165 + # Previously, we used 'emake releasetest' in src_test + LC_ALL=C epytest --ignore=tests --ignore=src/gpodder/utilwin32ctypes.py --doctest-modules src/gpodder/util.py src/gpodder/jsonconfig.py \ + -p no:localserver + LC_ALL=C epytest tests --ignore=src/gpodder/utilwin32ctypes.py --ignore=src/mygpoclient \ + -p no:localserver +} + +src_install() { + emake PYTHON="${EPYTHON}" DESTDIR="${D}" install + + distutils-r1_src_install + + touch "${ED}"/usr/share/gpodder/no-update-check || die +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "track length detection for device sync (only one package is needed)" media-video/mplayer dev-python/eyeD3 + optfeature "for the YouTube extension" net-misc/yt-dlp + optfeature "iPod sync support" media-libs/libgpod +} diff --git a/media-sound/mpd-ynca/Manifest b/media-sound/mpd-ynca/Manifest index 55eb77127b52f..b346f7cbeb299 100644 --- a/media-sound/mpd-ynca/Manifest +++ b/media-sound/mpd-ynca/Manifest @@ -1 +1 @@ -DIST mpd-ynca-0.1.0.tar.gz 12092 BLAKE2B b8b8fbd5323e8793631b3a1e6a0ead9f742a4a7b02ac254ab7617da24ff231c85ea70da3aed5026f985399c6051af074d14e022b5109a8083eb0a6b21a102dcd SHA512 752da6527d6989a30ecf754f054f2d0e1958cc68926197456fb5ed7431a8630d29a702b3865422b34cadfb8f49f9f8fbf393628b91748d301b7198bf64eb28d4 +DIST mpd-ynca-0.2.0.tar.gz 12555 BLAKE2B b8fe262dc3abebd134640e4c4472030d9be728c1428629193e5d93e5c80e97335e57f66c444e26530b943f5daa5fbcd3c1dab106517dc23ee4b69f8296a6fd48 SHA512 5a0adac8f4fd01b3adf33c905e29ba23010c9153c27fa30dfbd9906c60e9cf0c26c057cc6d7c68f8538e63e7fda30eba98119a02296cf0c8be019b31d9adef92 diff --git a/media-sound/mpd-ynca/mpd-ynca-0.1.0.ebuild b/media-sound/mpd-ynca/mpd-ynca-0.2.0.ebuild similarity index 100% rename from media-sound/mpd-ynca/mpd-ynca-0.1.0.ebuild rename to media-sound/mpd-ynca/mpd-ynca-0.2.0.ebuild diff --git a/media-sound/strawberry/strawberry-1.0.18.ebuild b/media-sound/strawberry/strawberry-1.0.18-r1.ebuild similarity index 98% rename from media-sound/strawberry/strawberry-1.0.18.ebuild rename to media-sound/strawberry/strawberry-1.0.18-r1.ebuild index e7b15325921c3..3b9cb84b945d7 100644 --- a/media-sound/strawberry/strawberry-1.0.18.ebuild +++ b/media-sound/strawberry/strawberry-1.0.18-r1.ebuild @@ -102,8 +102,7 @@ src_configure() { -DENABLE_SONGFINGERPRINTING="$(usex gstreamer)" -DENABLE_UDISKS2="$(usex udisks)" -DENABLE_VLC="$(usex vlc)" - # Disable until we have qt6 in the tree - -DWITH_QT6=OFF + -DQT_VERSION_MAJOR=5 ) use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT diff --git a/media-sound/strawberry/strawberry-1.0.20.ebuild b/media-sound/strawberry/strawberry-1.0.20-r1.ebuild similarity index 98% rename from media-sound/strawberry/strawberry-1.0.20.ebuild rename to media-sound/strawberry/strawberry-1.0.20-r1.ebuild index d228a9e4d370b..3db9ec7c76287 100644 --- a/media-sound/strawberry/strawberry-1.0.20.ebuild +++ b/media-sound/strawberry/strawberry-1.0.20-r1.ebuild @@ -102,8 +102,7 @@ src_configure() { -DENABLE_SONGFINGERPRINTING="$(usex gstreamer)" -DENABLE_UDISKS2="$(usex udisks)" -DENABLE_VLC="$(usex vlc)" - # Disable until we have qt6 in the tree - -DWITH_QT6=OFF + -DQT_VERSION_MAJOR=5 ) use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT diff --git a/media-sound/strawberry/strawberry-9999.ebuild b/media-sound/strawberry/strawberry-9999.ebuild index d228a9e4d370b..3db9ec7c76287 100644 --- a/media-sound/strawberry/strawberry-9999.ebuild +++ b/media-sound/strawberry/strawberry-9999.ebuild @@ -102,8 +102,7 @@ src_configure() { -DENABLE_SONGFINGERPRINTING="$(usex gstreamer)" -DENABLE_UDISKS2="$(usex udisks)" -DENABLE_VLC="$(usex vlc)" - # Disable until we have qt6 in the tree - -DWITH_QT6=OFF + -DQT_VERSION_MAJOR=5 ) use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT diff --git a/media-sound/teamspeak-client/Manifest b/media-sound/teamspeak-client/Manifest index 81910e39dcdc9..ee5a2222e2d91 100644 --- a/media-sound/teamspeak-client/Manifest +++ b/media-sound/teamspeak-client/Manifest @@ -1,5 +1,6 @@ DIST TeamSpeak3-Client-linux_amd64-3.5.6.run 100152301 BLAKE2B 9fbaa32ac000c9e29e09dcb1c932acea45265d5cf464308d6f27063fb3095690f3cb96abb061ce947438a4b919dcbaf8f3f0189048b470b09bb2b8285e426e39 SHA512 fe1b41773d2b2de8198fdaf189c6665994eeaf6a0255485f7d342a3e77702f5515d5c5c685410a0b5844b4ad5c395d57b68e57c7b1f46bd1211ef813ce1e0030 DIST TeamSpeak3-Client-linux_amd64-3.6.0.run 110887559 BLAKE2B e3b09089be342c7818d7fe0ecc868a78e8820aa1e233302c9a6de1f5a619e701c3ab50e9243e7acdd9c4a8300dd7b92e6cae60149defba7e19ec01d15ce1138f SHA512 59b156feeb4b9ee68962c90f27541e86a926536ac67c376aee71e3534ba1776aacf1597fd3eee3b0c9b3177386a042e6f4355a464fd2f63222d6d479c7146553 DIST TeamSpeak3-Client-linux_amd64-3.6.1.run 110901490 BLAKE2B 70aea129eca16f65700573837939d0566bd5beebc901b43904f9c4ee0e1f4015fb9ed085562c52a767ae222506e40b42e9dd3873bed301a939025c17d2fee4e5 SHA512 0745b7619b98de17d934b751d020f28923331dcf9dd3c4bc6bb347dea5b8a70b76ffb8ac34217523a6c2f595f6f9acc220e5a30802a7f0ed420a8d93290b76a1 +DIST TeamSpeak3-Client-linux_amd64-3.6.2.run 110899830 BLAKE2B e832af37b3fe89741d6eed0214dcb790e69184ebfdf0cfbcebe8ec433eef62e42597a75bfb6bbf7d36cc172fa49e22c527023b787ad88584654b9297d5730d5f SHA512 09448086ed3322ba5a37905c5b893fdf0860e5e80852da2713a2d3aceddc071ff6cd7bc213f494759b9448615a027130579da7292f59447b3c31553e151d35eb DIST TeamSpeak3-Client-linux_x86-3.5.6.run 98637555 BLAKE2B 6f891e6846f8f899edb8ef107b7ea6518f413488525b7696863292d99d73614cae40631f5ed2341cce75ea62ffd94c60968ff6b5d587446d7469271835c01202 SHA512 dfc5ed3e2a92ed9f1cea2fdde5e40cf73e4a999ea782c434b26072ac0e7ac37d6305c06ae2d39c104eeee10639f325c7b96f538082e60224a68c0553fab0d12c DIST teamspeak-client-5.0.0_beta74.tar.gz 141049252 BLAKE2B d8f4265de82bf0c0cda60ff98acfeba76ecd1b56c13be15fd7a017aa1c3676e3311c4f57293f2f75914499d862a21f9bbfddab29d090bec8dee7c3b1f1de7537 SHA512 744b801fc304b4259903a8744a66695a41f990c1d7d2357636e5c5670e3439513f63075b0b598d17bef311136265561fba386f65db2a7302ff3f19a4351f17d3 diff --git a/media-sound/teamspeak-client/teamspeak-client-3.6.2.ebuild b/media-sound/teamspeak-client/teamspeak-client-3.6.2.ebuild new file mode 100644 index 0000000000000..44b5187971c11 --- /dev/null +++ b/media-sound/teamspeak-client/teamspeak-client-3.6.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV/_/-}" + +inherit desktop toolchain-funcs unpacker xdg + +DESCRIPTION="A client software for quality voice communication via the internet" +HOMEPAGE="https://www.teamspeak.com/" +SRC_URI="https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${MY_PV}.run" +S="${WORKDIR}" + +LICENSE="teamspeak3 || ( GPL-2 GPL-3 LGPL-3 )" +SLOT="3" +KEYWORDS="-* ~amd64" +IUSE="+alsa pulseaudio system-libcxx +system-quazip" + +REQUIRED_USE="|| ( alsa pulseaudio )" +RESTRICT="bindist mirror" + +BDEPEND=">=dev-util/patchelf-0.10" +RDEPEND=" + dev-libs/glib:2 + dev-qt/qtcore:5 + dev-qt/qtgui:5[accessibility,dbus,X(-)] + dev-qt/qtnetwork:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtsvg:5 + dev-qt/qtwebchannel:5 + dev-qt/qtwebengine:5[geolocation(+),widgets] + dev-qt/qtwebsockets:5 + dev-qt/qtwidgets:5 + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-libs/libpulse ) + system-libcxx? ( sys-libs/libcxx[libcxxabi] ) + !system-libcxx? ( sys-libs/libunwind ) + system-quazip? ( dev-libs/quazip:0/1[qt5(+)] ) +" + +QA_PREBUILT=" + opt/teamspeak3-client/libc++.so.1 + opt/teamspeak3-client/libc++abi.so.1 + opt/teamspeak3-client/libquazip.so + opt/teamspeak3-client/error_report + opt/teamspeak3-client/package_inst + opt/teamspeak3-client/soundbackends/libalsa_linux_*.so + opt/teamspeak3-client/ts3client + opt/teamspeak3-client/update +" + +src_prepare() { + default + + if ! use alsa; then + rm soundbackends/libalsa_linux_*.so || die + fi + + mv ts3client_linux_* ts3client || die + + # Fixes QA Notice: Unresolved soname dependencies. + # Since this is a binary only package, it must be patched. + local quazip_so="libquazip1-qt5.so.1.0.0" + if has_version " + #include + #include ++#include + + // #include + // #include diff --git a/net-analyzer/tptest/tptest-3.1.7-r3.ebuild b/net-analyzer/tptest/tptest-3.1.7-r3.ebuild new file mode 100644 index 0000000000000..bb6a9fe8ac013 --- /dev/null +++ b/net-analyzer/tptest/tptest-3.1.7-r3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PV="${PV/./_}" + +DESCRIPTION="Internet bandwidth tester" +HOMEPAGE="http://tptest.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1.7-getstatsfromlinevuln.patch + "${FILESDIR}"/${PN}-3.1.7-clang16-build-fix.patch +) + +src_prepare() { + default + + sed -i apps/unix/{client,server}/Makefile \ + -e "s:^CFLAGS[[:space:]]*=:CFLAGS+=:" \ + || die + + cp -f os-dep/unix/* . || die + cp -f engine/* . || die +} + +src_compile() { + emake -C apps/unix/client \ + CC="$(tc-getCC)" \ + LDFLAGS="${LDFLAGS}" + + emake -C apps/unix/server \ + CC="$(tc-getCC)" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin apps/unix/client/tptestclient + dosbin apps/unix/server/tptestserver + + insinto /etc + doins apps/unix/server/tptest.conf +} diff --git a/net-firewall/firewalld/Manifest b/net-firewall/firewalld/Manifest index 6bca6b849584a..9e5235143a84d 100644 --- a/net-firewall/firewalld/Manifest +++ b/net-firewall/firewalld/Manifest @@ -1,3 +1,4 @@ DIST firewalld-1.3.2.tar.bz2 1225416 BLAKE2B 108302dab4a1a156bc12df4ec82a2f6fc7ad3e17ca56f68ac9cbd4f85db4cd06abc1a39275ec6d11fc41e820d9fc01f3cd59a73f44332cd3b9662d50d2eeb22a SHA512 06658d279c5ec8eadfb14f9f7053882fc2872a4e27055e9c3aac81cf93167773d592fc29bd749cb6447116419c663fac79d6df725422394409b9a2e1c4708695 DIST firewalld-1.3.3.tar.bz2 1218890 BLAKE2B 79ececc0c547e4e06edced53909e9e68c6a5781c15af1d722e2247c28206e19a92349e33be31cbdec5281de6052be2718da09ab18065cfa49999e94acafb0338 SHA512 b6bbec0dd9810a48c397bc6cfcf1339e0fff5a80df893917eddee266e48f70ae0af31a9c474d5c78fe2990433c8f84d70fd46f227ac29e4f5b7c209ca73b9e3c DIST firewalld-2.0.0.tar.bz2 1260018 BLAKE2B 18b57d5692d0e8a78af590e22010f7926d65a648bffbaf49e46c2e4156a923235e0cef00df1468ad36425050b1f7f5cceacbc6189d12602f592b3b4f3f9ec6de SHA512 a43e2e625d5d11cf1b740230213a44adbfe99243f2b87dc21b1698ea80a8da4af3b974e381980cc3c8d0bd3f08e5561eb2c3a393da5f5fbee4518879ae0b21a8 +DIST firewalld-2.0.1.tar.bz2 1257251 BLAKE2B a78ff5c1d733897024c33fe74ae8723c97253498ba55957420c66ccdfe4dcf64265336c5ee0cf120c4450d9c4da492e64c4fe01a3ea974d2992f6cf5879ef88d SHA512 31b18b74af4d731f6259915fd86d6551968eea563deba211b6d304d961747662085a02c7c185c0d7d8916693f53a5dca581b0877bce59c634e99a9f20de2f3e1 diff --git a/net-firewall/firewalld/firewalld-2.0.1.ebuild b/net-firewall/firewalld/firewalld-2.0.1.ebuild new file mode 100644 index 0000000000000..9cdc72532067e --- /dev/null +++ b/net-firewall/firewalld/firewalld-2.0.1.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit bash-completion-r1 gnome2-utils linux-info optfeature +inherit plocale python-single-r1 systemd xdg-utils + +DESCRIPTION="A firewall daemon with D-Bus interface providing a dynamic firewall" +HOMEPAGE="https://firewalld.org/" +SRC_URI="https://github.com/firewalld/firewalld/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="gui +nftables +iptables test" +# Tests are too unreliable in sandbox environment +RESTRICT="!test? ( test ) test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + || ( >=sys-apps/openrc-0.11.5 sys-apps/systemd ) + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + gui? ( + x11-libs/gtk+:3 + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + nftables? ( >=net-firewall/nftables-0.9.4[python,json] ) + ') + iptables? ( + net-firewall/iptables[ipv6(+)] + net-firewall/ebtables + net-firewall/ipset + nftables? ( net-firewall/nftables[xtables(+)] ) + ) +" +DEPEND=" + ${RDEPEND} + dev-libs/glib:2 +" +BDEPEND=" + app-text/docbook-xml-dtd + >=dev-util/intltool-0.35 + sys-devel/gettext +" + +# Testsuite's Makefile.am calls missing(!) +# ... but this seems to be consistent with the autoconf docs? +# Needs more investigation: https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/autom4te-Invocation.html +QA_AM_MAINTAINER_MODE=".*--run autom4te --language=autotest.*" + +PLOCALES="ar as ast bg bn_IN ca cs da de el en_GB en_US es et eu fa fi fr gl gu hi hr hu ia id it ja ka kn ko lt ml mr nl or pa pl pt pt_BR ru si sk sq sr sr@latin sv ta te tr uk zh_CN zh_TW" + +pkg_setup() { + # See bug #830132 for the huge list + # We can probably narrow it down a bit but it's rather fragile + local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_CONNTRACK + ~NETFILTER + ~NETFILTER_ADVANCED + ~NETFILTER_INGRESS + ~NF_NAT_MASQUERADE + ~NF_NAT_REDIRECT + ~NF_TABLES_INET + ~NF_TABLES_IPV4 + ~NF_TABLES_IPV6 + ~NF_CONNTRACK + ~NF_CONNTRACK_BROADCAST + ~NF_CONNTRACK_NETBIOS_NS + ~NF_CONNTRACK_TFTP + ~NF_CT_NETLINK + ~NF_CT_NETLINK_HELPER + ~NF_DEFRAG_IPV4 + ~NF_DEFRAG_IPV6 + ~NF_NAT + ~NF_NAT_TFTP + ~NF_REJECT_IPV4 + ~NF_REJECT_IPV6 + ~NF_SOCKET_IPV4 + ~NF_SOCKET_IPV6 + ~NF_TABLES + ~NF_TPROXY_IPV4 + ~NF_TPROXY_IPV6 + ~IP_NF_FILTER + ~IP_NF_IPTABLES + ~IP_NF_MANGLE + ~IP_NF_NAT + ~IP_NF_RAW + ~IP_NF_SECURITY + ~IP_NF_TARGET_MASQUERADE + ~IP_NF_TARGET_REJECT + ~IP6_NF_FILTER + ~IP6_NF_IPTABLES + ~IP6_NF_MANGLE + ~IP6_NF_NAT + ~IP6_NF_RAW + ~IP6_NF_SECURITY + ~IP6_NF_TARGET_MASQUERADE + ~IP6_NF_TARGET_REJECT + ~IP_SET + ~NETFILTER_CONNCOUNT + ~NETFILTER_NETLINK + ~NETFILTER_NETLINK_OSF + ~NETFILTER_NETLINK_QUEUE + ~NETFILTER_SYNPROXY + ~NETFILTER_XTABLES + ~NETFILTER_XT_CONNMARK + ~NETFILTER_XT_MATCH_CONNTRACK + ~NETFILTER_XT_MATCH_MULTIPORT + ~NETFILTER_XT_MATCH_STATE + ~NETFILTER_XT_NAT + ~NETFILTER_XT_TARGET_MASQUERADE + ~NFT_COMPAT + ~NFT_CT + ~NFT_FIB + ~NFT_FIB_INET + ~NFT_FIB_IPV4 + ~NFT_FIB_IPV6 + ~NFT_HASH + ~NFT_LIMIT + ~NFT_LOG + ~NFT_MASQ + ~NFT_NAT + ~NFT_OBJREF + ~NFT_QUEUE + ~NFT_QUOTA + ~NFT_REDIR + ~NFT_REJECT + ~NFT_REJECT_INET + ~NFT_REJECT_IPV4 + ~NFT_REJECT_IPV6 + ~NFT_SOCKET + ~NFT_SYNPROXY + ~NFT_TPROXY + ~NFT_TUNNEL + ~NFT_XFRM" + + # kernel >= 4.19 has unified a NF_CONNTRACK module, bug #692944 + if kernel_is -lt 4 19; then + CONFIG_CHECK+=" ~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_IPV6" + fi + + # bug #831259 + if kernel_is -le 5 4 ; then + CONFIG_CHECK+=" ~NF_TABLES_SET" + fi + + # bug #853055 + if kernel_is -lt 5 18 ; then + CONFIG_CHECK+=" ~NFT_COUNTER" + fi + + linux-info_pkg_setup +} + +src_prepare() { + default + + plocale_find_changes "po" "" ".po" || die + plocale_get_locales | sed -e 's/ /\n/g' > po/LINGUAS +} + +src_configure() { + python_setup + + local myeconfargs=( + --enable-systemd + $(use_with iptables iptables "${EPREFIX}/sbin/iptables") + $(use_with iptables iptables_restore "${EPREFIX}/sbin/iptables-restore") + $(use_with iptables ip6tables "${EPREFIX}/sbin/ip6tables") + $(use_with iptables ip6tables_restore "${EPREFIX}/sbin/ip6tables-restore") + $(use_with iptables ebtables "${EPREFIX}/sbin/ebtables") + $(use_with iptables ebtables_restore "${EPREFIX}/sbin/ebtables-restore") + $(use_with iptables ipset "${EPREFIX}/usr/sbin/ipset") + --with-systemd-unitdir="$(systemd_get_systemunitdir)" + --with-bashcompletiondir="$(get_bashcompdir)" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + python_optimize + + # Get rid of junk + rm -rf "${D}/etc/sysconfig/" || die + + # For non-gui installs we need to remove GUI bits + if ! use gui; then + rm -rf "${D}/etc/xdg/autostart" || die + rm -f "${D}/usr/bin/firewall-applet" || die + rm -f "${D}/usr/bin/firewall-config" || die + rm -rf "${D}/usr/share/applications" || die + rm -rf "${D}/usr/share/icons" || die + fi + + newinitd "${FILESDIR}"/firewalld.init firewalld + + # Our version drops the/an obsolete 'conflicts' line with old iptables services + # bug #833506 + systemd_dounit "${FILESDIR}"/firewalld.service +} + +pkg_preinst() { + gnome2_schemas_savelist +} + +pkg_postinst() { + xdg_icon_cache_update + gnome2_schemas_update + + # bug #833569 + optfeature "changing zones with NetworkManager" gnome-extra/nm-applet +} + +pkg_postrm() { + xdg_icon_cache_update + gnome2_schemas_update +} diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest index 3cb6f901dc886..ae3c5e44f6c6e 100644 --- a/net-fs/samba/Manifest +++ b/net-fs/samba/Manifest @@ -1,4 +1,5 @@ DIST samba-4.18.4.tar.gz 41311410 BLAKE2B 1f1aab7eb933111b9b1c72af8c3dd379fe34014085129e9d5cc400b4e434742e1c08ad4fdf2a98291d6063ce9b2ddc811e9ab5dbb133a85e97f2158f83dd7c96 SHA512 bc8d792b510061556c07b6844a825801a4271eed45e01133a4718c1839d123e2908fa0e31e67af43098500e98a9082eb104052e711a8a034fac23d86e15c29ee DIST samba-4.18.5.tar.gz 41315373 BLAKE2B 24c625372c6e4f7f4393777991221f7a7ad25513717436491ea3238c8d588e738eb1a64791606f691b3608362b3f3741f390f08975b2b0578c497984a4d44392 SHA512 c12b7cd7aba0941bf178c89604f926347bee4f5bb6ea651930cc93bcd8a2cfa983b1f10a0ccb55f99c5b34b9f158d1059d06d7f39f7bc261c7dd0d8c89c5a6f5 DIST samba-4.18.6.tar.gz 41323359 BLAKE2B 0bdb81edb6a539a4466f97949325091a063ab0a1633c29e15296776f0adc41ee9e1949c94870c347a8dad689598ef1b2de4f0301cb7ce06cae045c68caffa5f4 SHA512 28e8e4e57db1f392dfe96387888e2771e08f1f8eedf860f688ea3b8bd2cee1d6bbe99b2e61c84dc9ed6ade6393baf629955bed93d6cdad5241a292a10d8a12b6 +DIST samba-4.18.7.tar.gz 41328101 BLAKE2B 41b148f72bfa02a8d04745a4d507e8846ffe9b1388b31fe11074c7d86db6509f35a93cce6a201727b37efb6d671f3059d01e26a72198ad67bd83d6238b07d636 SHA512 86baf5c76e92f4b194726441e1d0efe11dc3db4d399f141f76c1abb4f4a3ab05473dded3294d2019f7999305ca6d5e56961d71434e9e214b960895e53bedd7a9 DIST samba-4.19.0.tar.gz 41816190 BLAKE2B 4e0db41d7d06e195cee994c5ec02a37892c1a7dd99ea9defb845fe2fbf96446846c469007218b6b0d6077c0886f0d08b2a4376acba1ed455b641daacd9018f12 SHA512 908418c16e94cf8f87dd331fa4c0081e89d147706e4c85d0cd331327481cab49f6f17ed338c1d0e73475ef8da2398f80db18d63f2d37fc8cb4f053e3b3081af7 diff --git a/net-fs/samba/samba-4.18.7.ebuild b/net-fs/samba/samba-4.18.7.ebuild new file mode 100644 index 0000000000000..cea5c8d53ad5e --- /dev/null +++ b/net-fs/samba/samba-4.18.7.ebuild @@ -0,0 +1,383 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+),xml(+)" +inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info systemd pam tmpfiles + +DESCRIPTION="Samba Suite Version 4" +HOMEPAGE="https://samba.org/" + +MY_PV="${PV/_rc/rc}" +MY_P="${PN}-${MY_PV}" +if [[ ${PV} == *_rc* ]]; then + SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" +else + SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug fam glusterfs gpg" +IUSE+=" iprint json ldap llvm-libunwind pam profiling-data python quota +regedit selinux" +IUSE+=" snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test unwind winbind" +IUSE+=" zeroconf" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + addc? ( json python !system-mitkrb5 winbind ) + ads? ( acl ldap python winbind ) + cluster? ( ads ) + gpg? ( addc ) + spotlight? ( json ) + test? ( python ) + !ads? ( !addc ) + ?? ( system-heimdal system-mitkrb5 ) +" + +# the test suite is messed, it uses system-installed samba +# bits instead of what was built, tests things disabled via use +# flags, and generally just fails to work in a way ebuilds could +# rely on in its current state +RESTRICT="test" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/samba-4.0/policy.h + /usr/include/samba-4.0/dcerpc_server.h + /usr/include/samba-4.0/ctdb.h + /usr/include/samba-4.0/ctdb_client.h + /usr/include/samba-4.0/ctdb_protocol.h + /usr/include/samba-4.0/ctdb_private.h + /usr/include/samba-4.0/ctdb_typesafe_cb.h + /usr/include/samba-4.0/ctdb_version.h +) + +TALLOC_VERSION="2.4.0" +TDB_VERSION="1.4.8" +TEVENT_VERSION="0.14.1" + +COMMON_DEPEND=" + >=app-arch/libarchive-3.1.2:=[${MULTILIB_USEDEP}] + dev-lang/perl:= + dev-libs/icu:=[${MULTILIB_USEDEP}] + dev-libs/libbsd[${MULTILIB_USEDEP}] + dev-libs/libtasn1:=[${MULTILIB_USEDEP}] + dev-libs/popt[${MULTILIB_USEDEP}] + dev-perl/Parse-Yapp + >=net-libs/gnutls-3.4.7:=[${MULTILIB_USEDEP}] + >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] + >=sys-libs/ldb-2.7.2:=[ldap(+)?,${MULTILIB_USEDEP}] + =sys-libs/talloc-${TALLOC_VERSION}[${MULTILIB_USEDEP}] + >=sys-libs/tdb-${TDB_VERSION}[${MULTILIB_USEDEP}] + >=sys-libs/tevent-${TEVENT_VERSION}[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + virtual/libcrypt:=[${MULTILIB_USEDEP}] + virtual/libiconv + $(python_gen_cond_dep ' + addc? ( + dev-python/dnspython:=[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + ) + ads? ( + dev-python/dnspython:=[${PYTHON_USEDEP}] + net-dns/bind-tools[gssapi] + ) + ') + acl? ( virtual/acl ) + ceph? ( sys-cluster/ceph ) + cluster? ( net-libs/rpcsvc-proto ) + cups? ( net-print/cups ) + debug? ( dev-util/lttng-ust ) + fam? ( virtual/fam ) + gpg? ( app-crypt/gpgme:= ) + json? ( dev-libs/jansson:= ) + ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) + pam? ( sys-libs/pam ) + python? ( + sys-libs/ldb[python,${PYTHON_SINGLE_USEDEP}] + sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] + sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] + sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] + ) + snapper? ( sys-apps/dbus ) + system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl(-),${MULTILIB_USEDEP}] ) + system-mitkrb5? ( >=app-crypt/mit-krb5-1.19[${MULTILIB_USEDEP}] ) + systemd? ( sys-apps/systemd:= ) + unwind? ( + llvm-libunwind? ( sys-libs/llvm-libunwind:= ) + !llvm-libunwind? ( sys-libs/libunwind:= ) + ) + zeroconf? ( net-dns/avahi[dbus] ) +" +DEPEND="${COMMON_DEPEND} + dev-perl/JSON + net-libs/libtirpc[${MULTILIB_USEDEP}] + net-libs/rpcsvc-proto + spotlight? ( dev-libs/glib ) + test? ( + >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] + $(python_gen_cond_dep "dev-python/subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) + !system-mitkrb5? ( + >=net-dns/resolv_wrapper-1.1.4 + >=net-libs/socket_wrapper-1.1.9 + >=sys-libs/nss_wrapper-1.1.3 + >=sys-libs/uid_wrapper-1.2.1 + ) + )" +RDEPEND="${COMMON_DEPEND} + client? ( net-fs/cifs-utils[ads?] ) + python? ( ${PYTHON_DEPS} ) + selinux? ( sec-policy/selinux-samba ) +" +BDEPEND="${PYTHON_DEPS} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.18.4-pam.patch + "${FILESDIR}"/ldb-2.5.2-skip-wav-tevent-check.patch +) + +CONFDIR="${FILESDIR}/4.4" +WAF_BINARY="${S}/buildtools/bin/waf" +SHAREDMODS="" + +pkg_setup() { + # Package fails to build with distcc + export DISTCC_DISABLE=1 + export PYTHONHASHSEED=1 + + python-single-r1_pkg_setup + + SHAREDMODS="$(usev !snapper '!')vfs_snapper" + if use cluster ; then + SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" + elif use ads ; then + SHAREDMODS+=",idmap_ad" + fi +} + +check_samba_dep_versions() { + actual_talloc_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/talloc/wscript || die) + if [[ ${actual_talloc_version} != ${TALLOC_VERSION} ]] ; then + eerror "Source talloc version: ${TALLOC_VERSION}" + eerror "Ebuild talloc version: ${actual_talloc_version}" + die "Ebuild needs to fix TALLOC_VERSION!" + fi + + actual_tdb_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/tdb/wscript || die) + if [[ ${actual_tdb_version} != ${TDB_VERSION} ]] ; then + eerror "Source tdb version: ${TDB_VERSION}" + eerror "Ebuild tdb version: ${actual_tdb_version}" + die "Ebuild needs to fix TDB_VERSION!" + fi + + actual_tevent_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/tevent/wscript || die) + if [[ ${actual_tevent_version} != ${TEVENT_VERSION} ]] ; then + eerror "Source tevent version: ${TEVENT_VERSION}" + eerror "Ebuild tevent version: ${actual_tevent_version}" + die "Ebuild needs to fix TEVENT_VERSION!" + fi +} + +src_prepare() { + default + + check_samba_dep_versions + + # Unbundle dnspython + sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die + + # Unbundle iso8601 unless tests are enabled + if ! use test ; then + sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die + fi + + # Ugly hackaround for bug #592502 + #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die + + sed -e 's:::' \ + -i source4/dsdb/samdb/ldb_modules/password_hash.c \ + || die + + # WAF + multilib_copy_sources +} + +multilib_src_configure() { + # When specifying libs for samba build you must append NONE to the end to + # stop it automatically including things + local bundled_libs="NONE" + if ! use system-heimdal && ! use system-mitkrb5 ; then + bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" + fi + + # We "use" bundled cmocka when we're not running tests as we're + # not using it anyway. Means we avoid making users install it for + # no reason. bug #802531 + if ! use test ; then + bundled_libs="cmocka,${bundled_libs}" + fi + + # bug #874633 + if use llvm-libunwind ; then + mkdir -p "${T}"/${ABI}/pkgconfig || die + + local -x PKG_CONFIG_PATH="${T}/${ABI}/pkgconfig:${PKG_CONFIG_PATH}" + + cat <<-EOF > "${T}"/${ABI}/pkgconfig/libunwind-generic.pc || die + exec_prefix=\${prefix} + libdir=/usr/$(get_libdir) + includedir=\${prefix}/include + + Name: libunwind-generic + Description: libunwind generic library + Version: 1.70 + Libs: -L\${libdir} -lunwind + Cflags: -I\${includedir} + EOF + fi + + local myconf=( + --enable-fhs + --sysconfdir="${EPREFIX}/etc" + --localstatedir="${EPREFIX}/var" + --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" + --with-piddir="${EPREFIX}/run/${PN}" + --bundled-libraries="${bundled_libs}" + --builtin-libraries=NONE + --disable-rpath + --disable-rpath-install + --nopyc + --nopyo + --without-winexe + --accel-aes=$(usex cpu_flags_x86_aes intelaesni none) + $(multilib_native_use_with acl acl-support) + $(multilib_native_usex addc '' '--without-ad-dc') + $(multilib_native_use_with ads) + $(multilib_native_use_enable ceph cephfs) + $(multilib_native_use_with cluster cluster-support) + $(multilib_native_use_enable cups) + --without-dmapi + $(multilib_native_use_with fam) + $(multilib_native_use_enable glusterfs) + $(multilib_native_use_with gpg gpgme) + $(multilib_native_use_with json) + $(multilib_native_use_enable iprint) + $(multilib_native_use_with pam) + $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') + $(multilib_native_use_with quota quotas) + $(multilib_native_use_with regedit) + $(multilib_native_use_enable spotlight) + $(multilib_native_use_with syslog) + $(multilib_native_use_with systemd) + --systemd-install-services + --with-systemddir="$(systemd_get_systemunitdir)" + $(multilib_native_use_with unwind libunwind) + $(multilib_native_use_with winbind) + $(multilib_native_usex python '' '--disable-python') + $(multilib_native_use_enable zeroconf avahi) + $(multilib_native_usex test '--enable-selftest' '') + $(usev system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')") + $(use_with debug lttng) + $(use_with ldap) + $(use_with profiling-data) + # bug #683148 + --jobs 1 + ) + + if multilib_is_native_abi ; then + myconf+=( --with-shared-modules=${SHAREDMODS} ) + else + myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) + fi + + append-cppflags "-I${ESYSROOT}/usr/include/et" + + waf-utils_src_configure ${myconf[@]} +} + +multilib_src_compile() { + waf-utils_src_compile +} + +multilib_src_test() { + if multilib_is_native_abi ; then + "${WAF_BINARY}" test || die "Test failed" + fi +} + +multilib_src_install() { + waf-utils_src_install + + # Make all .so files executable + find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die + # smbspool_krb5_wrapper must only be accessible to root, bug #880739 + find "${ED}" -type f -name "smbspool_krb5_wrapper" -exec chmod go-rwx {} + || die + + # Remove empty runtime dirs created by build system (bug #892341) + find "${ED}"/{run,var} -type d -empty -delete || die + + if multilib_is_native_abi ; then + # Install ldap schema for server (bug #491002) + if use ldap ; then + insinto /etc/openldap/schema + doins examples/LDAP/samba.schema + fi + + # Create symlink for cups (bug #552310) + if use cups ; then + dosym ../../../bin/smbspool \ + /usr/libexec/cups/backend/smb + fi + + # Install example config file + insinto /etc/samba + doins examples/smb.conf.default + + # Fix paths in example file (bug #603964) + sed \ + -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ + -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ + -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ + -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ + -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ + -i "${ED}"/etc/samba/smb.conf.default || die + + # Install init script and conf.d file + newinitd "${CONFDIR}/samba4.initd-r1" samba + newconfd "${CONFDIR}/samba4.confd" samba + + dotmpfiles "${FILESDIR}"/samba.conf + if ! use addc ; then + rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ + || die + fi + + # Preserve functionality for old gentoo-specific unit names + dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" + dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" + dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" + fi + + if use pam && use winbind ; then + newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind + # bugs #376853 and #590374 + insinto /etc/security + doins examples/pam_winbind/pam_winbind.conf + fi +} + +pkg_postinst() { + tmpfiles_process samba.conf +} diff --git a/net-im/element-desktop-bin/Manifest b/net-im/element-desktop-bin/Manifest index 7e83298453458..60701d46c7885 100644 --- a/net-im/element-desktop-bin/Manifest +++ b/net-im/element-desktop-bin/Manifest @@ -1 +1,2 @@ DIST element-desktop_1.11.39_amd64.deb 88299616 BLAKE2B ed6b6e3ba89617632d6350d85e6dda2eac7f5be630b011c9606766b0111ca94df7da16cbb77a047e1830bfc8994cf3ed7803778c9e1eef76506abfa178e4ca63 SHA512 9b53df0eb63e6330b8f6e36629978bfad9d26e1ad000abafeaf68c8a50969e1d0703df399c7c50e708a748f20381c00c95217ed8296cfa46d891fc9ae2d6b9c5 +DIST element-desktop_1.11.45_amd64.deb 90253530 BLAKE2B fe2961f19b0cd005068a8aa6c90b4217de63195e3214e86854dedcb5cb99e3cc1f0c449957e722ec4ae0540f75b8a2509233f6b8712a5a5ca5c602c394d33686 SHA512 b008f1e38218678b52b4e9e756161a44a85d541dd04c6541ddfd15f7e5c9789d510905e050e74426bdae5b76f66e85d15be5fcc109ab549400e2b40cf50d70cc diff --git a/net-im/element-desktop-bin/element-desktop-bin-1.11.45.ebuild b/net-im/element-desktop-bin/element-desktop-bin-1.11.45.ebuild new file mode 100644 index 0000000000000..745bf248a60ec --- /dev/null +++ b/net-im/element-desktop-bin/element-desktop-bin-1.11.45.ebuild @@ -0,0 +1,83 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature unpacker xdg + +MY_PN="${PN/-bin}" + +DESCRIPTION="A glossy Matrix collaboration client for desktop (binary package)" +HOMEPAGE="https://element.io" +SRC_URI="https://packages.element.io/debian/pool/main/e/element-desktop/${MY_PN}_${PV}_amd64.deb" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="splitdebug" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret + dev-db/sqlcipher + dev-libs/expat + dev-libs/glib:2 + dev-libs/nettle + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango" + +QA_PREBUILT="opt/Element/chrome-sandbox + opt/Element/chrome_crashpad_handler + opt/Element/element-desktop + opt/Element/libEGL.so + opt/Element/libGLESv2.so + opt/Element/libffmpeg.so + opt/Element/libvk_swiftshader.so + opt/Element/libvulkan.so.1 + opt/Element/resources/app.asar.unpacked/node_modules/matrix-seshat/index.node + opt/Element/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node" + +src_prepare() { + default + rm opt/Element/{LICENSE.electron.txt,LICENSES.chromium.html} || die +} + +src_install() { + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + gunzip usr/share/doc/${PF}/changelog.gz || die + + insinto / + doins -r usr + doins -r opt + local f + for f in ${QA_PREBUILT}; do + fperms +x "/${f}" + done + fperms u+s /opt/Element/chrome-sandbox + + dosym ../../opt/Element/${MY_PN} /usr/bin/${MY_PN} + dosym ${MY_PN} /usr/bin/riot-desktop +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "emojis" media-fonts/noto-emoji +} diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index ccb1eb82881d8..8891f913e2ba2 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,4 +1,2 @@ -DIST mattermost-desktop-5.5.0-linux-arm64.tar.gz 100549584 BLAKE2B fd66d80c2086c6d27988de8673f430fefe1c77673e92cde34aff42249b1188f83d90d63120d2bed9f138190f61bfa3ab143c80dc93388af0f36818cbc03abed4 SHA512 91975d410a2de844367be43eeb0fc5d030b528792e519e3315a571341753e3b06107fc2f7ecf42bb553137fc869f40a28adbb938894b2f73a4ddd82314b12b9f -DIST mattermost-desktop-5.5.0-linux-x64.tar.gz 99975458 BLAKE2B 7cf6080425446bc9359e754cb74cd16f21fdb79ef71741b05d3adb2a480da42db16437211d5c523380524faface12e0d211af15bfa3aab57edaebc53eccdc73f SHA512 ecd6338e8ceffae98087af0e882f0c69aa45e3b24990f015580ba15ef246862521965084bde18b35030c1e172f7d5f21d7690fab3439b1d470f56942e9616efe -DIST mattermost-desktop-5.5.1-rc.4-linux-arm64.tar.gz 100458820 BLAKE2B a7f321e381b29ecc533560d8ba09345b472ea93cad63d42ea85be1e0347106daec0301ba3f0d285af5daf6c2039569866e0b38da5838260a0ee10fbe2487ced7 SHA512 83a0db97433377fcdee48f4536ffaedd879c8b138fff10da8f6a576ffaff95eabedd129f92fda87ebd8d244c0674e7ede4cedcc1b939f2681fac3c0784ddb413 -DIST mattermost-desktop-5.5.1-rc.4-linux-x64.tar.gz 99900558 BLAKE2B 5f4dce188345061d47fbc9092caded1b19ed82d9a410877a4186573242a4cf301f60e472d8d32aedd989fba4b505c68823827fbbe793f9972d8279573d612d82 SHA512 9431d9404394851ac4881d9a93011e2392b5b4ce68da4706c9b3fa23d5ca1118098fb311b780e038763e8d5dbdb00b7eda1bd73dfe181ba989ac3f316db4b807 +DIST mattermost-desktop-5.5.1-linux-arm64.tar.gz 100458081 BLAKE2B 2a58b40ef0ca5ad7d76a21bebab928817e49cf21a8b3fd61b59824a7382eb3fdd107dc02d20bdd118259530c07995105209096b40d49b9a73fbeb26e52278fc8 SHA512 2c680709a397475ec3ecf51249988bd9f104a51d70bf5947f4dbc7340bdebe05ed9d020c01eaf519bf80b104c27eda5901ce6477a16d7dec765a21864e1e4f83 +DIST mattermost-desktop-5.5.1-linux-x64.tar.gz 99899822 BLAKE2B da8bb0c3932f32ff12abc90e07d69d70e0f4d8ee86bd1881b5311496462630f3e43813acece1957027cf1968f7c7d532dd9892049e42761ee5ef437dc4cdd817 SHA512 fcb3f9c213323b5ede9f21765af8bb8ace9ed7f9469de13f05ffe44a8ce251d7305b978133142473c813bf94ffd50e7b5323bac64a7c585c01e803f15abdc46f diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1.ebuild similarity index 100% rename from net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.0.ebuild rename to net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1.ebuild diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1_rc4.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1_rc4.ebuild deleted file mode 100644 index 339810206271d..0000000000000 --- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.5.1_rc4.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN%-*}" -MY_PV="${PV/_rc/-rc.}" - -inherit desktop xdg - -DESCRIPTION="Mattermost Desktop application" -HOMEPAGE="https://mattermost.com/" - -SRC_URI=" - amd64? ( https://releases.mattermost.com/desktop/${MY_PV}/mattermost-desktop-${MY_PV}-linux-x64.tar.gz ) - arm64? ( https://releases.mattermost.com/desktop/${MY_PV}/mattermost-desktop-${MY_PV}-linux-arm64.tar.gz ) -" -S="${WORKDIR}" - -LICENSE="Apache-2.0 GPL-2+ LGPL-2.1+ MIT" -SLOT="0" -# Starting with 5.2.0 upstream dropped x86 for their binary release #879519 -if [[ ${PV} != *rc* ]]; then - KEYWORDS="~amd64 ~arm64" -fi - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2[X] - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - dev-libs/wayland - media-libs/alsa-lib - media-libs/mesa - net-print/cups - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gtk+:3[X] - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango -" - -QA_PREBUILT=" - opt/mattermost-desktop/mattermost-desktop - opt/mattermost-desktop/libnode.so - opt/mattermost-desktop/libffmpeg.so - opt/mattermost-desktop/libGLESv2.so - opt/mattermost-desktop/libEGL.so - opt/mattermost-desktop/libvk_swiftshader.so - opt/mattermost-desktop/libvulkan.so.1 - opt/mattermost-desktop/resources/* -" - -DOCS=( - NOTICE.txt -) - -src_install() { - if use amd64; then - cd mattermost-desktop-${MY_PV}-linux-x64 || die - elif use arm64; then - cd mattermost-desktop-${MY_PV}-linux-arm64 || die - fi - newicon app_icon.png ${MY_PN}.png - - insinto "/opt/${MY_PN}/locales" - doins locales/*.pak - - insinto "/opt/${MY_PN}/resources" - doins -r resources/*.asar* - - insinto "/opt/${MY_PN}" - doins *.pak *.bin *.dat - exeinto "/opt/${MY_PN}" - doexe *.so *.so.* "${MY_PN}" - - dosym -r "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}" - - make_desktop_entry "${MY_PN} --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto" \ - Mattermost "${MY_PN}" - - einstalldocs -} diff --git a/net-im/ricochet/Manifest b/net-im/ricochet/Manifest deleted file mode 100644 index 5b36578136368..0000000000000 --- a/net-im/ricochet/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ricochet-1.1.4.tar.gz 1292671 BLAKE2B 15a71496b01992060fbdbedb0c73365aa250d9e6c4b5bb6223cbcd727a1cf062b1b9cd094d17ae33471e6095a071b1ea6d553a1bb2168974d45486995e204e9b SHA512 9f20fe8e34ea1d8d5b252eee1e164f0a97bf5b3818e864270ea79c0f018b229ec04b1b27acf44415bb646d48b9d1a0ada455a4f77fafdb6e4d21e62292b778a1 diff --git a/net-im/ricochet/metadata.xml b/net-im/ricochet/metadata.xml deleted file mode 100644 index c4af8f701ab98..0000000000000 --- a/net-im/ricochet/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - lucianposton@pm.me - Lucian Poston - - - proxy-maint@gentoo.org - Proxy Maintainers - - - ricochet-im/ricochet - - diff --git a/net-im/ricochet/ricochet-1.1.4.ebuild b/net-im/ricochet/ricochet-1.1.4.ebuild deleted file mode 100644 index 016274c26ddeb..0000000000000 --- a/net-im/ricochet/ricochet-1.1.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils xdg-utils - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ricochet-im/ricochet" -else - SRC_URI="https://github.com/ricochet-im/ricochet/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 x86" -fi - -DESCRIPTION="Privacy-focused instant messaging through Tor hidden services" -HOMEPAGE="https://ricochet.im" - -LICENSE="BSD" -SLOT="0" -IUSE="debug hardened" - -RDEPEND=" - dev-libs/openssl:0= - dev-libs/protobuf:0= - dev-qt/qtcore:5 - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtquickcontrols:5 - dev-qt/qtwidgets:5 - net-vpn/tor" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig" - -src_configure() { - local qmakeargs=( 'DEFINES+=RICOCHET_NO_PORTABLE' ) - qmakeargs+=( $(usex debug 'CONFIG+=debug' 'CONFIG+=release') ) - qmakeargs+=( $(usex hardened 'CONFIG+=hardened' 'CONFIG+=no-hardened') ) - - eqmake5 "${qmakeargs[@]}" -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/net-im/ricochet/ricochet-9999.ebuild b/net-im/ricochet/ricochet-9999.ebuild deleted file mode 100644 index 2caa9d50609cc..0000000000000 --- a/net-im/ricochet/ricochet-9999.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils xdg-utils - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ricochet-im/ricochet" -else - SRC_URI="https://github.com/ricochet-im/ricochet/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Privacy-focused instant messaging through Tor hidden services" -HOMEPAGE="https://ricochet.im" - -LICENSE="BSD" -SLOT="0" -IUSE="debug hardened" - -RDEPEND=" - dev-libs/openssl:0= - dev-libs/protobuf:0= - dev-qt/qtcore:5 - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtquickcontrols:5 - dev-qt/qtwidgets:5 - net-vpn/tor" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig" - -src_prepare() { - default - - # workaround bug https://github.com/ricochet-im/ricochet/issues/582 - cp contrib/usr.bin.ricochet-apparmor contrib/usr.bin.ricochet -} - -src_configure() { - local qmakeargs=( 'DEFINES+=RICOCHET_NO_PORTABLE' ) - qmakeargs+=( 'DEFINES+=APPARMOR' ) - qmakeargs+=( $(usex debug 'CONFIG+=debug' 'CONFIG+=release') ) - qmakeargs+=( $(usex hardened 'CONFIG+=hardened' 'CONFIG+=no-hardened') ) - - eqmake5 "${qmakeargs[@]}" -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index 9d9d63ffee7ba..e0cc8c2294c51 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1 +1 @@ -DIST signal-desktop_6.30.2_amd64.deb 112793412 BLAKE2B a92798de81d3e12dea722df85058dce53aa196c71503044750f54acdaa981f6ac44535530a5cc26818e4877552c0f9c054f60becaaad449183baf99602ba82ae SHA512 df5dfc7c95552f513dfd085928565a4d52808d154c21dfae1ce2d110c5aa4be1913cea9d23e03b2bfa6fe63ad97d29ab7912fe5093f188bc7de1958bed1d6184 +DIST signal-desktop_6.31.0_amd64.deb 112153110 BLAKE2B 2172c348744441f6534e9b30b9e839f1273de24c18d3a37da58d1af1ce6a4980afe9cf34e73d15e09d05fd4951219d156382cad2fe6844ea132d0bb9ad83c48c SHA512 d0a4121fb59ed6afd9c17528782cbd52d88f392a8ae63945f81e673aa9e6ae5d2924ed32c36602fca848ae8824efa6c616aa454c08b8b0fd35f516e66a3ff4fe diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-6.30.2.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-6.31.0.ebuild similarity index 100% rename from net-im/signal-desktop-bin/signal-desktop-bin-6.30.2.ebuild rename to net-im/signal-desktop-bin/signal-desktop-bin-6.31.0.ebuild diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest index 652e541738444..eb9df20f81427 100644 --- a/net-irc/irssi/Manifest +++ b/net-irc/irssi/Manifest @@ -1 +1,2 @@ DIST irssi-1.4.4.tar.xz 1213784 BLAKE2B 5b77ca692130a87228eea05f9a8d2da65a7c483e031d8c12dbd29bb9cd629444aae28bc3ffe0dc862891f59047997a323cea3b4d9d388573d4f06b569abbf950 SHA512 da28ac7a527be301d0615d6d733e4cf4e09bb6d4f5c70bc33ff70e22439a01f197bb5d91b4432ca74d3ac2dbb3235f30d53efc63a4279de8664923c2ccdbdbea +DIST irssi-1.4.5.tar.xz 1215688 BLAKE2B 573d8552137cb09c152fe0d1f9196c966bc0afb23e8817fed7315a07d2fc36b3ffabf5e8384bb80a48aa24cf57e5d336f40e708a4c9ef6bad3ec8ce10125f196 SHA512 5d80107ad625feb6d2b3ac807f517c5cfeae58986d3fbfe53ea82f2dee70396f5092abdc6ef137c5651e4515e081591079b37f0e428f69990db493cfe14e4f36 diff --git a/net-irc/irssi/irssi-1.4.5.ebuild b/net-irc/irssi/irssi-1.4.5.ebuild new file mode 100644 index 0000000000000..40772b5198b3f --- /dev/null +++ b/net-irc/irssi/irssi-1.4.5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GENTOO_DEPEND_ON_PERL="no" +inherit perl-module meson + +DESCRIPTION="A modular textUI IRC client with IPv6 support" +HOMEPAGE="https://irssi.org/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + # Keep for _rc compability + MY_P="${P/_/-}" + + SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="otr +perl selinux +proxy" + +RDEPEND=" + >=dev-libs/glib-2.6.0 + dev-libs/openssl:= + sys-libs/ncurses:= + otr? ( + >=dev-libs/libgcrypt-1.2.0:= + >=net-libs/libotr-4.1.0 + ) + perl? ( dev-lang/perl:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-lang/perl + virtual/pkgconfig" +RDEPEND+=" selinux? ( sec-policy/selinux-irc )" + +src_configure() { + local emesonargs=( + -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} + -Dwith-perl-lib=vendor + -Dwith-otr=$(usex otr) + -Dwith-proxy=$(usex proxy) + -Dwith-perl=$(usex perl) + + # Carried over from autotools (for now?), bug #677804 + -Ddisable-utf8proc=yes + -Dwith-fuzzer=no + -Dinstall-glib=no + ) + + meson_src_configure +} + +src_test() { + # We don't want perl-module's src_test + meson_src_test +} + +src_install() { + meson_src_install + + use perl && perl_delete_localpod +} diff --git a/net-irc/weechat/weechat-4.0.4.ebuild b/net-irc/weechat/weechat-4.0.4.ebuild index 61428b905fb7c..8a3227b3a92bd 100644 --- a/net-irc/weechat/weechat-4.0.4.ebuild +++ b/net-irc/weechat/weechat-4.0.4.ebuild @@ -17,7 +17,7 @@ else verify-sig? ( https://weechat.org/files/src/${P}.tar.xz.asc )" VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/weechat.org.asc BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-weechat )" - KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos" + KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~x86 ~x64-macos" fi DESCRIPTION="Portable and multi-interface IRC client" diff --git a/net-libs/dleyna/Manifest b/net-libs/dleyna/Manifest index a29944ac1b89a..741b06623488e 100644 --- a/net-libs/dleyna/Manifest +++ b/net-libs/dleyna/Manifest @@ -1 +1,2 @@ DIST dLeyna-v0.8.2.tar.bz2 149691 BLAKE2B c9837da15c18b25c0e9021776cabdcffe52acfaac0f2858ab004b554d9a212ca45cc08f2893383248c5bb5ce57df854d79c329f80511b9f098663326f1badecc SHA512 25a62ad6b623a8d67d90af608d0fa68e4dcef916c5b44f51eb927f6e276555b978414c95f59a680c5938c7b67abe0cc09afa4e58d068f115d73ce6cb40959144 +DIST dLeyna-v0.8.3.tar.bz2 149796 BLAKE2B e1fc2d1d5fa6178856d5114b55dbaae5a969ab7f2b5716ab70c1359755b21927ed0ecfd8d943520254a1ead2b2db368838787f0954bc312712a8075ea3f94896 SHA512 a62c643467b2f75efb9e794802b3bc183a5f8cfe9b80eeaee627aeaa471d7fb107cf1bde549c274ecd86ca06ad5870a481316e1101647c9d7e6243114b5dd06e diff --git a/net-libs/dleyna/dleyna-0.8.3.ebuild b/net-libs/dleyna/dleyna-0.8.3.ebuild new file mode 100644 index 0000000000000..8bdb23ceb97f8 --- /dev/null +++ b/net-libs/dleyna/dleyna-0.8.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-single-r1 + +DESCRIPTION="A set of services and D-Bus APIs to simplify access to UPnP/DLNA media devices" +HOMEPAGE="https://gitlab.gnome.org/World/dLeyna" +SRC_URI="https://gitlab.gnome.org/World/dLeyna/-/archive/v${PV}/dLeyna-v${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="1.0/6" # soname of libdleyna-core-1.0.so +KEYWORDS="~amd64 ~loong ~riscv ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + >=dev-libs/glib-2.28:2 + >=net-libs/gssdp-1.6.0:1.6= + >=net-libs/gupnp-1.6.0:1.6= + >=net-libs/gupnp-av-0.12.9:0= + >=media-libs/gupnp-dlna-0.9.4:2.0= + >=net-libs/libsoup-3.0:3.0 + dev-libs/libxml2 + + ${PYTHON_DEPS} + + !net-libs/dleyna-connector-dbus + !net-libs/dleyna-core + !net-libs/dleyna-renderer + !net-misc/dleyna-server +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/docutils + virtual/pkgconfig +" + +S="${WORKDIR}"/dLeyna-v${PV} + +src_configure() { + local emesonargs=( + -Ddbus_service_dir="${EPREFIX}/usr/share/dbus-1/services" + -Dman_pages=true + -Ddocs=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_optimize +} diff --git a/net-libs/libupnp/libupnp-1.14.18.ebuild b/net-libs/libupnp/libupnp-1.14.18.ebuild index f2542c3b38947..1a2c3afa7feb4 100644 --- a/net-libs/libupnp/libupnp-1.14.18.ebuild +++ b/net-libs/libupnp/libupnp-1.14.18.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_PN}-release-${PV}" LICENSE="BSD" SLOT="0/17" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86 ~amd64-linux" IUSE="blocking-tcp debug doc +reuseaddr samples +ssl static-libs" RDEPEND="ssl? ( dev-libs/openssl:0= )" diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index fdad0d3c2fcfa..9acaff8bbbbab 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -1,5 +1,7 @@ DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f4da2f9fc2470af802c1f4f597ac88b01b5bef9e77e1e717267f633d6a04af2ccfd3c5f9dbff22fbceaf9a91 SHA512 9202344b904dcd7955e5a355dadf537d1544140d74f8a33bdc40e18e36661e3a474d11cf17613eaebf4e76c170d8413d99abdedfb8635784bcd6892b4b259712 DIST dropbox-lnx.x86-181.4.5678.tar.gz 112778488 BLAKE2B 58464f93af02a40d08c049de30d702a55cc23021a1460ee3f0116c3dc6ecd72dedc057a17e07047fd1588d96d548f6da87f104572a8fe3bfbc26761f8953c7f0 SHA512 7cfdd048012ed5202408f4d4bc81693fb178b06500469a4a57284b901deabacbaf7b6b59f5acfa5aa985eedecb1d0883134fc9f605d68f4204e44bec9e26473a DIST dropbox-lnx.x86-182.4.6427.tar.gz 112940367 BLAKE2B 57ac19684973efa395a26087734a4ea4def06accdee813d1be8635e80d688dd43c52cbe80805d9b983df50d7a23f61f1d6b725ec87e252fc57c81a02b2c917c3 SHA512 0822c4de8a0a63f2a97b83cffcbcde6b30c7700bb4a06cefd5d9bf68b54f67520c85a8852820523103ec63f7008e4dfa1dd3d6802b0375e6a30f3d65e7d4fe87 +DIST dropbox-lnx.x86-183.4.7058.tar.gz 112562961 BLAKE2B 23a7f94c8825b08b1cfa2cb5bd6ee4425d868ced13e842c7f800674c870adde34f4cbb821b41e3da268b988604bc73771e0dfe202c94da15b02f079b58d0438f SHA512 cdd503aaa3d827b76e0dde6153c1b4d32e4dc5a48aecd81a23f6a9cba91cbae989e33251a27b92d2224856bc844f43035d10e3f3fc4e10b4c79ed1f8630afc48 DIST dropbox-lnx.x86_64-181.4.5678.tar.gz 114189162 BLAKE2B c339d40fe82d3a2bae3f7e2f0e510d5e7f77d0a04d0875bfa558aef07f7676279cec4a79afb57e22bc1616460cbf5279058448310faa33e6e048a216ca2c43a0 SHA512 067b620535a398a77c9d8bbf6e0a924feb5730135970f900e34c6aa71cae9c239fcb60b41ad742937ca96019b5d617df37379db9244300c149e3bdf0b196e028 DIST dropbox-lnx.x86_64-182.4.6427.tar.gz 114508859 BLAKE2B f2b837567a54574496f24e40351a0641eaa0f7b447f49d59c2bab456b66e8a94ec50fd6bef32b71d5cd75a4153152fd7586e07a7e7cef6d67dff1e7c086559fe SHA512 86b9b37931bbc1fed0e4720f6bd331061162def39097eeb91ac836d941d880f03c427d476c4051be3e519a9589889d1409348fbfd0595678c461b69b3049c62d +DIST dropbox-lnx.x86_64-183.4.7058.tar.gz 114216470 BLAKE2B 256bc5d4e008f6b7036768c672f086a82f23553701f23a515ef82d94be63cb6fbb5dc99e9b7aa59b401b2ac16ef9555f6c627df149311a9ed56f7a47d45eb225 SHA512 e531d0322126994c6943ce6922e0beee954fdcd9d10b9d6256375b3ee2016a113bf82780ce04dcf3e1409a823752a97e453b00922469d52f70bdbbd159914761 diff --git a/net-misc/dropbox/dropbox-183.4.7058.ebuild b/net-misc/dropbox/dropbox-183.4.7058.ebuild new file mode 100644 index 0000000000000..e1949fb60f882 --- /dev/null +++ b/net-misc/dropbox/dropbox-183.4.7058.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop pax-utils systemd xdg + +DESCRIPTION="Dropbox daemon (pretends to be GUI-less)" +HOMEPAGE="https://www.dropbox.com/" +SRC_URI=" + amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz ) + x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz ) + https://www.dropbox.com/sh/42f8d4kq6yt5lte/AAD69lhaw6gy46W8HfQAm0GSa/Glyph/Dropbox/SVG/DropboxGlyph_Blue.svg +" + +LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" +IUSE="selinux X" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/.*" +QA_EXECSTACK="opt/dropbox/dropbox" + +BDEPEND="dev-util/patchelf" + +# Be sure to have GLIBCXX_3.4.9, #393125 +RDEPEND=" + X? ( + x11-themes/hicolor-icon-theme + ) + selinux? ( sec-policy/selinux-dropbox ) + app-arch/bzip2 + dev-libs/glib:2 + dev-libs/libffi-compat:6 + media-libs/fontconfig + media-libs/freetype + net-misc/wget + sys-libs/zlib + sys-libs/ncurses-compat:5 + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + x11-libs/libxcb +" + +src_unpack() { + unpack ${A} + mkdir -p "${S}" || die + mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die + mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die + rmdir "${S}"/dropbox-lnx.*-${PV}/ || die + rmdir .dropbox-dist || die +} + +src_prepare() { + default + # we supply all of these in RDEPEND + rm -vf libGL.so.1 libX11* libffi.so.6 || die + # some of these do not appear to be used + rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \ + PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.* \ + wmctrl libdrm.so.2 libpopt.so.0 || die + if use X ; then + mv images/hicolor/16x16/status "${T}" || die + else + rm -vrf images || die + fi + patchelf --set-rpath '$ORIGIN' \ + apex._apex.*.so \ + nucleus_python.*.so \ + tprt.*.so \ + || die + pax-mark cm dropbox + mv README ACKNOWLEDGEMENTS "${T}" || die +} + +src_install() { + local targetdir="/opt/dropbox" + + insinto "${targetdir}" + doins -r * + fperms a+x "${targetdir}"/{dropbox,dropboxd} + dosym "${targetdir}/dropboxd" "/opt/bin/dropbox" + + if use X; then + doicon -s 16 -c status "${T}"/status + newicon -s scalable "${DISTDIR}/DropboxGlyph_Blue.svg" dropbox.svg + fi + + make_desktop_entry "${PN}" "Dropbox" "dropbox" + + newinitd "${FILESDIR}"/dropbox.initd dropbox + newconfd "${FILESDIR}"/dropbox.conf dropbox + systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service" + + dodoc "${T}"/{README,ACKNOWLEDGEMENTS} +} + +pkg_postinst() { + einfo "Warning: while running, dropbox may attempt to autoupdate itself in" + einfo " your user's home directory. To prevent this, run the following as" + einfo " each user who will run dropbox:" + einfo "" + einfo "install -dm0 ~/.dropbox-dist" +} diff --git a/net-misc/netifrc/netifrc-0.7.5.ebuild b/net-misc/netifrc/netifrc-0.7.5.ebuild index d05ac157d52bd..5f51fbe7ef3fa 100644 --- a/net-misc/netifrc/netifrc-0.7.5.ebuild +++ b/net-misc/netifrc/netifrc-0.7.5.ebuild @@ -17,7 +17,7 @@ else KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi -LICENSE="BSD-2" +LICENSE="BSD-2 GPL-2" SLOT="0" IUSE="+dhcp" diff --git a/net-misc/netifrc/netifrc-0.7.6-r1.ebuild b/net-misc/netifrc/netifrc-0.7.6-r1.ebuild new file mode 100644 index 0000000000000..54f7493773035 --- /dev/null +++ b/net-misc/netifrc/netifrc-0.7.6-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd udev + +DESCRIPTION="Gentoo Network Interface Management Scripts" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Netifrc" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/netifrc.git + https://github.com/gentoo/${PN} + " + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD-2 GPL-2" +SLOT="0" +IUSE="+dhcp" + +RDEPEND=" + sys-apps/gentoo-functions + >=sys-apps/openrc-0.15 + dhcp? ( + || ( + net-misc/dhcpcd + net-misc/dhcp[client] + sys-apps/busybox + ) + ) +" +BDEPEND=" + kernel_linux? ( virtual/pkgconfig ) +" + +src_prepare() { + if [[ ${PV} == 9999 ]] ; then + local ver="git-${EGIT_VERSION:0:6}" + sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die + einfo "Producing ChangeLog from Git history" + GIT_DIR="${S}/.git" git log >"${S}"/ChangeLog + fi + + default +} + +src_compile() { + MAKE_ARGS=( + PREFIX="${EPREFIX}" + UPREFIX="${EPREFIX}/usr" + UDEVDIR="${EPREFIX}$(get_udevdir)" + LIBEXECDIR="${EPREFIX}/lib/${PN}" + PF="${PF}" + ) + + emake "${MAKE_ARGS[@]}" all +} + +src_install() { + emake "${MAKE_ARGS[@]}" DESTDIR="${D}" install + dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO + + # Install the service file + local LIBEXECDIR="${EPREFIX}/lib/${PN}" + sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die + systemd_newunit "${T}/net_at.service" 'net@.service' + + local UNIT_DIR="$(systemd_get_systemunitdir)" + UNIT_DIR="${UNIT_DIR#"${EPREFIX}"}" + dosym net@.service "${UNIT_DIR}/net@lo.service" +} + +pkg_postinst() { + udev_reload + + if [[ ! -e "${EROOT}"/etc/conf.d/net && -z ${REPLACING_VERSIONS} ]]; then + elog "The network configuration scripts will use dhcp by" + elog "default to set up your interfaces." + elog "If you need to set up something more complete, see" + elog "${EROOT}/usr/share/doc/${P}/README" + fi +} + +pkg_postrm() { + udev_reload +} diff --git a/net-misc/netifrc/netifrc-0.7.6.ebuild b/net-misc/netifrc/netifrc-0.7.6.ebuild index 177d61a18ee90..71acc5378ef67 100644 --- a/net-misc/netifrc/netifrc-0.7.6.ebuild +++ b/net-misc/netifrc/netifrc-0.7.6.ebuild @@ -19,7 +19,7 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi -LICENSE="BSD-2" +LICENSE="BSD-2 GPL-2" SLOT="0" IUSE="+dhcp" diff --git a/net-misc/netifrc/netifrc-9999.ebuild b/net-misc/netifrc/netifrc-9999.ebuild index 177d61a18ee90..54f7493773035 100644 --- a/net-misc/netifrc/netifrc-9999.ebuild +++ b/net-misc/netifrc/netifrc-9999.ebuild @@ -19,16 +19,24 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi -LICENSE="BSD-2" +LICENSE="BSD-2 GPL-2" SLOT="0" IUSE="+dhcp" RDEPEND=" sys-apps/gentoo-functions >=sys-apps/openrc-0.15 - dhcp? ( || ( net-misc/dhcpcd net-misc/dhcp[client] ) ) + dhcp? ( + || ( + net-misc/dhcpcd + net-misc/dhcp[client] + sys-apps/busybox + ) + ) +" +BDEPEND=" + kernel_linux? ( virtual/pkgconfig ) " -BDEPEND="kernel_linux? ( virtual/pkgconfig )" src_prepare() { if [[ ${PV} == 9999 ]] ; then @@ -69,6 +77,7 @@ src_install() { pkg_postinst() { udev_reload + if [[ ! -e "${EROOT}"/etc/conf.d/net && -z ${REPLACING_VERSIONS} ]]; then elog "The network configuration scripts will use dhcp by" elog "default to set up your interfaces." @@ -76,3 +85,7 @@ pkg_postinst() { elog "${EROOT}/usr/share/doc/${P}/README" fi } + +pkg_postrm() { + udev_reload +} diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest index 2dd1028bad17c..bdec73d02cda3 100644 --- a/net-misc/networkmanager/Manifest +++ b/net-misc/networkmanager/Manifest @@ -1,3 +1,4 @@ DIST NetworkManager-1.42.6.tar.xz 6749088 BLAKE2B 9d583c163908ee4fe145cdbdaa657cbc682d9f6270efc7d7525acd86912a0da50f2ccf14810fdfe2998c6ce701dcabc2b5b39fa58ff9d3fe4f5630205b15f4c8 SHA512 606a996043d8fbc7972329b94bc9854557950f665790381611eddfc632850b31584a4ba2d773fa9d12127db4c37ea2076c657521b78cedb012144df6f41d3748 DIST NetworkManager-1.44.0.tar.xz 6868528 BLAKE2B f916620e74c0d5b8581b8c1eeb8f58c1cbac2d6c18bc72a25679cf5d36975df6c37b130f97e8d2078d9ab7aeeb4371ed6f9e830c5e6dce19feb41f26277be734 SHA512 7ebece465dfd108d66adb1c941ab22bdca8bb0ce7869baa421e4aef65e89a23bf63f3713e809e1e7b6c5226813ad9d56d8af339c711507a33aa6728afd334405 +DIST NetworkManager-1.44.2.tar.xz 6863972 BLAKE2B 2bb5ac06018d45d55623d742fba49c3b485116091992ad56a4680ce00946c96bd0c1b3b5d34f2c36c6347ff51182e00158351c0c6989cdc7db4a49b52564a1b7 SHA512 2f3721ebdfa14470c8bb22362c4f598a277c6cea77a34101a6cc9ef32b44382bd408d55e4c58561c324864bfb814b6efb563fbbd593a16c191524cde8ee758f5 DIST networkmanager-ppp-2.5.0.patch 45845 BLAKE2B afcf1410f89db950a7e7c2c0af3aaed174a43fae127c8a139431093a3ae9802542c40cf69faabd1d057563438b48f0a0b0d4c7fc188c13e9320d127e0034f181 SHA512 34fe7780ac1780efa156429166344548058a9079ad61238a33d89a57e52ab79765ebfaf39bd9c246d0b74549ca7156e9df1a472920485cbe23ed81de4f8cf243 diff --git a/net-misc/networkmanager/networkmanager-1.42.6-r1.ebuild b/net-misc/networkmanager/networkmanager-1.42.6-r2.ebuild similarity index 99% rename from net-misc/networkmanager/networkmanager-1.42.6-r1.ebuild rename to net-misc/networkmanager/networkmanager-1.42.6-r2.ebuild index b8c548f9c42c9..09782cd3d2a06 100644 --- a/net-misc/networkmanager/networkmanager-1.42.6-r1.ebuild +++ b/net-misc/networkmanager/networkmanager-1.42.6-r2.ebuild @@ -38,7 +38,7 @@ COMMON_DEPEND=" sys-apps/util-linux[${MULTILIB_USEDEP}] elogind? ( >=sys-auth/elogind-219 ) >=virtual/libudev-175:=[${MULTILIB_USEDEP}] - sys-apps/dbus + sys-apps/dbus[${MULTILIB_USEDEP}] net-libs/libndp systemd? ( >=sys-apps/systemd-209:0= ) >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] diff --git a/net-misc/networkmanager/networkmanager-1.44.0.ebuild b/net-misc/networkmanager/networkmanager-1.44.0-r1.ebuild similarity index 99% rename from net-misc/networkmanager/networkmanager-1.44.0.ebuild rename to net-misc/networkmanager/networkmanager-1.44.0-r1.ebuild index 16e1b8d29bde0..47c2023fc20f6 100644 --- a/net-misc/networkmanager/networkmanager-1.44.0.ebuild +++ b/net-misc/networkmanager/networkmanager-1.44.0-r1.ebuild @@ -35,7 +35,7 @@ COMMON_DEPEND=" sys-apps/util-linux[${MULTILIB_USEDEP}] elogind? ( >=sys-auth/elogind-219 ) >=virtual/libudev-175:=[${MULTILIB_USEDEP}] - sys-apps/dbus + sys-apps/dbus[${MULTILIB_USEDEP}] net-libs/libndp systemd? ( >=sys-apps/systemd-209:0= ) >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] diff --git a/net-misc/networkmanager/networkmanager-1.44.2.ebuild b/net-misc/networkmanager/networkmanager-1.44.2.ebuild new file mode 100644 index 0000000000000..47c2023fc20f6 --- /dev/null +++ b/net-misc/networkmanager/networkmanager-1.44.2.ebuild @@ -0,0 +1,396 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +GNOME_ORG_MODULE="NetworkManager" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit flag-o-matic gnome.org linux-info meson-multilib python-any-r1 readme.gentoo-r1 systemd toolchain-funcs udev vala virtualx + +DESCRIPTION="A set of co-operative tools that make networking simple and straightforward" +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" + +IUSE="audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls +gtk-doc +introspection iptables iwd psl libedit lto +nss nftables +modemmanager ofono ovs policykit +ppp resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + bluetooth? ( modemmanager ) + connection-sharing? ( || ( iptables nftables ) ) + gtk-doc? ( introspection ) + iwd? ( wifi ) + vala? ( introspection ) + wext? ( wifi ) + ^^ ( gnutls nss ) + ?? ( elogind systemd ) + ?? ( dhclient dhcpcd ) + ?? ( syslog systemd ) +" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +COMMON_DEPEND=" + sys-apps/util-linux[${MULTILIB_USEDEP}] + elogind? ( >=sys-auth/elogind-219 ) + >=virtual/libudev-175:=[${MULTILIB_USEDEP}] + sys-apps/dbus[${MULTILIB_USEDEP}] + net-libs/libndp + systemd? ( >=sys-apps/systemd-209:0= ) + >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.10.3:= ) + selinux? ( + sec-policy/selinux-networkmanager + sys-libs/libselinux + ) + audit? ( sys-process/audit ) + teamd? ( + >=dev-libs/jansson-2.7:= + >=net-misc/libteam-1.9 + ) + policykit? ( >=sys-auth/polkit-0.106 ) + nss? ( + dev-libs/nspr[${MULTILIB_USEDEP}] + >=dev-libs/nss-3.11[${MULTILIB_USEDEP}] + ) + gnutls? ( + >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] + ) + ppp? ( >=net-dialup/ppp-2.4.5:=[ipv6(+)] ) + modemmanager? ( + net-misc/mobile-broadband-provider-info + >=net-misc/modemmanager-0.7.991:0= + ) + bluetooth? ( >=net-wireless/bluez-5:= ) + ofono? ( net-misc/ofono ) + dhclient? ( >=net-misc/dhcp-4[client] ) + dhcpcd? ( >=net-misc/dhcpcd-9.3.3 ) + ovs? ( >=dev-libs/jansson-2.7:= ) + resolvconf? ( virtual/resolvconf ) + connection-sharing? ( + net-dns/dnsmasq[dbus,dhcp] + iptables? ( net-firewall/iptables ) + nftables? ( net-firewall/nftables ) + ) + psl? ( net-libs/libpsl ) + concheck? ( net-misc/curl ) + tools? ( + >=dev-libs/newt-0.52.15 + libedit? ( dev-libs/libedit ) + !libedit? ( sys-libs/readline:= ) + ) +" +RDEPEND="${COMMON_DEPEND} + acct-group/plugdev + || ( + net-misc/iputils[arping(+)] + net-analyzer/arping + ) + wifi? ( + !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] ) + iwd? ( net-wireless/iwd ) + ) +" +DEPEND="${COMMON_DEPEND} + >=sys-kernel/linux-headers-3.18 + net-libs/libndp[${MULTILIB_USEDEP}] + ppp? ( elibc_musl? ( net-libs/ppp-defs ) ) +" +BDEPEND=" + dev-util/gdbus-codegen + dev-util/glib-utils + gtk-doc? ( + dev-util/gtk-doc + app-text/docbook-xml-dtd:4.1.2 + ) + >=sys-devel/gettext-0.17 + virtual/pkgconfig + introspection? ( + $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') + dev-lang/perl + dev-libs/libxslt + ) + vala? ( $(vala_depend) ) + test? ( + >=dev-libs/jansson-2.7 + $(python_gen_any_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}]') + ) +" + +python_check_deps() { + if use introspection; then + python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return + fi + if use test; then + python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" + fi +} + +pkg_setup() { + if use connection-sharing; then + if kernel_is lt 5 1; then + CONFIG_CHECK="~NF_NAT_IPV4 ~NF_NAT_MASQUERADE_IPV4" + else + CONFIG_CHECK="~NF_NAT ~NF_NAT_MASQUERADE" + fi + linux-info_pkg_setup + fi + + if use introspection || use test; then + python-any-r1_pkg_setup + fi + + # bug 809695 + if tc-is-clang && use lto; then + eerror "Clang does not support -flto-partition" + die "Please use gcc or turn off USE=lto flag when building with clang" + fi +} + +src_prepare() { + DOC_CONTENTS="To modify system network connections without needing to enter the + root password, add your user account to the 'plugdev' group." + + default + use vala && vala_setup + + sed -i \ + -e 's#/usr/bin/sed#/bin/sed#' \ + data/84-nm-drivers.rules \ + || die +} + +meson_nm_program() { + usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no" +} + +meson_nm_native_program() { + multilib_native_usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no" +} + +multilib_src_configure() { + filter-lto + + local emesonargs=( + --localstatedir="${EPREFIX}/var" + + -Dsystemdsystemunitdir=$(systemd_get_systemunitdir) + -Dsystem_ca_path=/etc/ssl/certs + -Dudev_dir=$(get_udevdir) + -Ddbus_conf_dir=/usr/share/dbus-1/system.d + -Dkernel_firmware_dir=/lib/firmware + -Diptables=/sbin/iptables + -Dnft=/sbin/nft + -Ddnsmasq=/usr/sbin/dnsmasq + + -Ddist_version=${PVR} + $(meson_native_use_bool policykit polkit) + $(meson_native_use_bool policykit config_auth_polkit_default) + -Dmodify_system=true + -Dpolkit_agent_helper_1=/usr/lib/polkit-1/polkit-agent-helper-1 + $(meson_native_use_bool selinux) + $(meson_native_use_bool systemd systemd_journal) + -Dhostname_persist=gentoo + -Dlibaudit=$(multilib_native_usex audit) + + $(meson_native_use_bool wext) + $(meson_native_use_bool wifi) + $(meson_native_use_bool iwd) + $(meson_native_use_bool ppp) + -Dpppd=/usr/sbin/pppd + $(meson_native_use_bool modemmanager modem_manager) + $(meson_native_use_bool ofono) + $(meson_native_use_bool concheck) + $(meson_native_use_bool teamd teamdctl) + $(meson_native_use_bool ovs) + $(meson_native_use_bool tools nmcli) + $(meson_native_use_bool tools nmtui) + $(meson_native_use_bool tools nm_cloud_setup) + $(meson_native_use_bool bluetooth bluez5_dun) + -Debpf=true + + -Dconfig_wifi_backend_default=$(multilib_native_usex iwd iwd default) + -Dconfig_plugins_default=keyfile + -Difcfg_rh=false + -Difupdown=false + -Dconfig_migrate_ifcfg_rh_default=false + + $(meson_nm_native_program resolvconf "" /sbin/resolvconf) + -Dnetconfig=no + -Dconfig_dns_rc_manager_default=auto + + $(meson_nm_program dhclient "" /sbin/dhclient) + -Ddhcpcanon=no + $(meson_nm_program dhcpcd "" /sbin/dhcpcd) + + $(meson_native_use_bool introspection) + $(meson_native_use_bool vala vapi) + $(meson_native_use_bool gtk-doc docs) + -Dtests=$(multilib_native_usex test) + $(meson_native_true firewalld_zone) + -Dmore_asserts=0 + $(meson_use debug more_logging) + -Dvalgrind=no + -Dvalgrind_suppressions= + -Dld_gc=false + $(meson_native_use_bool psl libpsl) + -Dqt=false + + $(meson_use lto b_lto) + ) + + if multilib_is_native_abi && use systemd; then + emesonargs+=( -Dsession_tracking_consolekit=false ) + emesonargs+=( -Dsession_tracking=systemd ) + emesonargs+=( -Dsuspend_resume=systemd ) + elif multilib_is_native_abi && use elogind; then + emesonargs+=( -Dsession_tracking_consolekit=false ) + emesonargs+=( -Dsession_tracking=elogind ) + emesonargs+=( -Dsuspend_resume=elogind ) + else + emesonargs+=( -Dsession_tracking_consolekit=false ) + emesonargs+=( -Dsession_tracking=no ) + emesonargs+=( -Dsuspend_resume=auto ) + fi + + if multilib_is_native_abi && use syslog; then + emesonargs+=( -Dconfig_logging_backend_default=syslog ) + elif multilib_is_native_abi && use systemd; then + emesonargs+=( -Dconfig_logging_backend_default=journal ) + else + emesonargs+=( -Dconfig_logging_backend_default=default ) + fi + + if multilib_is_native_abi && use dhclient; then + emesonargs+=( -Dconfig_dhcp_default=dhclient ) + elif multilib_is_native_abi && use dhcpcd; then + emesonargs+=( -Dconfig_dhcp_default=dhcpcd ) + else + emesonargs+=( -Dconfig_dhcp_default=internal ) + fi + + if use nss; then + emesonargs+=( -Dcrypto=nss ) + else + emesonargs+=( -Dcrypto=gnutls ) + fi + + if use tools ; then + emesonargs+=( -Dreadline=$(usex libedit libedit libreadline) ) + else + emesonargs+=( -Dreadline=none ) + fi + + # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986 + if use ppp; then + local PPPD_VER=`best_version net-dialup/ppp` + PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} + PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision + emesonargs+=( -Dpppd_plugin_dir=/usr/$(get_libdir)/pppd/${PPPD_VER} ) + fi + + meson_src_configure +} + +multilib_src_test() { + if use test && multilib_is_native_abi; then + python_setup + virtx meson_src_test + fi +} + +multilib_src_install() { + meson_src_install + if ! multilib_is_native_abi; then + rm -r "${ED}"/{etc,usr/{bin,lib/NetworkManager,share},var} || die + fi +} + +multilib_src_install_all() { + ! use systemd && readme.gentoo_create_doc + + newinitd "${FILESDIR}/init.d.NetworkManager-r2" NetworkManager + newconfd "${FILESDIR}/conf.d.NetworkManager" NetworkManager + + # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts + keepdir /etc/NetworkManager/dispatcher.d + + # Provide openrc net dependency only when nm is connected + exeinto /etc/NetworkManager/dispatcher.d + newexe "${FILESDIR}/10-openrc-status-r4" 10-openrc-status + sed -e "s:@EPREFIX@:${EPREFIX}:g" \ + -i "${ED}/etc/NetworkManager/dispatcher.d/10-openrc-status" || die + + keepdir /etc/NetworkManager/system-connections + chmod 0600 "${ED}"/etc/NetworkManager/system-connections/.keep* # bug #383765, upstream bug #754594 + + # Allow users in plugdev group to modify system connections + insinto /usr/share/polkit-1/rules.d/ + doins "${FILESDIR}"/01-org.freedesktop.NetworkManager.settings.modify.system.rules + + insinto /usr/lib/NetworkManager/conf.d #702476 + doins "${S}"/examples/nm-conf.d/31-mac-addr-change.conf + + if use iwd; then + # This goes to $nmlibdir/conf.d/ and $nmlibdir is '${prefix}'/lib/$PACKAGE, thus always lib, not get_libdir + cat <<-EOF > "${ED}"/usr/lib/NetworkManager/conf.d/iwd.conf || die + [device] + wifi.backend=iwd + EOF + fi + + mv "${ED}"/usr/share/doc/{NetworkManager/examples/,${PF}} || die + rmdir "${ED}"/usr/share/doc/NetworkManager || die + + # Empty + rmdir "${ED}"/var{/lib{/NetworkManager,},} || die +} + +pkg_postinst() { + udev_reload + + systemd_reenable NetworkManager.service + ! use systemd && readme.gentoo_print_elog + + if [[ -e "${EROOT}/etc/NetworkManager/nm-system-settings.conf" ]]; then + ewarn "The ${PN} system configuration file has moved to a new location." + ewarn "You must migrate your settings from ${EROOT}/etc/NetworkManager/nm-system-settings.conf" + ewarn "to ${EROOT}/etc/NetworkManager/NetworkManager.conf" + ewarn + ewarn "After doing so, you can remove ${EROOT}/etc/NetworkManager/nm-system-settings.conf" + fi + + # NM fallbacks to plugin specified at compile time (upstream bug #738611) + # but still show a warning to remember people to have cleaner config file + if [[ -e "${EROOT}/etc/NetworkManager/NetworkManager.conf" ]]; then + if grep plugins "${EROOT}/etc/NetworkManager/NetworkManager.conf" | grep -q ifnet; then + ewarn + ewarn "You seem to use 'ifnet' plugin in ${EROOT}/etc/NetworkManager/NetworkManager.conf" + ewarn "Since it won't be used, you will need to stop setting ifnet plugin there." + ewarn + fi + fi + + # NM shows lots of errors making nmcli almost unusable, bug #528748 upstream bug #690457 + if grep -r "psk-flags=1" "${EROOT}"/etc/NetworkManager/; then + ewarn "You have psk-flags=1 setting in above files, you will need to" + ewarn "either reconfigure affected networks or, at least, set the flag" + ewarn "value to '0'." + fi + + if use dhclient || use dhcpcd; then + ewarn "You have enabled USE=dhclient and/or USE=dhcpcd, but NetworkManager since" + ewarn "version 1.20 defaults to the internal DHCP client. If the internal client" + ewarn "works for you, and you're happy with, the alternative USE flags can be" + ewarn "disabled. If you want to use dhclient or dhcpcd, then you need to tweak" + ewarn "the main.dhcp configuration option to use one of them instead of internal." + fi +} + +pkg_postrm() { + udev_reload +} diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index df4b080d77e0f..9ead16377f3e6 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.051.02.tar.bz2 115969 BLAKE2B 28b809c0330920ee0db7a8f8d41e178882531cd0a6793efeadd9670b1a9b5cbe903061073fd1d461f4234feb41249a244f9ef35cdbb780da498e5a6d6f1a5490 SHA512 2f29a413e7db2b7295ea0a970b3385de1dfd6e41e1820097355687daa5c8d155c1cf6115c72875bff4f366365579bffc81733469a62d76f437065b7e514387ca +DIST r8168-8.052.01.tar.bz2 126861 BLAKE2B dccee164ea1151859752d525390a3786d31d445e05188a86d2d17c9cbd4435aac788dc5ca1350fcc719bba1c42bd358f39221666f8575d52a9cbf9c78b65c70d SHA512 ae90e108ba3eaaa1c8a639392b21ff98e71abdba514a19b2f286603fbdae69c88592380d9dacda2c10d711348797006a8b518383e4a0519d1bd26dc60266b4b5 diff --git a/net-misc/r8168/r8168-8.051.02-r1.ebuild b/net-misc/r8168/r8168-8.051.02-r1.ebuild index 32b1a5ac10f12..4a7da024fbfc8 100644 --- a/net-misc/r8168/r8168-8.051.02-r1.ebuild +++ b/net-misc/r8168/r8168-8.051.02-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="use-firmware" diff --git a/net-misc/r8168/r8168-8.052.01.ebuild b/net-misc/r8168/r8168-8.052.01.ebuild new file mode 100644 index 0000000000000..8d93a0a7f5fed --- /dev/null +++ b/net-misc/r8168/r8168-8.052.01.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod-r1 + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software" + +SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="use-firmware" + +CONFIG_CHECK="~!R8169" +WARNING_R8169="CONFIG_R8169 is enabled. ${P} will not be loaded unless kernel driver Realtek 8169 PCI Gigabit Ethernet (CONFIG_R8169) is DISABLED." + +src_compile() { + local modlist=( ${PN}=kernel/drivers/net/ethernet/realtek:src ) + local modargs=( + # Build parameters + KERNELDIR="${KV_OUT_DIR}" + # Configuration settings + ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n) + ) + + linux-mod-r1_src_compile +} diff --git a/net-misc/remmina/Manifest b/net-misc/remmina/Manifest index f3aac640e120f..88d63ddd25924 100644 --- a/net-misc/remmina/Manifest +++ b/net-misc/remmina/Manifest @@ -2,3 +2,4 @@ DIST Remmina-v1.4.29.tar.bz2 2014832 BLAKE2B a5e3a54d510c74fd8399116dfd1cc67aaaf DIST Remmina-v1.4.30.tar.bz2 2026559 BLAKE2B 96b4946e5d9480239f5089369cca6fee7bbe9129bb87f685d849df745cef7eca5b20cd8053ec3250378c1ca2be34e1b3c40d463a45c655aca65a73e9ac018593 SHA512 4e2beb4fd27bd9060a95735bd43ee80260d036bb59c406aa0d9ef63fcbd04c6e358384416b2308367d88a1f87d6e1af42299a21d59fd06dce785b9cfe1b67c84 DIST Remmina-v1.4.31.tar.bz2 2078380 BLAKE2B daee0b68305e3ec0eedcc8cb3622ed5649303562fccd766bf5cc6ed1e96f27c1608286afa1b9bbaf44480bdc210f71a863bf442974ebbc1c50ebfbcf2dfeea35 SHA512 288e7fb5b5251d251e9502ec310f2bfe526f1a28a91c9dd9e79c712191c5d2b287844bd994596dc5097ec50ed8282d0af11144f6c5f0a74cb444aa4c6a8f6838 DIST Remmina-v1.4.32.tar.bz2 2096310 BLAKE2B 2b625e8dc79c4942093c141acc6c256dce4067176422552abafdecc3d933d3196a50023632de56b1036e0f4d740a9601e1367431899da63a8fb463d5ab58f6d4 SHA512 ad5289b63038846d96ca193c37b266b19e15dbd0f513ce8cea936a81cdbb6b7476c465657944938c34695cb3ff16ade81b4a7ed37c3ab08257537b121c2ad7e9 +DIST Remmina-v1.4.33.tar.bz2 2105164 BLAKE2B 94f73f895f7e0478779d71097ee57ba049299e702527df2cf8a48ea41647f641684131b10b2f4faa7cf831ccea29611a68c2427127a2ebea87acac54f996a446 SHA512 c019131d2c3756946a332a3037286c8370a2e07b20a416c657cc2852ece9e59236499a2c5e45d4e9f391d9265089763957c6968c668e110c350e668053db6d82 diff --git a/net-misc/remmina/files/remmina-1.4.32-REM-2981.patch b/net-misc/remmina/files/remmina-1.4.32-REM-2981.patch new file mode 100644 index 0000000000000..5725349b2cae5 --- /dev/null +++ b/net-misc/remmina/files/remmina-1.4.32-REM-2981.patch @@ -0,0 +1,54 @@ +From dbd6f94974c4d7df313963ffefecb1ff8ca9ecb6 Mon Sep 17 00:00:00 2001 +From: myheroyuki +Date: Sun, 24 Sep 2023 23:15:58 +0900 +Subject: [PATCH] [REM-2981] Move ssh-unrelated code outside of HAVE_LIBSSH + ifdef + +--- + src/remmina_file_editor.c | 23 ++++++++++++----------- + 1 file changed, 12 insertions(+), 11 deletions(-) + +diff --git a/src/remmina_file_editor.c b/src/remmina_file_editor.c +index feee4a031..1c1fa9858 100644 +--- a/src/remmina_file_editor.c ++++ b/src/remmina_file_editor.c +@@ -361,17 +361,6 @@ static GtkWidget *remmina_file_editor_create_notebook_tab(RemminaFileEditor *gfe + return grid; + } + +-#ifdef HAVE_LIBSSH +- +-static void remmina_file_editor_ssh_tunnel_server_custom_radio_on_toggled(GtkToggleButton *togglebutton, RemminaFileEditor *gfe) +-{ +- TRACE_CALL(__func__); +- gtk_widget_set_sensitive(GTK_WIDGET(gfe->priv->ssh_tunnel_server_entry), +- gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_enabled_check)) && +- (gfe->priv->ssh_tunnel_server_custom_radio == NULL || +- gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_server_custom_radio)))); +-} +- + + static void remmina_file_editor_assistance_enabled_check_on_toggled(GtkToggleButton *togglebutton, + RemminaFileEditor *gfe) +@@ -392,6 +381,18 @@ static void remmina_file_editor_assistance_enabled_check_on_toggled(GtkToggleBut + } + } + ++#ifdef HAVE_LIBSSH ++ ++static void remmina_file_editor_ssh_tunnel_server_custom_radio_on_toggled(GtkToggleButton *togglebutton, RemminaFileEditor *gfe) ++{ ++ TRACE_CALL(__func__); ++ gtk_widget_set_sensitive(GTK_WIDGET(gfe->priv->ssh_tunnel_server_entry), ++ gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_enabled_check)) && ++ (gfe->priv->ssh_tunnel_server_custom_radio == NULL || ++ gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gfe->priv->ssh_tunnel_server_custom_radio)))); ++} ++ ++ + static void remmina_file_editor_ssh_tunnel_enabled_check_on_toggled(GtkToggleButton *togglebutton, + RemminaFileEditor *gfe, RemminaProtocolSSHSetting ssh_setting) + { +-- +2.42.0 + diff --git a/net-misc/remmina/remmina-1.4.32.ebuild b/net-misc/remmina/remmina-1.4.32.ebuild index 86fae2ec9b89d..f3cd0f535fb54 100644 --- a/net-misc/remmina/remmina-1.4.32.ebuild +++ b/net-misc/remmina/remmina-1.4.32.ebuild @@ -71,6 +71,7 @@ pkg_setup() { } src_prepare() { + PATCHES+=( "${FILESDIR}"/${P}-REM-2981.patch ) #914851 xdg_environment_reset cmake_src_prepare } diff --git a/net-misc/remmina/remmina-1.4.33.ebuild b/net-misc/remmina/remmina-1.4.33.ebuild new file mode 100644 index 0000000000000..9217f07d54935 --- /dev/null +++ b/net-misc/remmina/remmina-1.4.33.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake optfeature python-single-r1 xdg + +MY_P="${PN^}-v${PV}" + +DESCRIPTION="A GTK+ RDP, SPICE, VNC and SSH client" +HOMEPAGE="https://remmina.org/" +SRC_URI="https://gitlab.com/Remmina/Remmina/-/archive/v.${PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2+-with-openssl-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="+appindicator crypt cups examples keyring gvnc kwallet nls python spice ssh rdp vnc wayland webkit zeroconf" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND=" + dev-libs/glib:2 + dev-libs/json-glib + dev-libs/libpcre2 + dev-libs/libsodium:= + dev-libs/openssl:0= + x11-libs/gdk-pixbuf + x11-libs/gtk+:3[wayland?] + x11-libs/libX11 + x11-libs/libxkbfile + appindicator? ( dev-libs/libayatana-appindicator ) + crypt? ( dev-libs/libgcrypt:0= ) + keyring? ( app-crypt/libsecret ) + gvnc? ( net-libs/gtk-vnc ) + kwallet? ( kde-frameworks/kwallet ) + python? ( ${PYTHON_DEPS} ) + rdp? ( >=net-misc/freerdp-2.0.0_rc4_p1129[X] + =net-dns/avahi-0.8-r2[dbus,gtk] ) +" + +DEPEND=" + ${COMMON_DEPEND} + spice? ( app-emulation/spice-protocol ) +" + +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +RDEPEND=" + ${COMMON_DEPEND} + virtual/freedesktop-icon-theme +" + +DOCS=( AUTHORS CHANGELOG.md README.md THANKS.md ) + +S="${WORKDIR}/${PN^}-v.${PV}-2c4e1479433e51418ecb6089f35182bfebc5b57e" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + PATCHES+=( "${FILESDIR}"/${PN}-1.4.32-REM-2981.patch ) #914851 + xdg_environment_reset + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DHAVE_LIBAPPINDICATOR=$(usex appindicator ON OFF) + -DWITH_AVAHI=$(usex zeroconf) + -DWITH_CUPS=$(usex cups) + -DWITH_EXAMPLES=$(usex examples) + -DWITH_FREERDP=$(usex rdp) + -DWITH_FREERDP3=OFF + -DWITH_GCRYPT=$(usex crypt) + -DWITH_GETTEXT=$(usex nls) + -DWITH_ICON_CACHE=OFF + -DWITH_KF5WALLET=$(usex kwallet) + -DWITH_LIBSECRET=$(usex keyring) + -DWITH_LIBSSH=$(usex ssh) + -DWITH_LIBVNCSERVER=$(usex vnc) + -DWITH_PYTHONLIBS=$(usex python ON OFF) + -DWITH_SPICE=$(usex spice) + -DWITH_TRANSLATIONS=$(usex nls) + -DWITH_UPDATE_DESKTOP_DB=OFF + -DWITH_VTE=$(usex ssh) + -DWITH_WWW=$(usex webkit) + -DWITH_X2GO=OFF + # when this feature is stable, add python eclass usage to optionally enable + -DWITH_PYTHON=OFF + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "encrypted VNC connections" net-libs/libvncserver[gcrypt] +} diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest index ca09e7efe5407..941d1a4fca786 100644 --- a/net-misc/streamlink/Manifest +++ b/net-misc/streamlink/Manifest @@ -2,3 +2,4 @@ DIST streamlink-5.5.1.tar.gz 536064 BLAKE2B 0a651c5dcf9fe0a70ee93505ad0a0ea6aaf1 DIST streamlink-6.0.1.tar.gz 682425 BLAKE2B a84c6c1594b78b62c1c20c021c3dde2eae06e86fad559de285800cb5f1cc2d97dadb5724053b320dafdbca3545e1d10171d1adc3b8a1c9c67d2e4d80940357dc SHA512 96081a23b616d85a0918583d951334f35843cb47d6d3d317c3903516b951db2a953db1ea2cb1fb3de95cb059a37dc605d40817e81819acf4e5c98f831bd39323 DIST streamlink-6.1.0.tar.gz 686463 BLAKE2B cc2890db0181e47bcae9da38eddeaadfd34b29a3d4b8bc2bb4d296289cdb356f9614d4e1edd8b11e23d226115f645399296d5589e42832ad473d9cb96ebfde0f SHA512 24fb549be6088eb913348ae892f694b91a6d6c929a06b9ed0db050e203a020ea9780b217f96d7890b7309d304e9a547c47673b8b3f2588dfedbaa44bb5808e29 DIST streamlink-6.2.0.tar.gz 690986 BLAKE2B 5f7cab73ea366580aeb837b8f8a27fa7cd5ca687afa53908900dc9f290a0da916778fda8351acda00f795688b156ca0f37302e67128ce30e9838a45111b88ecd SHA512 2747ebc584caa8ebb2fde5d4f309c911a52fd1a8d2d0e832487e589873c270534e0d0b18120a2db7a68e150e301e57db1e8d63f1d5bb6244f364e9cbd6606213 +DIST streamlink-6.2.1.tar.gz 692446 BLAKE2B c1b98ffca37051675a92afc86d12635b538c1b12c023b652a05516faffb289f50b479b38ae48813a4f83d6c881dc7f211e66c6d7f7dd08adcf1a354c9bd15427 SHA512 852610d97138cf0a8066f760f747cb32f1d51c8c55b84df5b6a798556343010c2e68ca5d9a8473e8d32f72bc2a5d89f9d90ee70ccced84b6c9408930ed49585a diff --git a/net-misc/streamlink/streamlink-6.2.1.ebuild b/net-misc/streamlink/streamlink-6.2.1.ebuild new file mode 100644 index 0000000000000..025dd94e32c97 --- /dev/null +++ b/net-misc/streamlink/streamlink-6.2.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/streamlink/${PN}.git" + inherit git-r3 +fi + +DISTUTILS_SINGLE_IMPL=1 +# >= 6.2.1 uses a bunch of setuptools hooks instead of vanilla setuptools +# https://github.com/streamlink/streamlink/commit/194d9bc193f5285bc1ba33af5fd89209a96ad3a7 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE='xml(+),threads(+)' +inherit distutils-r1 + +DESCRIPTION="CLI for extracting streams from websites to a video player of your choice" +HOMEPAGE="https://streamlink.github.io/" + +if [[ ${PV} != 9999* ]]; then + SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="BSD-2 Apache-2.0" +SLOT="0" + +DEPEND=" + $(python_gen_cond_dep ' + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.2.1[${PYTHON_USEDEP}] + dev-python/pycountry[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}] + >dev-python/PySocks-1.5.7[${PYTHON_USEDEP}] + >=dev-python/trio-0.22.0[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.9.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] + ') +" +RDEPEND=" + ${DEPEND} + media-video/ffmpeg +" +BDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/setuptools-64[${PYTHON_USEDEP}] + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/freezegun-1.0.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) + ') +" + +distutils_enable_tests pytest diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild index 9208c85c22e72..025dd94e32c97 100644 --- a/net-misc/streamlink/streamlink-9999.ebuild +++ b/net-misc/streamlink/streamlink-9999.ebuild @@ -9,7 +9,9 @@ if [[ ${PV} = 9999* ]]; then fi DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=setuptools +# >= 6.2.1 uses a bunch of setuptools hooks instead of vanilla setuptools +# https://github.com/streamlink/streamlink/commit/194d9bc193f5285bc1ba33af5fd89209a96ad3a7 +DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE='xml(+),threads(+)' inherit distutils-r1 @@ -19,7 +21,7 @@ HOMEPAGE="https://streamlink.github.io/" if [[ ${PV} != 9999* ]]; then SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi LICENSE="BSD-2 Apache-2.0" @@ -47,6 +49,7 @@ RDEPEND=" " BDEPEND=" $(python_gen_cond_dep ' + >=dev-python/setuptools-64[${PYTHON_USEDEP}] >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] test? ( dev-python/mock[${PYTHON_USEDEP}] diff --git a/net-misc/ytmdl/ytmdl-2023.7.27.ebuild b/net-misc/ytmdl/ytmdl-2023.7.27.ebuild index 2f403c684fdf0..6914830846e8d 100644 --- a/net-misc/ytmdl/ytmdl-2023.7.27.ebuild +++ b/net-misc/ytmdl/ytmdl-2023.7.27.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://ytmdl.deepjyoti30.dev/ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=net-misc/yt-dlp-2022.3.8.2[${PYTHON_USEDEP}] diff --git a/net-nds/ldapvi/files/ldapvi-1.7-fix-missing-on_exit-musl.patch b/net-nds/ldapvi/files/ldapvi-1.7-fix-missing-on_exit-musl.patch new file mode 100644 index 0000000000000..b883e412d3272 --- /dev/null +++ b/net-nds/ldapvi/files/ldapvi-1.7-fix-missing-on_exit-musl.patch @@ -0,0 +1,61 @@ +Use internal on_exit function as on_exit is not available on musl libc Bug: https://bugs.gentoo.org/898066 +--- a/common.h ++++ b/common.h +@@ -372,3 +372,7 @@ void sasl_defaults_free(tsasl_defaults *sd); + int ldapvi_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *p); + + void fdcp(int fdsrc, int fddst); ++ ++#ifndef HAVE_ON_EXIT ++int on_exit(void (*function)(int, void *), void *arg); ++#endif +--- a/ldapvi.c ++++ b/ldapvi.c +@@ -17,6 +17,7 @@ + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ ++#include + #include + #include + #include +--- a/misc.c ++++ b/misc.c +@@ -15,6 +15,7 @@ + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ ++#include + #include + #include + #include "common.h" +--- a/parse.c ++++ b/parse.c +@@ -18,6 +18,7 @@ + #define _XOPEN_SOURCE + #include + #include ++#include + #include "common.h" + + #define fast_g_string_append_c(gstring, c) \ +--- a/parseldif.c ++++ b/parseldif.c +@@ -17,6 +17,7 @@ + */ + #define _XOPEN_SOURCE + #include ++#include + #include "common.h" + + #define fast_g_string_append_c(gstring, c) \ +--- a/port.c ++++ b/port.c +@@ -31,6 +31,7 @@ + #include + + #include "config.h" ++#include "common.h" + + #if defined(HAVE_OPENSSL) + #include diff --git a/net-nds/ldapvi/ldapvi-1.7_p20101214-r6.ebuild b/net-nds/ldapvi/ldapvi-1.7_p20101214-r6.ebuild new file mode 100644 index 0000000000000..13736b4b86efd --- /dev/null +++ b/net-nds/ldapvi/ldapvi-1.7_p20101214-r6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Manage LDAP entries with a text editor" +HOMEPAGE="http://www.lichteblau.com/ldapvi/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +S="${WORKDIR}"/${P}/${PN} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="gnutls sasl" + +RDEPEND=" + dev-libs/popt + dev-libs/glib:2 + sys-libs/readline:= + sys-libs/ncurses:= + virtual/libcrypt:= + gnutls? ( + net-libs/gnutls:= + net-nds/openldap[gnutls] + ) + !gnutls? ( + dev-libs/openssl:= + net-nds/openldap[ssl] + ) + sasl? ( dev-libs/cyrus-sasl:2[ssl] ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-1.7-fix-implicit-function-declarations.patch" + "${FILESDIR}/${PN}-1.7-fix-missing-on_exit-musl.patch" +) + +src_prepare() { + default + + # bug #459478 + sed -i \ + -e '/^AC_SEARCH_LIBS/s:curses ncurses:curses ncurses tinfo:' \ + configure.in || die + + eautoreconf +} + +src_configure() { + econf \ + --with-libcrypto=$(usex gnutls gnutls openssl) +} + +src_install() { + dobin ldapvi + doman ldapvi.1 + dodoc NEWS manual/{bg.png,html.xsl,manual.{css,xml}} +} diff --git a/net-news/sfeed/sfeed-1.8.ebuild b/net-news/sfeed/sfeed-1.8.ebuild index cc25963b8f64f..a89e369836a30 100644 --- a/net-news/sfeed/sfeed-1.8.ebuild +++ b/net-news/sfeed/sfeed-1.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://codemadness.org/releases/${PN}/${P}.tar.gz" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86" THEMES=( mono{,-highlight} newsboat templeos ) IUSE="+ncurses +${THEMES[@]/#/theme-}" diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild index f47b972edd426..109d3cec80d1b 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )" diff --git a/net-print/cups/cups-2.4.7.ebuild b/net-print/cups/cups-2.4.7.ebuild index 1540369af2540..fb26dd7c4f2a7 100644 --- a/net-print/cups/cups-2.4.7.ebuild +++ b/net-print/cups/cups-2.4.7.ebuild @@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]] ; then else SRC_URI="https://github.com/OpenPrinting/cups/releases/download/v${MY_PV}/cups-${MY_PV}-source.tar.gz" if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" fi fi diff --git a/net-proxy/haproxy/haproxy-2.4.23.ebuild b/net-proxy/haproxy/haproxy-2.4.23.ebuild index 70d04897ccd8a..796d22deb9a8b 100644 --- a/net-proxy/haproxy/haproxy-2.4.23.ebuild +++ b/net-proxy/haproxy/haproxy-2.4.23.ebuild @@ -14,7 +14,7 @@ DESCRIPTION="A TCP/HTTP reverse proxy for high availability environments" HOMEPAGE="http://www.haproxy.org" if [[ ${PV} != *9999 ]]; then SRC_URI="http://haproxy.1wt.eu/download/$(ver_cut 1-2)/src/${MY_P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ppc ~x86" + KEYWORDS="amd64 arm ~arm64 ppc ~x86" elif [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.haproxy.org/git/haproxy.git/" EGIT_BRANCH=master diff --git a/net-vpn/strongswan/strongswan-5.9.11.ebuild b/net-vpn/strongswan/strongswan-5.9.11.ebuild index 057c1e8f3e05d..fa1869ef45ddd 100644 --- a/net-vpn/strongswan/strongswan-5.9.11.ebuild +++ b/net-vpn/strongswan/strongswan-5.9.11.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://download.strongswan.org/${P}.tar.bz2" LICENSE="GPL-2 RSA DES" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql networkmanager +non-root +openssl selinux sqlite systemd pam pkcs11" STRONGSWAN_PLUGINS_STD="gcm led lookip systime-fix unity vici" diff --git a/net-wireless/blueberry/Manifest b/net-wireless/blueberry/Manifest deleted file mode 100644 index 5071805ae3138..0000000000000 --- a/net-wireless/blueberry/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST blueberry-1.4.8.tar.gz 1416910 BLAKE2B ef122021709443fa7a06e6759450ca8b3bc2c21ee930b0bc532454001addb49df1320a177f8b2e217b59e4a931f1634eea642c1d625ba255ecffff573d60cc34 SHA512 32dbc4fa91321eb1401afa4ac4cc42794ef8cac9ed63ad19c3fd34d88e0eb6c7aa51d3aa3a2f8017a9f6135ab16ca154a929ce5ff592f5157bb3f799a9ef8891 diff --git a/net-wireless/blueberry/blueberry-1.4.8.ebuild b/net-wireless/blueberry/blueberry-1.4.8.ebuild deleted file mode 100644 index ed92957c3cf45..0000000000000 --- a/net-wireless/blueberry/blueberry-1.4.8.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit gnome2-utils python-single-r1 xdg-utils - -DESCRIPTION="A Bluetooth configuration tool" -HOMEPAGE="https://github.com/linuxmint/blueberry" -SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/python3-xapp[${PYTHON_USEDEP}] - ') - >=net-wireless/gnome-bluetooth-3.14:2[introspection] - net-wireless/bluez[obex] - net-wireless/bluez-tools - >=sys-apps/util-linux-2.31_rc1 - x11-libs/libnotify[introspection] - x11-misc/wmctrl -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - python_fix_shebang usr/lib -} - -src_install() { - doins -r etc - exeinto /usr/bin - doexe usr/bin/* - exeinto /usr/lib/blueberry - doexe usr/lib/blueberry/* - insinto /usr - doins -r usr/share -} - -pkg_postinst() { - gnome2_schemas_update - xdg_icon_cache_update -} - -pkg_postrm() { - gnome2_schemas_update - xdg_icon_cache_update -} diff --git a/net-wireless/blueberry/metadata.xml b/net-wireless/blueberry/metadata.xml deleted file mode 100644 index 0540c3e40a162..0000000000000 --- a/net-wireless/blueberry/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - olivier.laurantin@laposte.net - Olivier Laurantin - - - proxy-maint@gentoo.org - Proxy Maintainers - - - linuxmint/blueberry - - diff --git a/net-wireless/gnome-bluetooth/Manifest b/net-wireless/gnome-bluetooth/Manifest index 83e3de02cd62e..f139a76b2d329 100644 --- a/net-wireless/gnome-bluetooth/Manifest +++ b/net-wireless/gnome-bluetooth/Manifest @@ -1,2 +1 @@ -DIST gnome-bluetooth-3.34.5.tar.xz 353936 BLAKE2B 40300752830f71d436591e22a64a282745d8419ee46de534f76c4871a86a4c8f7b2203e3ddc4ca08d26348b97bf4a68315802ffa09c69265c55001e4806c7f1e SHA512 48431b3d19083705a6623442c5cd2d6c14962cdf30fc599ba47dceb6612b80142af77e1b6df142b530cb1015638081a06de38a3034177e0d05a354c40f19d9e5 DIST gnome-bluetooth-42.6.tar.xz 304668 BLAKE2B d3dbc6c41de456e357e16b8d714f96bbcf9fc28776d361d4fc7d6d2c6ed7bb21496cc5f5eb02a24ce0b48c40ca2fefd80a36dda78e3ae63f67051b6f6a358258 SHA512 4c939a2f19c656ecc03535a203e3eed582a288abb3862ae92c517e611395e940ac65412281c9cd238cb8da99a2019505dd5bb2a687f143dd02b24b11d40b5450 diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild deleted file mode 100644 index 936cf9a391a0c..0000000000000 --- a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..11} ) -inherit gnome.org meson python-any-r1 udev xdg - -DESCRIPTION="Bluetooth graphical utilities integrated with GNOME" -HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth" - -LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+" -SLOT="2/13" # subslot = libgnome-bluetooth soname version -IUSE="gtk-doc +introspection test" -RESTRICT="!test? ( test )" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" - -DEPEND=" - >=dev-libs/glib-2.44:2 - >=x11-libs/gtk+-3.12:3[introspection?] - media-libs/libcanberra[gtk3] - >=x11-libs/libnotify-0.7.0 - virtual/libudev - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) -" -RDEPEND="${DEPEND} - acct-group/plugdev - virtual/udev - >=net-wireless/bluez-5 -" -BDEPEND=" - dev-libs/libxml2:2 - dev-util/gdbus-codegen - dev-util/glib-utils - gtk-doc? ( >=dev-util/gtk-doc-1.9 ) - virtual/pkgconfig - test? ( - $(python_gen_any_dep ' - dev-python/python-dbusmock[${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] - ') - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-meson-0.61-build.patch -) - -python_check_deps() { - if use test; then - python_has_version -b "dev-python/python-dbusmock[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/dbus-python[${PYTHON_USEDEP}]" - fi -} - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_configure() { - local emesonargs=( - -Dicon_update=false - $(meson_use gtk-doc gtk_doc) - $(meson_use introspection) - ) - meson_src_configure -} - -src_install() { - meson_src_install - udev_dorules "${FILESDIR}"/61-${PN}.rules -} - -pkg_postinst() { - udev_reload - xdg_pkg_postinst - if ! has_version 'sys-apps/systemd[acl]' ; then - elog "Don't forget to add yourself to the plugdev group " - elog "if you want to be able to control bluetooth transmitter." - fi -} - -pkg_postrm() { - udev_reload -} diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index d9cc8c51b9c9b..1d6244935ae7d 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -1,2 +1,3 @@ DIST kismet-2022-08-R1.tar.xz 10700692 BLAKE2B 9f6b3a651eca34b90e34b8a8357be493a8966cdd5c54f5f1c38383cc3ad74f2c78ab265df882b0a5b985bed98ad61f4741ead7b443d9b79f2769ca7edc72427f SHA512 befca2dcd7016d96a17e97babbd6d88195fa61750ed616d104d10a85828ec160672c33bd2a1eae554d375feb55ea45a040a3e53c4410a3ff8c9bfa4b5c8bcdb1 DIST kismet-2023-07-R1.tar.xz 11144120 BLAKE2B c43f0665c784ff9245289e624e23cb3eb4ffcb79f050deede50129cf6b07662e817f9c9aaf6cc608395045b5b449b87d22ff314d7dbc8f04b29db2df86dc5f84 SHA512 b8b320b8e09be5be582848ce8a1a66f71a96eccc3c78f52d3f1f18122abbe614ff3b5a55b5fcedf3e6a1fc959a72838adc0d7278ffd6c25a1c179a1caf5584ce +DIST kismet-2023.07.1-stdint-fix.patch 144077 BLAKE2B 77a4ca3da4ed54e567d21c7d8d0a718751802827bcefc1122318c989cde93a2132753c910e6f503e74dac30024111edc788d9df65ef4c4749ab918485d818ee3 SHA512 cb9220cdd5e14d030ef303e28a32dced61916ff64aa5960c412c2355c1b714dc423e34b33ef701e1daa2a22c9562a85a739dc130c4ec5761924338ffb462286b diff --git a/net-wireless/kismet/kismet-2023.07.1.ebuild b/net-wireless/kismet/kismet-2023.07.1.ebuild index 12ccc414e9204..4fcac1c602f06 100644 --- a/net-wireless/kismet/kismet-2023.07.1.ebuild +++ b/net-wireless/kismet/kismet-2023.07.1.ebuild @@ -18,13 +18,16 @@ else S=${WORKDIR}/${MY_P/BETA/beta} #normally we want an official release - SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz" + SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz + https://dev.gentoo.org/~zerochaos/distfiles/${P}-stdint-fix.patch" #but sometimes we want a git commit #COMMIT="9ca7e469cf115469f392db7436816151867e1654" #SRC_URI="https://github.com/kismetwireless/kismet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" #S="${WORKDIR}/${PN}-${COMMIT}" + PATCHES=( "${DISTDIR}/${P}-stdint-fix.patch" ) + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" fi @@ -103,7 +106,7 @@ src_prepare() { # log_tools/kismetdb_to_wiglecsv.cc trackedcomponent.h \ # trackedelement.h trackedelement_workers.h - eapply_user + default if [ "${PV}" = "9999" ]; then eautoreconf diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index aefd9559e78af..f89567fabd66f 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -104,7 +104,7 @@ src_prepare() { # log_tools/kismetdb_to_wiglecsv.cc trackedcomponent.h \ # trackedelement.h trackedelement_workers.h - eapply_user + default if [ "${PV}" = "9999" ]; then eautoreconf diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 24848d0d22362..8cadaf33fdae3 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -1,4 +1,4 @@ DIST unifi-6.5.55.zip 157805689 BLAKE2B 09a7b69143478d0b81dd6f7be1746b1a35cd00ee034471c512d04e4f91aa02688871857edf3c0ef538e601aaf8eccdd0c55193a9bde10924ddeff1fd333da355 SHA512 c2f677de819268366d65622238c1b8d6d8abcd5e06d6f1f635d9755573eff5a6aca0c84298a111b0da5e80bade8132e05339035edde3cc5fc08834f2d6c4b26e DIST unifi-7.3.83.zip 185572238 BLAKE2B 2e2fa581bc53dcbd75660e5875e8de25df19ee2233c31d5429c5d05468be315e6e68fd92dcd8d19cd7088d4f1574c5cb12f5b0e6b3b49d62dee4dc43b25e7a85 SHA512 ae7bd0e5deff9fceb831be7d652c333d06f1b2a9b40411e1e72607558b01b33814590601c991742a7627eb7a15ec33d5ea0ca1f8d7d2103f348db592f61aaca7 DIST unifi-7.4.162.zip 167673550 BLAKE2B 1e7dc5fa47353b3db68be9f2f26d457be9c6b64059d32d42fba2f6f3e3a8c2fef8fa3e1aab8561d74e2dcb8a57888ce1325eeaa681623349e9de972571727218 SHA512 a7600c01e861e30ecc588c12aab4455722fcb307dc58a7c27741a7df863a0f8dbdd397c33811ffb099468c391a82386c70fde71517f7dc6cc9727c7ec55c0fe5 -DIST unifi-7.5.174.zip 170958023 BLAKE2B 38006f1a28caca8da956c00d4883f7c5337f1e740a91f09e8bfe07c7282b5e1b7d2529f117200b7549d793745312224b677e0552b85e05c6e4bcd342da20806c SHA512 30eaf8039682704df8878ba392b18ebcbc0ed0ca72f3f9cf239fe6cd90c34d0d727d208329e2c8ddb891c259c435fb27da1242abef35fd658e92353f2a09d149 +DIST unifi-7.5.176.zip 170984042 BLAKE2B 180e792a731d226f59fd5e491ab38816ac9f31d6ccf0ec22d2f90b11dd747915c0e18e7b7873d598cef428b0d6a5fbab6e893e994c116ce1f8bd3714fe524d5c SHA512 a22ba10774abc4ce1987f76ca715762bc99bff6bc539aa36341d8767024842273bc98a3f0794ac5cc1ead10ca1140f60eb8a729d79a7d3193a48391ad1823c86 diff --git a/net-wireless/unifi/unifi-7.5.174-r1.ebuild b/net-wireless/unifi/unifi-7.5.176.ebuild similarity index 100% rename from net-wireless/unifi/unifi-7.5.174-r1.ebuild rename to net-wireless/unifi/unifi-7.5.176.ebuild diff --git a/perl-core/Unicode-Collate/Unicode-Collate-1.310.0.ebuild b/perl-core/Unicode-Collate/Unicode-Collate-1.310.0.ebuild index eb0d23b8ebb9c..21e1ae3b162f1 100644 --- a/perl-core/Unicode-Collate/Unicode-Collate-1.310.0.ebuild +++ b/perl-core/Unicode-Collate/Unicode-Collate-1.310.0.ebuild @@ -10,7 +10,7 @@ inherit perl-module DESCRIPTION="Unicode Collate Algorithm" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" virtual/perl-Carp diff --git a/profiles/arch/arm64/package.use.mask b/profiles/arch/arm64/package.use.mask index 80c7ecb833c77..ce7aa8f56321e 100644 --- a/profiles/arch/arm64/package.use.mask +++ b/profiles/arch/arm64/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Patrick McLean (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # Jon Janzen (2023-09-11) # librttopo has not been tested on this arch dev-db/spatialite rttopo diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask index 506221145de98..fdab19c281031 100644 --- a/profiles/arch/arm64/use.mask +++ b/profiles/arch/arm64/use.mask @@ -4,6 +4,10 @@ # Unmask the flag which corresponds to ARCH. -arm64 +# Mart Raudsepp (2023-10-03) +# dev-util/sysprof-capture is keyworded on arm64 +-sysprof + # Andrew Ammerlaan (2023-07-11) # Unmask secureboot flag on arches where sbsigntools is keyworded -secureboot diff --git a/profiles/arch/arm64/use.stable.mask b/profiles/arch/arm64/use.stable.mask index d05e57dc0d652..dd47f125ea2d4 100644 --- a/profiles/arch/arm64/use.stable.mask +++ b/profiles/arch/arm64/use.stable.mask @@ -4,6 +4,10 @@ # This file requires eapi 5 or later. New entries go on top. # Please use the same syntax as in use.mask +# Mart Raudsepp (2023-10-03) +# dev-util/sysprof-capture and dev-util/sysprof are not stable yet +sysprof + # Ionen Wolkens (2022-02-17) # x11-drivers/nvidia-drivers is not stable yet video_cards_nvidia diff --git a/profiles/arch/hppa/package.use.mask b/profiles/arch/hppa/package.use.mask index fd8fa3df71099..9a65b497352e6 100644 --- a/profiles/arch/hppa/package.use.mask +++ b/profiles/arch/hppa/package.use.mask @@ -4,6 +4,10 @@ # NOTE: When masking a USE flag due to missing keywords, please file a keyword # request bug for the hppa arch. +# Patrick McLean (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # Sam James (2023-09-24) # Qt not keyworded here. app-doc/doxygen gui diff --git a/profiles/arch/ia64/package.use.mask b/profiles/arch/ia64/package.use.mask index 9cba5f68e1485..a80ba2b0541c2 100644 --- a/profiles/arch/ia64/package.use.mask +++ b/profiles/arch/ia64/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Patrick McLean (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # Sam James (2023-09-24) # Qt not keyworded here. app-doc/doxygen gui diff --git a/profiles/arch/loong/package.use.mask b/profiles/arch/loong/package.use.mask index 82b3ec4a8f9a4..a8ec015c25ade 100644 --- a/profiles/arch/loong/package.use.mask +++ b/profiles/arch/loong/package.use.mask @@ -1,6 +1,10 @@ # Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Patrick McLean (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # WANG Xuerui (2023-09-29) # no luajit for now media-gfx/gimp lua diff --git a/profiles/arch/powerpc/package.use.mask b/profiles/arch/powerpc/package.use.mask index 41111f6e8a8c1..a086706932143 100644 --- a/profiles/arch/powerpc/package.use.mask +++ b/profiles/arch/powerpc/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Patrick McLean (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # Georgy Yakovlev (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # Sam James (2023-09-22) # Qt 6 not keyworded here. dev-util/cmake gui diff --git a/profiles/arch/s390/package.use.mask b/profiles/arch/s390/package.use.mask index f584ab79bd6bf..9577f9be7e302 100644 --- a/profiles/arch/s390/package.use.mask +++ b/profiles/arch/s390/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Patrick McLean (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # Sam James (2023-09-24) # Qt not keyworded here. app-doc/doxygen gui diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask index 388ee4e8ca869..0c94205df5b87 100644 --- a/profiles/arch/sparc/package.use.mask +++ b/profiles/arch/sparc/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Patrick McLean (2023-10-03) +# sys-apps/s6-linux-init has not been tested on this arch +sys-apps/openrc s6 + # Sam James (2023-09-22) # Qt 6 not keyworded here. dev-util/cmake gui diff --git a/profiles/default/linux/package.use.mask b/profiles/default/linux/package.use.mask index 5407972c13ace..d6ee6fb4c40a4 100644 --- a/profiles/default/linux/package.use.mask +++ b/profiles/default/linux/package.use.mask @@ -1,6 +1,11 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Conrad Kostecki (conikost@gentoo.org> (2023-10-02) +# Using VectorCompiler is currently broken on newer versions. +# See https://github.com/intel/intel-graphics-compiler/issues/303 +>=dev-util/intel-graphics-compiler-1.0.15136.4 vc + # Sam James (2023-06-06) # Needs linux-only dev-libs/libaio. app-emulation/qemu -aio diff --git a/profiles/package.mask b/profiles/package.mask index 8afb51778822c..9ea7296bdb949 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -183,11 +183,6 @@ dev-ruby/mail:2.7 (2023-09-09) -# Release causes problems, upstream degrated to RC back. -# See #913884 for more information -=net-wireless/unifi-7.5.174-r1 - # David Seifert (2023-09-09) # EOL upstream in 2 months, causes major headaches for OpenSSL 1.1 # masking. Removal on 2023-10-09. @@ -228,54 +223,6 @@ app-crypt/tpm2-tss-engine # Removal on 2023-10-03. dev-erlang/protobuffs -# Sam James (2023-08-30) -# Used to be a dependency of dev-python/qiskit-terra but is now being phased -# out. Fails to build with modern setuptools and >= Python 3.11. No upstream -# activity. -# Removal on 2023-09-29. Bug #911840, bug #896900. -dev-python/tweedledum - -# Hans de Graaff (2023-08-29) -# Obsolete slots that are no longer used by any sinatra version. Use the -# newer slot instead. Masked for removal on 2023-09-29. -dev-ruby/mustermann:1 -dev-ruby/mustermann:2 - -# Olivier Laurantin (2023-08-29) -# Masked for removal on 2023-10-01 -# net-wireless/blueberry will never work with recent gnome-bluetooth versions -# and is the only package requiring net-wireless/gnome-bluetooth:2 -net-wireless/blueberry -net-wireless/gnome-bluetooth:2 - -# Hans de Graaff (2023-08-29) -# Use the newer slot instead. Masked for removal on 2023-09-29. -dev-ruby/twitter:7 - -# Sam James (2023-08-29) -# Obsolete as of September 2021 when legacy Tor hidden services stopped -# working. Now fails to build with latest protobuf too. No upstream activity -# since 2017. Alternatives (unvetted) are 'cwtch' and 'ricochet-refreshed' but -# neither are packaged. -# Removal on 2023-09-28. Bug #830477, bug #913004. -net-im/ricochet - -# Sam James (2023-08-29) -# Fails to build with new protobuf. Deprecated by upstream which recommend -# sci-biology/kallisto as a replacement. -# Removal on 2023-09-28. Bug #912828. -sci-biology/express - -# Michał Górny (2023-08-28) -# A shim that is no longer needed. No reverse dependencies. -# Removal on 2023-09-27. Bug #906516. -dev-python/pytz_deprecation_shim - -# Jonas Stein (2023-08-17) -# Upstream warns that it is broken and there is no fix since 2010 -# Removal after 2023-10-01. Bug #912363. -app-dicts/edictionary - # Sam James (2023-08-04) # Stricter behavior which causes some packages to fail, see bug #911721. =dev-util/pkgconf-2.0.0 diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index 05d2d0b84cff5..8209699045d04 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1 +1,2 @@ DIST kstars-3.6.6.tar.xz 135870036 BLAKE2B 20a313b4df8c266cf406677ed062b8788b1840670c88c86043a84ef15947f16247d0733f2b91b623a951e53659fcd6e3bbd25b22c105a3ac3df3481fe57078a3 SHA512 ef2cbd12578cc336e46dda875e8d6b077922c9732b4afb35b7782ae1573c2a6ccd0337d1ba1206d2e5ac5922f8b9c91ddc45f59b6a487f22b779f8d1100b1636 +DIST kstars-3.6.7.tar.xz 138532496 BLAKE2B 173cea5d81b72a181dd7c17ea8159d739675fe60bfab3fb9ccd0a47b32a7f2e2231d5eaa26074eb6d2479b1f62a3c5236494763d82370d844dfaebbc14adc3a0 SHA512 bfefad8c3cd55a2b01e8be240ede7c2ea7cadf99d44c9558e56ac0b0d890c96c3392a6de4c062341f3aff994fc7e95b79a69454a436bc8bce760942cd42f80cd diff --git a/sci-astronomy/kstars/kstars-3.6.7.ebuild b/sci-astronomy/kstars/kstars-3.6.7.ebuild new file mode 100644 index 0000000000000..9e64b0fcf4c79 --- /dev/null +++ b/sci-astronomy/kstars/kstars-3.6.7.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm kde.org optfeature + +DESCRIPTION="Desktop Planetarium" +HOMEPAGE="https://apps.kde.org/kstars/ https://edu.kde.org/kstars/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+ GPL-3+" +SLOT="5" +IUSE="+password raw wcs" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + >=dev-qt/qtdatavis3d-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwebsockets-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kplotting-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + sci-libs/cfitsio:= + sci-libs/gsl:= + >=sci-libs/indilib-2.0.2 + sci-libs/libnova:= + >=sci-libs/stellarsolver-2.2 + sys-libs/zlib + password? ( dev-libs/qtkeychain:=[qt5(+)] ) + raw? ( media-libs/libraw:= ) + wcs? ( sci-astronomy/wcslib:= ) +" +# TODO: Add back when re-enabled by upstream +# opengl? ( +# >=dev-qt/qtopengl-${QTMIN}:5 +# virtual/opengl +# ) +DEPEND="${COMMON_DEPEND} + dev-cpp/eigen:3 + >=dev-qt/qtconcurrent-${QTMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtgraphicaleffects-${QTMIN}:5 + >=dev-qt/qtpositioning-${QTMIN}:5 + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" + +src_configure() { + local mycmakeargs=( + -DBUILD_PYKSTARS=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_LibXISF=ON # not packaged + -DBUILD_DOC=$(usex handbook) + $(cmake_use_find_package password Qt5Keychain) + $(cmake_use_find_package raw LibRaw) + $(cmake_use_find_package wcs WCSLIB) + ) + + ecm_src_configure +} + +src_test() { + # bug 842768, test declared unstable by upstream + local myctestargs=( + -E "(TestKSPaths)" + ) + + ecm_src_test +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "Display 'current' pictures of planets" x11-misc/xplanet + fi + ecm_pkg_postinst +} diff --git a/sci-biology/express/Manifest b/sci-biology/express/Manifest deleted file mode 100644 index 9c2cc4ebf499a..0000000000000 --- a/sci-biology/express/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST express-1.5.1-src.tgz 931166 BLAKE2B 5eb185e4b001f26f0dd32885b256b9fa48c89f546d67d7f8472cade69dde25375a5fc8efed5f01b615d63b641b674f7034a13f9483eb7967a6fd784a55c8878e SHA512 59cf6511a879311247c65334285ea056d571d4fd950aa6243041fa10075ff0d1ddd2afbcfe12e5f7f3e7cdd22fe37fd7f6b43ed4a8eb28d7a33d72366dc549ee diff --git a/sci-biology/express/express-1.5.1.ebuild b/sci-biology/express/express-1.5.1.ebuild deleted file mode 100644 index 9511236b69f64..0000000000000 --- a/sci-biology/express/express-1.5.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Streaming RNA-Seq Analysis" -HOMEPAGE="https://pachterlab.github.io/eXpress/" -SRC_URI="https://pachterlab.github.io/eXpress/downloads/${P}/${P}-src.tgz" - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - dev-libs/boost:= - dev-libs/protobuf - dev-util/google-perftools - sci-biology/bamtools - sys-libs/zlib -" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${P}-src" - -PATCHES=( - "${FILESDIR}"/${P}-buildsystem.patch - "${FILESDIR}"/${P}-gcc6.patch -) - -src_configure() { - local mycmakeargs=( - -DBAMTOOLS_INCLUDE="${EPREFIX}/usr/include/bamtools" - ) - cmake_src_configure -} diff --git a/sci-biology/express/files/express-1.5.1-buildsystem.patch b/sci-biology/express/files/express-1.5.1-buildsystem.patch deleted file mode 100644 index fca5feadd1112..0000000000000 --- a/sci-biology/express/files/express-1.5.1-buildsystem.patch +++ /dev/null @@ -1,55 +0,0 @@ - CMakeLists.txt | 8 +++----- - src/CMakeLists.txt | 4 ++-- - 2 files changed, 5 insertions(+), 7 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c768e28..65d5633 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -6,14 +6,12 @@ set(${PROJECT_NAME}_VERSION_MAJOR 1) - set(${PROJECT_NAME}_VERSION_MINOR 5) - set(${PROJECT_NAME}_VERSION_PATCH 1) - --set(CMAKE_CXX_FLAGS "-Wall") -- - set(CMAKE_CXX_FLAGS_DEBUG "-g ${CMAKE_CXX_FLAGS}") - set(CMAKE_CXX_FLAGS_RHDEBINFO "-O3 -g ${CMAKE_CXX_FLAGS}") - set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os ${CMAKE_CXX_FLAGS}") - - set(CMAKE_BUILD_TYPE Release) --set(Boost_USE_STATIC_LIBS ON) -+set(Boost_USE_STATIC_LIBS OFF) - - find_package(Boost 1.39 - COMPONENTS -@@ -33,10 +31,10 @@ endif(GPERFTOOLS_TCMALLOC_LIB) - - find_package(Protobuf) - if (PROTOBUF_FOUND) -- include_directories(${Boost_INCLUDE_DIRS} ${PROTOBUF_INCLUDE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/bamtools/include") -+ include_directories(${Boost_INCLUDE_DIRS} ${PROTOBUF_INCLUDE_DIR} ${BAMTOOLS_INCLUDE}) - set(PROTO_INT 1) - else (PROTOBUF_FOUND) -- include_directories(${Boost_INCLUDE_DIRS} "${CMAKE_CURRENT_SOURCE_DIR}/bamtools/include") -+ include_directories(${Boost_INCLUDE_DIRS} ${BAMTOOLS_INCLUDE}) - set(PROTO_INT 0) - endif(PROTOBUF_FOUND) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 1cc0c01..8929d1f 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -16,11 +16,11 @@ endif (GPERFTOOLS_TCMALLOC) - if(WIN32) - set(LIBRARIES ${LIBRARIES} "${CMAKE_CURRENT_SOURCE_DIR}/../bamtools/lib/libbamtools.lib" "${CMAKE_CURRENT_SOURCE_DIR}/../win_build/zlibd.lib") - else(WIN32) -- set(LIBRARIES ${LIBRARIES} "${CMAKE_CURRENT_SOURCE_DIR}/../bamtools/lib/libbamtools.a" "pthread") -+ set(LIBRARIES ${LIBRARIES} "bamtools" "pthread") - endif(WIN32) - - if (PROTOBUF_FOUND) -- set(LIBRARIES ${LIBRARIES} "libprotobuf.a") -+ set(LIBRARIES ${LIBRARIES} "protobuf") - endif(PROTOBUF_FOUND) - - target_link_libraries(express ${LIBRARIES}) diff --git a/sci-biology/express/files/express-1.5.1-gcc6.patch b/sci-biology/express/files/express-1.5.1-gcc6.patch deleted file mode 100644 index 8a608b97b0564..0000000000000 --- a/sci-biology/express/files/express-1.5.1-gcc6.patch +++ /dev/null @@ -1,19 +0,0 @@ -Bug: https://bugs.gentoo.org/610692 - ---- a/src/targets.cpp -+++ b/src/targets.cpp -@@ -113,12 +113,12 @@ - - double ll = LOG_1; - double tot_mass = mass(with_pseudo); -- double tot_eff_len = cached_effective_length(lib.bias_table); -+ double tot_eff_len = cached_effective_length(static_cast(lib.bias_table)); - if (neighbors) { - foreach (const Target* neighbor, *neighbors) { - tot_mass = log_add(tot_mass, neighbor->mass(with_pseudo)); - tot_eff_len = log_add(tot_eff_len, -- neighbor->cached_effective_length(lib.bias_table)); -+ neighbor->cached_effective_length(static_cast(lib.bias_table))); - } - } - ll += tot_mass - tot_eff_len; diff --git a/sci-biology/express/metadata.xml b/sci-biology/express/metadata.xml deleted file mode 100644 index ccdff086e20b0..0000000000000 --- a/sci-biology/express/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - sci-biology@gentoo.org - Gentoo Biology Project - - diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest index 59b442925a851..9fa4216e23953 100644 --- a/sci-calculators/bc-gh/Manifest +++ b/sci-calculators/bc-gh/Manifest @@ -1,4 +1,2 @@ -DIST bc-6.1.1.tar.xz 455456 BLAKE2B 7945ac623740abd9cbd894c20b8a03006caf64d2ce9770ade930d912c52b4e29b107b524d4a95ebea99e31921b7940e39e1afdeec837b4a03d3ed4e11b9f517b SHA512 0e7fb4d4223ace8ba5c1961cc0d7eba475174f92b75529fde64446b5d80db5729f848fd95507570711d2b8928996c87e837e926d31028f32e3f97cad47567d39 DIST bc-6.5.0.tar.xz 461380 BLAKE2B e4aa633162d03fc5723e967ba81f985ab1b16e47b3c9a3ca1c32e9a717db682ce88cc6ba453d5e9b09539dcb8ddbb258b7b7dbdd2e27279355e3c35028d56130 SHA512 1cb03038d828a0b10734c29931777add8b22f194c507b8ff538ec1aa52a2a97a4ac2733d72cdb0710fdc6937807074e929f7918c56aaf5be8fbe908ea7c5a401 -DIST bc-6.6.0.tar.xz 465272 BLAKE2B 489f6e20a06f2903421a2c8ba7249f52a52dadfd354de920bac098c6181d79e944c696aa787a143d72a12af1c1893b7b48341cf6e6c4003ceace88812dc72c96 SHA512 5d8e32a7e8bf34d36919f9ab4a84d410747bcaf66d8846c536e41b8a447fe0066d8b0de5a10011d77d50a880290423bae6dea1404f01edf6dfd5247d41ca19a0 -DIST bc-6.6.1.tar.xz 466420 BLAKE2B ddf22c13e33e5526a07824900ad8294913a76ae2bc7e8a6489ee3dc5dd0c18005f74abeaf39ce81ac686fe82889f708e2e581307709966adb15355199aaf046a SHA512 5459ac61dc3fe39be9687616a801ecaf60caabb76cccc76d9e2e5aa4dc3efbb1cc33e2ad059d037c71ad3cce0cd9571d68bc13d09696cb43e5c3dfcdee117f9c +DIST bc-6.7.0.tar.xz 466672 BLAKE2B 65e72095a1282d0861ad76b18aed2bf96bb3e92b2e9ec90cffce00ad70219071d6203e80b251dbcd13a7908a4219fe16b7120e29ac6924794ae1c217a3c3ca46 SHA512 a4b8c0b0ba8a214e2fdd271f5090d2977c8ee3053dc52d28cbd031a4a935f0e5d9c7be8df8e1cf106ac68c18faf136917a241f5e89597e271bf127df3d6d3f9f diff --git a/sci-calculators/bc-gh/bc-gh-6.1.1-r1.ebuild b/sci-calculators/bc-gh/bc-gh-6.1.1-r1.ebuild deleted file mode 100644 index 8640d2c4096e5..0000000000000 --- a/sci-calculators/bc-gh/bc-gh-6.1.1-r1.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Implementation of POSIX bc with GNU extensions" -HOMEPAGE="https://git.gavinhoward.com/gavin/bc" -SRC_URI="https://github.com/gavinhoward/bc/releases/download/${PV}/bc-${PV}.tar.xz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -S="${WORKDIR}/bc-${PV}" - -src_configure() { - EXECSUFFIX="-gh" PREFIX="${EPREFIX}/usr" ./configure.sh -pGNU -GTl || die -} diff --git a/sci-calculators/bc-gh/bc-gh-6.6.0.ebuild b/sci-calculators/bc-gh/bc-gh-6.6.0.ebuild deleted file mode 100644 index 7b4e6bc4cbf54..0000000000000 --- a/sci-calculators/bc-gh/bc-gh-6.6.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_P="bc-${PV}" -DESCRIPTION="Implementation of POSIX bc with GNU extensions" -HOMEPAGE=" - https://git.gavinhoward.com/gavin/bc/ - https://github.com/gavinhoward/bc/ -" -SRC_URI=" - https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="libedit readline" - -DEPEND=" - !readline? ( - libedit? ( dev-libs/libedit:= ) - ) - readline? ( - sys-libs/readline:= - sys-libs/ncurses:= - ) -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - local myconf=( - # GNU and BSD bc's have slightly different behavior. This bc can act - # like both, changing at runtime with environment variables, but it - # needs defaults, which can be set at compile time. This option sets all - # of the defaults to match the GNU bc/dc since it's common on Linux. - -pGNU - # A lot of test results are generated first by a bc compatible with the - # GNU bc. If there is no GNU bc installed, then those tests should be - # skipped. That's what this option does. Without it, we would have a - # dependency cycle. Those tests are super long, anyway. - -G - # Disables the automatic stripping of binaries. - -T - # Enables installing all locales, which is important for packages. - -l - # Disables some "problematic" tests that need specific options on Linux - # to not trigger the OOM killer because malloc() lies. - -P - ) - if use readline ; then - myconf+=( -r ) - elif use libedit ; then - myconf+=( -e ) - fi - - local -x EXECSUFFIX="-gh" - local -x PREFIX="${EPREFIX}/usr" - ./configure.sh "${myconf[@]}" || die -} - -src_test() { - # This is to fix a bug encountered on Arch. It is to ensure we don't get - # segfaults on `make check` when the error messages change because the error - # messages are passed to printf(); they have format specifiers. With these - # env vars, the internal error messages are used, instead of the installed - # locales, which might be different since the new locale files are not - # installed yet. (It is impossible to use uninstalled locales because of the - # poor design of POSIX locales.) - env LANG=C LC_ALL=C emake check -} diff --git a/sci-calculators/bc-gh/bc-gh-6.6.1.ebuild b/sci-calculators/bc-gh/bc-gh-6.7.0.ebuild similarity index 100% rename from sci-calculators/bc-gh/bc-gh-6.6.1.ebuild rename to sci-calculators/bc-gh/bc-gh-6.7.0.ebuild diff --git a/sci-libs/stellarsolver/Manifest b/sci-libs/stellarsolver/Manifest index f84b5d7e357ce..5b8e51985b498 100644 --- a/sci-libs/stellarsolver/Manifest +++ b/sci-libs/stellarsolver/Manifest @@ -1,2 +1 @@ -DIST stellarsolver-2.4.tar.gz 23402982 BLAKE2B 6eb9dafdf2a209afba10c09f7e7c0f6832a4399cd67c6ed3e4eb87ba98f2163ee8cbb342490314246c77d13581d1c0547817b6ab3c292685f3c496fa305f320d SHA512 f397ddafd3bb4774ac89e95673f67c4fef40ea0be842555608d95978ee26949b21b16cc984e00e936eda2ceca316f604b784b44844cf37ad1e44a5ef8d7e75f8 DIST stellarsolver-2.5.tar.gz 23402988 BLAKE2B ec1ab428413104a329128e3e90883884eedf2c031fb4f3f5a8ab7579243a7b7a496579f3127ad0324176cf825d02a417e1538272b931a87090f1373adf0d1239 SHA512 003522ac0b4130e0ca16ccb617743e3716aa2a182ad63abfb901ea0b47c28a745e8ca1e5b7874d17636ff948b1ebc055277557f89a159e425af7d2a64f513fe8 diff --git a/sci-libs/stellarsolver/stellarsolver-2.4.ebuild b/sci-libs/stellarsolver/stellarsolver-2.4.ebuild deleted file mode 100644 index 1473c730ee953..0000000000000 --- a/sci-libs/stellarsolver/stellarsolver-2.4.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Cross-platform Sextractor and Astrometry.net-Based internal astrometric solver" -HOMEPAGE="https://github.com/rlancaste/stellarsolver" -SRC_URI="https://github.com/rlancaste/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-3" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - sci-libs/cfitsio:= - sci-libs/gsl:= - sci-astronomy/wcslib:= -" -DEPEND="${RDEPEND}" diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest index d6758bec7bc48..cf6f7942c9bdf 100644 --- a/sci-libs/symengine/Manifest +++ b/sci-libs/symengine/Manifest @@ -1,2 +1,3 @@ DIST symengine-0.10.1.tar.gz 898206 BLAKE2B 88182a7facaf0d9ac90de8acaf549a3fd3cb65f0ae12e0ba3d9a1ae477d193b312cebfca99e626815789d8746822f0d1e256db6836a1ce265f65951880f486f3 SHA512 e73f62a87d20b676cac66ce82ac93308b688ed2ac18ebdb6884bae1ae66868e1033e33908e797f86a1906f91b975e8607a02e8932db8550a677f6b41373b7934 +DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12 SHA512 dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa diff --git a/sci-libs/symengine/symengine-0.11.1.ebuild b/sci-libs/symengine/symengine-0.11.1.ebuild new file mode 100644 index 0000000000000..7091ded60ca0a --- /dev/null +++ b/sci-libs/symengine/symengine-0.11.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=16 +inherit cmake llvm toolchain-funcs + +DESCRIPTION="Fast symbolic manipulation library, written in C++" +HOMEPAGE="https://github.com/symengine/symengine" +SRC_URI="https://github.com/symengine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +# BUILD_FOR_DISTRIBUTION enables threads by default so do it here +IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/gmp:= + sys-libs/binutils-libs:= + arb? ( sci-mathematics/arb:= ) + boost? ( dev-libs/boost:= ) + ecm? ( sci-mathematics/gmp-ecm ) + flint? ( sci-mathematics/flint:= ) + mpc? ( dev-libs/mpc:= ) + mpfr? ( dev-libs/mpfr:= ) + llvm? ( /dev/null fi diff --git a/sys-apps/dmidecode/Manifest b/sys-apps/dmidecode/Manifest index 7a7bd062f49f9..3cbad40a43716 100644 --- a/sys-apps/dmidecode/Manifest +++ b/sys-apps/dmidecode/Manifest @@ -1,2 +1,3 @@ -DIST dmidecode-3.4.tar.xz 61420 BLAKE2B f9f0429c5128692c2d1d560580552285ea900c1c9ef6f68f0e2133ae1ef05b85a943e882f915d3ef969b7a7e3f3f6bbc4ec391e7bd3d98092976ddbf02421c49 SHA512 62990b6159e5a7c8688d37e44957e7948391d2c6afeabaa4514ba9dad2d08b020297676e2dbbfcb6471efc6fb6f3682750422931a953f78f358bb3dd3745e95b +DIST dmidecode-3.5-80de376231e903d2cbea95e51ffea31860502159.patch 1762 BLAKE2B b3b1d4232ab8089cfd405f5bf88a9e5eab7be244b70c3af663b33836c0e2d7c7bc01affa41e826ff0129b66afd6a066f51a722d8a0ab64c42990a1d1440285c4 SHA512 cb7cc66e608bfd67d1db6ba96e887b06c11526956819ea48c378edbb93af139600b41501330ae936bfbe333de461265b51d680170fb044b29d70fedfeb47f52a +DIST dmidecode-3.5-c76ddda0ba0aa99a55945e3290095c2ec493c892.patch 1933 BLAKE2B e3aff73dc780d3d6b92a9d0de05906a620657664c3b30d40bc10a57e29522e883f671ce7658c0fdea6ee6c2b891639c1639a695f4f2f25dbe091cc93c6951cee SHA512 7caee6762b6676f4e133025cd0e68e7fbd93ae2dea773b2f6180505fda3384f60e0de40ae32322ff50a470b7986dbf6071a86dd770d7bca9df3cc601dbc0e18b DIST dmidecode-3.5.tar.xz 65068 BLAKE2B 07cc4c069dc1cba36160de158c4d0390df9b77b4192f5847df0756f9e097a7fbc751cd7b5b073df7661267ab78ea0d9be2831d70ddda8d1981c628f3cfee8802 SHA512 690c9bea391f6bbfc8cd48e8db408a61d5b551a07a2823c29d03a09607fc2043cc1bea44ee9fd27fd0e7bc0b287bf9de9f22a1a66053f5b1e63d77c03d93e1ae diff --git a/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild b/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild deleted file mode 100644 index 3f52315eea2e9..0000000000000 --- a/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Upstream often give "recommended patches" at https://www.nongnu.org/dmidecode/ -# Check regularly after releases! -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="DMI (Desktop Management Interface) table related utilities" -HOMEPAGE="https://www.nongnu.org/dmidecode/" -SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv x86" -IUSE="selinux" - -RDEPEND="selinux? ( sec-policy/selinux-dmidecode )" - -src_prepare() { - default - - sed -i \ - -e "/^prefix/s:/usr/local:${EPREFIX}/usr:" \ - -e "/^docdir/s:dmidecode:${PF}:" \ - -e '/^PROGRAMS !=/d' \ - Makefile || die -} - -src_compile() { - append-lfs-flags - - emake \ - CFLAGS="${CFLAGS} ${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - CC="$(tc-getCC)" -} - -pkg_postinst() { - if [[ ${CHOST} == *-solaris* ]] ; then - einfo "dmidecode needs root privileges to read /dev/xsvc" - einfo "To make dmidecode useful, either run as root, or chown and setuid the binary." - einfo "Note that /usr/sbin/ptrconf and /usr/sbin/ptrdiag give similar" - einfo "information without requiring root privileges." - fi -} diff --git a/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild b/sys-apps/dmidecode/dmidecode-3.5-r3.ebuild similarity index 75% rename from sys-apps/dmidecode/dmidecode-3.4-r1.ebuild rename to sys-apps/dmidecode/dmidecode-3.5-r3.ebuild index 3f52315eea2e9..250442ecf4bc4 100644 --- a/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild +++ b/sys-apps/dmidecode/dmidecode-3.5-r3.ebuild @@ -10,10 +10,20 @@ inherit flag-o-matic toolchain-funcs DESCRIPTION="DMI (Desktop Management Interface) table related utilities" HOMEPAGE="https://www.nongnu.org/dmidecode/" SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.xz" +PATCHES=() +UPSTREAM_PATCHES=( + c76ddda0ba0aa99a55945e3290095c2ec493c892 + 80de376231e903d2cbea95e51ffea31860502159 +) + +for c in "${UPSTREAM_PATCHES[@]}" ; do + SRC_URI+=" https://git.savannah.gnu.org/cgit/dmidecode.git/patch/?id=${c} -> ${P}-${c}.patch " + PATCHES+=( "${DISTDIR}"/${P}-${c}.patch ) +done LICENSE="GPL-2" SLOT="0" -KEYWORDS="-* ~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv x86" +KEYWORDS="-* ~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" IUSE="selinux" RDEPEND="selinux? ( sec-policy/selinux-dmidecode )" diff --git a/sys-apps/eza/Manifest b/sys-apps/eza/Manifest index 3b8208c9b041a..000f0610097d7 100644 --- a/sys-apps/eza/Manifest +++ b/sys-apps/eza/Manifest @@ -46,11 +46,13 @@ DIST eza-0.11.1.tar.gz 1221586 BLAKE2B e642be77d3402e4b42235cf13767fcef7279bc232 DIST eza-0.12.0.tar.gz 1200971 BLAKE2B ab284c0758515e738fc102ceacd238ef7315627a6c9cb6a712b9ff107ebba7e282768a5ccfd73061aee54838dba194d89ba5b35850f1de78bd3f6aaab65efdb1 SHA512 5ff36af746f3051740ab96cd41fdf51a73a0e9e42f3874b52a684001c529db0bf97514de60bb5742e34984b5ca888a092465c375d4382ca1a84426f17d91fee5 DIST eza-0.13.0.tar.gz 1207456 BLAKE2B bd7ff811ca7734d29ff5611c8e029bd90cb1a8992c58e31934ecca061bfa56e2743e260081d46359d46b20defbcf3f0b9ace26462def6428a41871185997cba9 SHA512 25b6df46f2c3349bd6459a23cf7bc63a78ee1505018428edc5b86a590fa7599a6f8678f9d931cb5bda737c65018bff3ddd5fe698bcac3fe8d6cba62823ca688b DIST eza-0.13.1.tar.gz 1210338 BLAKE2B 5ae9b8274f3f22d72e6480db71b6817ead49bd2c181729f2e3c511f806de498179c4f0ce6eaa2bf023993fa51ea7fbdd82557d5501e4fe1789bd2844f5067dea SHA512 ef2119ad66302f5961a437a28b10de6cc4f105629c78d7cefbf745dd8576d79d3862db400fffe8a89aab67d7bf4f40d7e2ec836dd8ab4bb823e253ed66e98ff0 +DIST eza-0.14.0.tar.gz 1214132 BLAKE2B 89c0cc5055aab6730a66606b9a9ae040ea7d1f1fbcd278c4a2277738ca9a406fbeae33686d32d8f51382684f1fc57c465af61a06773490bb75b3e4f41a1a866c SHA512 7d7d0fa6b1e936bbafcad7bc537c678d30a40f586d8518966bf210985e585986f7a811b279c28e6df1e500653ffbeb05299f6b33366fad84e6545bcf656845d0 DIST fastrand-2.0.0.crate 14402 BLAKE2B 8bf830151ec616dbc25f216265722e39f8a2cd9ae036b0904b73775a30497368aaf9bb7f49890c330024c3d9b8084749c91f601b60b53bc8cef2da8b0aa71322 SHA512 9449dd52e4b722d5747f68f127843c0d1a402765c2b6186b9526f8ae23293cb1f6b50adcbf18a8ea768292642184cb0eb42b1801d20f6815397903f9977f3cbc DIST filetime-0.2.22.crate 15029 BLAKE2B 068f4a84388d04d900bc5518a94895985ecba9c618a47b6483cabc31abd267e37ce69d78c51703ec5745307800d96ac801f37ac9959c60283c3c3d6ccd349c0a SHA512 d40d8baeb57ec85bb9ccf76ff0f898915c4e6cf384020121b53f4a2a1ef2840af5b4c9e8e1ff177034273f4f7a6bf81d2dd7a02cf498b61ea31ceaa30b877067 DIST form_urlencoded-1.0.1.crate 8773 BLAKE2B e2d2224dbd85d053343aea29ef1bd540fb8be12fd600289e9c048e3b74bfb009d0770f8296556309ef756086f22feec4713dfed1006e1101075c8897be5471cc SHA512 3ab371c223561a27ffbd35cf648ef4a9145d47bba9d71900a7c54cfc2f089175e9361f6352331a9a7fa018923b15e7a3553c8f9ff9fae80e1626e641a5faff68 DIST gethostname-0.4.3.crate 9336 BLAKE2B 12be5fdca0b6e3788cf3d67a4a80f283d240611b4fd37b6d1c37eb2503e4a7025b17bbb70adf421ac840d8f952434bdedf4691f31362780a267e21e8c4d3a006 SHA512 8c5dc404132f2ecf9bf82d8b89cbd698b4cb6d43141c47a60b95401da2e8c314347ab0a0ad5fba50cf98f01a621faa68293cb78f48977d3ddfe6e6f21926abf7 DIST git2-0.18.0.crate 210978 BLAKE2B 41fba81bab32d0b31c93f1b579eae61cdb57b7900b8d8b3dd39a601f3ec72820d2106162e89c3e5300442ac450dedf556b2b53c17610dc899ab920cc43c6077d SHA512 de8179c0cb27abb6e870efa27a562728926ae862820a1b71e5c47d2c69e6dc75caf25c0706564a8a5d47c47a2ba0ae7a164d68e88c16260214cad6c672505c70 +DIST git2-0.18.1.crate 211466 BLAKE2B ce5a8175f734bcc2504015271768ff4bda7bd18f615e5ff2618d06f758f041827aa9e58afb8149cc290619cf4e0fbccca460e4d38bf6f3cbf08193a2548c16cc SHA512 3fb535e820365ac5aecc5a1cd3af869ea952ed6741a7890b095ac6f4509fdee7389949da45e4f66188b5e261fb4c47d49ffc1043b4b2b39020ea21e22bc69fa7 DIST glob-0.3.1.crate 18880 BLAKE2B dc89b3a664e810264dd7a01ad892e865ce35b504bfe5dba12d7ea8084da7de84feaa94c2208f1a1eefed90297e552636ad61ccebf6fc8cb4d01f27d605ad0a09 SHA512 29368160138bcb7ea5660f9f30c5711cfca8bc8ba836bbade3fbe8c424e7b4118daf27cffa677962e37e36f025fd2bb5a9c2aea865b0ff155cace455dfbb658b DIST half-1.8.2.crate 41874 BLAKE2B c3c5c01771f05b7af652abb8e5490dde7afd04de130537e67845fe7ed58904e7ad66c7286a4e7deca3641876a6d12c5b6e95883fee2809c8e685d2f79cf96610 SHA512 5eb128e41b8b7f9769a669834b2f8380b115395bf2a2a181732bf6c71234d978dbc4c527fddadaa7bd7fae9add77958b27616bfa1767fd123d3cfb887663292e DIST hashbrown-0.14.0.crate 116103 BLAKE2B 24bab03e8a8cb7623b92282c83bf8acaf0752c696ee1c010249e3ebb3646e7549d8d6d798b02c9d5b621afbebba7320f8a859d9a1af1523dbd46377b857dbb5f SHA512 f0fbdf81517f59a0b67f792a4097f1131d346b2b4cbda93590749cef7f9f1c9029e0e182f58c23b74d3028f7502c30b9593c1eb4da37f95388d74b14582b8959 @@ -148,6 +150,7 @@ DIST unicode-bidi-0.3.5.crate 33423 BLAKE2B 26434df7646ca6fc3b655ac2482c2be70700 DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df DIST unicode-normalization-0.1.17.crate 100345 BLAKE2B 2579748ab87f6d74ab8e845d88c1990e4ef32e46e38f9a1841e3381d257d973f2f8a9da359c8e3f11790a888acf81f548ed3b749a67bb3e95acf3b744dd063f3 SHA512 727b4844a4eb103375dff7d88d620e1fb581cbdf2523f07a5c1673ff333d772d48ffae7658bfe4816a5bb42de5f68a96e15be9341c540a0f746c2990eeccb3d6 DIST unicode-width-0.1.10.crate 18968 BLAKE2B 6174e307fd3ee290d0a5d1d31233baaa5315cdb73f19b8580718e9f9eb04cfd3aeaeb474af1e50c4b9fecc6fc777937dedc527c9dc9ed14ccf42af099e591f31 SHA512 9836a8d489d18ea1ecfe1957ed6d5da7dce825e138cd1848aef093fa8d2eb83fcf01eabb1a2446df4f5ede4e67316e9e81b5d58b59d4e8c5d67870e8fa5dca3b +DIST unicode-width-0.1.11.crate 19187 BLAKE2B 6baf7f3b32eb838925e591792abfe11968206d177facefb89ef51daf44c18f3fef1e41c19a47b88b81be50667af626af2024ccc540b240fb6e1d83fdea57076f SHA512 ee06f4144525424327a17578642565f396802f0eea539b3bebc8d9627376a8bc6c5376d83a6ee577068e99fe75815bd765e6d49fb9ab9b253d00594bb15a5ffe DIST url-2.2.1.crate 65434 BLAKE2B e9180c56afaf9dd781812b3650b28cee14a2330629e708bb8a67144f6c12e3781d07fae68166990bebaae60190a1a88dfa1d087d4982ed04d8cdfa59ae4a0d7e SHA512 f2065e68dd917cc174c222a44127ac10a59d25a87ccce6b88ac1e1e775856fd7d5931d728296db355117f94e71e12404fdd68a283545b543a2e00a659a6997ed DIST urlencoding-2.1.3.crate 6538 BLAKE2B 65777b0990aa6b3d27a47f36114da8622026ac8946b5ffb6e04172b666ec7244a55c250a7fb626472bb2b636eb32ee945599cee5ce7351c3cef2322366db15ff SHA512 035848d9243ed6a4528377b56edd7f8bcb5f824381b420dc8f5c4bfc3f1246655c54eaa7de0e4aaa7138e0b08fd796b9ace140ab919aed2d94f6952b577386ac DIST utf8parse-0.2.1.crate 13435 BLAKE2B a1c111d7ffc60690f2aaa86f034c66ba1abe4e126f1774a4377d41eba3269369862f57515af387ea785d69a8adf46338b5e53761b5ee6f4f4380473f4d9cab0a SHA512 51fba8f1e7eb74b7020fd831e30a67fc8353ac2ee07335c8c3374a5570ac8117f165f6905d4b7f0360095b7b5ed3e739001d02a8cc3c89195baf2cd679136050 diff --git a/sys-apps/eza/eza-0.14.0.ebuild b/sys-apps/eza/eza-0.14.0.ebuild new file mode 100644 index 0000000000000..e3a0279f49409 --- /dev/null +++ b/sys-apps/eza/eza-0.14.0.ebuild @@ -0,0 +1,246 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@1.0.5 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + ansiterm@0.12.2 + anstream@0.5.0 + anstyle-parse@0.2.1 + anstyle-query@1.0.0 + anstyle-wincon@2.1.0 + anstyle@1.0.3 + autocfg@1.1.0 + bitflags@1.3.2 + bitflags@2.4.0 + bumpalo@3.13.0 + byteorder@1.4.3 + cast@0.3.0 + cc@1.0.79 + cfg-if@1.0.0 + chrono@0.4.31 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.4.3 + clap_builder@4.4.2 + clap_lex@0.5.1 + colorchoice@1.0.0 + content_inspector@0.2.4 + core-foundation-sys@0.8.4 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.8 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.15 + crossbeam-utils@0.8.16 + datetime@0.5.2 + dunce@1.0.4 + either@1.9.0 + equivalent@1.0.1 + errno-dragonfly@0.1.2 + errno@0.3.3 + fastrand@2.0.0 + filetime@0.2.22 + form_urlencoded@1.0.1 + git2@0.18.1 + glob@0.3.1 + half@1.8.2 + hashbrown@0.14.0 + hermit-abi@0.3.2 + humantime-serde@1.1.1 + humantime@2.1.0 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.57 + idna@0.2.3 + indexmap@2.0.0 + is-terminal@0.4.9 + itertools@0.10.5 + itoa@1.0.9 + jobserver@0.1.22 + js-sys@0.3.64 + lazy_static@1.4.0 + libc@0.2.148 + libgit2-sys@0.16.1+1.7.1 + libz-sys@1.1.2 + linux-raw-sys@0.4.7 + locale@0.2.2 + log@0.4.20 + matches@0.1.8 + memchr@2.6.3 + memoffset@0.9.0 + natord@1.0.9 + normalize-line-endings@0.3.0 + num-traits@0.2.14 + num_cpus@1.16.0 + number_prefix@0.4.0 + once_cell@1.18.0 + oorandom@11.1.3 + openssl-src@111.26.0+1.1.1u + openssl-sys@0.9.61 + os_pipe@1.1.4 + partition-identity@0.3.0 + percent-encoding@2.3.0 + phf@0.11.2 + phf_generator@0.11.2 + phf_macros@0.11.2 + phf_shared@0.11.2 + pkg-config@0.3.19 + plotters-backend@0.3.5 + plotters-svg@0.3.5 + plotters@0.3.5 + proc-macro2@1.0.66 + proc-mounts@0.3.0 + quote@1.0.33 + rand@0.8.5 + rand_core@0.6.4 + rayon-core@1.11.0 + rayon@1.7.0 + redox_syscall@0.1.57 + redox_syscall@0.3.5 + regex-automata@0.3.8 + regex-syntax@0.7.5 + regex@1.9.5 + rustix@0.38.13 + ryu@1.0.15 + same-file@1.0.6 + scoped_threadpool@0.1.9 + scopeguard@1.2.0 + serde@1.0.188 + serde_derive@1.0.188 + serde_json@1.0.107 + serde_spanned@0.6.3 + shlex@1.2.0 + similar@2.2.1 + siphasher@0.3.11 + snapbox-macros@0.3.5 + snapbox@0.4.12 + syn@2.0.29 + tempfile@3.8.0 + term_grid@0.1.7 + terminal_size@0.3.0 + thiserror-impl@1.0.48 + thiserror@1.0.48 + timeago@0.4.2 + tinytemplate@1.2.1 + tinyvec@1.2.0 + tinyvec_macros@0.1.0 + toml_datetime@0.6.3 + toml_edit@0.19.15 + trycmd@0.14.17 + unicode-bidi@0.3.5 + unicode-ident@1.0.11 + unicode-normalization@0.1.17 + unicode-width@0.1.11 + url@2.2.1 + utf8parse@0.2.1 + uzers@0.11.3 + vcpkg@0.2.12 + wait-timeout@0.2.0 + walkdir@2.4.0 + wasm-bindgen-backend@0.2.87 + wasm-bindgen-macro-support@0.2.87 + wasm-bindgen-macro@0.2.87 + wasm-bindgen-shared@0.2.87 + wasm-bindgen@0.2.87 + web-sys@0.3.64 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-targets@0.48.5 + windows@0.48.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + winnow@0.5.15 + zoneinfo_compiled@0.5.1 +" + +inherit shell-completion cargo + +DESCRIPTION="A modern, maintained replacement for ls" +HOMEPAGE="https://github.com/eza-community/eza" +SRC_URI="https://github.com/eza-community/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+git man" + +DEPEND="git? ( dev-libs/libgit2:= )" +RDEPEND="${DEPEND}" +BDEPEND=" + >=virtual/rust-1.70.0 + man? ( virtual/pandoc ) +" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_prepare() { + default + if use man; then + mkdir -p contrib/man || die "failed to create man directory" + pandoc --standalone -f markdown -t man man/eza.1.md \ + -o contrib/man/eza.1 || die "failed to create man page" + pandoc --standalone -f markdown -t man man/eza_colors.5.md \ + -o contrib/man/eza_colors.5 || die "failed to create colors man page" + pandoc --standalone -f markdown -t man man/eza_colors-explanation.5.md \ + -o contrib/man/eza_colors-explanation.5 || die "failed to create colors-explanation man page" + fi + + # "source" files only, but cargo.eclass will attempt to install them. + rm -r man || die "failed to remove man directory from source" + + # Known failing test, upstream says it could potentially be ignored for know + # bug #914214 + # https://github.com/eza-community/eza/issues/393 + rm tests/cmd/{icons,basic}_all.toml || die + rm tests/cmd/only_dir_{,recursive_}unix.toml || die + rm tests/cmd/recursive_unix.toml || die + rm tests/cmd/only_file_unix.toml || die + + sed -i -e 's/^strip = true$/strip = false/g' Cargo.toml || die "failed to disable stripping" +} + +src_configure() { + local myfeatures=( + $(usev git) + ) + export LIBGIT2_SYS_USE_PKG_CONFIG=1 + export PKG_CONFIG_ALLOW_CROSS=1 + cargo_src_configure --no-default-features +} + +src_install() { + cargo_src_install + + dobashcomp "completions/bash/${PN}" + dozshcomp "completions/zsh/_${PN}" + dofishcomp "completions/fish/${PN}.fish" + + if use man; then + doman contrib/man/* + fi +} + +pkg_postinst() { + if [[ -n ${REPLACING_VERSIONS} ]] \ + && [[ $(ver_cut 2 ${REPLACING_VERSIONS}) -lt 13 ]]; then + elog "Starting with 0.13.0 \$EXA_COLORS using style codes nh and uh" + elog "will need to be updated to use nt and ut" + fi +} diff --git a/sys-apps/gscanbus/files/gscanbus-0.8-incompatible-function-pointer-types.patch b/sys-apps/gscanbus/files/gscanbus-0.8-incompatible-function-pointer-types.patch new file mode 100644 index 0000000000000..d38603c349624 --- /dev/null +++ b/sys-apps/gscanbus/files/gscanbus-0.8-incompatible-function-pointer-types.patch @@ -0,0 +1,30 @@ +Bug: https://bugs.gentoo.org/887001 +--- a/menues.c ++++ b/menues.c +@@ -280,7 +280,7 @@ static void readQuadletApp(gpointer callback_data, guint callback_action, + gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog->dialog)->vbox), + table, TRUE, TRUE, 0); + +- transactionDialogAddOkClose(dialog, readQuadletAppOk); ++ transactionDialogAddOkClose(dialog, (GtkSignalFunc)readQuadletAppOk); + + gtk_widget_show_all(dialog->dialog); + } +@@ -336,7 +336,7 @@ static void writeQuadletApp(gpointer callback_data, guint callback_action, + gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog->dialog)->vbox), + table, TRUE, TRUE, 0); + +- transactionDialogAddOkClose(dialog, writeQuadletAppOk); ++ transactionDialogAddOkClose(dialog, (GtkSignalFunc)writeQuadletAppOk); + + gtk_widget_show_all(dialog->dialog); + } +@@ -417,7 +417,7 @@ static void readBlockApp(gpointer callback_data, guint callback_action, + table, TRUE, TRUE, 0); + + //dialogAddOkClose(dialog->dialog, readBlockAppOk); +- transactionDialogAddOkClose(dialog, readBlockAppOk); ++ transactionDialogAddOkClose(dialog, (GtkSignalFunc)readBlockAppOk); + + gtk_widget_show_all(dialog->dialog); + } diff --git a/sys-apps/gscanbus/gscanbus-0.8-r1.ebuild b/sys-apps/gscanbus/gscanbus-0.8-r1.ebuild new file mode 100644 index 0000000000000..d11c19a7efae4 --- /dev/null +++ b/sys-apps/gscanbus/gscanbus-0.8-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Bus scanning, testing and topology visualizing tool for Linux IEEE1394 subsystem" +HOMEPAGE="https://sourceforge.net/projects/gscanbus.berlios/" +SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + sys-libs/libraw1394 + x11-libs/gtk+:2" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch + "${FILESDIR}"/${P}-incompatible-function-pointer-types.patch + +) diff --git a/sys-apps/hdparm/files/hdparm-9.65-graceful-lfs.patch b/sys-apps/hdparm/files/hdparm-9.65-graceful-lfs.patch new file mode 100644 index 0000000000000..bb8df3735debe --- /dev/null +++ b/sys-apps/hdparm/files/hdparm-9.65-graceful-lfs.patch @@ -0,0 +1,16 @@ +# Guard _LARGEFILE64_SOURCE define to avoid warning with append-lfs-flags +# https://bugs.gentoo.org/914505 +diff --git a/hdparm.c b/hdparm.c +index eb9796b..a3204f9 100644 +--- a/hdparm.c ++++ b/hdparm.c +@@ -4,7 +4,9 @@ + */ + #define HDPARM_VERSION "v9.65" + ++#ifndef _LARGEFILE64_SOURCE + #define _LARGEFILE64_SOURCE /*for lseek64*/ ++#endif + #define _BSD_SOURCE /* for strtoll() */ + #include + #include diff --git a/sys-apps/hdparm/hdparm-9.65-r2.ebuild b/sys-apps/hdparm/hdparm-9.65-r2.ebuild new file mode 100644 index 0000000000000..9f39facd34416 --- /dev/null +++ b/sys-apps/hdparm/hdparm-9.65-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Utility to change hard drive performance parameters" +HOMEPAGE="https://sourceforge.net/projects/hdparm/" +SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" + +# GPL-2 only +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static" + +PATCHES=( + "${FILESDIR}"/${PN}-9.60-build.patch + "${FILESDIR}"/${P}-graceful-lfs.patch +) + +src_prepare() { + default + + use static && append-ldflags -static +} + +src_configure() { + append-lfs-flags +} + +src_compile() { + emake STRIP="true" CC="$(tc-getCC)" +} + +src_install() { + into / + dosbin hdparm contrib/idectl + + newinitd "${FILESDIR}"/hdparm-init-8 hdparm + newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm + + doman hdparm.8 + dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig + + docinto wiper + dodoc wiper/{README.txt,wiper.sh} + docompress -x /usr/share/doc/${PF}/wiper/wiper.sh +} diff --git a/sys-apps/hw-probe/Manifest b/sys-apps/hw-probe/Manifest index 7202da3989680..add35bbc8d0e7 100644 --- a/sys-apps/hw-probe/Manifest +++ b/sys-apps/hw-probe/Manifest @@ -1 +1,2 @@ DIST hw-probe-1.6.5.tar.gz 163190 BLAKE2B 1d2ceb152d387018f427cd623897f8c4cc8828a6952c54bb9caa673797ac347b64d9daffcddeca16e8274e5ad42c2cff22efe3330209da1eee5476636167f0ad SHA512 68d6709ca4efe82e0e5de3b580c68f76fa31384af0c53645b6609cee14b944a410e58b12ac13f879d8d86220c1088cfaad17dc6edd24cf27700e449add6f6488 +DIST hw-probe-1.6.5_p20230812.tar.gz 166015 BLAKE2B 1c5e3ab58aa28e1d5a757d75e8b462b7eaf3da1eb4baca308c681000b95c333e8ea3141b9af2a28e8453a449ea38cca9f5239996e216c0c7dfc4414fc8781b8a SHA512 633cda1e1d6a3104587b6ebf4faad98526e0d6daec5e9a26b319a4b5b76baeac063277eca9e81e7903b28cdebbb3db095f7526d1f46511f885e37b31e1032b7d diff --git a/sys-apps/hw-probe/hw-probe-1.6.5_p20230812.ebuild b/sys-apps/hw-probe/hw-probe-1.6.5_p20230812.ebuild new file mode 100644 index 0000000000000..c04d163ed62c4 --- /dev/null +++ b/sys-apps/hw-probe/hw-probe-1.6.5_p20230812.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EGIT_COMMIT="b895b77b7e03f4b1b0a5fb177118373ee0328a25" + +inherit optfeature readme.gentoo-r1 + +DESCRIPTION="A tool to probe for hardware, check it's operability and find drivers" +HOMEPAGE="https://github.com/linuxhw/hw-probe/" +SRC_URI="https://github.com/linuxhw/hw-probe/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-lang/perl + dev-perl/Digest-SHA1 + net-misc/curl + sys-apps/dmidecode + sys-apps/edid-decode + sys-apps/hwinfo + sys-apps/pciutils + sys-apps/smartmontools + sys-apps/usbutils + virtual/perl-Data-Dumper +" + +src_compile() { + :; +} + +src_install() { + default + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + + optfeature "showing Machine Check Exceptions." app-admin/mcelog + optfeature "showing additional I/O statistics." app-admin/sysstat + optfeature "showing display data channel (ddc) information." app-misc/ddcutil + optfeature "showing smart card (reader) information." dev-libs/opensc + optfeature "showing Vulkan GPU hardware information." dev-util/vulkan-tools + optfeature "showing information of attached scanners." media-gfx/sane-backends + optfeature "showing GPU information provided by MESA." media-libs/mesa + optfeature "showing zeroconf statistics." net-dns/avahi + optfeature "showing HP printer statistics." net-print/hplip + optfeature "showing status about rfkill switches on communication devices." net-wireless/rfkill + optfeature "showing additional CPU capabilities." sys-apps/cpuid + optfeature "showing hard disk (HDD, SSD, ..) capabilities." sys-apps/hdparm + optfeature "showing available I2C sensors." sys-apps/i2c-tools + optfeature "showing additional hardware and system information detected by inxi." sys-apps/inxi + optfeature "showing information about tested memory for faults." sys-apps/memtester + optfeature "showing 'Plug & Play' devices." sys-apps/pnputils + optfeature "showing systemd boot process information." sys-apps/systemd + optfeature "showing ACPI statistics and tables." sys-power/iasl + optfeature "showing information about NUMA." sys-process/numactl + optfeature "showing additional GPU information provided by MESA progs." x11-apps/mesa-progs + optfeature "showing available Xinput devices." x11-apps/xinput +} diff --git a/sys-apps/hwdata/Manifest b/sys-apps/hwdata/Manifest index 59ca225c73a71..797b19a03c091 100644 --- a/sys-apps/hwdata/Manifest +++ b/sys-apps/hwdata/Manifest @@ -2,3 +2,4 @@ DIST hwdata-0.371.tar.gz 2340297 BLAKE2B bb92b6d4f66879eacc1efae13ff1a5fe5801461 DIST hwdata-0.372.tar.gz 2349386 BLAKE2B 0b3c8a7d23cd999090839d046ce6228098bb4976d0be56a07b6b32bdd968e11933b0d648cf4d596ed9ca09f5b754083c62bf0aba116835de6aed72f228cacf1b SHA512 3a7fda4c1f06dff62892dd0d21095d7603a2ec16e67667215b2f59640a38845a79b2dc2a19bcc40656fd472e4216393ac08e190939ec05ef6d4af3e7e6c9141f DIST hwdata-0.373.tar.gz 2356072 BLAKE2B 22be63c94f1ba0fe5e31f1a19d8bf60a302bd6a2a7a15fbeaba0c3399490f86e067c5c84e1bbf5c4cc55a1ec588282d41c5ca9f3cf9e774ae559cac1b95d5812 SHA512 cb940a1cad1b7b6cef0e4bca980b0e6f0af06bf157069645645bb4403d98fbb26bbeef580c984b73091375db09e96c8b672b52d5cf27d75581ff8f0e935d8294 DIST hwdata-0.374.tar.gz 2363130 BLAKE2B 696a0281307bb04f2aa9d946b97fdfffd918a3ee3ccc3479842779a4158e06733d128ca5feedf757fa15abb21bdc502cf3d81a775056aed17a95ddefade38df9 SHA512 c4dad796a170fb3b047ac4fe4a9fb32bc58858cdab7ca424d64e5ea00968af45d95af672a147faa2936436a904eae314b6143de2f75c0649ae9985dc4cad4301 +DIST hwdata-0.375.tar.gz 2367434 BLAKE2B 9fe350d9ba0c38d1b765cb38d3e6f3a969c0d9847f0453b0e6709e3a992ae2daffd52871ea730da6bcf297785fa44dc7c745ffa4579b85ba08df7a98144b6b32 SHA512 6d3a796be26d5e50991354e6859d69145c09003fd04dafce93ea20e72909ce2f0572004c0270832ab99fed780497234c526f3fbf3b154162f449373be7039a83 diff --git a/sys-apps/hwdata/hwdata-0.375.ebuild b/sys-apps/hwdata/hwdata-0.375.ebuild new file mode 100644 index 0000000000000..afddd20d2fd15 --- /dev/null +++ b/sys-apps/hwdata/hwdata-0.375.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo + +DESCRIPTION="Hardware identification and configuration data" +HOMEPAGE="https://github.com/vcrhonek/hwdata" +SRC_URI="https://github.com/vcrhonek/hwdata/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RESTRICT="test" + +src_configure() { + # configure is not compatible with econf + local conf=( + ./configure + --prefix="${EPREFIX}/usr" + --libdir="${EPREFIX}/lib" + --datadir="${EPREFIX}/usr/share" + ) + + edo "${conf[@]}" +} diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest index a045901b98886..7f4845b30d162 100644 --- a/sys-apps/hwinfo/Manifest +++ b/sys-apps/hwinfo/Manifest @@ -1,2 +1,3 @@ DIST hwinfo-22.2-1.2.src.rpm 1063515 BLAKE2B 4baede16a2528421df77de2d6547f7301db8545de712327dc96a435819d2a35bac7d7ddd3bac5b0758d947ceb0360cb09d640154f392a844e8e201339781f4ed SHA512 76384ca7bce779ca92cd17f5312546ca6ff1ffd93be9d35253e65d1efda03bb8d596e89776024a51f9874c57cf2852938fb85c1f5b745d898e0bafe10cdbbdf9 DIST hwinfo-23.1-1.1.src.rpm 1064746 BLAKE2B 59b3bac5dd8188abfec76a6f86bf0f9cbab5922900681d987ce3728911065331f730314df23d53dbd08992b4d67d7431b6f9566dcefa574b09956e41ccc8dfb0 SHA512 51622e3fff885e83b4f143e1f029915fb4a29b2a4b35d618945dfa8638a36e7e51c0b2edf51ad091a17a2599fd850cbc90c4d744889fcf375a9a7c5683966bdd +DIST hwinfo-23.2.tar.gz 1237565 BLAKE2B 86c085c0b58b967f94ded3db4975cd824f69908b3b7fc1d27e2d51cb0e570969a7af2274f55d6eb1d871e1422016deb8007c76199be441ad94486ab18f9bff7a SHA512 86096455cc58ecdd3be4306d61beaea02da39b8ee3b2a99966d4aaf022e276616329ca82550d7903e2aed9b1723a99b2305617fb85df21c1d2024ce46b447af3 diff --git a/sys-apps/hwinfo/hwinfo-23.2.ebuild b/sys-apps/hwinfo/hwinfo-23.2.ebuild new file mode 100644 index 0000000000000..ef462e9dc064a --- /dev/null +++ b/sys-apps/hwinfo/hwinfo-23.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Hardware detection tool used in SuSE Linux" +HOMEPAGE="https://github.com/openSUSE/hwinfo/" +SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="amd64? ( dev-libs/libx86emu ) + x86? ( dev-libs/libx86emu )" +DEPEND="${RDEPEND} + >=sys-kernel/linux-headers-2.6.17" +BDEPEND="sys-devel/flex" + +src_prepare() { + default + # Respect AR variable. + sed -i \ + -e 's:ar r:$(AR) r:' \ + src/{,isdn,ids,smp,hd}/Makefile || die + + # Respect LDFLAGS. + sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' src/ids/Makefile || die + + # Respect MAKE variable. Skip forced -pipe and -g. + sed -i \ + -e 's:make:$(MAKE):' \ + -e 's:-pipe -g::' \ + Makefile{,.common} || die + rm -f git2log || die +} + +src_compile() { + emake -j1 AR="$(tc-getAR)" CC="$(tc-getCC)" HWINFO_VERSION="${PV}" \ + RPM_OPT_FLAGS="${CFLAGS}" LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install + keepdir /var/lib/hardware/udi + + dodoc README* + docinto examples + dodoc doc/example*.c + doman doc/*.{1,8} +} diff --git a/sys-apps/openrc/metadata.xml b/sys-apps/openrc/metadata.xml index 5595214c4a763..7a15688d5ece7 100644 --- a/sys-apps/openrc/metadata.xml +++ b/sys-apps/openrc/metadata.xml @@ -11,6 +11,7 @@ enable Gentoo's network stack (net.* scripts) enable the new network stack (experimental) + install s6-linux-init Install sysvinit compatibility scripts for halt, init, poweroff, reboot and shutdown control the dependency on sysvinit (experimental) diff --git a/sys-apps/openrc/openrc-0.50-r1.ebuild b/sys-apps/openrc/openrc-0.50-r1.ebuild new file mode 100644 index 0000000000000..4c97ca0d3b271 --- /dev/null +++ b/sys-apps/openrc/openrc-0.50-r1.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson pam + +DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" +HOMEPAGE="https://github.com/openrc/openrc/" + +if [[ ${PV} =~ ^9{4,}$ ]]; then + EGIT_REPO_URI="https://github.com/OpenRC/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/OpenRC/openrc/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="audit bash debug ncurses pam newnet +netifrc selinux s6 +sysvinit sysv-utils unicode" + +COMMON_DEPEND=" + ncurses? ( sys-libs/ncurses:0= ) + pam? ( sys-libs/pam ) + audit? ( sys-process/audit ) + sys-process/psmisc + selinux? ( + sys-apps/policycoreutils + >=sys-libs/libselinux-2.6 + )" +DEPEND="${COMMON_DEPEND} + virtual/os-headers + ncurses? ( virtual/pkgconfig )" +RDEPEND="${COMMON_DEPEND} + bash? ( app-shells/bash ) + sysv-utils? ( + !sys-apps/systemd[sysv-utils(-)] + !sys-apps/sysvinit + ) + !sysv-utils? ( + sysvinit? ( >=sys-apps/sysvinit-2.86-r6[selinux?] ) + s6? ( sys-apps/s6-linux-init[sysv-utils(-)] ) + ) + virtual/tmpfiles + selinux? ( + >=sec-policy/selinux-base-policy-2.20170204-r4 + >=sec-policy/selinux-openrc-2.20170204-r4 + ) +" + +PDEPEND="netifrc? ( net-misc/netifrc )" + +src_configure() { + local emesonargs=( + $(meson_feature audit) + "-Dbranding=\"Gentoo Linux\"" + $(meson_use newnet) + -Dos=Linux + $(meson_use pam) + $(meson_feature selinux) + -Drootprefix="${EPREFIX}" + -Dshell=$(usex bash /bin/bash /bin/sh) + $(meson_use sysv-utils sysvinit) + -Dtermcap=$(usev ncurses) + ) + # export DEBUG=$(usev debug) + meson_src_configure +} + +# set_config