diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-15 15:52:35 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-15 15:52:35 +0000 |
| commit | 90106288dc6cd843efd0230d28a45e17ad2ab538 (patch) | |
| tree | f29284e0c72f6490935ede00f91e845169e50175 /dev-python | |
| parent | ba8cdd36c1063403b060dc0359c3f0b9f6b620a8 (diff) | |
| download | baldeagleos-repo-90106288dc6cd843efd0230d28a45e17ad2ab538.tar.gz baldeagleos-repo-90106288dc6cd843efd0230d28a45e17ad2ab538.tar.xz baldeagleos-repo-90106288dc6cd843efd0230d28a45e17ad2ab538.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
31 files changed, 378 insertions, 41 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 8ee6cae8ddef..8f0a324c5f99 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,2 +1,3 @@ DIST aiohttp-3.7.4.tar.gz 1114533 BLAKE2B dcae3e66e13df8264d731a3ca65b4718feca8d0e6e1baeb6608dcb9bfb4bd4baaed6bd34297ed5ece78d01189bf9a0b9860845cae4e2b93cc2ba463cc35cfb77 SHA512 66fcc837b388020dc998cbaa2db31e48ecec75bcfaa8af9108e2ea265588dafa5684ca96a8fe3ad6759b22e09a4ae6d4efd8653fb76126eccdc826c15cbbe2e6 DIST aiohttp-3.8.0.tar.gz 7323268 BLAKE2B e3d8f6ec7c4b2de685a261171bc8e29db82b5b4677d0d4d0b103898c71184deda700f4859fff49746ace3079f09714c39d06c7d837cdc7fb26c8ebc4b29da915 SHA512 beb711812ccaab6d820c39e663e4aaba9106e270ab28ccdb8f35b74bc68509876dc30061f3df390e514e6ff8d24ede2e77e3355986ca2c5ee860eba940d72f5b +DIST aiohttp-3.8.1.tar.gz 7324180 BLAKE2B 99f85b8510782a31de2d2f6c8efa65ef5c5cde600a5c5f49d6362d5833a0443b9adcaed9beb27c5d8502aca37af154b06017f48836b73d4c61d78204b62b7f05 SHA512 3611549393e50c8d30426aee9ddd23794a71ddefe4384eb549049b93e452fafb38de7ad900737213b61fbe717bd85035a780c1622593eae250328f17d484a0a7 diff --git a/dev-python/aiohttp/aiohttp-3.8.1.ebuild b/dev-python/aiohttp/aiohttp-3.8.1.ebuild new file mode 100644 index 000000000000..b10d7b79b42a --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.8.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="http client/server for asyncio" +HOMEPAGE=" + https://pypi.org/project/aiohttp/ + https://github.com/aio-libs/aiohttp/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~sparc ~x86" + +RDEPEND=" + app-arch/brotli[python,${PYTHON_USEDEP}] + >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] + >=dev-python/async_timeout-4.0.0_alpha3[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + >=dev-python/charset_normalizer-2.0[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + '>=dev-python/alabaster-0.6.2' \ + 'dev-python/sphinxcontrib-asyncio' \ + 'dev-python/sphinxcontrib-blockdiag' \ + 'dev-python/sphinxcontrib-newsfeed' \ + 'dev-python/sphinxcontrib-spelling' \ + 'dev-python/sphinx' \ + 'dev-python/sphinx-aiohttp-theme' + +# TODO: re-cythonize modules? + +src_prepare() { + # increate a little the timeout + sed -e '/abs_tol=/s/0.001/0.01/' -i tests/test_helpers.py || die + + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + ) + + local EPYTEST_DESELECT=( + # runtime warnings + 'tests/test_client_functional.py::test_aiohttp_request_coroutine[pyloop]' + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + # C extensions are not used on PyPy3 + tests/test_http_parser.py::test_c_parser_loaded + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked + mv aiohttp aiohttp.hidden || die + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" --forked + mv aiohttp.hidden aiohttp || die +} diff --git a/dev-python/cfn-lint/cfn-lint-0.56.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.56.0.ebuild index f07e2479cad3..16397777fde5 100644 --- a/dev-python/cfn-lint/cfn-lint-0.56.0.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.56.0.ebuild @@ -14,7 +14,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/aws-sam-translator-1.40.0[${PYTHON_USEDEP}] diff --git a/dev-python/debugpy/debugpy-1.5.1.ebuild b/dev-python/debugpy/debugpy-1.5.1.ebuild index bb191c3073b5..cb9e6371cbb3 100644 --- a/dev-python/debugpy/debugpy-1.5.1.ebuild +++ b/dev-python/debugpy/debugpy-1.5.1.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc x86" # There is not enough time in the universe for this test suite RESTRICT="test" diff --git a/dev-python/eventlet/eventlet-0.32.0-r1.ebuild b/dev-python/eventlet/eventlet-0.32.0-r1.ebuild index c28b5d5a0dc6..edf2aa5df8e5 100644 --- a/dev-python/eventlet/eventlet-0.32.0-r1.ebuild +++ b/dev-python/eventlet/eventlet-0.32.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="amd64 arm ~arm64 ppc ppc64 ~s390 sparc x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index 53b94de6b003..011090f7db72 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,3 +1,4 @@ DIST ipykernel-5.5.4.tar.gz 112728 BLAKE2B 489e12d0cbde2f80f2c921f026c7b84554b1fef481164e07f89b063127b01d106fc6b19f830ac321d79285fb9df065352dbc0c2a997b3629a64e766d2e50f347 SHA512 96728321fe71d528435415eda917c623269af734598a78168144d983aa64db4f9ced981fa67c83263da1ed878831669d821b84a769a08a271adafacfcbb75bf9 DIST ipykernel-6.2.0.tar.gz 110042 BLAKE2B e1e9f140d434142339c36cdf72c9c4224143aeac8ee5938488fefaf0c15b33ddb6a4e4f49e4096431c89ba6bdcf6321f73e61927186d42518cd73e6016a017ed SHA512 7f3203b072cf7a4ca71e56df0c5621f6ac44440ace2ba855b7354971d04e872621650a0351f9d1ace50ea63459290835306e71fb91d414355810fa79968ddf56 DIST ipykernel-6.4.2.tar.gz 121253 BLAKE2B 26f8f94df823dd7a4ac41cac574e70ae98eed64f88bbcd8ce600ce6dfe1c43c224d65b5d0f9586ad05829692142e37fbb685a5d577047791831f6138b8309556 SHA512 56f0a15a1f06628e8f74749e4bad4a65dcc78ba7ff45e4fa5802d232e427e4ec152a6b6697302488d2e05d6b0cfa0cbc106ea2a593ab43de9d9defa9c169d5a6 +DIST ipykernel-6.5.0.tar.gz 122962 BLAKE2B fa36ea41d7f2dc8d0d75144f421ea2a72dd50dcda6c6a91f625f18c35ed2ebb950aadfb1715dd57a1fda77bfb49e360bca87f0bd8b9ee8380399d41691db2b9a SHA512 440407818ed6f388f10a727a9be1a2588bf8c9699d66e1b954a1f64575c08b5bddb3978dd13f5ab26220a210ce7177e2be0374d48d3968df681d2d5311ce42d1 diff --git a/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch b/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch new file mode 100644 index 000000000000..3b792d21f47e --- /dev/null +++ b/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch @@ -0,0 +1,12 @@ +Drop unnecessary pytest-cov dependency (we don't care downstream about running coverage +reports in unit tests for users). +--- a/setup.py ++++ b/setup.py +@@ -76,7 +76,6 @@ setup_args = dict( + extras_require={ + "test": [ + "pytest !=5.3.4", +- "pytest-cov", + "flaky", + "nose", # nose because we are still using nose streams from ipython + "ipyparallel", diff --git a/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild b/dev-python/ipykernel/ipykernel-5.5.4-r2.ebuild index 59bda94704aa..2de329e648a8 100644 --- a/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild +++ b/dev-python/ipykernel/ipykernel-5.5.4-r2.ebuild @@ -17,6 +17,7 @@ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test" RDEPEND=" + dev-python/ipython_genutils[${PYTHON_USEDEP}] dev-python/ipython[${PYTHON_USEDEP}] <dev-python/jupyter_client-6.2[${PYTHON_USEDEP}] dev-python/jupyter_core[${PYTHON_USEDEP}] diff --git a/dev-python/ipykernel/ipykernel-6.2.0.ebuild b/dev-python/ipykernel/ipykernel-6.2.0-r1.ebuild index 05b1be298be3..bb9dae865851 100644 --- a/dev-python/ipykernel/ipykernel-6.2.0.ebuild +++ b/dev-python/ipykernel/ipykernel-6.2.0-r1.ebuild @@ -16,6 +16,7 @@ SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc x86" RDEPEND=" + dev-python/ipython_genutils[${PYTHON_USEDEP}] >=dev-python/debugpy-1.0.0[${PYTHON_USEDEP}] <dev-python/debugpy-2.0[${PYTHON_USEDEP}] >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] diff --git a/dev-python/ipykernel/ipykernel-6.5.0.ebuild b/dev-python/ipykernel/ipykernel-6.5.0.ebuild new file mode 100644 index 000000000000..270c2c6588c3 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-6.5.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE="https://github.com/ipython/ipykernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + <dev-python/importlib_metadata-5.0.0[${PYTHON_USEDEP}] + >=dev-python/argcomplete-1.12.3[${PYTHON_USEDEP}] + ' python3_8 pypy3) + >=dev-python/debugpy-1.0.0[${PYTHON_USEDEP}] + <dev-python/debugpy-2.0[${PYTHON_USEDEP}] + >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] + <dev-python/ipython-8.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1.0[${PYTHON_USEDEP}] + <dev-python/traitlets-6.0[${PYTHON_USEDEP}] + <dev-python/jupyter_client-8.0[${PYTHON_USEDEP}] + >=www-servers/tornado-4.2[${PYTHON_USEDEP}] + <www-servers/tornado-7.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1.0[${PYTHON_USEDEP}] + <dev-python/matplotlib-inline-0.2.0[${PYTHON_USEDEP}] +" +# RDEPEND seems specifically needed in BDEPEND, at least jupyter +# bug #816486 +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + dev-python/ipyparallel[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-6.5.0-drop-pytest-cov.patch +) + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/ipython/ipython-7.28.0.ebuild b/dev-python/ipython/ipython-7.28.0.ebuild index 2db14b0a9414..d3661053cb2a 100644 --- a/dev-python/ipython/ipython-7.28.0.ebuild +++ b/dev-python/ipython/ipython-7.28.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" diff --git a/dev-python/jschema_to_python/jschema_to_python-1.2.3.ebuild b/dev-python/jschema_to_python/jschema_to_python-1.2.3.ebuild index 6352730af47d..afe5fa217012 100644 --- a/dev-python/jschema_to_python/jschema_to_python-1.2.3.ebuild +++ b/dev-python/jschema_to_python/jschema_to_python-1.2.3.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch b/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch new file mode 100644 index 000000000000..740677c13d00 --- /dev/null +++ b/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch @@ -0,0 +1,38 @@ +Avoid test timeouts on slower hosts like e.g. ia64 (guppy): +``` +FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] - Failed: Timeout >30.0s +FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] - Failed: Timeout >30.0s +``` +--- a/jupyter_client/tests/test_client.py ++++ b/jupyter_client/tests/test_client.py +@@ -13,7 +13,7 @@ from jupyter_client.kernelspec import KernelSpecManager + from jupyter_client.kernelspec import NATIVE_KERNEL_NAME + from jupyter_client.kernelspec import NoSuchKernel + +-TIMEOUT = 30 ++TIMEOUT = 180 + + pjoin = os.path.join + +--- a/jupyter_client/tests/test_kernelmanager.py ++++ b/jupyter_client/tests/test_kernelmanager.py +@@ -24,7 +24,7 @@ from jupyter_client import KernelManager + + pjoin = os.path.join + +-TIMEOUT = 30 ++TIMEOUT = 180 + + + @pytest.fixture(params=["tcp", "ipc"]) +--- a/jupyter_client/tests/test_multikernelmanager.py ++++ b/jupyter_client/tests/test_multikernelmanager.py +@@ -22,7 +22,7 @@ from jupyter_client import KernelManager + from jupyter_client.multikernelmanager import AsyncMultiKernelManager + from jupyter_client.multikernelmanager import MultiKernelManager + +-TIMEOUT = 30 ++TIMEOUT = 180 + + + class TestKernelManager(TestCase): diff --git a/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild b/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild index 234a9302387b..193e5e77b12b 100644 --- a/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild +++ b/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/entrypoints[${PYTHON_USEDEP}] @@ -32,9 +32,13 @@ BDEPEND=" dev-python/pytest-timeout[${PYTHON_USEDEP}] )" -distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${PN}-7.0.6-test-timeout.patch +) EPYTEST_DESELECT=( jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_signal_kernel_subprocesses jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_async_signal_kernel_subprocesses ) + +distutils_enable_tests pytest diff --git a/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild b/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild index b1cadef3a41f..b45e80b99d08 100644 --- a/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild +++ b/dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/pydevd/pydevd-2.7.0.ebuild b/dev-python/pydevd/pydevd-2.7.0.ebuild index 1320bc586e10..5a765cdbb13f 100644 --- a/dev-python/pydevd/pydevd-2.7.0.ebuild +++ b/dev-python/pydevd/pydevd-2.7.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/PyDev.Debugger-${MY_P}" LICENSE="EPL-1.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc x86" # After removing and recompiling the prebuilt lib the tests fail? # For some reason the test suite is executing a slightly different gdb command diff --git a/dev-python/pyenchant/Manifest b/dev-python/pyenchant/Manifest index 77328a9ebcf0..8d495f202044 100644 --- a/dev-python/pyenchant/Manifest +++ b/dev-python/pyenchant/Manifest @@ -1,2 +1 @@ -DIST pyenchant-3.2.1.gh.tar.gz 75501 BLAKE2B b70a47484a7f242ff42aa0018f495544f9e7bdab904f835bd52533c93bc28b06ab155132158d2551b9c32eadee83418b6bcb70becee769653196a9bb0d13f130 SHA512 3d1229307b070fa83bd8a287a787b40edfba31e748ca37a94f71caa4b355a9de829f3133db9772a57f0aa922fbd4f32c67c986e86c8905633b3940dd20be32ed DIST pyenchant-3.2.2.gh.tar.gz 75565 BLAKE2B 150bdca0d316b2242d60d8c42baf2e5e8cee3df2c57bf47be61170af956cb8c4ee1a584ad2aedd1ed8f203028938c8c0ada40ea45045746deeb4e67c53dc5c70 SHA512 42ab2e0cc38af4223ec0233c9e22cd151aa9bda5b56b7bd642e39e3a323ab3c034391123af5d3a5399551533ba1c1746abd6bc9ee2ab4c7879b9bf0ac91e056d diff --git a/dev-python/pyenchant/pyenchant-3.2.1.ebuild b/dev-python/pyenchant/pyenchant-3.2.1.ebuild deleted file mode 100644 index 0f83e4707a3a..000000000000 --- a/dev-python/pyenchant/pyenchant-3.2.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for the Enchant spellchecking system" -HOMEPAGE="https://github.com/pyenchant/pyenchant - https://pypi.org/project/pyenchant/" -SRC_URI=" - https://github.com/pyenchant/pyenchant/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" - -RDEPEND="app-text/enchant:*" -BDEPEND=" - test? ( - app-dicts/myspell-en - )" - -distutils_enable_tests pytest diff --git a/dev-python/pyenchant/pyenchant-3.2.2.ebuild b/dev-python/pyenchant/pyenchant-3.2.2.ebuild index 244a9a1bdc87..e5b17f001092 100644 --- a/dev-python/pyenchant/pyenchant-3.2.2.ebuild +++ b/dev-python/pyenchant/pyenchant-3.2.2.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" RDEPEND="app-text/enchant:*" BDEPEND=" diff --git a/dev-python/pymongo/pymongo-3.12.1.ebuild b/dev-python/pymongo/pymongo-3.12.1.ebuild index 105188a0dbc8..833d220a592a 100644 --- a/dev-python/pymongo/pymongo-3.12.1.ebuild +++ b/dev-python/pymongo/pymongo-3.12.1.ebuild @@ -30,7 +30,7 @@ BDEPEND=" DISTUTILS_IN_SOURCE_BUILD=1 distutils_enable_sphinx doc -distutils_enable_tests nose +distutils_enable_tests unittest reqcheck() { if use test; then diff --git a/dev-python/pyproject2setuppy/Manifest b/dev-python/pyproject2setuppy/Manifest index 074d82169620..d732e1280386 100644 --- a/dev-python/pyproject2setuppy/Manifest +++ b/dev-python/pyproject2setuppy/Manifest @@ -1 +1,2 @@ DIST pyproject2setuppy-20.tar.gz 12795 BLAKE2B 14f1862c546d9850f0e523b79c44d49dceab76752c4a0b5527d33b36bbb459735b29ca9fad9d8c72f1be189004014b2ce6b2b6858842263fe913532800398064 SHA512 1d75b908611f121c6723037d0132c890d9d00f3f7b1b237fa658dc8c217a1f60e7141a99a7d744e9b8ff67b5fdef1fd11b38f4a3bda0858a55836ad49211a068 +DIST pyproject2setuppy-21.tar.gz 12938 BLAKE2B 09b030e882e7ec66c3d8ad76d486c08b991c7ba725d628101c07475348890a55bc6d6f4ef96f3a9b0f8d40382c026f075aac6dd2fa970fa409c4824b625ba3f1 SHA512 d899bc81f01283dd854fa2c0c5d15e5b77bd273f4269e2dea8612dd41bb4d5404e63e0fc6db5cbefe2a65a69848a3a5c9eae56e93face1736b2e8a0aa39f2193 diff --git a/dev-python/pyproject2setuppy/pyproject2setuppy-21.ebuild b/dev-python/pyproject2setuppy/pyproject2setuppy-21.ebuild new file mode 100644 index 000000000000..01b516520671 --- /dev/null +++ b/dev-python/pyproject2setuppy/pyproject2setuppy-21.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=manual +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Cheap setup.py hack to install flit & poetry-based projects" +HOMEPAGE="https://github.com/mgorny/pyproject2setuppy" +SRC_URI=" + https://github.com/mgorny/pyproject2setuppy/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/rjsmin/Manifest b/dev-python/rjsmin/Manifest index 93f4f5a06c5d..6e72f9cc9972 100644 --- a/dev-python/rjsmin/Manifest +++ b/dev-python/rjsmin/Manifest @@ -1 +1,2 @@ DIST rjsmin-1.1.0.gh.tar.gz 437054 BLAKE2B 83b24f1ee94ded66a70ed75b3e494b3e6948edf82fecc80f261964fd2bb032a8cb496ed919f461131b3381c402a6397e65bfa5031f46691c4badfc5e9e2faea2 SHA512 5e168e51e1716fe35a3520fba828d721638094a6f6f73deb4c49183d8cd51531131962e2c7092ada092da63c4ddd615215088bd1a9e474d508f80dc0603d3118 +DIST rjsmin-1.2.0.gh.tar.gz 443279 BLAKE2B 7cb000485fd134fdc590b90766357b0eea5b33a9baf2fb12623ad5a882ac545aa7dd3f447a23c95da3cdf79f44e4f369d48b1cb2e08b790ef7376e9b6c9fa4d8 SHA512 bc40dd59d7dd4e106170db473ef3c3c6df74abdc93d098521f91212a08476541f13a97663c9f56498188c59b3876242c6c81a5633fea84d83e8ab2f7a4d918ad diff --git a/dev-python/rjsmin/rjsmin-1.2.0.ebuild b/dev-python/rjsmin/rjsmin-1.2.0.ebuild new file mode 100644 index 000000000000..369614d04d33 --- /dev/null +++ b/dev-python/rjsmin/rjsmin-1.2.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Javascript minifier written in python." +HOMEPAGE="http://opensource.perlig.de/rjsmin/" +SRC_URI=" + https://github.com/ndparker/rjsmin/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/sarif_om/sarif_om-1.0.4.ebuild b/dev-python/sarif_om/sarif_om-1.0.4.ebuild index 022e77a5bf13..70f9337a9231 100644 --- a/dev-python/sarif_om/sarif_om-1.0.4.ebuild +++ b/dev-python/sarif_om/sarif_om-1.0.4.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.27-r2.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.27-r2.ebuild new file mode 100644 index 000000000000..444642038027 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.27-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +# greenlet for bug #823794 +RDEPEND="virtual/python-greenlet[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # hardcode call counts specific to Python versions + test/aaa_profiling +) + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ + dev-python/mysql-connector-python + optfeature "mssql support" dev-python/pymssql + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index e29e16ac50d4..2b3bf5f8d207 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1 +1,2 @@ +DIST typing-extensions-4.0.0.gh.tar.gz 64263 BLAKE2B c4fe05f5ad32b471d9aff6c792870ce315e52184d4e8c0850fdc1b6e7421bc80566ca2d364764583c3bce76f53018e3ec284ca1866da4fa3f09438c852c89d80 SHA512 eda25164d40c642949c92140678d1ab9ec73fa988c0b9233852207ac2dad05b0390fda8da420c8817bf3816ab33e4540b41766ccd8b9a0b16c857650bc2e3f73 DIST typing_extensions-3.10.0.2.tar.gz 46048 BLAKE2B a8f7ecacd553ed469cf090f4b8f52e15039fbcf1ae6879f5899fb99e7bbf5b7289cf5d7e5409314a110b2a626b59bd5e6a52f893e4322244c9e7e80ab393d334 SHA512 171ada56758fb04328a2cafefe80b70fbf166f2d799406883df642927964925ca73f04d0646661cd4fd016dfb5e1856b84f362e3b404c27b368ca06a09cf87db diff --git a/dev-python/typing-extensions/typing-extensions-4.0.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.0.0.ebuild new file mode 100644 index 000000000000..3191633be3e0 --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_P=typing-${PV} +DESCRIPTION="Type Hint extensions from Python 3.8 backported" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing/" +SRC_URI=" + https://github.com/python/typing/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${MY_P}/typing_extensions + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +BDEPEND=" + >=dev-python/pyproject2setuppy-21[${PYTHON_USEDEP}]" + +python_test() { + cd "${S}"/src_py3 || die + "${EPYTHON}" test_typing_extensions.py -v || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/untangle/untangle-1.1.1.ebuild b/dev-python/untangle/untangle-1.1.1.ebuild index ce8bf2b1a172..e5753d1482db 100644 --- a/dev-python/untangle/untangle-1.1.1.ebuild +++ b/dev-python/untangle/untangle-1.1.1.ebuild @@ -13,4 +13,4 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc x86" diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index 70d22f3e2853..84a8b95eb32a 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1,3 +1,4 @@ DIST websockets-10.0-src.tar.gz 276231 BLAKE2B 6170f0540bc33be3d9a71f596ffee58e6e43c2173239a8fffe4f0c2a7555f8ce26849d85ed7865a5df6a4401f01bb0c928a341598916487cc79152a5031e9bbc SHA512 532289dc411d11cffc6e5aa07013cdad9655f124fbbd5dbdfe92985caf554644976a521466b1d3cbe124de11809e395b5e83195eac87495585779591b189c4d7 +DIST websockets-10.1-src.tar.gz 299315 BLAKE2B 425e7c8597f081874127ac75003aed11ebb2cf647ce9fed9e17c955e485a7a59c95d1112524d3f0d747b796b0cc41972258661c9fc9c7972f68aaebe3223b596 SHA512 c284ec92bc133c7083a72d4f364d9ace13d3eb6d7355ae46084d8097c137cdec3933cae9d5ab72d8a517af38328cea6c39877f747f5386df54a7362271cc7e7b DIST websockets-9.1-python-3.10-support.patch.gz 6940 BLAKE2B e4835c7d5efaf956d07b884c85e0b95f26674bf36164fa8362d1c1a564a959bde761d25e747333c58864f74a5ea1b199f228a46ec6a1647c5495ea032020c179 SHA512 7fb4b298a9167c8d913e293fa7549b21d5acb333a5b97e0624a22cb83548ef548b819ac23750c40295140b6f83a701c73a81fdcaed3ab8e704dbee8e17d22f1d DIST websockets-9.1-src.tar.gz 191813 BLAKE2B cb3807f01e1a4c22a40bf5150d1e8b21ca786dc5bc4da8f3e6602971f3f7c79b57092f5ddfe3ee52ec00e7fd15f3a992fdbb94b5e26599f2621a7f51434ba6dd SHA512 ff2907a913ff0b8ced6dda72b6fc6512a2ece3ffded2e2dcb8ff6805de9ad504430cc1871c1f6e02ab8069e7b96b2e7609afaf3c9c25f9271b28e2daa72bd3ac diff --git a/dev-python/websockets/websockets-10.1.ebuild b/dev-python/websockets/websockets-10.1.ebuild new file mode 100644 index 000000000000..025b92e12888 --- /dev/null +++ b/dev-python/websockets/websockets-10.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Library for building WebSocket servers and clients in Python" +HOMEPAGE="https://websockets.readthedocs.io/" +SRC_URI=" + https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}-src.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +distutils_enable_tests unittest + +src_prepare() { + # these fail due to timeouts on slower hardware + sed -e 's:test_keepalive_ping_with_no_ping_timeout:_&:' \ + -e 's:test_keepalive_ping(:_&:' \ + -i tests/legacy/test_protocol.py || die + distutils-r1_src_prepare +} |
