mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
Merge updates from master
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A Python package that generates fake data for you"
|
||||
HOMEPAGE="
|
||||
https://github.com/joke2k/faker/
|
||||
https://pypi.org/project/Faker/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin
|
||||
epytest
|
||||
EPYTEST_XDIST= epytest --exclusive-faker-session tests/pytest/session_overrides
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A Python package that generates fake data for you"
|
||||
HOMEPAGE="
|
||||
https://github.com/joke2k/faker/
|
||||
https://pypi.org/project/Faker/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin
|
||||
epytest
|
||||
EPYTEST_XDIST= epytest --exclusive-faker-session tests/pytest/session_overrides
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A Python package that generates fake data for you"
|
||||
HOMEPAGE="
|
||||
https://github.com/joke2k/faker/
|
||||
https://pypi.org/project/Faker/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin
|
||||
epytest
|
||||
EPYTEST_XDIST= epytest --exclusive-faker-session tests/pytest/session_overrides
|
||||
}
|
||||
@@ -1,4 +1 @@
|
||||
DIST Faker-25.8.0.tar.gz 1760950 BLAKE2B 89b18875ae2c3934423d4e7ce9d0da048830f73384db73589372791c6a1798254e3cab54b566ecfbe3263c44edbe12f2c3e7e0d6cbb004e6fc09e9b2e12f7e89 SHA512 88d0c073b48e0df050d3601d97223d64ccf04ad57d59cb37e26a40211633b04301000e7ce12a124e97b32b63225b440f5b44e1d6197f9c8999f7dd0b579a075e
|
||||
DIST Faker-25.9.1.tar.gz 1762549 BLAKE2B f331ba11899f0711a74aa4c6a3f883113c00ef16960816b26163be2355bfd1aeda1e01fb5ff430d5f34f99a21e74195d8cdd1fb44fb23e3870a6592242564ab9 SHA512 191ccf0cccdf125cabf2af20cf74681d3aa28038eb2551f7e1cd3a285b17e2fc1d8b245888c44d9a1f66b1f9a5ddc1847ff2e421ef9fb8732efeb56e0957a898
|
||||
DIST Faker-25.9.2.tar.gz 1762726 BLAKE2B 75e11d91eae914a8093e448802924e2bc63815317a36870909709648389dc4d55fa1951b588a7fa6ed1cf1468724158abc16342465156d00e66f1febb545d47c SHA512 6f1272b64bc973f3e9f32bff589aedf8db35ae3c90ea9d459babaf47e327cf26199f05a5cbc888c13aced41722e91335b8c34685b9bebda4a939aad89098bbd1
|
||||
DIST Faker-26.0.0.tar.gz 1763318 BLAKE2B 63cf76993c3e4fc229d5d80f3cd03d964f5f7f6fc7f9cb1aa272c075360ebec57289139d09d11d181436b30cdb5abc7fe7d7e5cc11d63e12b0e8746605f85d6a SHA512 ea09d4222b258f52e9d9b2c315ee46f42beb624c038f63d4a82baadafbf4a9cc382b92076bb7c421026c1761cadb246364bfc71a05177458a8e23d2eca2fd6e6
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
DIST cfn_lint-0.87.8.tar.gz 4136317 BLAKE2B eb0c30ff83ea9eca80b0a5e2a364e9d013bae2edc245fff61e1a77ff969a23314b2f918a061f03dff6aded543563f1c318ffb389eb4a8cf1da4a142892b0f31b SHA512 044e9f5e88b4264c5782d25f4216e328cb4cc6b09441790fc150c0162393505f2f874cf8992b870772091970557aa6fa5d1991e35c61253c33f75d7f17070ad3
|
||||
DIST cfn_lint-0.87.9.tar.gz 4099520 BLAKE2B cdcb2a4b569f96eb4779e12a848078659dfb103c4f61f583127152db1b80ae951e46e3850a02a520ed242605e91328817fd7568779304cc08746994332934309 SHA512 6868723a9a7adb709fe5c6e80760d4276e781d25812f6a77b2c73ad290be67d43bfdbabbe100ae39a7c573da8c718660134ed9940351e4c42ba119f6c6153ca2
|
||||
DIST cfn_lint-1.3.7.tar.gz 2469769 BLAKE2B aa059688cee5dfc35ea76a0d771e3c3d370780d6bacef2f524f60a408b572eb92a23367141cbe195afff0e0599102b4fc05354e2bd9d712f936db32f47a4bf91 SHA512 77dbc087c91d75946838567dd95d4fbd32131e07020d8076748154ae1b2cbeea1f348e650534279fa573732dc22691e65e0e542f539156b0af59ff5422396ffc
|
||||
DIST cfn_lint-1.4.2.tar.gz 2485843 BLAKE2B c2e64721b537ab38cad3c3f6d40c509741fb03f61202d7dace4023f4b5b3a7840b7deb88892d9d282d223756a1e3908680ed166cdf216b0c76abdc29d0749967 SHA512 c9761e253ba77198264eabdd9c4e6a290bb9010533628958853c8d5a0f5f7317338f271588b5cef2ac1667f6ed5e1a6e43a3192aa9ff7202b0ca6db061284818
|
||||
DIST cfn_lint-1.5.2.tar.gz 2353616 BLAKE2B 2f7231c1c0b51668c1994558a6bfac24c250087736d1edab8dc3d266a5503c6298336749fb9e49f8b4953df6dcbe53a028cefde7c122fe942d0974c1f193413c SHA512 36fee3f67566c831224ce00efe2851df6df8f159ad6d843636948de9babfb56bbaa2789cfd6d8373493b482471d9caa046925f4a4d6bc61c5cae62ec8820a9b3
|
||||
DIST cfn_lint-1.5.3.tar.gz 2354279 BLAKE2B b8c836db35453efbb27fd050a4cb3090ca99fb050256c4e0b8cd5b634320d677f2ed325894a700127891b614ab70cd436e7af06759f9dbcf58ad45f4b50ee779 SHA512 38ce749f21e6118f129d98d21ecc01bc4f828efce8af9f597f624eff9a062dbceb8c670cfbaa0cf581c14d187094ffe90ada4293679c1e0f77cb3baff3308b26
|
||||
DIST cfn_lint-1.6.0.tar.gz 2365490 BLAKE2B 642ef47068f6684c721c65a2a71701ece4a16534494493730b7e8e898f54df471250402103480adcf0d6db0cf4cbeeb2c2120fd13e4d27ad9c4033defeba221b SHA512 d563e86745a7f3926011765c08c2b64fa5cae2c9772ecb81cb3807e6ba328f9ae868dc13fe66297e49eb3b71323a76b6f7537929a731e44a79afacfa7fb9c127
|
||||
DIST cfn_lint-1.6.1.tar.gz 2366313 BLAKE2B af7b3e8d5145f3368d4c7b2e86b0ffe441c1f6633de34024e8c10d8cd04625673a25e847c15f30a6778bee8196096ffca58241e3a6f21a750094a3b2845f5493 SHA512 f354fa40677f8b601dabfb12b8715f4eb49f8e8aec72d3b9eeb4a63fabe278c36629f404b193f557b193280d6ecd224f0f0a494f9dfc61a04ebb24d0fe953d67
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit 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.89.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/requests-2.15.0[${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}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin the deps
|
||||
sed -e 's:~=[0-9.]*::' -i setup.py || 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
|
||||
)
|
||||
|
||||
# from tox.ini
|
||||
local -x AWS_DEFAULT_REGION=us-east-1
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit 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.89.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/requests-2.15.0[${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}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin the deps
|
||||
sed -e 's:~=[0-9.]*::' -i setup.py || 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
|
||||
)
|
||||
|
||||
# from tox.ini
|
||||
local -x AWS_DEFAULT_REGION=us-east-1
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit 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.89.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}]
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..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.89.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
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..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.89.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
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
DIST dkimpy-1.1.6.tar.gz 66557 BLAKE2B 89e6752b97611eba5ecf0f487d10b3210f7b898131e465639aa0a8f2120c3a2901ad844db275748148574cbfcd1a5eeaf3319c09172b51d7a79342a0ee16f285 SHA512 d61331cc7baa3bd5156d919a4a88ad792ac3c3077381585f8b5aa1a35dc50761b86286312e13f3514496ab50bdc6f2dac469f4b5419b49053c1c9204d569d317
|
||||
DIST dkimpy-1.1.7.tar.gz 66735 BLAKE2B 2cca9b23761a6b87cc94d441eb65788971338a53301d00b077e767b0f0591c1db88e64fb57a16e8d78cbdaa0fd8218cb32eb4f1fae2b6760bbbf80ae42e067cf SHA512 79f25bb9f83b3d75aa21aa5521b17679228cd196d26ca35afb8aaf44dd0454bc7dfa50802d33800b410ee680305f2b60da052a9fd9ed6d0aa5838e8093b9236e
|
||||
DIST dkimpy-1.1.8.tar.gz 66979 BLAKE2B 4b118c02dc9039a21fcd4309c6d4f44f8d3d44eacb45f523b5527f217bbb27a58d77d2771fb23447c36bb6f07f9100a075e34a342da8d95bb8ac2cd60b944a7d SHA512 c8a53c01ab329e40ac66c1c77e40f104871fb9f52058a530d08b26599c20cd960f0f4b6a1e4be8e173332634ed0b10e0bf0711285a8eefa40ec5cfdbed74e12e
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="DKIM and ARC email signing and verification library"
|
||||
HOMEPAGE="
|
||||
https://launchpad.net/dkimpy/
|
||||
https://pypi.org/project/dkimpy/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/dnspython-2.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/authres[${PYTHON_USEDEP}]
|
||||
dev-python/pynacl[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "ARC support" dev-python/authres
|
||||
optfeature "ed25519 capability" dev-python/pynacl
|
||||
optfeature "asyncio support" dev-python/aiodns
|
||||
}
|
||||
@@ -1,4 +1,2 @@
|
||||
DIST importlib_metadata-7.1.0.tar.gz 52120 BLAKE2B a43a1f0724b3197f51c055d36d31700d67b3bcae849fd648c7cd1ac158a410fdf05a27f2c7003a30e566f86ec5dcbf7cf386ebe4e0ed0a1ce2e89e280ab9e1d3 SHA512 e75db6da03c251acc690ceef6ab2b668acfcf5499032cff370a574b31a5fd7afcbf9756bc20e44e6e649767c1609c7ebb40203aa6406ec5341f27fba886d208e
|
||||
DIST importlib_metadata-7.2.0.tar.gz 52330 BLAKE2B ae781c9f161ebb52c862352aa460d071cce7c410747bb3ed0a3e7a1166aeb2a071ea0d17171b52e11ab6b60e6580f81b82a6c49a028e5bffece9720e628198e1 SHA512 0e39394b6e91970bf6777a5242ffa1d91524798eb2c8c365fa66099d52e5071f0daae39aebe03e2f5d2533e671792ddd1a342a2f10690df565ef39e251b3d0d7
|
||||
DIST importlib_metadata-7.2.1.tar.gz 52834 BLAKE2B e0225aab9ce4dc1049628bdc36dc62db975759f5e963842005ff11dde775a58aa9ce4e479073e8f427da6c00f2836d017ea2f7e37953c090fe36a8e49da5425c SHA512 553cf9e490f2a0f5587ebe8c10ae28f1d692c15b60537f73d07e4e2ee78d6e6de72275ab4f9f1fbe8994dabb525f0004afbd5d232b00f1cb9e2b01f2c8c14e8a
|
||||
DIST importlib_metadata-8.0.0.tar.gz 52667 BLAKE2B 5ca77157938dcced0c32a526e760a2d29bae5c34fa5a8f5711f3746278a9843ca85d82405eafe18821b5f7956bf75cdb2b619db903be8de96d60462b4af7fb62 SHA512 07245e6ba3f47ecc7ff4201b2dd24e6970317fe7ef0a39d74a66de180269f480c09e12601738c7c11e720a2e7c78347871ff83700c7f796a01fb1a12c8e46ff6
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
# NB: this package extends beyond built-in importlib stuff in py3.8+
|
||||
# new entry_point API not yet included in cpython release
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Read metadata from Python packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/python/importlib_metadata/
|
||||
https://pypi.org/project/importlib-metadata/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyfakefs[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "setuptools' 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 = "importlib_metadata"
|
||||
version = "${PV}"
|
||||
description = "Read metadata from Python packages"
|
||||
EOF
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
# NB: this package extends beyond built-in importlib stuff in py3.8+
|
||||
# new entry_point API not yet included in cpython release
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Read metadata from Python packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/python/importlib_metadata/
|
||||
https://pypi.org/project/importlib-metadata/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyfakefs[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "setuptools' 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 = "importlib_metadata"
|
||||
version = "${PV}"
|
||||
description = "Read metadata from Python packages"
|
||||
EOF
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
DIST python-nbxmpp-4.5.4.tar.bz2 138170 BLAKE2B 00a4919032dd29828dc735695afe9c0814a8fe2ec765a534257768896d9f27bc3a395275d546ad717bdd16c97161e8f0a8acaf43cdb7bd9404e40bc72f2c3da5 SHA512 fcaedae519d8cd2d52cc65721ab1e743569ba1cf7c29f2db41ed5671ba0f2c5b47f1f6d9521e1614e89e21512a4575c6788316cdb86936f0c4886d54c3831bb3
|
||||
DIST python-nbxmpp-5.0.0.tar.bz2 142680 BLAKE2B 9e54ad931ad5145c743f07e888eca519707b9179ece95d740c2209068cc02ee56b8af41bf18cf690ddb703485fab5f532b5bcf33eb74f022b0701c9421e3cd96 SHA512 0797e20dbdfaebbeb0a274786cb615cd0e57b26ec876ce94e5d66beb077510f8b38a97e0d0b151e2e069b10d1fe10b755d6531a4c676d7292675335314e4c214
|
||||
DIST python-nbxmpp-5.0.1.tar.bz2 142702 BLAKE2B 5459da538e3c05959c382e70fe8348b566333f4f68e76775b7bc8760f294ecc3bdb999124d1124bd5d7874af209f699eb4ffa1a15ce61ad70f98f235c70e98dd SHA512 eb20df090ec61013e6f26288798aeb2f2d61eab493cb4a52d5097a85d6dab8c45f033f2064583af5bf3ed920be33107419a958b65df2cf13fcd8ea6ae3297adf
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=python-nbxmpp-${PV}
|
||||
DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way"
|
||||
HOMEPAGE="
|
||||
https://dev.gajim.org/gajim/python-nbxmpp/
|
||||
https://pypi.org/project/nbxmpp/
|
||||
"
|
||||
SRC_URI="
|
||||
https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ~loong ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/gobject-introspection
|
||||
net-libs/libsoup:3.0[introspection]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
>=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.42[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
@@ -1,2 +1 @@
|
||||
DIST python-socks-2.4.4.gh.tar.gz 31998 BLAKE2B c3aa137ff679790420ded9644987eed23695c82a5621c420350ad52ca8121215326575f4c389912fb646151fc84187bfab38674ff6dc2a2f3587c4662f51c0f6 SHA512 a357fbd16cf653555bb624103732041efa80b1ae21a6347fdcb609de3cc58227ac053d21b62124fd77b21a16b19a2786bc1a8c33cc3b50dcffb3023bd6704f57
|
||||
DIST python-socks-2.5.0.gh.tar.gz 32293 BLAKE2B 20eaa8b27d695116f9d03bfa1807496c789a43804c06f441f7961d928095d169f9b581120c29d188e0eda39d15b517012647e6f6f682a29c260179dca422b0dc SHA512 d59a3eb851c80556e08513ae417a109da6670b81858df365818ca187d14b57719ee86c6a65d9e8a8366ad3c7a2516a10cabcbf9895d8456b5f188c80dae74eee
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 2020-2024 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 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/romis2012/python-socks/
|
||||
https://pypi.org/project/python-socks/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
# curio is not packaged
|
||||
# asyncio is the only backend we have, so dep on its deps unconditionally
|
||||
# TODO: revisit
|
||||
RDEPEND="
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/anyio-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/trio-0.16.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/trustme-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.4.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# Test markers exist to exclude trio etc if needed
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST sentry-python-1.45.0.gh.tar.gz 475425 BLAKE2B 8dc46154dfc1c7c9104a706be032b5269d407dee6845da252f1c603ea4f9486d02d1d3c6bec314064b821dee31b503d07a9c17935ca1f4dd6cc4d7b9c3165094 SHA512 dad23a3f6a8e6ef5fe78e1d38a61977d8974edf306d5688537f331801d8fa0f60743d18cc3dadf6e9a9666c55a01c98b9ff8d8808ece7d8f95ee68a69b6cb9be
|
||||
DIST sentry-python-2.6.0.gh.tar.gz 519912 BLAKE2B 065aa2a633c24f163e483fe6ace9696b3bb088caae2eedaff7bbfc09213bec593f1db5a70b41f9771db602ece77d7107f51945683799de35ad59aa2c10f0a47f SHA512 f69ccc15154ea10302610329bc9d80fb9cf249a9996b99b34268468b010a24e90ca46e62b223b3331518a2ee57c6e3e028e6d6b2d1e0c9bbac4f11176403c790
|
||||
DIST sentry-python-2.7.1.gh.tar.gz 528495 BLAKE2B 7846e726aaca3d916a5b901aa1cde6ac04e79c32f71a631955a354143fc9937ba8881ccf1e3ed387ec12afcd4e6734ea4eee0614512447bcd58d8875fe97cd35 SHA512 afe034553ddb5eeefa00db26e13cebe82d946f990eb62f8cfde670ad5d9d5c93c0ffb2d0ed5f01f55ac533dca66ab6f53553e5b8f011e08705213cb515146516
|
||||
DIST sentry-python-2.8.0.gh.tar.gz 529314 BLAKE2B b5017cd8f7cb17174e16902f8fa8c18dfeabb807a85eb9bd2e7ac0009328b3b4a3d49b7a32d81abe4315204e416599d8a518dedd3cf6abfc7761a5df30da8857 SHA512 cd67efd18fa140032da4d1cf1aecb7025b0fece980daf1c6a21c4dbeb459c3bd6ba2c29f80a8e26325dc3f211c6d5cbc9d769e5a1098871058cec6e3e9c0ef03
|
||||
DIST sentry-python-2.9.0.gh.tar.gz 531490 BLAKE2B 8b67caa6911fd44e58c2a1d1206e6ecb9dc31f81c15c66763a04f1a65fc89d4667e60f27e055016342c6b4cac5470729c802ffb046e6e0796d5bfd7044caf27d SHA512 aed112a2ee35e23a1431486ff18e67772476ecfc63eacc388d17454a723b98f6e05cfa95a6c9db2cb6be572eed73d249951a411c60184b20eb251520071a4254
|
||||
|
||||
@@ -1,124 +0,0 @@
|
||||
# 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_{11..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=sentry-python-${PV}
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
<dev-python/pytest-8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/python-socks[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/django/test_basic.py
|
||||
tests/integrations/socket/test_socket.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# TODO: most of them hang
|
||||
tests/integrations/starlette
|
||||
# TODO
|
||||
tests/integrations/tornado
|
||||
# requires mockupdb
|
||||
tests/integrations/pymongo
|
||||
# requires AWS access
|
||||
tests/integrations/aws_lambda
|
||||
# requires quart_auth
|
||||
tests/integrations/quart
|
||||
# TODO: require opentelemetry (with py3.10)
|
||||
tests/integrations/opentelemetry
|
||||
# broken (incompatible rq version?)
|
||||
tests/integrations/rq
|
||||
)
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub
|
||||
# broken teardown?
|
||||
tests/test_client.py::test_uwsgi_warnings
|
||||
# too many dependencies installed, sigh
|
||||
tests/test_new_scopes_compat_event.py
|
||||
# Internet
|
||||
tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers
|
||||
tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk
|
||||
# TODO
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_basic
|
||||
tests/integrations/django
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions
|
||||
tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic
|
||||
tests/integrations/threading/test_threading.py
|
||||
tests/integrations/wsgi/test_wsgi.py
|
||||
tests/test_basics.py::test_auto_enabling_integrations_catches_import_error
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_utils.py::test_default_release
|
||||
tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled
|
||||
tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled
|
||||
tests/utils/test_contextvars.py::test_leaks
|
||||
# pointless, fragile to packages being installed in parallel
|
||||
tests/test_utils.py::test_installed_modules
|
||||
# TODO
|
||||
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_manual_stop
|
||||
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop
|
||||
tests/profiler/test_transaction_profiler.py::test_minimum_unique_samples_required
|
||||
tests/profiler/test_transaction_profiler.py::test_profile_captured
|
||||
tests/profiler/test_transaction_profiler.py::test_profiles_sample_rate
|
||||
tests/profiler/test_transaction_profiler.py::test_profiles_sampler
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p asyncio -p aiohttp -p pytest_forked
|
||||
}
|
||||
@@ -1,127 +0,0 @@
|
||||
# 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_{11..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=sentry-python-${PV}
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
<dev-python/pytest-8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/python-socks[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/django/test_basic.py
|
||||
tests/integrations/socket/test_socket.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# TODO: most of them hang
|
||||
tests/integrations/starlette
|
||||
# TODO
|
||||
tests/integrations/tornado
|
||||
# requires mockupdb
|
||||
tests/integrations/pymongo
|
||||
# requires AWS access
|
||||
tests/integrations/aws_lambda
|
||||
# requires quart_auth
|
||||
tests/integrations/quart
|
||||
# TODO: require opentelemetry (with py3.10)
|
||||
tests/integrations/opentelemetry
|
||||
# broken (incompatible rq version?)
|
||||
tests/integrations/rq
|
||||
)
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub
|
||||
# broken teardown?
|
||||
tests/test_client.py::test_uwsgi_warnings
|
||||
# too many dependencies installed, sigh
|
||||
tests/test_new_scopes_compat_event.py
|
||||
# Internet
|
||||
tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers
|
||||
tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_span_origin
|
||||
tests/integrations/stdlib/test_httplib.py::test_span_origin
|
||||
tests/integrations/stdlib/test_subprocess.py::test_subprocess_span_origin
|
||||
# TODO
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_basic
|
||||
tests/integrations/django
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions
|
||||
tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic
|
||||
tests/integrations/threading/test_threading.py
|
||||
tests/integrations/wsgi/test_wsgi.py
|
||||
tests/test_basics.py::test_auto_enabling_integrations_catches_import_error
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_utils.py::test_default_release
|
||||
tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled
|
||||
tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled
|
||||
tests/utils/test_contextvars.py::test_leaks
|
||||
# pointless, fragile to packages being installed in parallel
|
||||
tests/test_utils.py::test_installed_modules
|
||||
# TODO
|
||||
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_manual_stop
|
||||
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop
|
||||
tests/profiler/test_transaction_profiler.py::test_minimum_unique_samples_required
|
||||
tests/profiler/test_transaction_profiler.py::test_profile_captured
|
||||
tests/profiler/test_transaction_profiler.py::test_profiles_sample_rate
|
||||
tests/profiler/test_transaction_profiler.py::test_profiles_sampler
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p asyncio -p aiohttp -p pytest_forked -o addopts=
|
||||
}
|
||||
@@ -1,3 +1 @@
|
||||
DIST trove_classifiers-2024.5.22.tar.gz 16050 BLAKE2B e9909972067f1ec825a127801483aa5d6c47bc7c7442bfc4490eec2628003fa0d25362ad10255b20174beb93cfd382df43a948c73c9c8834307d660897d8162f SHA512 34fd1e47f41563e6e9471ae029897d96fec8119368a1bfd8b8982b26c56a1e9e0b154dcd155b401cf537cbfba574e3ca659a31865f3d0718dfa3bc1eb1ec1ea1
|
||||
DIST trove_classifiers-2024.7.1.tar.gz 16060 BLAKE2B 4b662d9f440423167d4e715beebaa5993d83dfbab575e9c5b1a549b60f85abb9e10cec09c702d403e3655cafd002b9bf67c02808bbfac6746b2c395f8a0ce102 SHA512 c3092bce086f0530ca10326d2e99ea331e73b31fe47272835ff1a1042588dc616ccf8ce5e6eda5d48b5f199bc5c1a3206d4f17be62dbf751029e498c1231bd11
|
||||
DIST trove_classifiers-2024.7.2.tar.gz 16071 BLAKE2B 6f13df1498b68e2f24838473ad8b6feb341e33da6eabc2e104c823e6db65ada348ef36c8fd96226818d89c11bf0b0ac9665c9a6ecbea5ba620d2e48c64c5b82f SHA512 af9a366425e845b1bbd098c8085ec8064dbf6864940c7dd5def1672c2046756e2c76255b282b2c989c34d14b113b7c6abd32d23eeed88317d374043040f46486
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/trove-classifiers/
|
||||
https://pypi.org/project/trove-classifiers/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "setuptools' pyproject.toml ||
|
||||
die "Upstream changed build-backend, recheck"
|
||||
# write a custom pyproject.toml to ease hatchling bootstrap
|
||||
cat > pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["flit_core >=3.2,<4"]
|
||||
build-backend = "flit_core.buildapi"
|
||||
|
||||
[project]
|
||||
name = "trove-classifiers"
|
||||
version = "${PV}"
|
||||
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest
|
||||
"${EPYTHON}" -m tests.lib || die
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/trove-classifiers/
|
||||
https://pypi.org/project/trove-classifiers/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "setuptools' pyproject.toml ||
|
||||
die "Upstream changed build-backend, recheck"
|
||||
# write a custom pyproject.toml to ease hatchling bootstrap
|
||||
cat > pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["flit_core >=3.2,<4"]
|
||||
build-backend = "flit_core.buildapi"
|
||||
|
||||
[project]
|
||||
name = "trove-classifiers"
|
||||
version = "${PV}"
|
||||
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest
|
||||
"${EPYTHON}" -m tests.lib || die
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
DIST tela-icon-theme-20230203.tar.gz 3774147 BLAKE2B c0b04ec934ed68a7d6267be030af861cf9c2c24e8367baebbc56b788f4dbec56dda2679190f33c739a04ed9ca3088138a1f89624e9beebf715149fbef2478576 SHA512 28ad9e67394ffa65bd1fe6052e38dd324487be621670bff933f3bb2aeee9134e656f1f8faebb060d5d765b808e008d5fede3d62a51b9ddca1e8047c927f3bdd1
|
||||
DIST tela-icon-theme-20230625.tar.gz 3286109 BLAKE2B 65aa1b084b1bc63bdd15c484a4ab5588dc86996dd77d06bd727fdc3658517d1a9fc47c58eb73427267a767674f64a1ce92d14b796c97caa5849d5398c62fc5f0 SHA512 f5722c9fa5c9d0ccb01780eed0a6ce063954e85f5c708d2b998254f2978297b1a4cff52622d1e6b3feb667d4f99c3e31099e1c71fad182e35cbcfe1246f67279
|
||||
DIST tela-icon-theme-20240419.tar.gz 3495225 BLAKE2B c9c97e183b8f35576dc68a4d1243d944d8528420e4759080052fbfccc1246bd18d0c29b9665ce55764ebb3e7fddb1fb1c92a015a03f6f764183938b26b780088 SHA512 f3d714c73b0624970c5758fee9785f363650e0c064771713d9499aa219880918e6d48cb5ffb457179a8baedd5e9d799f427f0c08dab746ab9932f4d95fda794d
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo
|
||||
|
||||
# eg. 20211225 -> 2021-12-25
|
||||
MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
|
||||
MY_PN="${PN^}"
|
||||
|
||||
# standard comes first
|
||||
MY_COLOR_VARIANTS=( standard black blue brown green grey orange pink purple red yellow manjaro ubuntu dracula nord )
|
||||
|
||||
inherit xdg
|
||||
|
||||
DESCRIPTION="A flat colorful Design icon theme"
|
||||
HOMEPAGE="https://github.com/vinceliuice/Tela-icon-theme"
|
||||
|
||||
if [[ ${PV} == 99999999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vinceliuice/${MY_PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="+${MY_COLOR_VARIANTS[*]} +hardlink kde" # this is why standard comes first
|
||||
|
||||
REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )"
|
||||
|
||||
# not needed and slows us down, package installs 120 000 small files
|
||||
RESTRICT="binchecks strip test"
|
||||
|
||||
# technically we can use app-arch/hardlink too, but it's deprecated
|
||||
BDEPEND="
|
||||
app-shells/bash
|
||||
hardlink? ( sys-apps/util-linux[hardlink(-)?] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# we use eclass for that
|
||||
sed -i '/gtk-update-icon-cache/d' install.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local v variants=(
|
||||
$(for v in ${MY_COLOR_VARIANTS[@]}; do
|
||||
usev ${v}
|
||||
done)
|
||||
$(usev kde '-c')
|
||||
)
|
||||
|
||||
dodir /usr/share/icons
|
||||
./install.sh -d "${ED}/usr/share/icons" "${variants[@]}" || die
|
||||
if use hardlink; then
|
||||
einfo "Linking duplicate icons... (may take a long time)"
|
||||
hardlink -pot "${ED}/usr/share/icons" || die "hardlink failed"
|
||||
fi
|
||||
|
||||
# installs broken symlink (by design, but we remove it due to QA warnings)
|
||||
# https://bugs.gentoo.org/830467
|
||||
edob find "${ED}" -xtype l -print -delete
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user