Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-03-26 06:50:14 +00:00
41 changed files with 1185 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
DIST aws-cli-1.38.13.gh.tar.gz 2932854 BLAKE2B 197168721c41d0d79342dbf03892dd48fab2dd64bf97abffea70c7ca2a06fb79211a7a5284f680ca537a1b9330537ca0d78c5d86f6add6954db59e72a82f59e0 SHA512 d6d35aa2c6163e8d2fffd81b54f029181128894a75b47a62ab84af3e96b031a930b66568f83b3a21b8cc50c75644a223641ed9166a4814ff824f946136c374a0
DIST aws-cli-1.38.18.gh.tar.gz 2942596 BLAKE2B 263926ed648f37eca2b1376ad26ac25c5c6d82182c5a3ce0c3511c7b6ba2958db5e6a09c5d4e7fcc702515240b30e4cec952f9f3d47f7d7dcfe5b1078fd3217e SHA512 4cc5eb7e7e1f5c81b7cfe96c09b5996fb8d2148d7b8352a9bbafb9d162fb6b60b58450c7dc0fb717e779928c2d708fa4538cb4e2c6cf6fb33d5e52952d18472f
DIST aws-cli-1.38.19.gh.tar.gz 2942966 BLAKE2B 4fe7d22ce2cbb845b396a15f66c05057d51bb79184050c67ff6517135d3973f66df7b0967f38ff5add5e1c433dfb7841eeb0370e35b026009be8a0f37ae147b1 SHA512 715e6073c20aaecff40f89859485dd4f81f67aa20985893345fb117cd419cc05eae2307fc0166acebe17ea0f05836d36366a6145341d3eda1411ea32da79a73a
DIST aws-cli-1.38.20.gh.tar.gz 2943124 BLAKE2B 049e6791cafba4731b3a5eb7668ce56024cdc6445c9362672e0dc80d7d013644d28780efac975e7fa103d043bb959bb9d2fc3aa929a436d32eda0625cbd640ad SHA512 dbc8a194b111be5f82973aff8331fce2bb1c768751c4ac2ac9616c1f8795ec1c17d94c608f35654f1a511253c5c112989550ac34d1d027e1194308015d0f7ea0
DIST aws-cli-1.38.9.gh.tar.gz 2921470 BLAKE2B fb6b616095702417335be03a763a4434759c79fa1a31ec7c8c84cb59567461167b0b3c5b80baa950cd0b7298985b298c825f669b82d33ef5bd35adefe947729c SHA512 23fd65c3a0b0c8bb0cd64d52db924cddc8663671c0d80e45c9af1afb2c8558e42eed7a88d3fba2351fa1cf2d0dda1ca1b51a3baaba04b5249bd5d1551059b100

View File

@@ -0,0 +1,93 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 shell-completion
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-1).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(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.11.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[@]}"
# flaky (some ordering?)
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
)
# integration tests require AWS credentials and Internet access
epytest tests/{functional,unit}
}
python_install_all() {
newbashcomp bin/aws_bash_completer aws
newzshcomp 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
}

View File

@@ -1,4 +1,5 @@
DIST boto3-1.37.13.gh.tar.gz 913692 BLAKE2B cc8b3dbe1f30d5969b8d0abb64b0ff6b7b6c72596c23dee90ad3ca08a0ac09b0b509dfb038ca4434461dd7375f155e5afaf541ed4224610f14793d5cf9a15ed6 SHA512 25fc69799cbabf7e834ddfda5e1a1dadaab42731721a64a09020a58b2c12ddae489eef5a28c687a7f04d39a3fb3ef007739acb3c59882f7d1cc04d64f6211e67
DIST boto3-1.37.18.gh.tar.gz 916523 BLAKE2B ddce395151b08982cd62156dcb994a496691d37182a375d4b2fbaf6cd9a51044a03a6eb7861d30d405e20318cbbcd9ce449a56302b7184bdf883208bd5e9c6f6 SHA512 d10106d061282b0f7a4de0d95a14ff8ebf93e21a99d85dd828c1396a5ed657e9b6f80101c9e762e755679059b9d8b9b3d7f1fa4c6159df4cac35e2b5076835b9
DIST boto3-1.37.19.gh.tar.gz 917195 BLAKE2B e927a0742f4b73a35749f2fc6e7eb4e96b61da20660000c6e83bf30fe1f47a417934ee0c3ff3bb3b90cf4f2d93cbc0dc56fb0258162f205b13b024e7d4aa1507 SHA512 acefcda7093d30aedf6b58d2091fb82f4c67f0f229d2242627c7c853457e6639e1be568d3858e06d0e5167a042052307c79940f3a9b25b07d0466f1ec96c49c0
DIST boto3-1.37.20.gh.tar.gz 917858 BLAKE2B 3325088a4689fe764bc7dd4eb68afccf7e05a1b29152c5dc28224ad132e2eadfbd5af2545fb9e456e26e5396aff40ec9ee00e35382618b3fdf14da5fa91f2273 SHA512 4b271e2caa15effe0e3f17161b601fdfa0e29e89d219c21fe3116c35ef485344eff4a944374d4aed2ee557ca3e5d55e0317c2a013205cfa095fb46b19adfc976
DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798 SHA512 12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="The AWS SDK for Python"
HOMEPAGE="
https://github.com/boto/boto3/
https://pypi.org/project/boto3/
"
SRC_URI="
https://github.com/boto/boto3/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}]
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_prepare_all() {
# don't lock versions to narrow ranges
sed -e '/botocore/ d' \
-e '/jmespath/ d' \
-e '/s3transfer/ d' \
-i setup.py || die
# 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
distutils-r1_python_prepare_all
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest tests/{functional,unit}
}

View File

@@ -1,4 +1,5 @@
DIST botocore-1.37.13.gh.tar.gz 14365580 BLAKE2B 5dac1351dde66b7a2591faedd6ff9f0a05b02d7fa5f2d9f212a25e979f8b6f2a177c23843ee9d5949e83ce9cb44cdb1c9b75a9ee3e9e21ad69fa99458d733fcf SHA512 6635b42a6c29e6fc8293535f939463a77bcfb9abd7211a3043d9da60ecf291fc7bd8704902bfca0667be37448b1d5230393afaf1d32ef5be821d8d60a8578144
DIST botocore-1.37.18.gh.tar.gz 14386605 BLAKE2B 541cfccf5251a7534751a48de2e1c4d652b6ec65c94311de23ed7cffc582f9ae7ea13e62714e41e6eb49c6135bcd054bce5985e4fb06b30babfba7f9791ce2cc SHA512 3eeb4cdd098a7a2867ff44f189087c4b331ce32a81dea989ce78ece936f9b087cb995779d81a6cd730c8fca528243b327f7d4a0dd58122dad21f3a5536a4f577
DIST botocore-1.37.19.gh.tar.gz 14389031 BLAKE2B 6ba7ae5ad3effdb74b08d7fdf6b25b12f8bf93fd2aa61aa6f1b1bd45aa102018e53b8e45681282e04c00d22165e48358d4dee7d91d7eebba2b5b48590abc3015 SHA512 34a74dfc0df915416d045a659b54f4f1d67f1164aea86e62170606e07de2febf447b4d9ff605c9eb14dcd31af4e7cf9dbc88b4fd931ba7bbee8c530785cb6aa9
DIST botocore-1.37.20.gh.tar.gz 14391159 BLAKE2B 918d42d3809d64d0d428334b2a6bd5d66ec710c3f03d67d453112fb961d2097cc7066c1f9a26bb0123af753db180693708ea04872694b37e2ce11314beb3845f SHA512 b6503a276881c86c17653130b4183c2baeeb0861e74d5621e8f3d0b6faa240e2e7c33e7b3209141d8fb4b6666fded16c09e233935983a12bf3f86619cebb6574
DIST botocore-1.37.9.gh.tar.gz 14346488 BLAKE2B 29ac550ad462ab7c83bad7989588ec62fb57959586a8ec91be9756d90712ad86e3dfd813a347e619b7cac3fd7afb56affcd81926e15d91b8d0ceae2cd4436a8d SHA512 e191c9485e95188049c02020fcb32c4429de6cfd78f237a2026200b7240890d5759f5cdd96166cd2aec035dac82d32db155fe00d9ec6be482c655cfdb44265f9

View File

@@ -0,0 +1,67 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Low-level, data-driven core of boto 3"
HOMEPAGE="
https://github.com/boto/botocore/
https://pypi.org/project/botocore/
"
SRC_URI="
https://github.com/boto/botocore/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
<dev-python/jmespath-2[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
"
# unbundled packages
RDEPEND+="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/jsonschema[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
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 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest tests/{functional,unit}
}

View File

@@ -1 +1,2 @@
DIST cattrs-24.1.2.gh.tar.gz 428615 BLAKE2B d6874493083c4a082b319a12bead71d8a147a35019f3b08a7f16c4c982c061b98db71d6e1027215df53efc66c93688cbd6d5cfaaa9a46f9bd1a39893bbbc21ee SHA512 00316c062343a91cb71ba297af7d74798000cd44afca6eb6286278b3340efc27621486336c095e21a0e1701105494d60b72991aa00b8ab9bacf30a47eee877ce
DIST cattrs-24.1.3.gh.tar.gz 428852 BLAKE2B 3c4e7842886229c56f29d6e98f0a19a374aaeacd97015b729cf8ebc677ffcb0fb7e51efd329200ead1fd1bec16e4f86b18effa17fac2511d008e8d34dfdfdd84 SHA512 1fe1de70c4ab8a5e4da7ab534833f22f02b23b01a14b68186185aa5af9b5260606e5f20365fe103901368602d4a9e3560733a85ec06f601227f1cab3c191b1e4

View File

@@ -0,0 +1,107 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Composable complex class support for attrs and dataclasses"
HOMEPAGE="
https://pypi.org/project/cattrs/
https://github.com/python-attrs/cattrs/
"
SRC_URI="
https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="test-rust"
RDEPEND="
>=dev-python/attrs-23.1.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/exceptiongroup-1.1.1[${PYTHON_USEDEP}]
' 3.10)
"
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
>=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}]
>=dev-python/hypothesis-6.79.4[${PYTHON_USEDEP}]
>=dev-python/immutables-0.20[${PYTHON_USEDEP}]
>=dev-python/msgpack-1.0.5[${PYTHON_USEDEP}]
>=dev-python/pymongo-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
>=dev-python/tomlkit-0.11.8[${PYTHON_USEDEP}]
>=dev-python/ujson-5.7.0[${PYTHON_USEDEP}]
test-rust? (
$(python_gen_cond_dep '
>=dev-python/orjson-3.9.2[${PYTHON_USEDEP}]
' 'python*')
)
)
"
# xdist can randomly break tests, depending on job count
# https://bugs.gentoo.org/941429
distutils_enable_tests pytest
PATCHES=(
# https://github.com/python-attrs/cattrs/pull/543
"${FILESDIR}/${PN}-23.2.4_pre20240627-py313.patch"
)
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
python_test() {
local EPYTEST_IGNORE=(
# requires msgspec
tests/preconf/test_msgspec_cpython.py
)
local EPYTEST_DESELECT=(
# these require msgspec
tests/test_preconf.py::test_msgspec_json_unstruct_collection_overrides
tests/test_preconf.py::test_msgspec_json_unions
tests/test_preconf.py::test_msgspec_json_converter
# tests need updating for attrs-24*
# https://github.com/python-attrs/cattrs/issues/575
tests/test_baseconverter.py
tests/test_converter.py
tests/test_gen_dict.py::test_individual_overrides
tests/test_gen_dict.py::test_nodefs_generated_unstructuring_cl
tests/test_gen_dict.py::test_unmodified_generated_structuring
tests/test_structure_attrs.py::test_structure_simple_from_dict_default
)
if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
tests/test_preconf.py::test_orjson
tests/test_preconf.py::test_orjson_converter
tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides
)
fi
case ${EPYTHON} in
python3.13)
EPYTEST_DESELECT+=(
tests/preconf/test_pyyaml.py::test_pyyaml
tests/preconf/test_pyyaml.py::test_pyyaml_converter
tests/test_converter.py::test_simple_roundtrip
tests/test_gen_dict.py::test_unmodified_generated_structuring
tests/test_generics.py::test_unstructure_deeply_nested_generics_list
tests/test_unstructure_collections.py::test_collection_unstructure_override_mapping
)
;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts= tests
}

View File

@@ -3,3 +3,4 @@ DIST cfn_lint-1.29.1.tar.gz 2829516 BLAKE2B a624ed18ffe214dafccf807cd71de3ca5285
DIST cfn_lint-1.30.0.tar.gz 2832092 BLAKE2B 0d69bc3702447828c5a03662d00f62e1ee421a554354dc3e754ed509108d0f5ef031e4e256de51476bb4904bba34089ac263203bd688d3c27fff050655b5a35a SHA512 0a8819b5ca691a308622a1a394d19c633c06253f3b8a480a95c12dfcebb94220f0464f11e51ee9719f2d00d097520226d9c2ab6b8944ff0b00e117de21d458d9
DIST cfn_lint-1.31.3.tar.gz 2856311 BLAKE2B 46c7dee3b3a70f59675dd3879604a0860b99b193ce37e11b05f60bb08d1f3e97da7887b8d13be48d5721826ca46f5bdca61945b8d2fc6558d9290eec5257fa64 SHA512 4d63d3d529b292125be9b139ebc73ae75024e61afa0928afd6f73f573aaadd9cb1e359cf4bc61aa245c05de86406b9894bca1519b682248946eff0664bbefeba
DIST cfn_lint-1.32.0.tar.gz 2893829 BLAKE2B 0a52741f0148965ba421865790608d19db03b54512a780758f823a448cd8b7f096b3188232a47227446764fc3c42df4f907c7b3addae07f86c879d5878a76674 SHA512 c687b76cb5a0bfa03b42630e736e3e92748582a56983c5d8e5163656d8ee84474cb5b29482c0a7d76e95a75546ac4ca4520e98f52a5a5528c1b0b2b6ee62ae5b
DIST cfn_lint-1.32.1.tar.gz 2896622 BLAKE2B 2c00467a4f1997fe72f500a339314b5c698a392968978881a11d0982084a6f2ea07ef2ca114a88ca22c99c9ff1748f8a2ba971a1e558df8aa53e2ec6c230c597 SHA512 f81ca1bf437db146d8d533da0f445c46c3bd08dc37b5a7e3d653e0395ae73ecb749b65f944a515331477f5395c856d7e7df9b2e4e41ff22446af142c89039aa3

View File

@@ -0,0 +1,70 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="CloudFormation Linter"
HOMEPAGE="
https://github.com/aws-cloudformation/cfn-lint/
https://pypi.org/project/cfn-lint/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
RDEPEND="
>=dev-python/aws-sam-translator-1.95.0[${PYTHON_USEDEP}]
dev-python/jsonpatch[${PYTHON_USEDEP}]
>=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}]
<dev-python/jsonschema-5[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
dev-python/junit-xml[${PYTHON_USEDEP}]
<dev-python/networkx-4[${PYTHON_USEDEP}]
>dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
>=dev-python/regex-2021.7.1[${PYTHON_USEDEP}]
>=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
>=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/defusedxml[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
# unpin the deps
sed -e 's:~=[0-9.]*::' -i pyproject.toml || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_DESELECT=(
# TODO
test/unit/module/test_template.py::TestTemplate::test_build_graph
# requires git repo
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
# Internet
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
# TODO: it looks as if AWS_DEFAULT_REGION didn't work
test/unit/module/core/test_run_cli.py::TestCli::test_bad_config
test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters
test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters
test/unit/module/core/test_run_cli.py::TestCli::test_template_config
# different graphviz version?
test/unit/module/template/test_template.py::TestTemplate::test_build_graph
)
# from tox.ini
local -x AWS_DEFAULT_REGION=us-east-1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}

View File

@@ -1 +1,2 @@
DIST docstring-to-markdown-0.15.gh.tar.gz 29806 BLAKE2B 424cc74feb3e42bbd546495a998aba92b4df02b9d259c8b3e0fe704d860bb789825b5c1fde79211b675cee82e8c560359f54bf5311eb940a51c0b7c58dcbcf99 SHA512 100d84b6071609d774f2b3426804a32d88eb6e0a463d63003d8cee67f8e0ffb93dad54cfa2f18647dd5d1439459e4c217589c89737bc98e2ee2e11bb9f0871f6
DIST docstring-to-markdown-0.16.gh.tar.gz 31553 BLAKE2B 66dfaf08ca08d6209bae851ffc15d26bac76ec71c417a4b6094fcf23b863f17cb7abda9c191089aeffe31cee6041803f27de4448feb6918be179561cb3ecfd6c SHA512 4052194a12525071558d859ef23fd33c1c131676f7931ff72891b951d2a7726c1b786639c00be2ff3578bff155cf77d22ddeb03d87dcd782baa337f456a8647f

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit distutils-r1
DESCRIPTION="On the fly conversion of Python docstrings to markdown"
HOMEPAGE="
https://github.com/python-lsp/docstring-to-markdown/
https://pypi.org/project/docstring-to-markdown/
"
SRC_URI="
https://github.com/python-lsp/docstring-to-markdown/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
RDEPEND="
>=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.6[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts=
}

View File

@@ -4,3 +4,4 @@ DIST setuptools-76.1.0-py3-none-any.whl 1236933 BLAKE2B c8e1d368f50aea8ed819d6c8
DIST setuptools-77.0.1-py3-none-any.whl 1254282 BLAKE2B 8034051467ae46c6c81c7dbdb071c0e3e87e21114e3c20e57db9d5e42838e94e07cd13c3829b586a8d3eb1836365757d00f6e95af822eabb805a38b7b9109d1d SHA512 a880771b05095c6bf0d4e522d4403de0dde7027241d0fe58e6c2487f3a779ef85a3c3aa1ac2f4c4f3c4979028335daf8bf16d0ad995b0da744097cd415b285ec
DIST setuptools-77.0.3-py3-none-any.whl 1255678 BLAKE2B 99712b0ac22d493f32132879129b2c06439c6967cfb02f63bcb05b09e2dd73c2243a2b8d51bcc67ab34b8ce2c4921fae40479ef3db68406635ccf328aa4745c6 SHA512 95c1081eda9e1110bd9c0262ec892f984734ae3bbd5830aabb0062938be34f3a44a57f731fc5c3878307bde7926cb089d5174e22c0670bb7bed66f34635b5d79
DIST setuptools-78.0.2-py3-none-any.whl 1255965 BLAKE2B a5952f9f223325f9ff6b488b871e8459b81f187e5cfdf84de316c13a63147298ef2186c07fd3ec12d81d4ad60bde7a1280d436cd8dee4ab29a4138bfd606bb3d SHA512 6a6433eea685a7fb71b167b364a77c606edda70a467e7be03de0e341a152deddcb933b39024bdc32e230553f4a08654533f75e990038b00436af64744dd6bd03
DIST setuptools-78.1.0-py3-none-any.whl 1256108 BLAKE2B 3bc6328e3ca2f98df327054c308560c48849ea3374017e72111471f4d7394bb6200d181e9ce7bc5cc2732ca365ade8e7ac79a8b1bfae1a18d0364c5dea4aa151 SHA512 89b1ba752d6b1cf7820ad0ef37ad42a6614e9b88438c63264eee09f94439608e53a51bf5ff8ce9f898300d6d628a7ed582004e6a483d774f4ec285f95e23752e

View File

@@ -0,0 +1,20 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit pypi
DESCRIPTION="Shared setuptools wheel for ensurepip Python module"
HOMEPAGE="https://pypi.org/project/setuptools/"
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
S=${DISTDIR}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
src_install() {
insinto /usr/lib/python/ensurepip
doins "${A}"
}

View File

@@ -1 +1,2 @@
DIST flit_core-3.11.0.tar.gz 52038 BLAKE2B 6b6e0c606429fdb8123aa2dc17336003d8348f576bf26745ffa116a5e0159e20be5b8a20c541c570a825cdb2c970380f290599a09fdcc9e3bcf4158329aff9d2 SHA512 628ffd0950da88f1775c1b193ee5c6f1af06046877ca0ad66d7ae5af7df4b49759f19a4494cf15d7a1480d34c19925ce11205e7359df9fc223bca6595f94525d
DIST flit_core-3.12.0.tar.gz 53690 BLAKE2B 2dbc8cb1803d2b05693d458ab29d141631af268ad1620ccd91d7fe1636eab6c776c5482d94fdd2006dafa8b5cb45cb41d29fb80ac91e29877b43ba8e94ac2bd5 SHA512 189dcd674722164b165e18b11c4dc72b8309fa2e3c82fc1ed6a9160bb5c6c1f86e2b2cfa111603cf73dca0dba74a496a664d5cbb6242587b47f139c42f7ae8bd

View File

@@ -0,0 +1,45 @@
# Copyright 2019-2025 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
PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Simplified packaging of Python modules (core module)"
HOMEPAGE="
https://pypi.org/project/flit-core/
https://github.com/pypa/flit/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
RDEPEND="
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.{9..10})
"
BDEPEND="
test? ( dev-python/testpath[${PYTHON_USEDEP}] )
"
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# unbundle deps
rm -r flit_core/vendor || die
sed -i -e 's:from \.vendor ::' flit_core/*.py || die
sed -i -e '/license-files/d' pyproject.toml || die
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}

View File

@@ -1 +1,2 @@
DIST flit-3.11.0.tar.gz 153236 BLAKE2B b06660e1b57279b0d855dad6116e25115c9c52eae5fb8654b79608661affff8e98a2aaf011c0cb4eb940047a6d219825382e3db6266a6a1cc919bb16c6fadf67 SHA512 704774ab9b8154056a82f59814c2589ad4b3c8593a8e0de75eae99b1517211790604988efaf4f32e5f49fd472ec00efe8269b72524f285a647f4b8126699a4b7
DIST flit-3.12.0.tar.gz 155038 BLAKE2B f38d846b78a4840fb94869393c5b757fbf54cf871d0318abdfa9172ddde22e0f2848b3ea4a51df57bce8539fb185308628f78d3e88c2ecd20d9ec51f9b825df9 SHA512 f8ed1f0e53452def182453db91a44c9ded5413fe74e2678bb7d56b3640d6ba6f43cccb55ad73e939cc5ca236fa2bf7b3e0f6d77fe4a4f12f90a9e437b561edb2

View File

@@ -0,0 +1,58 @@
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Simplified packaging of Python modules"
HOMEPAGE="
https://github.com/pypa/flit/
https://flit.readthedocs.io/
https://pypi.org/project/flit/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
>=dev-python/flit-core-${PV}[${PYTHON_USEDEP}]
dev-python/pip[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
sys-apps/grep
test? (
dev-python/responses[${PYTHON_USEDEP}]
dev-python/testpath[${PYTHON_USEDEP}]
)
"
EPYTEST_DESELECT=(
# requires Internet
tests/test_config.py::test_invalid_classifier
# failing due to Gentoo pip patches
tests/test_install.py::InstallTests::test_install_data_dir
tests/test_install.py::InstallTests::test_install_module_pep621
tests/test_install.py::InstallTests::test_symlink_data_dir
tests/test_install.py::InstallTests::test_symlink_module_pep621
)
distutils_enable_tests pytest
distutils_enable_sphinx doc \
dev-python/sphinxcontrib-github-alt \
dev-python/pygments-github-lexers \
dev-python/sphinx-rtd-theme
src_prepare() {
# make sure system install is used
rm -r flit_core || die
distutils-r1_src_prepare
}

View File

@@ -4,3 +4,4 @@ DIST hypothesis-6.129.4.gh.tar.gz 9528147 BLAKE2B c85806af24ddd934338f99c9d62a57
DIST hypothesis-6.130.0.gh.tar.gz 9529336 BLAKE2B 21d127002656532ad17a817f482106bfe355c740d60d0418b0989b8c90b3c163ab7c86d9e055cc25c310da1878f746bc6e93eb6171b202db7aa806ae1cdface0 SHA512 13d2362d051d69c9da62f02b5ba814f10406aaf7a0d1f8043e85e4992e69887505658ef2b2e43d959c60e19b0fd7090b97a8f2dfbcdacf425d1a91b83de7b958
DIST hypothesis-6.130.2.gh.tar.gz 9524922 BLAKE2B 20a8f0d5c7e1e2b1fc50f41cdb4df653559fb3119e247364050fbff464f9e9f110704d8cee4339bdc4931f961484664c4e05e9f321150ae5f5660bf01bddca15 SHA512 319d377e54f098504119c4a264931fa5d59e930c18cba675c10c1b893e7b3ea15f6bf75ee9f0ac626c0acf8c6a03b0f8221a8a0f654c09ce97a9b5c544043d62
DIST hypothesis-6.130.3.gh.tar.gz 9527690 BLAKE2B d4345e789cb58368b8099f76b0e65cf1d902b425794ba03617b288edb1272eaeb161990bd001e040f978efdf8873816d6e7d3bcbb1ed4ed101c0caebae453739 SHA512 620849613b1431a3654d776f5f38a7378bb00fad314cb0152d66e5c93f145e9279601385cec6728d62c0e77c53fa477109ae9d3ec65522f94fe53260fd2576b6
DIST hypothesis-6.130.4.gh.tar.gz 9529285 BLAKE2B 12ad46599c2de3f844be9ac705cc0d2311a35dac56dfd90360f64af59088f4d69de89f41bd4dfbf467edd37adffe857694d3c7db14d7717645a8ed9abace3703 SHA512 3352abf424b35d8d61a007234ae43e55e2bd1548a4d917277ac09e6331597427f00ddb53aadf1ddca5222c4e02ec5a3eda140191ec9e68e49749882f95a7dc11

View File

@@ -0,0 +1,110 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
CLI_COMPAT=( pypy3 python3_{10..13} )
PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 )
PYTHON_REQ_USE="threads(+),sqlite"
inherit distutils-r1 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="cli"
RDEPEND="
>=dev-python/attrs-22.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/pexpect[${PYTHON_USEDEP}]
>=dev-python/pytest-8[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_test() {
# subtests are broken by warnings from random plugins
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin
local -x HYPOTHESIS_NO_PLUGINS=1
# NB: paths need to be relative to pytest.ini,
# i.e. start with hypothesis-python/
local EPYTEST_DESELECT=()
case ${EPYTHON} in
pypy3)
EPYTEST_DESELECT+=(
# failing due to warnings from numpy/cython
hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture
)
;;
python3.13)
EPYTEST_DESELECT+=(
# TODO
'hypothesis-python/tests/cover/test_reflection.py::test_clean_source[case-5]'
)
;;
esac
epytest -o filterwarnings= -p rerunfailures --reruns=5 \
tests/cover tests/pytest tests/quality
}
src_install() {
local HAD_CLI=
distutils-r1_src_install
if [[ ! ${HAD_CLI} ]]; then
rm -r "${ED}/usr/bin" || die
fi
}
python_install() {
distutils-r1_python_install
if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
HAD_CLI=1
else
rm -r "${D}$(python_get_scriptdir)" || die
fi
}
pkg_postinst() {
optfeature "datetime support" dev-python/pytz
optfeature "dateutil support" dev-python/python-dateutil
optfeature "numpy support" dev-python/numpy
optfeature "django support" dev-python/django dev-python/pytz
optfeature "pandas support" dev-python/pandas
optfeature "pytest support" dev-python/pytest
}

View File

@@ -1 +1,2 @@
DIST propcache-0.3.0.tar.gz 42722 BLAKE2B 2687c2f03464b0e81c1d3e93a0b8a11364e4b03f5614de44ea89ca401867531079c1456cc97831f9c8e885dbacca8c9dbeb30e0a31b121a2aaa3666b0397ddf0 SHA512 258e2e9e6fff5c3af62d21d0afc43026e87b8c94009db9534f8beff6d81873ab05ea626c36e43ab1ee16dea1b18dde2ec732b78b93cac82cb9c1d0438e544b42
DIST propcache-0.3.1.tar.gz 43651 BLAKE2B dbbd70f29c3b4d7ed9a976e0dde766f7ecc0b4e50f90d0d83c60c8633ebadd25dae8e01ce2cd0f8c00d0fae67a35316bc165f5c6e116cbbe290e2371d1e79f47 SHA512 c109678adc26193d972906d923abbfe7ddeb02829fa3adb82d28988b56497a9e8126ce7186f1b0414ca6e6aba6baaddadcefdf19f7e24fbe5831e2f8da06473e

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Yet another URL library"
HOMEPAGE="
https://github.com/aio-libs/propcache/
https://pypi.org/project/propcache/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="+native-extensions"
BDEPEND="
native-extensions? (
dev-python/cython[${PYTHON_USEDEP}]
)
dev-python/expandvars[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_compile() {
local -x PROPCACHE_NO_EXTENSIONS=0
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
PROPCACHE_NO_EXTENSIONS=1
fi
distutils-r1_python_compile
}
python_test() {
local EPYTEST_IGNORE=(
tests/test_benchmarks.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local opts=()
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
opts+=( --no-c-extensions )
fi
rm -rf propcache || die
epytest -o addopts= "${opts[@]}"
}

View File

@@ -1,2 +1,2 @@
DIST pyparsing-3.2.1.tar.gz 1067694 BLAKE2B dc82426b4b74d22932451a828cf76a69501b926f737d201c5b01d32b152e113e2d3f6e900723e2dc6cd7b8d21eda11dfc55bd7436bba625125f5e25f52e132b6 SHA512 bb0e703ebf7bcdf34909ac693e16a1c17386a3e92b6c52c157ef338360b3c0cfab9a238bcbfdfe9c061fdff93a34c732d4e1a184b8fb12c728b2b7f2306aa978
DIST pyparsing-3.2.2.tar.gz 1088193 BLAKE2B 0392ce8c9bc769ab27ec3bc5328ddb2cc73129617d74f955a53a4a9e54b7d32ec42eb030d0e06c50b6ef0376e98d29e6a17451b4884de445d0131e99599efd3b SHA512 b2983ba0a07e7453029f0ea3dd0dc90af895286d7d517f7d6794757f97b12b6fe7925242c2638c90560d47982bd21e2622fb1de994c82b7831129254b57e7d9d
DIST pyparsing-3.2.3.tar.gz 1088608 BLAKE2B e16ac59455011e22a86303f578501a141dd65403b30168c0106e7152c58ebd96a3ee479a08c2a084da218a8db1a72dffdecfda896f7210794b871f75c374b60d SHA512 ef01403a158f15215b3be7f7c4aad2ceb6020d578dac68351b732df3447c685aa478d23ab645d554070ad2aec14ee565a0407f428b91f398e4429c0e53eb4a6d

View File

@@ -1,2 +1,3 @@
DIST pytest_asyncio-0.23.8.tar.gz 46920 BLAKE2B 6b7a66e6ef28f2c7a874a115e0346b3803051df5d57e5b8ba35480982231a804adfbe8a4a2c605847730ea940fafe9df2aa94f5081b43aa753b64c3e2ea027a5 SHA512 68f23458c5f22bdb75a6a0a12f185b1f22c5231c0cdcd84806781419f5c866844e851398d771c5932af4a42b5dfdcce6624181f2c0d2f70187bb5feed0ba7c97
DIST pytest_asyncio-0.25.3.tar.gz 54239 BLAKE2B 212df50fea5830e9c6f67389cb3108e0dacfc31ac692dc136e9d5d87f5bc8a350ad9c1f3d5becd724ba5d8f4c8ebbdeac7e385c0a2b098b54090029dbff863cc SHA512 8144b636ad77af0ecadf81ff5be396e6706d8c206772953ffd2a62c9889094ff55e3f14c9bbd615a9d58cb192e61385d0ffcb1b56524422376d214154536b532
DIST pytest_asyncio-0.26.0.tar.gz 54156 BLAKE2B 763053772ff148a80773bb22457bd1a14e23f8b8c10279731ad356b168618a675f5e5ac20eff11bc5db0989a53ca079fbe3fd00d2afdbee41f61848b375b018e SHA512 60cb6e9bf7554b5d94d8e9c3bb8e60fba92ecb2fd4258ea8967eebf5af2b2050913e08917dafeddf4e27ad09bc52c800f38739eed9705330ce70f653bcd765a0

View File

@@ -0,0 +1,49 @@
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Library for testing asyncio code with pytest"
HOMEPAGE="
https://github.com/pytest-dev/pytest-asyncio/
https://pypi.org/project/pytest-asyncio/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
RDEPEND="
>=dev-python/pytest-8.2[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
>=dev-python/hypothesis-5.7.1[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# rely on precise warning counts
tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture
tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture
tests/test_event_loop_fixture.py::test_event_loop_already_closed
tests/test_event_loop_fixture.py::test_event_loop_fixture_asyncgen_error
tests/test_event_loop_fixture.py::test_event_loop_fixture_handles_unclosed_async_gen
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin
epytest
}

View File

@@ -1 +1,2 @@
DIST python-dotenv-1.0.1.tar.gz 39115 BLAKE2B 31bc0598abce2ffe5da0f248f56587fc549489c11b21e87ca144654c564701d7a5f952614b21ba12afb49a7bbb6d3753714c6e628485b449e9de2ec9513657f0 SHA512 d03f28f123b19e6e4af05c239686e189e5767108049399c110b80668bfea9d2a3f9222b719863fdef016cbe726a7a77748a18ddad013f7fc21c239ccf680c1da
DIST python_dotenv-1.1.0.tar.gz 39920 BLAKE2B 63509d9b31d42564ba5f477c61de26d02cfee30881a4d16928f287de1f67b81da0a6d9382f9d04a218d8f51e0a695f0ef0b5b251a40a29ed94c138408b304f7e SHA512 453f1262d330e1783dae1ef2ac18b998f817203c10705a974b294b79316a4cee68433622b4fa0aff2efed45e5fad04ec1fa4d15434ec1fc57c1c73a2518ef396

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Manage .env files"
HOMEPAGE="
https://github.com/theskumar/python-dotenv/
https://pypi.org/project/python-dotenv/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
BDEPEND="
test? (
>=dev-python/click-5[${PYTHON_USEDEP}]
>=dev-python/sh-2[${PYTHON_USEDEP}]
)
"
DOCS=( CHANGELOG.md README.md )
distutils_enable_tests pytest
python_install() {
distutils-r1_python_install
ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die
}
src_install() {
distutils-r1_src_install
# Avoid collision with dev-ruby/dotenv (bug #798648)
mv "${ED}"/usr/bin/{,python-}dotenv || die
}

View File

@@ -4,3 +4,4 @@ DIST setuptools-76.1.0.tar.gz 1350273 BLAKE2B ba4a2b83b793394fdddaa1ce817b8ea65d
DIST setuptools-77.0.1.tar.gz 1366225 BLAKE2B 7c49143cabfd4d8fc0ca668e10e4b23e8c44de529f6f9a00166cd3f8a95a1a2c566bd7024c3327cabbac736e64c80b5fe701e3bc28a0b2463baa1c6051c64704 SHA512 3481e4e76f539a53f93ff5b1650bfc24f164b0331edd27680399b473c5b4c8409e5ea5dc3aaa1db1924dff64c4e8dba2a4ef385a5e207ef9f624c881139445e3
DIST setuptools-77.0.3.tar.gz 1367236 BLAKE2B aa3ee044d2ed312520fe560efd74a593d7ff81390c7656e049227b497638bec8f7fdf5de6d25c2f98999503de42b593dc4e853a13943797112848467e3b82e27 SHA512 3b8ff731b4c42c3a4d0a8b785822f6f112ebce950874e7adb3a86aedc27bf53a88d931146313f5f05c131be383a8b2c06fb0c1bf542ca7eb209e68d110b4f958
DIST setuptools-78.0.2.tar.gz 1367747 BLAKE2B d1f65fc73f68a5c8b8523e164672c764484559f3a8435e29fe2c72936eba03a06f507ab835c54f19d45962adc41a4ca452b3fd4cd089dad2c05b78be22d98bfd SHA512 14452bf438dc6a4d944d9c6dd4f88a33f9d8d61c3ab892d5056e3d31262e00099c8cb21fcf8501b640c002b7798bc3c1ee23f676dcfd1d8ad015d0f253814bfb
DIST setuptools-78.1.0.tar.gz 1367827 BLAKE2B d82320d11829e43e6841cd6b5a9bd4e16cfc9e7e2f97f64ac2ab1956ed68587ca6c74a07781f6afeefd3a949c23dee374460bdd327b7a5d908f33b2882f3d87d SHA512 e0b9562a8b3bb7a6b664da84ef37e4f4f71df5dd3129b636ece798878e62bf4be60ff6b6643a98b7047e540e14c931eeb54b4e08c583ac1a86ffb5dc5e921c68

View File

@@ -0,0 +1,134 @@
# Copyright 1999-2025 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
# please bump dev-python/ensurepip-setuptools along with this package!
DISTUTILS_USE_PEP517=standalone
PYTHON_TESTED=( python3_{10..13} pypy3 pypy3_11 )
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_13t )
PYTHON_REQ_USE="xml(+)"
inherit distutils-r1 pypi
DESCRIPTION="Collection of extensions to Distutils"
HOMEPAGE="
https://github.com/pypa/setuptools/
https://pypi.org/project/setuptools/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
!<dev-python/setuptools-rust-1.8.0
dev-python/jaraco-collections[${PYTHON_USEDEP}]
>=dev-python/jaraco-functools-4[${PYTHON_USEDEP}]
>=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
>=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
>=dev-python/packaging-24.2[${PYTHON_USEDEP}]
>=dev-python/platformdirs-4.2.2[${PYTHON_USEDEP}]
>=dev-python/wheel-0.44.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
' 3.10)
!<=dev-libs/gobject-introspection-1.76.1-r0
!=dev-libs/gobject-introspection-1.78.1-r0
!=dev-libs/gobject-introspection-1.80.1-r1
"
BDEPEND="
${RDEPEND}
test? (
$(python_gen_cond_dep '
>=dev-python/build-1.0.3[${PYTHON_USEDEP}]
>=dev-python/ini2toml-0.14[${PYTHON_USEDEP}]
>=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
>=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
>=dev-python/jaraco-path-3.7.2[${PYTHON_USEDEP}]
>=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}]
dev-python/pip[${PYTHON_USEDEP}]
dev-python/pyproject-hooks[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/pytest-home-0.5[${PYTHON_USEDEP}]
dev-python/pytest-subprocess[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
>=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
' "${PYTHON_TESTED[@]}")
)
"
# setuptools-scm is here because installing plugins apparently breaks stuff at
# runtime, so let's pull it early. See bug #663324.
#
# trove-classifiers are optionally used in validation, if they are
# installed. Since we really oughtn't block them, let's always enforce
# the newest version for the time being to avoid errors.
# https://github.com/pypa/setuptools/issues/4459
PDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
>=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}]
"
src_prepare() {
local PATCHES=(
# TODO: remove this when we're 100% PEP517 mode
"${FILESDIR}/setuptools-62.4.0-py-compile.patch"
# https://github.com/abravalheri/validate-pyproject/pull/221
"${FILESDIR}/setuptools-75.6.0-disable-trove-classifiers.patch"
)
distutils-r1_src_prepare
# breaks tests
sed -i -e '/--import-mode/d' pytest.ini || die
# remove bundled dependencies
rm -r */_vendor || die
}
python_test() {
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
return
fi
local EPYTEST_DESELECT=(
# network
setuptools/tests/test_build_meta.py::test_legacy_editable_install
setuptools/tests/test_distutils_adoption.py
setuptools/tests/test_editable_install.py
setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
# TODO
setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
# expects bundled deps in virtualenv
setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
# fails if python-xlib is installed
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
# TODO, probably some random package
setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass
# broken by unbundling
setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata
# fails on normalized metadata, perhaps different dep version?
setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config
# TODO
setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist
# relies on -Werror
setuptools/_static.py::setuptools._static.Dict
setuptools/_static.py::setuptools._static.List
# TODO
setuptools/dist.py::setuptools.dist.Distribution._find_pattern
)
local EPYTEST_XDIST=1
local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH}
epytest -o tmp_path_retention_policy=all \
-m "not uses_network" setuptools
}

View File

@@ -1,2 +1,2 @@
DIST typing_extensions-4.12.2.tar.gz 85321 BLAKE2B 8f32740675f5da226c6fd5fa95e0b903794d76cc25d759bee6b136913a3eedc7a702cdc7709587cae13ba3b3d44a7bb1acbdad61333fe655382e3d01d63a3fa7 SHA512 b06f26ae55194f37ee48dcb894bf583051c9e74f639f25195990f56330eae7b585ab4b8655ca575539f48254c20f1920628db6db10512953d1f6364e3c076a27
DIST typing_extensions-4.13.0rc1.tar.gz 106487 BLAKE2B 82e8107db7aa7e61e0a2ddc775b0accd116281847bc459213165b53b42cf235bd812d753bc68e857ba16aca960d40ff12e43d697ad5d973891ecf1704cf9f838 SHA512 058daa21f1d310a9cef0b09136aa2d2f0553d0c61e6d170e039281c3337e5da81493d507f5364b0b47e48f095fab314382341be8015e9932353fe5df500be5f8
DIST typing_extensions-4.13.0.tar.gz 106520 BLAKE2B 65aff07587aae79fce1e69c127dc02955169288f944542e560347e33eff3e65d86380efcbf647efffa0b6d253096ee409f065345adc97c913d3ae0f079099024 SHA512 5d2a9fc8f0ef41e585f5c0ad155672018e9e6e76391ebe294ed32a2e8934ace8ad997b40dd14d335ebe2d74dbee5eb477f7816fbf29d832d3f3118cfcfd18e31

View File

@@ -1,6 +1,8 @@
DIST pubgrub-b70cf707aa43f21b32f3a61b8a0889b15032d5c4.gh.tar.gz 98983 BLAKE2B 08ad8a10a96ba7da3100f7658f38cb8d6fb0e1eca92ba0aaf1393778012db807084f047eec171f0a46836a6746367369e79ab95836d5cdf215211e321d2800ac SHA512 401ea5ca16e978d5407a1400e4e27cec9fcac11332067ee1ed8a3bc511901e08fc421ce875ebbb0990593ed549a4a5f4620914a71ae3490c7b8ae0f7b26b5937
DIST rs-async-zip-c909fda63fcafe4af496a07bfda28a5aae97e58d.gh.tar.gz 51763 BLAKE2B 59d053bc6692014d884a9247dea1b57a8789469ba2abbcc92ec21bb0022cbd74874afc463082156ab697aa6c80635019857a5d7e2dc150274e8b04d720518c36 SHA512 3a309566f4925b02496fcf19bc2865968edf6fb65082ca4079d2cee79e6b0353a1910c079f2afe656da0d0f6ddde5102052a221ea35a7dabc6d690a11218b20a
DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c33f6f52e2bc83823eb6319f8a3e462b7c7408fb6a08f995747857ef234f81db4135a04f9d183095fe473a4087f8f0cb89d8f87ef4400285d2ce034ec22 SHA512 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68
DIST uv-0.6.10-crates.tar.xz 58024120 BLAKE2B 87c8f715296171539cbf291304f17e483abcfd1aea9cdd933cbaac80411a465912fa3459587983f59035c597b186f69a5a16f124720ff0fd2f1ba5accc3755b8 SHA512 09ad70459e4be2ec1cad5bdb6823cabb7cf696e74aef445770ef3878a684e6c11d57d53bd64af31f5efb4f3f4ee16b92791668825baea1a6a135e9eb2774ee30
DIST uv-0.6.10.gh.tar.gz 3816981 BLAKE2B 2f1ba71073a5714428120376fdafd3c37e40b4540fc600c7b06e07ddd4a35358a33a0ce1a217f810d448b43fd36a20db7602880ab933dd2c2b8e7ca690b07f94 SHA512 d1a034ae8781b5401a9ad77e00f7d4ae1e401359232e44a7395583e22c88f80e3741a21b52a3a4f659edbd2e643ffe3ad10b58964dc7c3c12bee60f8c0414930
DIST uv-0.6.4-crates.tar.xz 60120880 BLAKE2B 67e7cba1df7e8c18e55d7d1a5748db7995c19a8bc4d156b5cdcf8d6af3922ea52279e2351085fd2142806f6692383535dec1d8354c5197d3ed032f768c552dbc SHA512 0f13d3e6e77397ef2db40122736fe4d990003388dc2f2f782b9aea317fb30f30cbb35b1d800b252e84f239fd570208df55f281432e91e546b5edcf82b9a2b68e
DIST uv-0.6.5.gh.tar.gz 3782938 BLAKE2B 82528fbd5c65cc07dd4ba647dd86d81673370afe8568690601e54faa54ad0ffa42db375b63580b0ae67f1fda67a66f54d990ce97704c614e80bf54666ed3e11e SHA512 cb1564905d56ac5873db91476b9a0a09e450c2cfaf386d9d04b1861d1e798ec43d7f28e03099d732e03cc58f79820a7f825d7d8869b40f71fab4308412e401b5
DIST uv-0.6.6-crates.tar.xz 60230976 BLAKE2B 9b0dcb0d8246fc275f5b508c48661f0844622ee9280b9000e0131e6101d548b92f983502fa21070fd41aa20854aa0931b3a5be13fc96def5bafab6d0eebe943f SHA512 b1925417eb34135e9e9d92a8d832055cd3677142ac9e7369d9e1f64ceba02632914c6ddc669257a5d75dd27b8cea4612db2bb295d2b747a74e169a8e23fc5a6b

View File

@@ -0,0 +1,170 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
declare -A GIT_CRATES=(
[async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%'
[pubgrub]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%'
[tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%'
[version-ranges]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%/version-ranges'
)
RUST_MIN_VER="1.83.0"
inherit cargo check-reqs
CRATE_PV=0.6.10
DESCRIPTION="A Python package installer and resolver, written in Rust"
HOMEPAGE="
https://github.com/astral-sh/uv/
https://pypi.org/project/uv/
"
# pypi sdist misses scripts/, needed for tests
SRC_URI="
https://github.com/astral-sh/uv/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
${CARGO_CRATE_URIS}
"
if [[ ${PKGBUMPING} != ${PVR} ]]; then
SRC_URI+="
https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz
"
fi
# most of the code
LICENSE="|| ( Apache-2.0 MIT )"
# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below
# Dependent crate licenses
LICENSE+="
0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB
"
# ring crate
LICENSE+=" openssl"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="test"
PROPERTIES="test_network"
DEPEND="
app-arch/bzip2:=
app-arch/xz-utils:=
app-arch/zstd:=
"
RDEPEND="
${DEPEND}
"
BDEPEND="
test? (
dev-lang/python:3.8
dev-lang/python:3.9
dev-lang/python:3.10
dev-lang/python:3.11
dev-lang/python:3.12
!!~dev-python/uv-0.5.0
)
"
QA_FLAGS_IGNORED="usr/bin/.*"
check_space() {
local CHECKREQS_DISK_BUILD=3G
use debug && CHECKREQS_DISK_BUILD=9G
check-reqs_pkg_setup
}
pkg_pretend() {
check_space
}
pkg_setup() {
check_space
rust_pkg_setup
}
src_prepare() {
default
# enable system libraries where supported
export ZSTD_SYS_USE_PKG_CONFIG=1
# TODO: unbundle libz-ng-sys, tikv-jemalloc-sys?
# remove unbundled sources, just in case
find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die
# bzip2-sys requires a pkg-config file
# https://github.com/alexcrichton/bzip2-rs/issues/104
mkdir "${T}/pkg-config" || die
export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}}
cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die
Name: bzip2
Version: 9999
Description:
Libs: -lbz2
EOF
}
src_configure() {
local myfeatures=(
git
pypi
python
)
cargo_src_configure --no-default-features
}
src_compile() {
cd crates/uv || die
cargo_src_compile
}
src_test() {
# work around https://github.com/astral-sh/uv/issues/4376
local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH}
local -x COLUMNS=100
local -x PYTHONDONTWRITEBYTECODE=
# fix tests failing because of our config
local -x XDG_CONFIG_DIRS=${T}
cd crates/uv || die
cargo_src_test --no-fail-fast
}
src_install() {
cd crates/uv || die
cargo_src_install
insinto /etc/xdg/uv
newins - uv.toml <<-EOF || die
# These defaults match Fedora, see:
# https://src.fedoraproject.org/rpms/uv/pull-request/18
# By default ("automatic"), uv downloads missing Python versions
# automatically and keeps them in the user's home directory.
# Disable that to make downloading opt-in, and especially
# to avoid unnecessarily fetching custom Python when the distro
# package would be preferable. Python builds can still be
# downloaded manually via "uv python install".
#
# https://docs.astral.sh/uv/reference/settings/#python-downloads
python-downloads = "manual"
# By default ("managed"), uv always prefers self-installed
# Python versions over the system Python, independently
# of versions. Since we generally expect users to use that
# to install old Python versions not in ::gentoo anymore,
# this effectively means that uv would end up preferring very
# old Python versions over the newer ones that are provided
# by the system. Default to using the system versions to avoid
# this counter-intuitive behavior.
#
# https://docs.astral.sh/uv/reference/settings/#python-preference
python-preference = "system"
EOF
}

View File

@@ -1 +1,2 @@
DIST hoe-4.2.2.gem 191488 BLAKE2B 7d58d70b2011eebbc51603622f9f9b60a3c14e0ce5739596caf10f8574b72a2a1f384d2fd65189dec56a5a0e034adf09cdaee00cc6421ce9d24ceab327e19a19 SHA512 17e0e8b090e663eadb6fa383548cc24406801045d164d2520bd52fce80c547c26e45a95023b2be3d761d1623c7ff903133986768a2470bf88b346769a98b707b
DIST hoe-4.2.3.gem 191488 BLAKE2B f11beff8ea638fcadb8ff4b4fe68999a70b005e5f67dbcdbc8a9e1b46a804cefaf8c36529be2a38093424787369e2a26073d886962b4b5527b523033085a349f SHA512 8c810e83b61483778ab25574478b3eb45d1825c0b31aed4532bdf7710241283a13b04e4209dbf268ea510b0f90ed6fee9df923c44db3b514df3bddb92b02905e

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc"
RUBY_FAKEGEM_EXTRAINSTALL="template"
inherit ruby-fakegem
DESCRIPTION="Hoe extends rake to provide full project automation"
HOMEPAGE="https://www.zenspider.com/projects/hoe.html"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc"
ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )"
ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-15.0"
all_ruby_prepare() {
# Skip isolation
sed -i -e '/isolate/ s:^:#:' Rakefile || die
# Skip test depending on specifics of gem command name
sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die
# Avoid test with random sort order
sed -i -e '/test_possibly_better/askip "ordering issues"' test/test_hoe.rb || die
# Avoid test that depends on specifics of merged packages
sed -i -e '/test_make_rdoc_cmd/askip "dependent on merged packages"' test/test_hoe_publish.rb || die
}
all_ruby_compile() {
all_fakegem_compile
if use doc; then
rdoc --title "seattlerb's hoe-${PV} Documentation" -o doc --main README.rdoc \
lib History.rdoc Manifest.txt README.doc || die
rm -f doc/js/*.gz || die
fi
}
each_ruby_test() {
export -n A
each_fakegem_test
}

View File

@@ -23,7 +23,7 @@ DEPEND="
>=dev-libs/glib-2.66:2
dev-libs/json-glib
>=media-video/pipewire-0.3:=
>=sys-fs/fuse-3.10.0:3[suid]
>=sys-fs/fuse-3.10.0:3=[suid]
x11-libs/gdk-pixbuf
geolocation? ( >=app-misc/geoclue-2.5.3:2.0 )
flatpak? ( sys-apps/flatpak )

View File

@@ -23,7 +23,7 @@ DEPEND="
>=dev-libs/glib-2.72:2
dev-libs/json-glib
>=media-video/pipewire-0.3:=
>=sys-fs/fuse-3.10.0:3[suid]
>=sys-fs/fuse-3.10.0:3=[suid]
x11-libs/gdk-pixbuf
geolocation? ( >=app-misc/geoclue-2.5.3:2.0 )
flatpak? ( sys-apps/flatpak )

View File

@@ -19,7 +19,7 @@ RDEPEND="
!sys-libs/${PN}-libs
archive? ( app-arch/libarchive:= )
cron? ( sys-fs/lvm2[lvm] )
fuse? ( sys-fs/fuse:3 )
fuse? ( sys-fs/fuse:3= )
nls? ( virtual/libintl )
tools? ( sys-apps/util-linux )
"

View File

@@ -1,4 +1,4 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv ~x86"
IUSE="doc test"
DEPEND="sys-fs/fuse:3"
DEPEND="sys-fs/fuse:3="
RDEPEND="${DEPEND}"
BDEPEND="${PYTHON_DEPS}
virtual/pkgconfig

View File

@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv ~x86"
IUSE="doc test"
DEPEND="sys-fs/fuse:3"
DEPEND="sys-fs/fuse:3="
RDEPEND="${DEPEND}"
BDEPEND="${PYTHON_DEPS}
virtual/pkgconfig