From 0bd9a5ffddbe17ff8b1dcb4441acd99ae190e39c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 22 Oct 2022 05:44:33 +0000 Subject: Adding metadata --- .../cachecontrol/cachecontrol-0.12.11.ebuild | 2 +- dev-python/httpretty/httpretty-1.1.4-r1.ebuild | 6 +- dev-python/lesscpy/Manifest | 1 + dev-python/lesscpy/lesscpy-0.15.1.ebuild | 27 ++++++ dev-python/oslo-log/Manifest | 1 + dev-python/oslo-log/oslo-log-5.0.1.ebuild | 57 +++++++++++++ dev-python/oslo-utils/oslo-utils-6.0.1-r1.ebuild | 53 ++++++++++++ dev-python/oslo-utils/oslo-utils-6.0.1.ebuild | 58 ------------- dev-python/pytest-asyncio/Manifest | 1 + .../pytest-asyncio/pytest-asyncio-0.20.1.ebuild | 51 ++++++++++++ dev-python/python-engineio/Manifest | 2 - .../python-engineio-4.3.2-r2.ebuild | 67 --------------- .../python-engineio/python-engineio-4.3.3.ebuild | 63 -------------- .../python-engineio/python-engineio-4.3.4.ebuild | 33 +++----- dev-python/sentry-sdk/Manifest | 1 + dev-python/sentry-sdk/sentry-sdk-1.10.1.ebuild | 96 ++++++++++++++++++++++ dev-python/sentry-sdk/sentry-sdk-1.9.10.ebuild | 3 - dev-python/sentry-sdk/sentry-sdk-1.9.9.ebuild | 3 - dev-python/swagger_spec_validator/Manifest | 1 + .../swagger_spec_validator-3.0.2.ebuild | 39 +++++++++ 20 files changed, 343 insertions(+), 222 deletions(-) create mode 100644 dev-python/lesscpy/lesscpy-0.15.1.ebuild create mode 100644 dev-python/oslo-log/oslo-log-5.0.1.ebuild create mode 100644 dev-python/oslo-utils/oslo-utils-6.0.1-r1.ebuild delete mode 100644 dev-python/oslo-utils/oslo-utils-6.0.1.ebuild create mode 100644 dev-python/pytest-asyncio/pytest-asyncio-0.20.1.ebuild delete mode 100644 dev-python/python-engineio/python-engineio-4.3.2-r2.ebuild delete mode 100644 dev-python/python-engineio/python-engineio-4.3.3.ebuild create mode 100644 dev-python/sentry-sdk/sentry-sdk-1.10.1.ebuild create mode 100644 dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild (limited to 'dev-python') diff --git a/dev-python/cachecontrol/cachecontrol-0.12.11.ebuild b/dev-python/cachecontrol/cachecontrol-0.12.11.ebuild index a4a14a6fd8c0..271f41bda47e 100644 --- a/dev-python/cachecontrol/cachecontrol-0.12.11.ebuild +++ b/dev-python/cachecontrol/cachecontrol-0.12.11.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] diff --git a/dev-python/httpretty/httpretty-1.1.4-r1.ebuild b/dev-python/httpretty/httpretty-1.1.4-r1.ebuild index 4d397ded8729..77059baf31b7 100644 --- a/dev-python/httpretty/httpretty-1.1.4-r1.ebuild +++ b/dev-python/httpretty/httpretty-1.1.4-r1.ebuild @@ -45,9 +45,6 @@ BDEPEND+=" dev-python/httplib2[${PYTHON_USEDEP}] >=dev-python/httpx-0.18.1[${PYTHON_USEDEP}] ' python3_{7..10}) - $(python_gen_cond_dep ' - >=dev-python/eventlet-0.25.1[${PYTHON_USEDEP}] - ' python3_{8..9}) ) " @@ -63,11 +60,12 @@ python_test() { tests/bugfixes/pytest/test_426_mypy_segfault.py # passthrough tests require Internet access tests/functional/test_passthrough.py + # eventlet is masked for removal + tests/bugfixes/nosetests/test_eventlet.py ) local ignore_by_dep=( dev-python/boto3:tests/bugfixes/nosetests/test_416_boto3.py - dev-python/eventlet:tests/bugfixes/nosetests/test_eventlet.py dev-python/httplib2:tests/functional/test_httplib2.py dev-python/httpx:tests/bugfixes/nosetests/test_414_httpx.py dev-python/pyopenssl:tests/bugfixes/nosetests/test_417_openssl.py diff --git a/dev-python/lesscpy/Manifest b/dev-python/lesscpy/Manifest index 7041fba9bb05..9d2043d92fd4 100644 --- a/dev-python/lesscpy/Manifest +++ b/dev-python/lesscpy/Manifest @@ -1 +1,2 @@ DIST lesscpy-0.15.0.tar.gz 176879 BLAKE2B 942775e090d3fbc8af033163186d43650bf20967689459bedd87dba14063c199fa322a17310fde422e3d45370cc7fee3482ff2a388518c49b2b16fb40f241a69 SHA512 3e225dcd435b9fbf9b21ad7cae86612eee923946b0bafd502221a95df4df739bae8df62f33fe77a90ee8a1c12de05ba556b2d76a95b85c9d68d27ce6ae46a747 +DIST lesscpy-0.15.1.tar.gz 177240 BLAKE2B 3199c3daecb3703039d13be6a23619e2a0e590c2b8f5450cd526e3bdedb22f8f782291ba820a8e1dcd06bca6542fb91eacd9d20b7f1f05cff701038d45e8e3cb SHA512 3a88c14d1e47a28d5e427e9cd0e1c2553dd3fc937085c54975c3e2612d623673e0a2fe05d7bb60dcdeda0f352b1be0354595ba9fac38483e7ab0a21529036e65 diff --git a/dev-python/lesscpy/lesscpy-0.15.1.ebuild b/dev-python/lesscpy/lesscpy-0.15.1.ebuild new file mode 100644 index 000000000000..d78c8a448025 --- /dev/null +++ b/dev-python/lesscpy/lesscpy-0.15.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A compiler written in Python for the LESS language" +HOMEPAGE=" + https://github.com/lesscpy/lesscpy/ + https://pypi.org/project/lesscpy/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index 7dc3a671a5de..0c369d3ffcb3 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1 +1,2 @@ DIST oslo.log-5.0.0.tar.gz 93053 BLAKE2B 640d88e3e7a0f45bbc1407d5e0298a157653d5c2c18a9347057447f0ffbd2d12d878ceefaab6df5e0df2337a85f63945e2af2fb1a58ab51ed2fe039b088c1667 SHA512 fd5cc985a6ba8fecbe052d1036620ae3fd5b6d7a2bbabbdc677fc7db399c6ad806ec032cb595f005ceda74b5477b120df65839cb7904049cab8c2e57a82e8d82 +DIST oslo.log-5.0.1.tar.gz 96473 BLAKE2B f5ba28cba56dc56c1180ecf6f9c0bc3a7ef6fd58927220a0369d95f8348706c401598f8016cb06d30891aaf71647945baf717903a63d39367d0f628334d7b89a SHA512 887bf24a34a345464da0677e1e9a30fcb9f180e916e222bf74c21cd3d61288837e8cb9194bba82feacf1ca109d81ca608d2cfc10df0a21705aace1e1c154b037 diff --git a/dev-python/oslo-log/oslo-log-5.0.1.ebuild b/dev-python/oslo-log/oslo-log-5.0.1.ebuild new file mode 100644 index 000000000000..b5854d1ecdb6 --- /dev/null +++ b/dev-python/oslo-log/oslo-log-5.0.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="OpenStack logging config library, configuration for all openstack projects" +HOMEPAGE=" + https://opendev.org/openstack/oslo.log/ + https://github.com/openstack/oslo.log/ + https://pypi.org/project/oslo.log/ +" +SRC_URI="mirror://pypi/o/oslo.log/oslo.log-${PV}.tar.gz" +S="${WORKDIR}/oslo.log-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] + >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx doc/source \ + dev-python/openstackdocstheme \ + dev-python/oslo-config + +src_prepare() { + distutils-r1_src_prepare + # this is used only for eventlet, and eventlet is masked for removal + rm oslo_log/tests/unit/test_pipe_mutex.py || die +} + +python_test() { + eunittest -b +} diff --git a/dev-python/oslo-utils/oslo-utils-6.0.1-r1.ebuild b/dev-python/oslo-utils/oslo-utils-6.0.1-r1.ebuild new file mode 100644 index 000000000000..7fd9914a11fa --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-6.0.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Oslo Utility library" +HOMEPAGE="https://launchpad.net/oslo" +SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" + +RDEPEND=" + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}"/install -name '*eventletutils*' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/oslo-utils/oslo-utils-6.0.1.ebuild b/dev-python/oslo-utils/oslo-utils-6.0.1.ebuild deleted file mode 100644 index d1788ce99ea3..000000000000 --- a/dev-python/oslo-utils/oslo-utils-6.0.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="Oslo Utility library" -HOMEPAGE="https://launchpad.net/oslo" -SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] - >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep ' - >=dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] - ' python3_{8..9}) - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_compile() { - distutils-r1_python_compile - if ! has "${EPYTHON}" python3.{8..9}; then - find "${BUILD_DIR}"/install -name '*eventletutils*' -delete || die - fi -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 60c03c8095d3..a5192bff6f54 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1 +1,2 @@ DIST pytest-asyncio-0.19.0.gh.tar.gz 25754 BLAKE2B ee1e028021d7adaeef77e9dc9c1cc0d1a8fe5ee91777b2774d8f175e7520f7f1ae6d058d758964a052d2fc02d369a9dcb522edf8271b54b9b724555222592e29 SHA512 7be87e6edd28496713ae5cca396fed67d372f2882dd573a8b72a84ebf6d262060cda9372bcde601130c42fc27faf15cf292cd820995ea93a324c209f203e823f +DIST pytest-asyncio-0.20.1.gh.tar.gz 25425 BLAKE2B 90ab8ebdb854b78b0e910b26ffeab4841f0e6dc122bd8c12fa908a59e125473770bac553a8046be37679222016c204c83d9e01db27f6eca765fb3d9b6461d090 SHA512 994b942bc6452bd3972070d1eee3d88c6680a818ad38d6ed5ffa1faba51473227c838eaf24316c74479e7bb9faaf7fd3cbd1e5a07c2611f0e2eaffe369f75d95 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.20.1.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.20.1.ebuild new file mode 100644 index 000000000000..cf43094b6471 --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.20.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Library for testing asyncio code with pytest" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-asyncio/ + https://pypi.org/project/pytest-asyncio/ +" +SRC_URI=" + https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +EPYTEST_DESELECT=( + # rely on precise warning counts + tests/test_pytest_min_version_warning.py + tests/modes/test_legacy_mode.py + tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin,flaky.flaky_pytest_plugin + epytest +} diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index 718557b92d81..1dedeaffeac0 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -1,3 +1 @@ -DIST python-engineio-4.3.2.gh.tar.gz 299722 BLAKE2B 87dece98d72b7b0384e3b9d57062a3eaa7aeb80ac3f2f685d50b8816e122398ffd54da1f4b99a90a1f535e2d0f0d282167a682de022373e6108f7e91f8689aa1 SHA512 59933a0093167042a3873ba1561d2859359a5ad160f6b7b5c19478b1f73d1bd068779942c8bfc44dd5a8d9f155359571298b960bcd217aab341bdfec35bc5b28 -DIST python-engineio-4.3.3.gh.tar.gz 300494 BLAKE2B 302de4432717154258748602598d455650e858d3193127054abbd6d4e070255b26f38d08f620769b4782b29c43a9e6255896ff1192878c23b033168328036f90 SHA512 a8022b853c0a249e269c1e682f28d67022a2bd44975d67ea55e5244a02b540cded8042d7e9cbc5461f2a12970b64c00fa6d2e1a91ce93926fb0eace60096dccc DIST python-engineio-4.3.4.gh.tar.gz 300665 BLAKE2B 78488fb7deb54136a255b1027e52e1869e7d09b38769d3dd144b26146ac8db58091238c3f1cfa81d4c29af4d1bd8bb998559756053e53f6c7876c2866da31575 SHA512 427f224ae24d939d55316931cd087676741195d578415224de291f9871b535fdd02b835ac32a65d73be0428c8c4be0414faefca06a4964b1fe34e2ac91b02694 diff --git a/dev-python/python-engineio/python-engineio-4.3.2-r2.ebuild b/dev-python/python-engineio/python-engineio-4.3.2-r2.ebuild deleted file mode 100644 index cb60e837710d..000000000000 --- a/dev-python/python-engineio/python-engineio-4.3.2-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python implementation of the Engine.IO realtime server" -HOMEPAGE=" - https://python-engineio.readthedocs.io/ - https://github.com/miguelgrinberg/python-engineio/ - https://pypi.org/project/python-engineio/" -SRC_URI=" - https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] -" -# Can use eventlet, werkzeug, or gevent, but no tests for werkzeug -# eventlet doesn't yet support Python 3.10, so let's work around it -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{8,9} ) - - dev-python/gevent[${PYTHON_USEDEP}] - dev-python/tornado[${PYTHON_USEDEP}] - dev-python/websockets[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Both want websocket (server) which isn't strictly required and fails - # because it can't find it. Think it needs right provider depending on - # whether it chose gevent/eventlet/werkzeug. Not worth the effort. - tests/common/test_server.py::TestServer::test_connect - tests/common/test_server.py::TestServer::test_upgrades -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/alabaster - -python_test() { - if [[ ${EPYTHON} != python3.8 && ${EPYTHON} != python3.9 ]] ; then - EPYTEST_IGNORE+=( - tests/common/test_async_eventlet.py - ) - - EPYTEST_DESELECT+=( - tests/common/test_server.py::TestServer::test_async_mode_eventlet - ) - fi - - epytest -} diff --git a/dev-python/python-engineio/python-engineio-4.3.3.ebuild b/dev-python/python-engineio/python-engineio-4.3.3.ebuild deleted file mode 100644 index 0661ea9068d3..000000000000 --- a/dev-python/python-engineio/python-engineio-4.3.3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the Engine.IO realtime server" -HOMEPAGE=" - https://python-engineio.readthedocs.io/ - https://github.com/miguelgrinberg/python-engineio/ - https://pypi.org/project/python-engineio/" -SRC_URI=" - https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] -" -# Can use eventlet, werkzeug, or gevent, but no tests for werkzeug -# eventlet doesn't yet support Python 3.10, so let's work around it -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{8,9} ) - - dev-python/gevent[${PYTHON_USEDEP}] - dev-python/tornado[${PYTHON_USEDEP}] - dev-python/websockets[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/alabaster - -python_test() { - if ! has_version "dev-python/eventlet[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/common/test_async_eventlet.py - ) - - EPYTEST_DESELECT+=( - tests/common/test_server.py::TestServer::test_async_mode_eventlet - tests/common/test_server.py::TestServer::test_connect - tests/common/test_server.py::TestServer::test_service_task_started - tests/common/test_server.py::TestServer::test_upgrades - ) - fi - - epytest -} diff --git a/dev-python/python-engineio/python-engineio-4.3.4.ebuild b/dev-python/python-engineio/python-engineio-4.3.4.ebuild index 1c37e29789e1..e4642851c0a0 100644 --- a/dev-python/python-engineio/python-engineio-4.3.4.ebuild +++ b/dev-python/python-engineio/python-engineio-4.3.4.ebuild @@ -28,13 +28,8 @@ RDEPEND=" dev-python/websocket-client[${PYTHON_USEDEP}] " # Can use eventlet, werkzeug, or gevent, but no tests for werkzeug -# eventlet doesn't yet support Python 3.10, so let's work around it BDEPEND=" test? ( - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{8,9} ) - dev-python/gevent[${PYTHON_USEDEP}] dev-python/tornado[${PYTHON_USEDEP}] dev-python/websockets[${PYTHON_USEDEP}] @@ -45,19 +40,15 @@ distutils_enable_tests pytest distutils_enable_sphinx docs \ dev-python/alabaster -python_test() { - if ! has_version "dev-python/eventlet[${PYTHON_USEDEP}]"; then - local EPYTEST_IGNORE=( - tests/common/test_async_eventlet.py - ) - - local EPYTEST_DESELECT=( - tests/common/test_server.py::TestServer::test_async_mode_eventlet - tests/common/test_server.py::TestServer::test_connect - tests/common/test_server.py::TestServer::test_service_task_started - tests/common/test_server.py::TestServer::test_upgrades - ) - fi - - epytest -} +EPYTEST_IGNORE=( + # eventlet is masked for removal + tests/common/test_async_eventlet.py +) + +EPYTEST_DESELECT=( + # also eventlet + tests/common/test_server.py::TestServer::test_async_mode_eventlet + tests/common/test_server.py::TestServer::test_connect + tests/common/test_server.py::TestServer::test_service_task_started + tests/common/test_server.py::TestServer::test_upgrades +) diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index e0d835a1f654..c5234ec3ea33 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,2 +1,3 @@ +DIST sentry-sdk-1.10.1.gh.tar.gz 292186 BLAKE2B 03181c0118294d4221b176b1e4fd38b4b2147a3a1b6eae709153f92717da77e889d17e715ad1795c8d9bdf24ed2ca5718a88b4f3fa25d240ec8e5804d1041a56 SHA512 135dff6db284439812d74b54f301ba0ce25444f71ad0b7d3ff8869399dba97affa40673fd306960bc6665118e0aabd1a3420976effc9a501d51d9f2174d615f4 DIST sentry-sdk-1.9.10.gh.tar.gz 282661 BLAKE2B dbecfafafebb52f288ff977dc39b7268c0cd7fc78a643139b9baf9345eb216842bad426e860914dad325096306dc515bf48ddfb26f524c95c718787ecadce3e1 SHA512 293f38335692fe6ec215d470b436d2a8ae49ac8471722c555405e920a41d2d591682c956bb01ad43bb3705566353a878f8fabfe74248716e9cf5a2ea2c172649 DIST sentry-sdk-1.9.9.gh.tar.gz 281232 BLAKE2B 8d1017644c2ae73c4e070f7b1b0a6807ab1d7a7655986bb9a4b457f72c98b3df0fd5f3af8722ea91e13911b1ce6d7234542af195a0b80ec5e9e939f5de3998f0 SHA512 613b504c9e0071657241c7724206d3e99f62fdc846cda98fa4830cf29eee24c8d2ae2abb265fab5d87f47d064d8aed60e105c2d2090fb24308e65b7e74e2974b diff --git a/dev-python/sentry-sdk/sentry-sdk-1.10.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.10.1.ebuild new file mode 100644 index 000000000000..8429113ba01f --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.10.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +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 + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/sentry-python-${PV}" + +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/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # requires python-multipart (TODO: package it) + tests/integrations/starlette + # TODO + tests/integrations/tornado +) + +EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer +) diff --git a/dev-python/sentry-sdk/sentry-sdk-1.9.10.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.9.10.ebuild index aa4b4106f18f..85d24a8f2057 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.9.10.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.9.10.ebuild @@ -44,9 +44,6 @@ BDEPEND=" dev-python/pytest-localserver[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] dev-python/zope-event[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{8..9}) ) " diff --git a/dev-python/sentry-sdk/sentry-sdk-1.9.9.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.9.9.ebuild index 61757fd2385f..cf9e53695a2c 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.9.9.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.9.9.ebuild @@ -44,9 +44,6 @@ BDEPEND=" dev-python/pytest-localserver[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] dev-python/zope-event[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{8..9}) ) " diff --git a/dev-python/swagger_spec_validator/Manifest b/dev-python/swagger_spec_validator/Manifest index 46abc67b5960..fd03bb0258ab 100644 --- a/dev-python/swagger_spec_validator/Manifest +++ b/dev-python/swagger_spec_validator/Manifest @@ -1 +1,2 @@ DIST swagger_spec_validator-3.0.1.gh.tar.gz 48112 BLAKE2B 9489c5b58667e80c8d5971d7bad3e14947f8facf51bd2db4fbbc810cca89039598f49fe9d00caec6d630aaec795c5854e6b71d53d882d23245401a145bba3dde SHA512 fb0fba69209a416ce781f2842f711864fe552c450163131db9e5e8e2eb99f2530ca64157bfcfbcee87ea998fe6dca2b92535a18c1d3fc219b81e99dc62236c07 +DIST swagger_spec_validator-3.0.2.gh.tar.gz 48152 BLAKE2B a991d4b39a92145089eeb4b6ff7da83164315ed4be8225eee4962e71279809f54848367e8437fe700cb63beff37fb8c9120641750fb9d2e117f1103ffd8ff94e SHA512 963f1961e2c631f4d31b195f953817104ea070a7af05654eeff374146a9d32dfa11ddd0da8462b22902d69e7e6841e156bc186185806bf78d705302613ad151b diff --git a/dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild b/dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild new file mode 100644 index 000000000000..3ef97cb085fa --- /dev/null +++ b/dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Validate Swagger specs against Swagger 1.1 or 2.0 specification" +HOMEPAGE=" + https://github.com/Yelp/swagger_spec_validator/ + https://pypi.org/project/swagger-spec-validator/ +" +SRC_URI=" + https://github.com/Yelp/swagger_spec_validator/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + dev-python/sphinx_rtd_theme + +EPYTEST_DESELECT=( + # network (resolver) + tests/util/validate_spec_url_test.py::test_raise_SwaggerValidationError_on_urlopen_error + tests/validator12/validate_spec_url_test.py::test_raise_SwaggerValidationError_on_urlopen_error + tests/validator20/validate_spec_url_test.py::test_raise_SwaggerValidationError_on_urlopen_error +) -- cgit v1.3