diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-09 04:11:20 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-09 04:11:20 +0000 |
| commit | ec98ec612fcf592278472ddcb59fc4a45331b691 (patch) | |
| tree | 2dd3feae38606c47249ca1e2f6a063ef300cbac0 /dev-python | |
| parent | fe0074903c357914aaaadfa88589436e559ea326 (diff) | |
| download | baldeagleos-repo-ec98ec612fcf592278472ddcb59fc4a45331b691.tar.gz baldeagleos-repo-ec98ec612fcf592278472ddcb59fc4a45331b691.tar.xz baldeagleos-repo-ec98ec612fcf592278472ddcb59fc4a45331b691.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
38 files changed, 531 insertions, 298 deletions
diff --git a/dev-python/a2wsgi/a2wsgi-1.10.7.ebuild b/dev-python/a2wsgi/a2wsgi-1.10.7.ebuild index 3b8aeec7138c..5c925987e9c3 100644 --- a/dev-python/a2wsgi/a2wsgi-1.10.7.ebuild +++ b/dev-python/a2wsgi/a2wsgi-1.10.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong 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/aiodns/aiodns-3.2.0.ebuild b/dev-python/aiodns/aiodns-3.2.0.ebuild index c350c342a732..43a12a3449cd 100644 --- a/dev-python/aiodns/aiodns-3.2.0.ebuild +++ b/dev-python/aiodns/aiodns-3.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.0.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.0.ebuild index 6765ad68b6ef..e408d9dd3c71 100644 --- a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.0.ebuild +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild index c631b72e7867..29c845f22841 100644 --- a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}] diff --git a/dev-python/aiohttp/aiohttp-3.10.5.ebuild b/dev-python/aiohttp/aiohttp-3.10.5.ebuild index 256d0d8e55cb..c67b59fe20a2 100644 --- a/dev-python/aiohttp/aiohttp-3.10.5.ebuild +++ b/dev-python/aiohttp/aiohttp-3.10.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/aiosignal/aiosignal-1.3.1.ebuild b/dev-python/aiosignal/aiosignal-1.3.1.ebuild index 61907cf232f8..667431c62949 100644 --- a/dev-python/aiosignal/aiosignal-1.3.1.ebuild +++ b/dev-python/aiosignal/aiosignal-1.3.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/frozenlist-1.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/async-timeout/async-timeout-4.0.3.ebuild b/dev-python/async-timeout/async-timeout-4.0.3.ebuild index b7a2a0c40373..fdd9675735ec 100644 --- a/dev-python/async-timeout/async-timeout-4.0.3.ebuild +++ b/dev-python/async-timeout/async-timeout-4.0.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/elementpath/elementpath-4.4.0.ebuild b/dev-python/elementpath/elementpath-4.4.0.ebuild index d7722bf5af43..49c9ffc1b3d0 100644 --- a/dev-python/elementpath/elementpath-4.4.0.ebuild +++ b/dev-python/elementpath/elementpath-4.4.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k 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" BDEPEND=" test? ( diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index efd4622b1b1c..84805724f386 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1 +1,2 @@ DIST mkdocs-git-revision-date-localized-plugin-1.2.7.gh.tar.gz 377565 BLAKE2B 5af96b8775d605329a4156ed72d7ba4987e109e93035a12ca90ac74723d46529312113dad5a19084648e84bfde8f392f6617db95d0f1842e009d780e0e27fa1f SHA512 70f459fdbae7a8e5dc7649bec91c397059aabb4ff2da440be8a040b5c058052db27025a851344cf2853450041c0f18a2ec23e705f6d75bc2870c134a8952f756 +DIST mkdocs-git-revision-date-localized-plugin-1.2.8.gh.tar.gz 377738 BLAKE2B 32a6d3d0f084ddf411a33572743cc04ca57d9dde6a690dbf6cd7a6d1773e839f1422334fa4a54eb6d3bd17645492e4525efe6cd2ed281600e0ed57e44161d691 SHA512 0c5451ba169025eab6ed85beb6ca9af337dd1476c93c3f4009900dd7678caf98f85801e43edac84fc48b0e5ae7186fcee2f49dd3c51d34a29cc88260f933d93e diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.8.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.8.ebuild new file mode 100644 index 000000000000..f3f9d633029c --- /dev/null +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.8.ebuild @@ -0,0 +1,64 @@ +# 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_{8,9,10,11,12} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/regex + dev-python/mkdocs-static-i18n + dev-python/mkdocs-material + dev-python/mkdocs-git-authors-plugin + dev-python/mkdocs-git-revision-date-localized-plugin +" + +inherit distutils-r1 docs + +DESCRIPTION="Display the localized date of the last git modification of a markdown file" +HOMEPAGE=" + https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ + https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ +" +SRC_URI=" + https://github.com/timvink/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] + dev-python/GitPython[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/click[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] + dev-vcs/git + ) + doc? ( dev-vcs/git ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin's tests need git repo + if use test || use doc; then + 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 + + distutils-r1_python_prepare_all +} diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index c0fb205b955a..42fe35fc016a 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,3 +1,4 @@ DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 DIST moto-5.0.12.tar.gz 5345173 BLAKE2B 89bc77ab9409b6ccacbab350c77d3074c0adadf796b262d64e3a6ea11377b6e21f72a5223de6d34ab4d810fe6d80f3ed0beccc46a735d72bca344445b55300c0 SHA512 662843971f8c0c9169679097428d690a51ce70157738aadd6dca05cdf13643702a2ae0760865a4d6872b0e8585b06bc21369030b4b4ebbd285a1df8a765cd411 DIST moto-5.0.13.tar.gz 5389183 BLAKE2B 9428f5857ccf9082a985c90281267cde65f15fc970cbc43e00d6a38663c6786d1d8cd5aede4f01a0bb69c65bfa156e7b12336f19e0e2ff9da44291a367583eb0 SHA512 5fd3fcf4404e61056170eb187c4f9acb42b4178ad56ee44a74fdf423c061aa7455fb1ce4f34e0517e7eadeb2ffb32ea9485c100772fd89d4c12bb8956b2797c0 +DIST moto-5.0.14.tar.gz 5436824 BLAKE2B 9bcab90605a73c9b03c09285a00055c552437545b6d524377cec816ac569e4a1e399d84ccdd54ac0c1ac00ae253f8849bb5c3892e8d95021d31fa5c05705b3ba SHA512 063fe3b518263f0dfb9d0dc569d537bcbaba4a439e4945806c641cd7b0bc32e7431972ae800d4d581b1ae200122f5d22870faf8ce025377c174360cad2896aa5 diff --git a/dev-python/moto/moto-5.0.14.ebuild b/dev-python/moto/moto-5.0.14.ebuild new file mode 100644 index 000000000000..78fca165acaf --- /dev/null +++ b/dev-python/moto/moto-5.0.14.ebuild @@ -0,0 +1,196 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 pypi toolchain-funcs + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + >=dev-python/botocore-1.14.0[${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/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${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/jsonpath-ng[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${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/responses-0.15.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_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_submit_job_array_size + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_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_core/test_request_passthrough.py + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests + 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 + # require joserfc + tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration + tests/test_apigateway/test_apigateway.py::test_create_authorizer + tests/test_apigateway/test_apigateway.py::test_delete_authorizer + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user + No + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ + - + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ + - + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed + No + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed + tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication + tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + # TODO + tests/test_dynamodb/test_dynamodb_import_table.py + # hangs + tests/test_core/test_account_id_resolution.py::TestAccountIdResolution::test_environment_variable_takes_precedence + ) + local EPYTEST_IGNORE=( + # require joserfc + tests/test_cognitoidp/test_cognitoidp.py + # require antlr4 (which doesn't support py3.12) + tests/test_stepfunctions/parser + ) + + # test for 32-bit time_t + "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null + #include <sys/types.h> + int test[sizeof(time_t) >= 8 ? 1 : -1]; + EOF + + if [[ ${?} -eq 0 ]]; then + einfo "time_t is at least 64-bit long" + else + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins + ) + EPYTEST_IGNORE+=( + tests/test_route53domains/test_route53domains_domain.py + ) + fi + + 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_awslambda_simple/test_lambda_simple.py::test_run_function{,_no_log} + tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py + tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key + tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request + tests/test_events/test_events.py::test_start_replay_send_to_log_group + tests/test_lakeformation/test_resource_tags_integration.py + tests/test_redshiftdata + tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list + tests/test_s3/test_s3.py::test_delete_bucket_cors + tests/test_s3/test_s3.py::test_delete_objects_percent_encoded + tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata + tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args + tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args__using_multipart + tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks + tests/test_s3/test_s3_list_object_versions.py + tests/test_s3/test_s3_tagging.py + tests/test_s3control/test_s3control_access_points.py::test_delete_access_point + tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services + tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_is_reachable + ) + + distutils-r1_src_test +} + +python_test() { + EPYTEST_XDIST= epytest "${serial_tests[@]}" + + local EPYTEST_DESELECT+=( + "${EPYTEST_DESELECT[@]}" + "${serial_tests[@]}" + ) + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + tests/test_ses/test_ses_boto3.py::test_send_raw_email + tests/test_ses/test_ses_boto3.py::test_send_raw_email_validate_domain + tests/test_ses/test_ses_boto3.py::test_send_raw_email_without_source + tests/test_sesv2/test_sesv2.py::test_send_raw_email + tests/test_sesv2/test_sesv2.py::test_send_raw_email__with_specific_message + tests/test_sesv2/test_sesv2.py::test_send_raw_email__with_to_address_display_name + ) + ;; + esac + + epytest -m 'not network and not requires_docker' +} diff --git a/dev-python/musicbrainzngs/Manifest b/dev-python/musicbrainzngs/Manifest index 594037489815..b3e2179897db 100644 --- a/dev-python/musicbrainzngs/Manifest +++ b/dev-python/musicbrainzngs/Manifest @@ -1,2 +1 @@ DIST python-musicbrainzngs-0.7.1.gh.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9 -DIST python-musicbrainzngs-0.7.1.tar.gz 112302 BLAKE2B 1c0696c72b8ea78d182300c76c0040117e1448a7955fa9aed8e42d1ebf9aa1b43359cee1158920fa31d3fb7536796130b54d0d45f351ddb5449d8f022a55f552 SHA512 a674c38b5084d1ae554dd03d1b3e613b48f8f3f3ada67f8d608130cebd35f0640ca65f8b4d224c1e660975274b0b077ffae29739ac2dc5a7078ca87eb8ccadd9 diff --git a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild index 345f849b1cd8..f504ee3dca8a 100644 --- a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild +++ b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD-2 ISC" SLOT="0" -KEYWORDS="amd64 arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="examples" PATCHES=( diff --git a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1.ebuild b/dev-python/musicbrainzngs/musicbrainzngs-0.7.1.ebuild deleted file mode 100644 index 4bcb1cfd26db..000000000000 --- a/dev-python/musicbrainzngs/musicbrainzngs-0.7.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -inherit distutils-r1 - -MY_P=python-musicbrainzngs-${PV} -DESCRIPTION="Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices" -HOMEPAGE="https://github.com/alastair/python-musicbrainzngs" -SRC_URI=" - https://github.com/alastair/python-musicbrainzngs/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2 ISC" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples" - -distutils_enable_sphinx docs -distutils_enable_tests setup.py - -python_prepare_all() { - # Prevent un-needed d'loading - sed -e "s/^ *'sphinx.ext.intersphinx'//" -i docs/conf.py || die - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pillow/pillow-10.4.0.ebuild b/dev-python/pillow/pillow-10.4.0.ebuild index 3d025a018eaa..fa1ce3090cff 100644 --- a/dev-python/pillow/pillow-10.4.0.ebuild +++ b/dev-python/pillow/pillow-10.4.0.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" RESTRICT="!test? ( test )" diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index ef844e51509b..638987ca8833 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,2 +1,3 @@ DIST platformdirs-4.2.2.tar.gz 20916 BLAKE2B d7c551a950118a127664b8210f33497760ce06381ac6a4ea098d1a1c60605507b5e2a9762d5f7d112332d3cebd63cb642b25e93a8b67dd2a1ee7cca189f3555f SHA512 e67aff332a6c84669d77a68e7d5546bfd14e08dcf61681b03447bf6381c0d981c63be0f87fd63bc99f0a51c92bf960902ded83ba8872801c14755ab163d45a0f DIST platformdirs-4.3.1.tar.gz 21236 BLAKE2B 852d402831ad6060c6efc3841dd56a8484aca547e820ad9b46cc838d92f560407a769a01942bf03c31949e4b37240d292358617afdfa0dd7ea03eeba6bc62086 SHA512 6d4cd808190808bab5a90f44d9fe2fda0d624c7a76faf9f4a4a6093cd098a28b79782dbf895dcd0eeb82778aa094deeb0959fcbe25bdd93818a47b9e197b6299 +DIST platformdirs-4.3.2.tar.gz 21276 BLAKE2B 9bd9a2b3258e2fe411062895bbcc5036c77d95e092df81c9b9b113f64b4568ee44623a747048c9011e9465fb22600db9256e4900c7710a75fc27cf19c07732c7 SHA512 0bad11558f3d60f1476cdcd36a405c7218b9ce68342e3a78f95936356d91fcaaa869549503cc35055d9ce3b3eec219a980ba35e814dd3706fb4b7812aff04dd4 diff --git a/dev-python/platformdirs/platformdirs-4.3.2.ebuild b/dev-python/platformdirs/platformdirs-4.3.2.ebuild new file mode 100644 index 000000000000..d52a504e84f1 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.3.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/tox-dev/platformdirs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > 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 +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/pycares/pycares-4.4.0.ebuild b/dev-python/pycares/pycares-4.4.0.ebuild index 15d2f09d3cd0..cf55ca659469 100644 --- a/dev-python/pycares/pycares-4.4.0.ebuild +++ b/dev-python/pycares/pycares-4.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" IUSE="test" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index b86f69ef4f9d..c2d3df247513 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -2,3 +2,4 @@ DIST pyproject_fmt-2.1.3.tar.gz 9016 BLAKE2B 742d29283f883f36a6705b7461345593205 DIST pyproject_fmt-2.1.4.tar.gz 9023 BLAKE2B 1a44332ea829efb22d7b561abef1f362f7eb6ca4682586511e4a87c8f26f55a510f2a1f5e065ec21208c04f754dd729133c859f5d388b0af94578c53bab55d1e SHA512 95e4f99c2ded8f69dca4bbca208512ca17e6fc1e7e13a247f2932c7539ff802a4ed6a822c4ffbada749d4eef15aafd7189f85d722e41360b3523c2b633e15d99 DIST pyproject_fmt-2.2.0.tar.gz 9135 BLAKE2B e4ea7a11168257978fb607a7c1dcb6e9450d139c7db5f2e45fe065ddbd5e6edfca97b4f7dd80bd7cd632068ae86cca7ef7efbd2850cac4237065319f554c5366 SHA512 97d4e8e881b39fd47f0b2b96b413e6f4462bf35e4a9797811487931188bbfcb971e744012ebee545ede0ff94d7ebf2abee0b97b965ed452628c49c69fd47070e DIST pyproject_fmt-2.2.1.tar.gz 9175 BLAKE2B 8968163f175c22a7532a8f582d522708a4c5740a682a617fd8539009a5409d0d6f6f5679c754ac6023047923837675191c35906d0876b4e728d00e135cfd3c5a SHA512 ac2dea741cff18e0a12daf6e0076b1fc42bdb097f10a8f49a8d131fc37e4c16f811b95fb537e0c0a852eaa6fcc8c6efd9331be3087748720fc436daee0c7285d +DIST pyproject_fmt-2.2.3.tar.gz 9157 BLAKE2B a9cc1771c05d504fa0e7321f1c97cfd09f44a39ec7bdadbbba31f0fbe62b955a1689aa2ff8edb0274e5f352cca872591babd7f6c62189cf5bee1567ffb1f306d SHA512 404b038aa7d189d17e2c1df873e4bc50a199dcb193c064e19eb54a5f671fdcdc2c51ce9b19dff10e6c0dda089aee7070f7408892b6ca393abc2ed5b5ff666812 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.2.3.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.2.3.ebuild new file mode 100644 index 000000000000..89111adfc56a --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/pyproject-fmt-rust-1.1.6[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +# 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 diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index 1439bcd9e2aa..efbdaf728ac4 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1 +1,2 @@ DIST pyscard-2.0.10.tar.gz 153351 BLAKE2B fb600032321ac0bd372c7aa8fcdd82273af9edcfb51eb5d455296a2a685a291e442209d5c59d60b81cdd8cb3b0699f733e41528fe06ed827558146ba4085c97d SHA512 231d5abc0ad31ae7f0e394f928045346323f1040b313394a3d235282feb79bfec0d124ebde84017178dfa1983beadfb245a33bfa6a75b4fab9e65c3090b9e9cb +DIST pyscard-2.1.0.tar.gz 153511 BLAKE2B 072fb49ab17bdb32cf3381b9e769125b1c934f5830af6e33547a083025019c01cf61e077a1b4c5883572aa6db1e006f4a320fe07e097e6687dca45996aa1c6a2 SHA512 de0c26108751cc2b674968982f7982ad971c93890c32a0731394074dabe72805399755ed9f042aa4bc019e95b705d4394e0ac844699bbf8192ab5e779e43f2fe diff --git a/dev-python/pyscard/pyscard-2.1.0.ebuild b/dev-python/pyscard/pyscard-2.1.0.ebuild new file mode 100644 index 000000000000..eb9130e83cf3 --- /dev/null +++ b/dev-python/pyscard/pyscard-2.1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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_{8,9,10,11,12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Smart card support in python" +HOMEPAGE=" + https://pyscard.sourceforge.io/ + https://github.com/LudovicRousseau/pyscard/ + https://pypi.org/project/pyscard/ +" +SRC_URI=" + https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +DEPEND=" + sys-apps/pcsc-lite +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig +" + +distutils_enable_tests unittest + +pkg_postinst() { + optfeature "Gui support" dev-python/wxpython + optfeature "Support of remote readers with Pyro" dev-python/Pyro4 +} + +python_test() { + cd test || die + eunittest +} diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest index 0d1e7dff5af7..1a1b9f0615a8 100644 --- a/dev-python/pyyaml/Manifest +++ b/dev-python/pyyaml/Manifest @@ -1,3 +1,2 @@ -DIST pyyaml-6.0.1.gh.tar.gz 120376 BLAKE2B c34f2169f6eb6aa718aeb53dbfaf02590e11e504d16cc85a802e1a1191f296ef9aa2501db683e1a48173ce6adeaeca09f2ab989581dcf1c1ba4004831bb4cf47 SHA512 1c74a92a4ad7d47854dc7bcb2e89b3c8e0b14fa815c7dbfbc22b24480dbba6c81e971c77ee384c494a960914b95f06edf943d7431925a5ed674a0ba830d258e0 DIST pyyaml-6.0.2.gh.tar.gz 123883 BLAKE2B 16ea7f376e45caccb461a18d4347fb06ffaf0dfd65b18e5bd7e74a14ffdce05c9c016c54bd6a501b444bd813f1bfc78999f212ca72cfabf3b125f5ab2f37167e SHA512 c72665131296762521d9ae4fc1c8619946f46ea16ad98b6b8e995828f2cdbd1ed61741fc2d646753f71d95a352b36562a1302f0cb646d5705652cd24b2f10b16 DIST pyyaml-6.0.2rc1.gh.tar.gz 123879 BLAKE2B 9d983338c4e61fa6f5056aa7733dadc854a859baffe3ad5a353d6fc0525b6c5788df7e85ab40514ad8bdeffbccf10417701fdaac4d0985e0a20b300867b89f4f SHA512 4eac37f3b367099e93c53f327f5f838d5f2f06fa636ea08f277a6cf4f570b7dc9870b35057a889d0895c2abd1bfc121d624f282610dcf90e68727973573267ef diff --git a/dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch b/dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch deleted file mode 100644 index 346339916f17..000000000000 --- a/dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://bugs.gentoo.org/898680 -https://github.com/yaml/pyyaml/pull/731 - -From 17dc5b6cd96dcfe64fd71789c771ca9b96d260e5 Mon Sep 17 00:00:00 2001 -From: "Andrew J. Hesford" <ajh@sideband.org> -Date: Fri, 21 Jul 2023 09:50:00 -0400 -Subject: [PATCH] Fix builds with Cython 3 - -This is a *de minimis* fix for building with Cython 3. Recent Cython<3 -releases provided `Cython.Distutils.build_ext` as an alias to -`Cython.Distutils.old_build_ext.old_build_ext`; Cython 3 drops this -alias and instead uses a wholly new `Cython.Distutils.build_ext` that -does not provide the `cython_sources` function used in `setup.py`. - -Explicitly importing `old_build_ext` preserves the existing behavior for -recent Cython<3 and uses the correct behavior for Cython 3. Should the -import fail (*e.g.*, because the version of Cython available predates -the availability of `old_build_ext`), the import falls back to just -`Cython.Distutils.build_ext`. - -Signed-off-by: Andrew J. Hesford <ajh@sideband.org> ---- a/setup.py -+++ b/setup.py -@@ -82,7 +82,11 @@ - with_cython = True - try: - from Cython.Distutils.extension import Extension as _Extension -- from Cython.Distutils import build_ext as _build_ext -+ try: -+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext -+ except ImportError: -+ from Cython.Distutils import build_ext as _build_ext -+ - with_cython = True - except ImportError: - if with_cython: diff --git a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild deleted file mode 100644 index e4dc97606f81..000000000000 --- a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="YAML parser and emitter for Python" -HOMEPAGE=" - https://pyyaml.org/wiki/PyYAML - https://pypi.org/project/PyYAML/ - https://github.com/yaml/pyyaml/ -" -SRC_URI=" - https://github.com/yaml/pyyaml/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -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="examples" - -DEPEND=" - dev-libs/libyaml:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.0.1-cython3.patch -) - -distutils_enable_tests setup.py - -src_configure() { - export PYYAML_FORCE_CYTHON=1 -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 3fcafc9434f8..991c6c7af7d2 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,2 +1,3 @@ DIST starlette-0.38.2.gh.tar.gz 2847558 BLAKE2B 8416b4c0ab06be3cd0a90916cbd6682f28f4f09ed38bac0558fd6293bc4e1069c5d09a2a3e6ecc62522290db1dd05e4828eaceab96d547947bffb6d464364aa5 SHA512 5594f2f073662250cd7ca47bf835af09b77decd78b5e2f2a5e25fc87e3e59ccc61e6c07ad854feda11b1af8535744557d70778d2c57d01554756f8da10678a97 DIST starlette-0.38.4.gh.tar.gz 2571795 BLAKE2B 0a4d9856b3bf51a2d86b36bec74df7845209d0e6b0cc5865180d498e60b5d29ad8fe32e5137c3b7f6e69ee805f3fa2544c338715401fcb6cb46aaf7030e3334f SHA512 853b1562f90f487306c23753b4ec41f099b3115bdc64a5b87d0db43374ce86a6546c4845fcd924965a7566ca7b52e6ab768825bb05830967f7f860e3a32a00ac +DIST starlette-0.38.5.gh.tar.gz 2569392 BLAKE2B 9ad32478b22cc743652eda43ad71e6b43af9a1c9b42614a16b5fbae282cfdf5e1c092717bb35711d256e75249cf8705d3545289236c78382673f87a9706b7599 SHA512 1ad5ddb497eb35c8b0b2569218b7e98cb4bee0fc2497912aa86bc75fd894264f8d30c886313cc4aa6dd02a24197d71dbd0640b7e2f0a472ce1002ee5cba5ae59 diff --git a/dev-python/starlette/starlette-0.38.5.ebuild b/dev-python/starlette/starlette-0.38.5.ebuild new file mode 100644 index 000000000000..ea0e55d00661 --- /dev/null +++ b/dev-python/starlette/starlette-0.38.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +# no docs or tests in sdist, as of 0.27.0 +SRC_URI=" + https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/python-multipart-0.0.7[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +: ${EPYTEST_TIMEOUT:-180} +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p anyio +} diff --git a/dev-python/xmlschema/xmlschema-3.3.2.ebuild b/dev-python/xmlschema/xmlschema-3.3.2.ebuild index abfa2376bcf3..f2ae0a1268bd 100644 --- a/dev-python/xmlschema/xmlschema-3.3.2.ebuild +++ b/dev-python/xmlschema/xmlschema-3.3.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k 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" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index f772356cf2f9..25f9b3a59e66 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1,8 +1,4 @@ DIST yarl-1.10.0.tar.gz 158919 BLAKE2B 07560c311c6388555fa10b94490576a0a5352be0ab511173624ca89322ad28281f7995593bc57c195a181dc4b80a5e3866b029294d9ce1d8ab0100036105636b SHA512 8854d04c5beb0cca37b32f0dec370ecf1309fc4f13f6c1c7da02bd9c49d9a8f95cb24218d3ba4e06bbf3d62226d69c87cf8ec8af71506a5680fb837dafba4d24 -DIST yarl-1.9.10.tar.gz 155594 BLAKE2B b86fce589c0da63d94939a788fbc98f39efb233d4777c7753f23cf42c0c2df8a121a4171606a3b617e7e2539f7e151a1a717dae07d94c44d08b1fc466c0bfda1 SHA512 554fcbf6b39fefc2e2e5b309d989de071cebc285446df3cba3703100974d6832be894ff5ccce52e85a643b69282227d34787dbb21cee88039cf9f1021e967d12 +DIST yarl-1.11.0.tar.gz 160812 BLAKE2B 166b919d866b2f224517a3b6ad728627aee2171b10f4b53e6a04ab2379cfcbe0105e5c1d4f43b5946b52164b5d8be6a6394a0468a6a9b06507603c4f65c5963b SHA512 826825786a6d8fd9de628fb89b053024e455a3c6fa8e56e059214b7bcdffc41451d8ac6b3d89fc123c3657287d3f8c3d475cb8ea733353bf9c2794b7e79b7bdf DIST yarl-1.9.11.tar.gz 156445 BLAKE2B a5af473f7e66b1a4e9f97a4ff4e323764a05289e899926c803af16df985d47bdce7aa87d0099015c3a6033eb5cb942feab9879ea135076fdecdfc3d0afa98b94 SHA512 226a357f202693bece39136d595a444221fdde2727bc9d5fe392ccd80e86c6a35cee7d0882c66649b288efae5b3ae4ba1bcabb9844b8f47654c9ccbacc8337c0 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82 -DIST yarl-1.9.5.tar.gz 151787 BLAKE2B ba23624f622894c316452ac888323f21d6c8c582c768b6c41fd44cfd3e5c245eb167bcdfa9f75e9d67236f0f4cc8113750c8e4e8e595e8ed15bef545af5b996a SHA512 82aeea18f811d6546d89b19140255bd022a4e4ce349dc5f3cabaf26795553ffefbe62f67fec337d0177562b4d937d98e2944e8e42b584e96b0e90593fee215f9 -DIST yarl-1.9.6.tar.gz 151377 BLAKE2B bc4b348a458858b57a4ccbe1a05ce25006a79d1cd728d9e6a858c8ea0aaddc80c4f5bf783a5019669fdc881a5ebc247c097da067ddc6715b4c1d85c362ceb1c3 SHA512 edeed5ac73077f35e0c93135e0e8d23a4be2f155c43537275418c6d0354c379026fbfa7972b91669beb1856e1d1e65c9bffa56c6d9ee3fb9c4d246e0af3d3b2c -DIST yarl-1.9.7.tar.gz 153261 BLAKE2B 745145258d9a3ceb7d41f46b07c56418c2f294537544c310eea49752e7f9d83cd9cdb44c74fa4b2aa8e95ed72f12113ce634af745116100d9599c06b5fa873d4 SHA512 ffb07f1170a483e9018f0b497a44c7e086e41e76067a0ff9ad9941d422656fdb8ad0be04702d221767798233cf5f2c0e849226c8e82f1a64ff6e84eeb1ed6c5e -DIST yarl-1.9.8.tar.gz 153867 BLAKE2B 587aa5532709dd118235ae6627ad1d332e482567306c04e74e2b7d9e5a033446c566b6f6151dc15a7e14daae18bb6c25aaad8d06b20a147d91bbf448ba271dea SHA512 29be77dfe0bbf269efe73a16d6282cff579bd38ab3796b1f3d817b070c90bcafafecb29cdc6bae4bae034e672b7479d9901717478f4d1aa6df895f12fee1c253 diff --git a/dev-python/yarl/yarl-1.10.0.ebuild b/dev-python/yarl/yarl-1.10.0.ebuild index 3f3ab5f82dfe..7422813181d1 100644 --- a/dev-python/yarl/yarl-1.10.0.ebuild +++ b/dev-python/yarl/yarl-1.10.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/multidict-4.0[${PYTHON_USEDEP}] diff --git a/dev-python/yarl/yarl-1.9.6.ebuild b/dev-python/yarl/yarl-1.11.0.ebuild index 3f3ab5f82dfe..7422813181d1 100644 --- a/dev-python/yarl/yarl-1.9.6.ebuild +++ b/dev-python/yarl/yarl-1.11.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/multidict-4.0[${PYTHON_USEDEP}] diff --git a/dev-python/yarl/yarl-1.9.10.ebuild b/dev-python/yarl/yarl-1.9.10.ebuild deleted file mode 100644 index 3f3ab5f82dfe..000000000000 --- a/dev-python/yarl/yarl-1.9.10.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Yet another URL library" -HOMEPAGE=" - https://github.com/aio-libs/yarl/ - https://pypi.org/project/yarl/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/multidict-4.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/expandvars[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - cd tests || die - epytest --override-ini=addopts= -} diff --git a/dev-python/yarl/yarl-1.9.5.ebuild b/dev-python/yarl/yarl-1.9.5.ebuild deleted file mode 100644 index 3f3ab5f82dfe..000000000000 --- a/dev-python/yarl/yarl-1.9.5.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Yet another URL library" -HOMEPAGE=" - https://github.com/aio-libs/yarl/ - https://pypi.org/project/yarl/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/multidict-4.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/expandvars[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - cd tests || die - epytest --override-ini=addopts= -} diff --git a/dev-python/yarl/yarl-1.9.7.ebuild b/dev-python/yarl/yarl-1.9.7.ebuild deleted file mode 100644 index 3f3ab5f82dfe..000000000000 --- a/dev-python/yarl/yarl-1.9.7.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Yet another URL library" -HOMEPAGE=" - https://github.com/aio-libs/yarl/ - https://pypi.org/project/yarl/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/multidict-4.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/expandvars[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - cd tests || die - epytest --override-ini=addopts= -} diff --git a/dev-python/yarl/yarl-1.9.8.ebuild b/dev-python/yarl/yarl-1.9.8.ebuild deleted file mode 100644 index 3f3ab5f82dfe..000000000000 --- a/dev-python/yarl/yarl-1.9.8.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Yet another URL library" -HOMEPAGE=" - https://github.com/aio-libs/yarl/ - https://pypi.org/project/yarl/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/multidict-4.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/expandvars[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - cd tests || die - epytest --override-ini=addopts= -} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index dd0c30a8b50d..ba082c4d934c 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1,3 @@ DIST zeroconf-0.132.2.tar.gz 170698 BLAKE2B 7c76e2a00571a19b23f288dc1183da6ce274ebdf3f64f323e282f444011f7cbf90a63e02a991936a2cfa2d227568b31444b8f61f1110588638d4e888dd8749a6 SHA512 686cdfd2f32c6bad03fb5fd287b1e22f2f0b5099a8971dcff1d9fca7e63bc8069b195feb97be710c20fae8c524ab92143e395cdfec26ede103295d1aa4d32a8f DIST zeroconf-0.133.0.tar.gz 171328 BLAKE2B 2a32186bf17120d2448383af252a4a47e83c5900187e841974fa7b1fc4ae70b1227cf5baf556f7d24650f75e6f27a6a4a5b4f2f797b47c55d5016d20a1263c1e SHA512 06ec5f4face3578a16a38ebd750c9f74cc38932e840c8615d597807a3b5781adf9bd5bf2f8b438df165993de4f429c45efe9f4751baf7d00b4ebabc348984b41 +DIST zeroconf-0.134.0.tar.gz 171689 BLAKE2B feac4312bc418ff8e703afe4248a2639d55c829ad4ff817d2b07da4b5e486ae4e4c09949522f0241831712b1217496155aae5a523797f78d5d9dea6ec784aca7 SHA512 1d0d9f4a55555f3a1c28ae5c446d6a284a29e35e0cae51d0c2ef7d86f9f55c5b175d644a086adbcc9594d2aa9875d41e9601668514f4b91ff251a77926ee25ee diff --git a/dev-python/zeroconf/zeroconf-0.134.0.ebuild b/dev-python/zeroconf/zeroconf-0.134.0.ebuild new file mode 100644 index 000000000000..4068af29f913 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.134.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 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_{8,9,10,11,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.0.8[${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= +} |
