From bcb1bf8297438e33e98fec6991ba68dec0f4dd7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 10 Apr 2024 12:32:09 +0100 Subject: gentoo auto-resync : 10:04:2024 - 12:32:09 --- app-admin/Manifest.gz | Bin 32016 -> 32024 bytes app-admin/ansible-lint/Manifest | 4 +- app-admin/ansible-lint/ansible-lint-24.2.1.ebuild | 58 -------------- app-admin/ansible-lint/ansible-lint-24.2.2.ebuild | 58 ++++++++++++++ app-admin/awscli/Manifest | 2 + app-admin/awscli/awscli-1.32.81.ebuild | 90 ++++++++++++++++++++++ app-admin/hcloud/Manifest | 2 + app-admin/hcloud/hcloud-1.43.0.ebuild | 31 ++++++++ 8 files changed, 185 insertions(+), 60 deletions(-) delete mode 100644 app-admin/ansible-lint/ansible-lint-24.2.1.ebuild create mode 100644 app-admin/ansible-lint/ansible-lint-24.2.2.ebuild create mode 100644 app-admin/awscli/awscli-1.32.81.ebuild create mode 100644 app-admin/hcloud/hcloud-1.43.0.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index 2df6fbfa42ac..c049c9b7d98d 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest index 977b01ba37d6..1bb1667ebfd8 100644 --- a/app-admin/ansible-lint/Manifest +++ b/app-admin/ansible-lint/Manifest @@ -1,5 +1,5 @@ DIST ansible-lint-24.2.0.tar.gz 513719 BLAKE2B 54e05acf982cf13cb2142a10bf04250171f07936df14933525dfae68b312a0d92ceb30867603dc7ce686206b7de010f6ca4eb9ab532ca000fc3c15c77c354c81 SHA512 3276d28c7b85a6087a0142cc56442efddf9ff3e81155455c74686015a2ab45ece64847b0243373ad01145e67599d8449866c122efe8ae404cd819011e41c5235 -DIST ansible-lint-24.2.1.tar.gz 515269 BLAKE2B b6467058665bb46813e910a0245e688dd6cb1b9010b2297c23dc1ea28861b9a20310b54ee761346a1136b6d166f96df79bb6d21019b3054033044181403b0c2b SHA512 de8b8ff3409b95cdadf1beaa4eb5fcd15a06142589b4ce53e0c6b12a9e84613337ef6173bfbeabd3d874ddccb114337e766371c7d3ba8bec831563a8fc232311 +DIST ansible-lint-24.2.2.tar.gz 515822 BLAKE2B e9d8e689dfe4e4efbd4dad44ff3567f50412400ed979f2d60150f09f17c5f63f2441f25a33ecdf0112024ced07e62ac16b8a2dbc1c01d62855ec785fc75d1b9a SHA512 3de6b14e4b64ba577abcb67920a45dbf45fedb84e21091cd6a29e3c52a7a91555a152ee3e265624aafbf9dddba96d04241c2598a18f2103ce2cae48706142446 EBUILD ansible-lint-24.2.0.ebuild 1734 BLAKE2B cb94d883bce5f2d8bd26dc3ef73d3a742c4457cfcccf8dfa1c51c581af41e07269d914ea93c2a428ff66ac2b0f9ac77e89f8bab58f93eb959b94cbc476771566 SHA512 14c01aa109fbef294e21b29c92d7eef24a2fa54a549a266f562869bc74ca36c2221e211f1abe3382130d7308defef35b32a893e344cb2ea110b3eb59d7c6f43a -EBUILD ansible-lint-24.2.1.ebuild 1735 BLAKE2B 109574e3d7bc7b9a5619437428dc98a3aefd3d3014f86a01c637f04a7065d5ea889110045d3949edeb72dccbe1e2e817918de6842b378f500570234ef41e8b50 SHA512 009ec5d5d3dd434f103fe9e25ff1ef54f7cda08146260873cb42da04cecd0c7c0d20fc7f698414c92e621bcf24a4e244130ad2842429ba01a5760fe4abf1b1ca +EBUILD ansible-lint-24.2.2.ebuild 1735 BLAKE2B 109574e3d7bc7b9a5619437428dc98a3aefd3d3014f86a01c637f04a7065d5ea889110045d3949edeb72dccbe1e2e817918de6842b378f500570234ef41e8b50 SHA512 009ec5d5d3dd434f103fe9e25ff1ef54f7cda08146260873cb42da04cecd0c7c0d20fc7f698414c92e621bcf24a4e244130ad2842429ba01a5760fe4abf1b1ca MISC metadata.xml 449 BLAKE2B e6d058111e04c7c54f3fcbeedf38db0e257d07d95297bf6b330cbee8d6749516684c298bd3f36f81c6b399d1046cdc2e53090d1d713f0c9ed11ffda13ee86a16 SHA512 59b9d5d3c30f6cd3b0c4c7cb8f7e915ccecdd1993f96ff2f0978d7ddbee4d03ff69be63bdb55b6f8f614e2348811b131a146b08499200ec749b3bd1d47d3c7ee diff --git a/app-admin/ansible-lint/ansible-lint-24.2.1.ebuild b/app-admin/ansible-lint/ansible-lint-24.2.1.ebuild deleted file mode 100644 index e8e336e27738..000000000000 --- a/app-admin/ansible-lint/ansible-lint-24.2.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2024 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="Checks ansible playbooks for practices and behaviour that can be improved" -HOMEPAGE="https://github.com/ansible/ansible-lint" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -# Upstream has stated explicitly that all tests require Internet access -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND=" - >=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}] - >=dev-python/ansible-compat-4.1.11[${PYTHON_USEDEP}] - >=dev-python/black-22.8.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.17.0[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.10.3[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}] - >=dev-python/rich-12.0.0[${PYTHON_USEDEP}] - >=dev-python/ruamel-yaml-0.18.5[${PYTHON_USEDEP}] - >=dev-python/wcmatch-8.3.2[${PYTHON_USEDEP}] - >=dev-util/yamllint-1.30.0[${PYTHON_USEDEP}] - dev-vcs/git" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/jmespath[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-plus-0.6[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}] - )" - -# test_call_from_outside_venv doesn't play nicely with the sandbox -# irrespective of whether Internet access is allowed or not -EPYTEST_DESELECT=( - test/test_main.py::test_call_from_outside_venv -) - -distutils_enable_tests pytest - -# Test suite fails to start without this -python_test() { - epytest test -} diff --git a/app-admin/ansible-lint/ansible-lint-24.2.2.ebuild b/app-admin/ansible-lint/ansible-lint-24.2.2.ebuild new file mode 100644 index 000000000000..e8e336e27738 --- /dev/null +++ b/app-admin/ansible-lint/ansible-lint-24.2.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 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="Checks ansible playbooks for practices and behaviour that can be improved" +HOMEPAGE="https://github.com/ansible/ansible-lint" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +# Upstream has stated explicitly that all tests require Internet access +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}] + >=dev-python/ansible-compat-4.1.11[${PYTHON_USEDEP}] + >=dev-python/black-22.8.0[${PYTHON_USEDEP}] + >=dev-python/filelock-3.8.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.0[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}] + >=dev-python/rich-12.0.0[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.18.5[${PYTHON_USEDEP}] + >=dev-python/wcmatch-8.3.2[${PYTHON_USEDEP}] + >=dev-util/yamllint-1.30.0[${PYTHON_USEDEP}] + dev-vcs/git" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-plus-0.6[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}] + )" + +# test_call_from_outside_venv doesn't play nicely with the sandbox +# irrespective of whether Internet access is allowed or not +EPYTEST_DESELECT=( + test/test_main.py::test_call_from_outside_venv +) + +distutils_enable_tests pytest + +# Test suite fails to start without this +python_test() { + epytest test +} diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 94d9aa911a9b..47adb13161c5 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -2,8 +2,10 @@ DIST aws-cli-1.32.69.gh.tar.gz 2675479 BLAKE2B 7a8ec84c029662145aaf49afd1b9194a7 DIST aws-cli-1.32.74.gh.tar.gz 2682208 BLAKE2B aba8be6e597a6d07197bd06d51f167f7a2dbed317c630572585cd006f6edfceac054726a20afe20faf6de381cbb75e352a7d6ab9e232b6e669fd59ca5888e122 SHA512 2f19b7c383c91528f15b93b00df285bdf32685c08e41e4f8f3a62cbbd5cff2615ca98c5eb925a5a2a2d13b452a0a08658749f4f7a48045a537ee7ec7e23cd663 DIST aws-cli-1.32.79.gh.tar.gz 2685785 BLAKE2B 3bbfad927d9d882e6b502f47919ce963df498c614a92730c5d6b1fb4efd7a8bd805a5c8cc82c705b97d8ee0ddbee4d6ddfa9cb46661fe7e9337add53bda3d9a1 SHA512 e0e369b6a5fca4d72365e54ef99c862e2d6f68caed61ac431516777e82ec8b292cf50516f379d8e94787b2a0ee58ad6e68d0951624f1ed742079295c4d2987ce DIST aws-cli-1.32.80.gh.tar.gz 2685662 BLAKE2B 9dd199937159943c419d4df98badee5253c9910c2d392fd843ff63d8edca6f71309c97221b623c7f0e2140a615cf804f69048024d6fbefea75d0da78cdafdfc1 SHA512 f30fc5a9f1890ef3d313e527d886588720d7ba039a44975c7600ea0bb326b542eb3897341cc832d68e759c95bbb2de8f8cc0ecfbf9c1c1b7e4d00dd9c7fd3213 +DIST aws-cli-1.32.81.gh.tar.gz 2687946 BLAKE2B 09b672ceb60ba98c49bc7d747ce3639e40e0add35f583de7e42cea5e885fd833bd91c6eb4c94630c7151c914cebe28ee1327472a736d46ae3594e3a558db4e81 SHA512 f94f7147a946bfeb7414d08c7144ce6b452eb68bc9d42c686724824c5e8d77b012a5496778bfdf7cb15114065f3227e456df22327eeda505bb49c6da46934c34 EBUILD awscli-1.32.69.ebuild 3022 BLAKE2B eca1e9b920babafc0c226e1d3c0b23baa63965cffceacc71118d2e4a1302945d10294223300a94f9dec4b39e52c7bd8f44e35cbf7cf30c117f9d86fe93450326 SHA512 11de7ee4880fe2bd192c6c15081b598d4c9d2f18b28064908a855cb01283408542c8981841c531d546b6de9e2b932d2a23e2fe1a9e90030566af6b966c30fd97 EBUILD awscli-1.32.74.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809 EBUILD awscli-1.32.79.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809 EBUILD awscli-1.32.80.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809 +EBUILD awscli-1.32.81.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.32.81.ebuild b/app-admin/awscli/awscli-1.32.81.ebuild new file mode 100644 index 000000000000..4a677affdbc4 --- /dev/null +++ b/app-admin/awscli/awscli-1.32.81.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 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 + +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.10.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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 serial_tests=( + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success + tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success} + tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_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/customizations/test_sessionmanager.py + tests/unit/test_compat.py::TestIgnoreUserSignals + tests/unit/test_help.py + tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + EPYTEST_XDIST= epytest "${serial_tests[@]}" + + local EPYTEST_DESELECT=( "${serial_tests[@]}" ) + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} +} + +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/hcloud/Manifest b/app-admin/hcloud/Manifest index 9a3178e50366..e5500d4dbf35 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,3 +1,5 @@ DIST hcloud-1.42.0.tar.xz 1876444 BLAKE2B e7ed2e01a7c6bb106a5c46e21e26d8b6bdd7636b64c7b354674364c3db8c1776f09f199ea022e2f311e873490b737490ea22045aa00147c6066ff0a7fb96d563 SHA512 dab916666ec17b9675ba0a559170859779289c36739ac4c3d72445c87fb440df475e55e52ed628fd8d1a52421c6df4d47b0b51713e476753a66da74b3a7bf11c +DIST hcloud-1.43.0.tar.xz 1887388 BLAKE2B 2c2c931e51ab8a801b0548f2599b7162e46171412633e03af597d6750d210af3c19fb88da91d2890bf11fa642a0844646d51eb8b3d02d8f1f74db37a0cd56500 SHA512 4ee2d53de6c03676355f8f30edf97e3a0f2d4902f18dd9fb2498d23eb09428188809a2eb081c3c84c9ba595039de15bb7589ba6c8c1387cea3a76110a45332b1 EBUILD hcloud-1.42.0.ebuild 640 BLAKE2B df3d123728bc429f87a4165ffc0bf6cd204c8403337b3f88c4f2a2535b0bf7e5132a9c94087997f27a2be0da0be39b9604fd7952d530e2b76241f6de59043f7c SHA512 4dbaae7363e29d2ba2df336291701023824d7d9aebe7c2efbacb82ad28e461111851240adfd3d5a61346f8117e0add33f3fa2b08c248d18f171f63741b958fa3 +EBUILD hcloud-1.43.0.ebuild 641 BLAKE2B b30b331e125f28391fce15a7deb07360d6a11397f30a94072599f62e94e2cf8ddfad4bef392b6df8a87eac7ada20dfaa83776caa355713d0fcc6561aa33d2478 SHA512 6ccef37b706b665504638b902b4fa1362c97093adf32a7650250725a434526da23efc77704a73ca8e6806a4732093a19ad4ca00e36c143d32fd6e601f79a04d9 MISC metadata.xml 338 BLAKE2B 6ba2cbe509581ac35dabd93abe166f960d69d1f14336779848483386d28e22dd06e5d196061312827b7a945369f05a466417a1636b607e138515957a75db6f84 SHA512 cc69ce0ab7ba3a9af94ef1918738074cdd725bef2ff70d6c19e46d07bb9514d05ef6415c7ba5b372e7a98902a8440cdb9f7b14a848c3ff2f054863356971ddde diff --git a/app-admin/hcloud/hcloud-1.43.0.ebuild b/app-admin/hcloud/hcloud-1.43.0.ebuild new file mode 100644 index 000000000000..3b520d19ac0d --- /dev/null +++ b/app-admin/hcloud/hcloud-1.43.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A command-line interface for Hetzner Cloud" +HOMEPAGE="https://github.com/hetznercloud/cli" +SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.Version=${PV}-gentoo" ./cmd/${PN} +} + +src_test() { + # For upstream a simple test is run 'hcloud version' + ./hcloud version + if [[ $? -ne 0 ]] + then + die "Test failed" + fi +} + +src_install() { + dobin ${PN} +} -- cgit v1.2.3