From 52fc263f2dd029a99ad4f0e5e1c3dbfd490d6b63 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Jul 2022 02:45:48 +0100 Subject: gentoo auto-resync : 22:07:2022 - 02:45:47 --- dev-python/Manifest.gz | Bin 257532 -> 257517 bytes dev-python/aesara/Manifest | 2 + dev-python/aesara/aesara-2.7.8.ebuild | 96 +++++++++++++++++ dev-python/pip/Manifest | 3 + dev-python/pip/files/pip-22.2-no-coverage.patch | 52 ++++++++++ dev-python/pip/pip-22.2.ebuild | 132 ++++++++++++++++++++++++ dev-python/pyfakefs/Manifest | 2 + dev-python/pyfakefs/pyfakefs-4.6.3.ebuild | 30 ++++++ dev-python/pymongo/Manifest | 2 + dev-python/pymongo/pymongo-4.2.0.ebuild | 121 ++++++++++++++++++++++ dev-python/rsa/Manifest | 2 + dev-python/rsa/rsa-4.9.ebuild | 37 +++++++ dev-python/sentry-sdk/Manifest | 2 + dev-python/sentry-sdk/sentry-sdk-1.8.0.ebuild | 95 +++++++++++++++++ dev-python/watchfiles/Manifest | 2 + dev-python/watchfiles/watchfiles-0.16.0.ebuild | 109 +++++++++++++++++++ dev-python/xmlschema/Manifest | 2 + dev-python/xmlschema/xmlschema-2.0.1.ebuild | 39 +++++++ 18 files changed, 728 insertions(+) create mode 100644 dev-python/aesara/aesara-2.7.8.ebuild create mode 100644 dev-python/pip/files/pip-22.2-no-coverage.patch create mode 100644 dev-python/pip/pip-22.2.ebuild create mode 100644 dev-python/pyfakefs/pyfakefs-4.6.3.ebuild create mode 100644 dev-python/pymongo/pymongo-4.2.0.ebuild create mode 100644 dev-python/rsa/rsa-4.9.ebuild create mode 100644 dev-python/sentry-sdk/sentry-sdk-1.8.0.ebuild create mode 100644 dev-python/watchfiles/watchfiles-0.16.0.ebuild create mode 100644 dev-python/xmlschema/xmlschema-2.0.1.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 128c525b9f17..df96fdf7ae5b 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index b832852a2c0a..e07d382c5442 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -3,8 +3,10 @@ DIST aesara-rel-2.7.3.gh.tar.gz 7918433 BLAKE2B 5f0eaa5cb241db3fb59bfd5fda056681 DIST aesara-rel-2.7.5.gh.tar.gz 7920343 BLAKE2B 04f7c1cf587799b915a54067a98608cee49de8ab8a50c6d8434aa7ad6bd27b547f9e4a4f71d459d8fca9805f97232a9ba4a1beb5240a8e89dd19f807da2b2957 SHA512 c68dc6e2893d2749d6ec3a74b850979f0766ac65c34bf07af3c0f1a16874e44f5102e1d036a88a7a43f51a44d3fffd65babf67373982362b034a2410124d4aad DIST aesara-rel-2.7.6.gh.tar.gz 7917317 BLAKE2B 21f801bebfe207586482b7eddb2fb1a2d812cb7c9bb28f2a7bc96543dabbe7ea7aa16781636d9e52d8abd389c8c148b3ae16696214d2914b702bb9dce114f149 SHA512 719d6ded6a058b739b3f2dcd734ef785b05eb07dec152c523d2ace7c5e9dd05d1550113f10e114b63b72d3a697900763c6f1e753db9c8d01a6c877fc5d3c2732 DIST aesara-rel-2.7.7.gh.tar.gz 7918070 BLAKE2B 70a48fdeac8be6c070850294101aa379652f26c2ff7c9723232d6aea31b3aa52675299c2f85fb6e1b5a4c5dfc020f12d72bf1e8b5ddc1d487e750c2ad7583d8c SHA512 2a1e4488aab1dbef71537871cc9a2060d4e760a1b4dfc74ed1d4d2b2acf6a030c4ee27c9f464934219630eaffde4431571a4424bf27f6ee53a80b7bfc1fdfa2b +DIST aesara-rel-2.7.8.gh.tar.gz 7918625 BLAKE2B 89f600e6b053526b8a214246746138066e2937633e132e68eef52e5dffa33509d4eee48f513077128e865f265a4e4b0ebe727dce5ed699c3f445b6850966c3c5 SHA512 33d57a5679480176cd814f6f5a36dc83ab0fe5f704a60ced2beceb10a4684bba7464f0d9473adc65541b755d3a5850af61d5ac8d8303f31d9c6718109ee331e1 EBUILD aesara-2.7.3.ebuild 2614 BLAKE2B e360f5cbaae35848f952a831da22796d20c8ac3764431efc97ea295c4c93d9176be7b3a4e8f6a4e5bd79b5e967d2a4418c56851aa2d7255b76ed5c118369d293 SHA512 67ceaa8380df3d4484b0c168ebe0fe214e6fd3b4c4fcfe7e10f10f3817532ed496111d31a4ea5d7c5ecbe4603c4edbb9e97c2c3e1afc9381697011ced2819d1b EBUILD aesara-2.7.5.ebuild 2616 BLAKE2B 827420e734f8ec6771c1ee54124dd50a34dcaffb267509e762bc3d1b38d327385b53d60edd239ec404bf4d1a9ce4e80462e65e79dd5b0bd7a8c35376ed013ae9 SHA512 5d2b17595a3086483f2443e5d3608117d2e10fb5e64d0b33f2c2b26a346868abaa8ea09c08ba8beff734ee1ae1d0a878e064f2f8862b3f5838883d449bb0efa1 EBUILD aesara-2.7.6.ebuild 2616 BLAKE2B 827420e734f8ec6771c1ee54124dd50a34dcaffb267509e762bc3d1b38d327385b53d60edd239ec404bf4d1a9ce4e80462e65e79dd5b0bd7a8c35376ed013ae9 SHA512 5d2b17595a3086483f2443e5d3608117d2e10fb5e64d0b33f2c2b26a346868abaa8ea09c08ba8beff734ee1ae1d0a878e064f2f8862b3f5838883d449bb0efa1 EBUILD aesara-2.7.7.ebuild 2702 BLAKE2B f9f26d758b9a8baadacd1570cdccc49320e60971e4657aae72b247994f9906e11be8e96c493fc0db82e27fd1958008ab9eea7d0fe4acf739954b95ccb3d7f48c SHA512 ebb736dd14d8923a10697d19786cbb8a3275e6327c3882a7b0dccaaf8135829aad4060f38449823f6030033a165d08c762eadc8ea32df1fb1237ed95fc8e76cf +EBUILD aesara-2.7.8.ebuild 2748 BLAKE2B add4e324bef647c7448fa953ba3981ec990c447f6104b75d89ce49dc318362e40832cd1936340941e43b8fea75b7a1b43e9b5dea8be8ae4f89775f17befa531c SHA512 9d208b2c70a5b432e30e6b12182ea894bc5ac903dd43c5103f8369b81e04c0e4a5da417e2c33b096f2ba2d3a6cdce2b75575827e88906ca7f5dc2fa4e3a8a530 MISC metadata.xml 506 BLAKE2B be65b6be62282fa47152985d79892fd04105a47e00a427ee8341d27aeff21b144bee7e7d0f16b2f4b617c941bdf5ebd9de37a42c39d117cdfd579c3035d35a74 SHA512 a207ec3db85a8e6f03feabd14da588f0b9ca9a88ab2495ade0f40b516b3bbd20fe78b14698d28da7ceed238737a9f4d63f587156ef609e846b485132d598c6bb diff --git a/dev-python/aesara/aesara-2.7.8.ebuild b/dev-python/aesara/aesara-2.7.8.ebuild new file mode 100644 index 000000000000..88ef6a3516d2 --- /dev/null +++ b/dev-python/aesara/aesara-2.7.8.ebuild @@ -0,0 +1,96 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 multiprocessing optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE=" + https://github.com/aesara-devs/aesara/ + https://pypi.org/project/aesara/ +" +SRC_URI=" + https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/cons[${PYTHON_USEDEP}] + dev-python/etuples[${PYTHON_USEDEP}] + dev-python/logical-unification[${PYTHON_USEDEP}] + dev-python/minikanren[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + =dev-python/setuptools-45[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch +) + +distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # speed tests are unreliable + tests/scan/test_basic.py::test_speed + tests/scan/test_basic.py::test_speed_rnn + tests/scan/test_basic.py::test_speed_batchrnn + tests/link/test_vm.py::test_speed + tests/link/test_vm.py::test_speed_lazy + tests/tensor/test_gc.py::test_merge_opt_runtime + + # rounding problem? + # https://github.com/aesara-devs/aesara/issues/477 + tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good + tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good + + # dunno + 'tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak[False]' + ) + local EPYTEST_IGNORE=( + # we do not package numba + tests/link/test_numba.py + tests/link/test_numba_performance.py + # ..or jax + tests/link/test_jax.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AESARA_FLAGS="cxx=${CXX}" + AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\"" + AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"' + + epytest -p xdist.plugin -n "$(makeopts_jobs)" + # clean up the compiledir, as it can grow pretty large + rm -r "${HOME}"/.aesara || die +} + +python_compile() { + distutils-r1_python_compile + rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die +} + +pkg_postinst() { + optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk + optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda +} diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index 66b896f43c18..84e79398895a 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,8 +1,11 @@ AUX pip-20.0.2-disable-system-install.patch 1298 BLAKE2B a384ee2114e59b8bc719fc14270cf6efbe8914854c404395beb1126db3278683b940e8fcfee83423d78e2aed6521e0bc57566ab0f5618f473262bbd9b7b0bffa SHA512 d2772105d4f4f880606e1e8ab3381af6768a96604a5fdcaa155dd42f8eea731c3a1b733b027d3e591d81f962ba14758b19da4a2c6c12946cd9a9d77c51ca4e78 AUX pip-21.3-no-coverage.patch 1820 BLAKE2B f515e324f043fa8548f9add2fecf1f4d09c2487d695c429f870a6cd1ee9a228717c4fb152faa99a74d75d3b1998a5e7e93f710e2acd096f107f23091875f1f11 SHA512 b386e8116009f43013fe600d1f3928931a6595105bdd782266eeab85ba0f5a0743c7ccfbf2cab018d2ee0646b832573c56aad009e4b074dd805011d0a810348d +AUX pip-22.2-no-coverage.patch 1833 BLAKE2B 8111b66a8e97b0415b1fe9314f8c1fcf49c1fffaf94b966bd484b1cb27b400c4eadd99fb3df1e67eb9a41983932e08a9bbebb135c9323255654fec121f802c6a SHA512 0f530065040f052a6806ce5220fc5447f92ac230e3047cd2d56674857a22bbfd489fff4b72d2f095a0c42f74a10b35444471f0cb5cf31e72d2eb7f71f355c9a9 DIST pip-22.1.2.gh.tar.gz 9346675 BLAKE2B f709f8977d467d5a3170884bb75cd2f74a2f40801ae02a3725d442e18e4073f9c4a39cd1c9d2ce3949eb888be69d151f67d0cf2d0cbad7e2ec1ec6e78150b5c7 SHA512 7dd13150023f1cca8f5e01da7688ae418b5d0b36364efcfc15374a5147c7cabd46ff1d34e6499bc8e182dc0d34a366f5fe21d8ab4de4d112d269a97200401305 +DIST pip-22.2.gh.tar.gz 9278410 BLAKE2B e32fe63e81593a0ec9c0110af0f07f1a47ddd3d6c660c11e9eb9142c251b7f45e3a1cc343193b123364a6a3a69490add7d4ebb368aac027c448f00f7cd163d7c SHA512 2ff3f9c2dc84c65c14c978e8c58cd3cee6cfff9753655c726763d6d7780d147479f32c47873d402ad9e0821fef940b971a7df93fabd6b998f07dea5af1251c9b DIST setuptools-62.3.2-py3-none-any.whl 1225929 BLAKE2B 608952e201f749ebf557e3962ba9856d5bdcbc534f3a25598cab0d6c53282cfb3b9f007ba135497a8addf49db4c02bc4387c486d95a4529d01ce4114154ec28a SHA512 366d69dc44e326dd7549cdacd8dec481a14dce4feef4338adc38b9de5c4c338f04d61696e13ce8603be1315f2e8734100f92d3fe4b4b11843e19f550c9631978 DIST virtualenv-16.7.12.gh.tar.gz 8906590 BLAKE2B a1f206769e4e5797562906162e492e44c4a72720e4f88a0362dc802ce2df20c65aaab6a72dce2238445601a10fae59bd90cd362217994d30911f105afd71c5fa SHA512 0278b33fb19f6553e70ad3dcffa6ea1a455ff435b216ac9b4fadff216b2932714faa2bb6027af3058010111d8511a5c2fcd424f31c9645be361603971f111c8e DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284 EBUILD pip-22.1.2.ebuild 4211 BLAKE2B 2500a5b290162ae49d1739e234e9a601f28e8468a1688be9f094e672cba3464b8392232669fb0d3599ca0b92a79c329f31aecbbb0781bf51da0cec4afe098a95 SHA512 6345aee9c220b2eec11f5c17416d22615ad444aec4dc46f42a399cdbca00272f39b221bb0670a39dc9e171361ec6747911c16d57d27322fab30d3c9a3e876ddb +EBUILD pip-22.2.ebuild 4331 BLAKE2B be4e464d140f3981feb6180d66b55025e675c76a5dd6885e1d310a0fa1788b156223b8371c265b3e336e95bc411b1243259b1edc53837553758f5308aac2ac04 SHA512 d9ab2f0c811a1af178268ee49c6781c6a48e2be5b07034b3863777adb3f957c55db48895c2bf1d7b6623a60b77e0e970a711f6bd138eb9914b696ae181477b08 MISC metadata.xml 392 BLAKE2B 94ea3de1220cb9ca64ae1186597789cc83a54adfe44695932c07dd5065df0e5f9ee5078a495e3a12563b36809d781d8ab86bb6c92c485c023199d92547b74f27 SHA512 603199f6547105f3bb64f4fcaf004e9ef62fa2e0f8ec6eab56078119684b0f5119161e0f164fe02b2cf6dd6b115588c9ef77d727eeb6d138e281f1cb0bcb5de9 diff --git a/dev-python/pip/files/pip-22.2-no-coverage.patch b/dev-python/pip/files/pip-22.2-no-coverage.patch new file mode 100644 index 000000000000..20a5fa4beabf --- /dev/null +++ b/dev-python/pip/files/pip-22.2-no-coverage.patch @@ -0,0 +1,52 @@ +From 75292c12ee2062f7d035b326b652ba6cffb8480d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 23 Oct 2021 08:11:11 +0200 +Subject: [PATCH] Disable coverage testing support inside test venvs + +--- + tests/conftest.py | 15 --------------- + 1 file changed, 15 deletions(-) + +diff --git a/tests/conftest.py b/tests/conftest.py +index 210ff0f4e..e5c0d2ef0 100644 +--- a/tests/conftest.py ++++ b/tests/conftest.py +@@ -382,13 +382,6 @@ def wheel_install(tmpdir_factory: pytest.TempPathFactory, common_wheels: Path) - + return _common_wheel_editable_install(tmpdir_factory, common_wheels, "wheel") + + +-@pytest.fixture(scope="session") +-def coverage_install( +- tmpdir_factory: pytest.TempPathFactory, common_wheels: Path +-) -> Path: +- return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage") +- +- + def install_egg_link( + venv: VirtualEnvironment, project_name: str, egg_info_dir: Path + ) -> None: +@@ -404,7 +397,6 @@ def virtualenv_template( + tmpdir_factory: pytest.TempPathFactory, + pip_src: Path, + setuptools_install: Path, +- coverage_install: Path, + ) -> Iterator[VirtualEnvironment]: + + venv_type: VirtualEnvironmentType +@@ -431,13 +423,6 @@ def virtualenv_template( + [os.fspath(venv.bin / "python"), "setup.py", "-q", "develop"], cwd=pip_editable + ) + +- # Install coverage and pth file for executing it in any spawned processes +- # in this virtual environment. +- install_egg_link(venv, "coverage", coverage_install) +- # zz prefix ensures the file is after easy-install.pth. +- with open(venv.site / "zz-coverage-helper.pth", "a") as f: +- f.write("import coverage; coverage.process_startup()") +- + # Drop (non-relocatable) launchers. + for exe in os.listdir(venv.bin): + if not ( +-- +2.35.1 + diff --git a/dev-python/pip/pip-22.2.ebuild b/dev-python/pip/pip-22.2.ebuild new file mode 100644 index 000000000000..aca0d2742dac --- /dev/null +++ b/dev-python/pip/pip-22.2.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{8..10} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 pypy3 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 multiprocessing + +# setuptools & wheel .whl files are required for testing, +# the exact version is not very important. +SETUPTOOLS_WHL="setuptools-62.3.2-py3-none-any.whl" +WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl" +# upstream still requires virtualenv-16 for testing, we are now fetching +# it directly to avoid blockers with virtualenv-20 +VENV_PV=16.7.12 + +DESCRIPTION="The PyPA recommended tool for installing Python packages" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/ +" +SRC_URI=" + https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz + test? ( + https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL} + https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL} + https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz + -> virtualenv-${VENV_PV}.gh.tar.gz + ) +" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" +IUSE="vanilla" + +RDEPEND=" + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/pip-22.2-no-coverage.patch" + ) + if ! use vanilla; then + PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" ) + fi + + distutils-r1_python_prepare_all + + if use test; then + mkdir tests/data/common_wheels/ || die + cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \ + tests/data/common_wheels/ || die + fi +} + +python_compile_all() { + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' + "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die + "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON} since virtualenv-16 is broken" + return 0 + fi + + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_list.py::test_multiple_exclude_and_normalization + # Internet + tests/functional/test_install.py::test_install_dry_run + tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg + tests/functional/test_install.py::test_editable_install__local_dir_no_setup_py_with_pyproject + tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject + ) + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + local -x GENTOO_PIP_TESTING=1 + local -x PYTHONPATH="${WORKDIR}/virtualenv-${VENV_PV}" + local -x SETUPTOOLS_USE_DISTUTILS=stdlib + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + epytest -m "not network" -n "$(makeopts_jobs)" +} + +python_install_all() { + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + newbashcomp completion.bash pip + + insinto /usr/share/zsh/site-functions + newins completion.zsh _pip +} diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 672baf2edb20..689b6cef063e 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -2,8 +2,10 @@ DIST pyfakefs-4.5.6.tar.gz 206310 BLAKE2B c37cb4709a285bfba411cd76da4f158cfe682d DIST pyfakefs-4.6.0.gh.tar.gz 208832 BLAKE2B 60a8c3223fc92e366beb8907ea0c8f242b91ddd422ab0b551d04d7c24ed3d4202b7c42b8971eef0f15fa27b7ed0821637e9341b3feeaf02232948a50898213d6 SHA512 9f507c7b0e28591886cb91c36dad22d6c55d123a447070c2fdc6573d2db1e2bb79cd5c203a9fce762882de680feacaf7e3b57f9bebf6922c643bf61fe44878f2 DIST pyfakefs-4.6.1.gh.tar.gz 209134 BLAKE2B 81dc53dad9e815eaf3024f157aab36afcfd6547485b92b47e5acf2b03f49eb6ffe0d07da1c4d16b82585870535ba9d44580f190c28856dba6906d07996aba2f7 SHA512 ef2defe59e84e6e85408e7369efc86c1d6f3981456a2628552b63b8fca959ff8536b41fb006bd8b291bef9fb3dba17126c4e211a21f0d11cc29da8f7d5addce2 DIST pyfakefs-4.6.2.gh.tar.gz 209535 BLAKE2B ffc14a6fbe55958c05cb9d2343d5375f1b72fb3264de2ccd72ee225a8569bb2de1a79cab597eb17f6b5ffeefa1ed224d0997ebd9b416ed357eff75cab24652bd SHA512 60a1c7f2ce969df91e0cabba85aaeb941ae38346c5f83f3fb39c112d49e51f53a837710b16d46096bbf7182b076f13b0aafbe4e7e34fdcfb2c49720958e35cef +DIST pyfakefs-4.6.3.gh.tar.gz 209890 BLAKE2B 71f84ca02a8a1f9fa5541e0cac1cddd270a8fc66fe5d1f62e8c7bf017f4992e93a6d1bce83847c3833f841e7935d86d6b59b17ee114c82a9d2c36e9c5fe87d02 SHA512 b34091e4311c69ee3eb46cc631c00ec07804c6d5add42887f850275dc0c22d07a893d5dadf2febcbee15c631b476573e63ae52a9ae5780d83a0ef774cff11a5a EBUILD pyfakefs-4.5.6.ebuild 1553 BLAKE2B 115f6b5b6ec93d47e45fb46c2a6acfdbddd535e1f2bf5edc5a470dea6814d50076fb9df51c7edd8b996d3c0a07c2e08fc2f69076826419fb9b20cf1d263652ad SHA512 4d540e284764f87545e4b284dcfb666943d173f3ca00228f2dcdab0ab6b046eab29926216e87668e5a0193f6ae4bfa2d6b3c2c00c19f84ef1c13de59445ee3fd EBUILD pyfakefs-4.6.0.ebuild 1478 BLAKE2B 22a3f52c585cdd23edd0ce8e6ba22b807436f9f243fe0b048386f9d2d769e1aeb66855b5961dad4869838b8dadbb31d194d5c1ca68d272e84c2b8b1d07aa1525 SHA512 789acb3e32a066104ed9d419d507de224e586d1daff0f1f6c9a47b741c589edf04b36ba17c041ec656f0aa4590e1ac34d5b50bb053ec5b5130447b828ff106c6 EBUILD pyfakefs-4.6.1.ebuild 739 BLAKE2B 106b475508e75d0cc59630362ac5b424330ff9bbab6521b9b1fd4e47a8a6a828a03a1d65c26d625c9d0e73fa1d00ca94a05f8707fd33439f8235cdded55051c9 SHA512 f64f1538e124fbd96d49c8323dda92f6b21f4f69d67f974f8b6c42a32a89ac567ebf749dda480ef6a35eac8ee950c657a10c74aaca80881d40573612b86eb569 EBUILD pyfakefs-4.6.2.ebuild 739 BLAKE2B 106b475508e75d0cc59630362ac5b424330ff9bbab6521b9b1fd4e47a8a6a828a03a1d65c26d625c9d0e73fa1d00ca94a05f8707fd33439f8235cdded55051c9 SHA512 f64f1538e124fbd96d49c8323dda92f6b21f4f69d67f974f8b6c42a32a89ac567ebf749dda480ef6a35eac8ee950c657a10c74aaca80881d40573612b86eb569 +EBUILD pyfakefs-4.6.3.ebuild 739 BLAKE2B 106b475508e75d0cc59630362ac5b424330ff9bbab6521b9b1fd4e47a8a6a828a03a1d65c26d625c9d0e73fa1d00ca94a05f8707fd33439f8235cdded55051c9 SHA512 f64f1538e124fbd96d49c8323dda92f6b21f4f69d67f974f8b6c42a32a89ac567ebf749dda480ef6a35eac8ee950c657a10c74aaca80881d40573612b86eb569 MISC metadata.xml 395 BLAKE2B 8db2ffc4bcdcf27ed640f08d3f79b1dac72f3609d2113c5e2590c9b127ba0e20bf27f040976a34fd8a08166c455140cbc586da72d22ca67c329717bf5d54798d SHA512 86850a2bdfbc39096105db00d9b249224ab57c1fac71738f0a5df2b83bec7773f4150f7480b18fb066122fe0ed46fbc923a72e837db429b5b322e658bb340010 diff --git a/dev-python/pyfakefs/pyfakefs-4.6.3.ebuild b/dev-python/pyfakefs/pyfakefs-4.6.3.ebuild new file mode 100644 index 000000000000..54098f2af2c1 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-4.6.3.ebuild @@ -0,0 +1,30 @@ +# 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_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/jmcgeheeiv/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/jmcgeheeiv/${PN}/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" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +} diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 7e53da5c08b0..e672d72d0793 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,7 +1,9 @@ DIST mongo-python-driver-4.0.2.tar.gz 1027101 BLAKE2B d95eea08e09101f1db5df5dcbd5d843273ebd0c63b228420748a1663620ea18e05853372e876abc8b6480238de2b035c4e5a3c9f9b7c206228870a66e5d5f053 SHA512 eacb24d110de645a70b16b4d11f7a6b019f741fba2222f8ecee47d9f638fd71e579d3a46f5f539bc89d1ea53ddf0b72745b667a0f05479bb4b53ed72fb075b5b DIST mongo-python-driver-4.1.0.tar.gz 1069416 BLAKE2B ea7d81e405f4db4ec0e03591909541f5452f516d359e42fc6fde74435899353f4718b7dbfe3dc1802e79c9277fcfe6203ecd33a5e2ad2682c604b9de44c46c7c SHA512 558d321a335742fc3399e9f5cb4917605353f55a1912f9fa34ac46f6107ed6522f952dc9ef584f4cbe1ffcfc600b49963a4bdf606146c38b94379bbb6a382202 DIST mongo-python-driver-4.1.1.tar.gz 1070349 BLAKE2B 9b792343a22c4b0c625376e6f3d10e9c1a88442b63ff2638c29588a26755006507189bf40a8dad96d7f8e4f997efc153c8616826b58114aba32442c05b80ca60 SHA512 b01eb6bc4c39a25cae8350bdc2f37dd5d78da38a6eddbd8a26f91cb6ee067f7b4b1d97eb603defca16e05abc992b8f11b2e3558f9697c99697b3e876838de737 +DIST mongo-python-driver-4.2.0.gh.tar.gz 1136734 BLAKE2B b3e2d86780c2874656f94ba3071317c0b9190418274c163135a260cad3f5672b9390aa738d0cf1aaff47412827620706e67c5c990910a5ea232aaacda0758dea SHA512 4439149c35f897a61109b26f5e4c613682ca59727495377a3bbb49f9ff22273cd5a73f58fb55080d07c9403310d4ada59d3a5969d0f76f2f4d1081422fe2dfec EBUILD pymongo-4.0.2.ebuild 2762 BLAKE2B 55e8e7d00cb2cc710cfe9577e18641964d74e670f89e123ed07a83bee69e2a7292eaae5eea8e75a6201efac6068648fbd831a54d74f430d03bf2088ae65fbc91 SHA512 c6e62e89a90ed45763cb0f679bae97187062cdcf4d22bd199f2ed1d24617648ff383cf8e3401add6b188ca4526ad1020b25951c6381b833ab98115bc3326027b EBUILD pymongo-4.1.0.ebuild 2765 BLAKE2B 9e0daa5786bfcdd3997d91dc81d73edf1c3cce0c9e72a4e9e957940079b6c1d37c09f0ca9f52a02e7dd4cb36ca5ddcb0f36b8848b049dbb2f6727d44139e5230 SHA512 90c9917a2c760694bf8f82632a35c7a56974bb2a6e45d27677aacf5487ec4da55705bcf9cfe88935170bc25d69d820eba24834bc22857c2689acec1457ad2b1b EBUILD pymongo-4.1.1.ebuild 2763 BLAKE2B 131597592b3f0a719a02b25b0af93b23a9965ba7c93a62a0c35846d6dbb1cc1b3ff19a829262f199b0edd3079152e4169899bf0b120092576f9ecb29e9947bc2 SHA512 a13e5fe063d42c3f98af5f28ab0147e87dbb7108a9a72130405af6a5196cc4d14433ab52f1d3cffdc87544045bc8d7f12acd79848a9c22b91125daf544cb6273 +EBUILD pymongo-4.2.0.ebuild 2774 BLAKE2B 4fa93e4f16e41591a43227739ee3770c3257a9905c42497083ca2ca0350c18218ddc2fbb98037617a562615dc3ba5c80a82bb5a5dafeb5539bde66634007a26e SHA512 05a59ba2f518af45476ccdeb6523e1f8dd8d25cc66401cb3d39efe8e4ec09a4f3bb8b3eecb63986198b4413d30b867e3eded2ec7f1d7fce353a2b8c2a928a849 MISC metadata.xml 673 BLAKE2B fb66f76592841f2647a94e24e07fafa8be2bc31583bac35dc3933a3feeea87f0c4105ab6b480bce5f2b8aeced8c113c8a3ce9714b22ff909f92eccceffa8f9a9 SHA512 9e758aa60153da583ed21bdf6addd001c560894fc6d429217405e7dfbdc673a9e22bc5a41afcc1281f7613ae1059c0824a7bba246006aa66c6eced75ab975e51 diff --git a/dev-python/pymongo/pymongo-4.2.0.ebuild b/dev-python/pymongo/pymongo-4.2.0.ebuild new file mode 100644 index 000000000000..16be1870a95e --- /dev/null +++ b/dev-python/pymongo/pymongo-4.2.0.ebuild @@ -0,0 +1,121 @@ +# 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_{8..10} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86" +IUSE="doc kerberos" + +RDEPEND=" + kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + >=dev-db/mongodb-2.6.0 + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests unittest + +reqcheck() { + if use test; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +src_prepare() { + # network-sandbox + rm test/test_srv_polling.py || die + sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \ + -e 's:test_service_name_from_kwargs:_&:' \ + -e 's:test_srv_max_hosts_kwarg:_&:' \ + -i test/test_client.py || die + sed -e '/SRV_SCHEME/s:_HAVE_DNSPYTHON:False:' \ + -i test/test_uri_spec.py || die + distutils-r1_src_prepare +} + +python_test() { + # Yes, we need TCP/IP for that... + local DB_IP=127.0.0.1 + local DB_PORT=27000 + + export DB_IP DB_PORT + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local failed + DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1 + + mongod --dbpath "${dbpath}" --shutdown || die + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/rsa/Manifest b/dev-python/rsa/Manifest index 1a351fe7a249..badf0a0b5ce8 100644 --- a/dev-python/rsa/Manifest +++ b/dev-python/rsa/Manifest @@ -1,4 +1,6 @@ AUX rsa-4.8-includes.patch 1057 BLAKE2B b72159300e46fee904fb715083dab39e9ade88e68e1d6906968a79e0e86278632b94700b6e09dfb4994b92704c50e71634b2eefe6e017a1bf98aaa7cb73956bf SHA512 5366f1afcad0d60f3927a449c4f31d792bf7b1432a81bdd9e71b0e6b4bbedc9ecb3d4f1e39afb9c28f5903f9afe5f0c3002f208a06b034623d2c5ecb1d37dccb DIST python-rsa-version-4.8.gh.tar.gz 73634 BLAKE2B 55f25b6747f4f0bad12cbbb75c6e6fdbe6f913265866f11430644b46f9d3a2f615e6ed460d04cc732cfe29f0a4e47b14f2581f29d523b3018272ef976a6a04aa SHA512 d65e5d3c902508f4ea7424099471cd68568b052b9647a87ceb155ecc444ba6a8bd0ebef6fe1bf38720a19193cd494a8b64f744cca5812d1a3bec28f3fa3a9a3d +DIST python-rsa-version-4.9.gh.tar.gz 59238 BLAKE2B 077679131fcd29a0f396ad9db45db9a6891be45afe96a328f66191d747f10d36a3248b0929d5c8270ff32a39d08a9c15d80973ba3af83f7368e792cf003f186a SHA512 0b49c1e5ffb6235ccb9e34c81ad717276c04956e21dd54c08b5cae7dd28ecc115235b2793c8bfc2fbb46a260e574d35cab23729567efeee108b79544793e60ad EBUILD rsa-4.8-r2.ebuild 814 BLAKE2B e6dc62336c2f52a94c0ba07e733bb6a544115562c082655a6689e5a8007b02dbd540f9dd325a103e63f9f29a886ae42c7c7cd471dfc9e74e1cc37d0137c3eb3a SHA512 f9f145e9ff3502efb1586d0cb2ab67f642105602dc4f8ca65a7857b784e1239f66cb7ea888e4b50bc75ea16d89893534fdf66dd54fda6db2e7e8947893190202 +EBUILD rsa-4.9.ebuild 773 BLAKE2B 96ed9f5be7997a61068e9270282eca76c8fe380b5e5fd94fb0521a040837f6c8ff84df43c1b06f454d639b59e3171923e662721c6057d0b2a16ea8ac20a9fd29 SHA512 43c3628fe182bf519cd9b9b58d3d15390a403a13514ed0dc6229523c5463c9bf779621b01fb0d7424922ac1b22bb7001a4b991bcd07e038d9a58ad734d53a3f1 MISC metadata.xml 407 BLAKE2B 11c7f12e753a502ea5b508e0ca88f824819c3a2dbfbaec31532fbbe9bfdbda5c75ad853b14945a3f5baa4b1eb01a0c9526d3957eed0a573bd63ac792b93bc5da SHA512 df4960d9d61726ae45490adc1d682780539bf7f053a6db9af97e453261f1866a3e8ccb956c5c769b115e90ef3c336654a85114eac1b1256dab95fed7bdb88961 diff --git a/dev-python/rsa/rsa-4.9.ebuild b/dev-python/rsa/rsa-4.9.ebuild new file mode 100644 index 000000000000..a75385ddf3e9 --- /dev/null +++ b/dev-python/rsa/rsa-4.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +MY_P=python-rsa-version-${PV} +DESCRIPTION="Pure-Python RSA implementation" +HOMEPAGE=" + https://stuvel.eu/rsa/ + https://github.com/sybrenstuvel/python-rsa/ + https://pypi.org/project/rsa/ +" +SRC_URI=" + https://github.com/sybrenstuvel/python-rsa/archive/version-${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +src_prepare() { + rm tests/test_mypy.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index fbc71d01a6c4..0e90554c26ef 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -3,9 +3,11 @@ DIST sentry-sdk-1.6.0.gh.tar.gz 249637 BLAKE2B c4d6788c80184ce9127ed85dfb5305363 DIST sentry-sdk-1.7.0.gh.tar.gz 251695 BLAKE2B b31a11ee6dcd55960b2d267c26cabdb35a463ab8c081889dceca55ae9ad87c90827875fb75f0912e98457391f24263816d5e61c59551121fe8dede8bb4921a8b SHA512 5595266185618630493eb9bf84c8570f419339b37e8f4afcd4feee80d62d9f678da68d58df081a5361380fe166df589029606ba1d7b70c1844fe174e3292f54c DIST sentry-sdk-1.7.1.gh.tar.gz 251834 BLAKE2B e12c16780c3748754b9b104fbb38c7f7aba5fba3186c0ea00f40e742095828bedc926d6c8ed3cae05cc324fde8dac14053035ea4f75fa8f7669dc953e844ea0c SHA512 92d6e04cc6efb3d3272e3afdeb302115d8dfed9907db914bdf387bb257a8175f3d0713041e8c86c64a8d027fbcd3d6d03b4cccba55e6c76e52412ae404de7dc5 DIST sentry-sdk-1.7.2.gh.tar.gz 254370 BLAKE2B e65b2236bfec9279a4aa05b77c9492547f657e461a7c96c4158acb6bc0887571186bfa71893dce34251ef8d783fb5d583b25aa12539c5db7993cec65fdf05229 SHA512 9fe2c283a326b78c8be95500e4916bb633dc7369960a4e0ef69c0f29de74c38db81f43b3931c47d50431ee7f1a66a2b18e8c4fc02ce71c404a5e9700644cb76c +DIST sentry-sdk-1.8.0.gh.tar.gz 286488 BLAKE2B d47f33a1c83cfffa6e4a801a6fdfde132d4cfe1b734e464c4db60e97abf53ebe503c53c3edd89d1a84e655a348a4463a75c3475d4824d03cd9b95733b13b5532 SHA512 aa3be96dbc55265f17371d8f20f8b3116b4310cbc1d078b62beeb1fd90bdbb840db85c25309e16f793a188d373c6dbcfd11a104db21b60221a5fb06d8deacc2d EBUILD sentry-sdk-1.5.12.ebuild 2867 BLAKE2B 713c54d0b7774765790baa3db1631023e16291796d33a1481adef9db6daaa5548a899393d28a68ff3dd1df2df86f6c935c53f410dd9a91d5d7837a0ed11ad0e2 SHA512 1a259533119f6d72f04229d48ad8ae33379c345d08f5ea2c51f75bdf44534de69da266a60db06dcdb6c3fcac21a592a518d0bdffbda8e53b664328919adceadb EBUILD sentry-sdk-1.6.0.ebuild 2874 BLAKE2B 499f352134ac1748e95c5b690a7b3848a4cfca4d532388ab4c056d8b59e37885faeed409c50d2764907280dfc83f2a015a72420f5620724026d7f418d1884040 SHA512 4ffa0cd99c29794138a199ab295e32817ea7fe8c7383a6f68598cd77c992a5ad7782bae3db5e52bf074351e061a2ebd3ab49f9123858e438a813627a82511cdb EBUILD sentry-sdk-1.7.0.ebuild 2874 BLAKE2B 499f352134ac1748e95c5b690a7b3848a4cfca4d532388ab4c056d8b59e37885faeed409c50d2764907280dfc83f2a015a72420f5620724026d7f418d1884040 SHA512 4ffa0cd99c29794138a199ab295e32817ea7fe8c7383a6f68598cd77c992a5ad7782bae3db5e52bf074351e061a2ebd3ab49f9123858e438a813627a82511cdb EBUILD sentry-sdk-1.7.1.ebuild 2874 BLAKE2B 499f352134ac1748e95c5b690a7b3848a4cfca4d532388ab4c056d8b59e37885faeed409c50d2764907280dfc83f2a015a72420f5620724026d7f418d1884040 SHA512 4ffa0cd99c29794138a199ab295e32817ea7fe8c7383a6f68598cd77c992a5ad7782bae3db5e52bf074351e061a2ebd3ab49f9123858e438a813627a82511cdb EBUILD sentry-sdk-1.7.2.ebuild 2874 BLAKE2B 499f352134ac1748e95c5b690a7b3848a4cfca4d532388ab4c056d8b59e37885faeed409c50d2764907280dfc83f2a015a72420f5620724026d7f418d1884040 SHA512 4ffa0cd99c29794138a199ab295e32817ea7fe8c7383a6f68598cd77c992a5ad7782bae3db5e52bf074351e061a2ebd3ab49f9123858e438a813627a82511cdb +EBUILD sentry-sdk-1.8.0.ebuild 3125 BLAKE2B dc87ed38983d2d0affd1cf18b3acdc0c2ae6f4b0105cb24d72afa4d19b20df8da823264821974b7b5ac21a8559bbf617f118b4045a09cba8fc923d6c0cd0086a SHA512 d15338c869daa70b9d834305246fd9add6988909c4192b6137fcc38a950e75c9280e2d5190c14ffdfaeb6256117d34189f31ce1d8fe305fb905cb3e3d10be8ac MISC metadata.xml 510 BLAKE2B e00011699ac2cc83f1923e1f6fa813ede7eab8c57f9ce9d9fca04e721b089db1c5f2bdffaa7b9856f56b433abd9189125e07ffd3f329e4fa8d098e28a4f2d7bd SHA512 bafb77a102d94fe050cb526b298fb8cfd56775cb4d07eda280f6356fbec6fbe5df5c9ebd459d9d4457cd027c2e0d7c349e053fa6070b52f0d2989f6ec600b87d diff --git a/dev-python/sentry-sdk/sentry-sdk-1.8.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.8.0.ebuild new file mode 100644 index 000000000000..f9b396aebcf8 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.8.0.ebuild @@ -0,0 +1,95 @@ +# 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_{8..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}] + $(python_gen_cond_dep ' + dev-python/eventlet[${PYTHON_USEDEP}] + ' python3_{8..9}) + ) +" + +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 +) + +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 +) diff --git a/dev-python/watchfiles/Manifest b/dev-python/watchfiles/Manifest index ea03efe8a796..69f4c7b409d3 100644 --- a/dev-python/watchfiles/Manifest +++ b/dev-python/watchfiles/Manifest @@ -39,6 +39,7 @@ DIST unindent-0.1.8.crate 8326 BLAKE2B 3123c6b540b152d89cc7a9a76ff1315549f973c6a DIST walkdir-2.3.2.crate 23516 BLAKE2B 473f2b51aafd6ac17e5c3da8d545d179b31486b3a65ab39fbd8bd7fbb2ebcc24bebf01781200a26a68f0b1cb464f5763a919aead3b03eba5a7e1be6efec5500b SHA512 6c44071354faf37720ec4117ded34c8d530489542ee107ac26a7a56ef4a882b9003e22e84f1d61f6078643521343e35aa1f7b57c838779e78e5937a667bf82da DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f DIST watchfiles-0.15.0.gh.tar.gz 38496 BLAKE2B b748904540c28bac3a3be3a1a236352bdba316d1230b196ce1d0ec90324299664c065d1644f7eeafa232e197493aba5b8685db5583c9899f57262651f0e53dc7 SHA512 1398c3337cd0f36bfd489dbca4c968bae2c23949d43567777411c1e9773ac633962164d61dcc84d462adba9d79e108ec98fc31866f364bfa72c26599d12a6fdc +DIST watchfiles-0.16.0.gh.tar.gz 40356 BLAKE2B beb71a54a12a36f97bdbd710a6a9f0d82d1ecb9a4a19f64dfa503ff96b882afbb90679925d86d74d2bbc570a1e98e3c18df8dac539c19e2536bea69d343dddb7 SHA512 72bb989643111257326fb2185e2d7a5ee945ee75c1645287ab05486c1ada700b4f7924c0871ea304c72ee6f222e776e1f86ab8718d0300f916f9948009f721d5 DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd @@ -50,4 +51,5 @@ DIST windows_i686_msvc-0.34.0.crate 733497 BLAKE2B fe7588e946d95c1570ea0d90db82d DIST windows_x86_64_gnu-0.34.0.crate 744301 BLAKE2B fb0775c40069aa42fcabd01ff09fc7557236e3cd270c771b3648d7f556e9aeb9add7130b117fb107f3562bc199b728d3636779a99c9a1aad96aaf6b99f975f3e SHA512 61f532c2c95edf42f79ced48be9d4a9810dda327f45ff2dbff19a5fb888e3ba206f2b875c5b5571884f27742fb380d5f1e105e6d5fa460a2e529b53625123d86 DIST windows_x86_64_msvc-0.34.0.crate 669900 BLAKE2B 15a851bb19557ee896ade2db29872754549e4df9cf895a1387d9ddfbf8c599e6e5a2bcb835f450d8218296a99d08fbfb2db469e244b0abdaa13f16bcc38b35a9 SHA512 3bf5308993a259f5d1b3964698550151c5819a0d28a02928c6f7d70443be69131255a896d423f086a298842ba773502de8a8e8bb2ce8adbf7bf848ab40184bec EBUILD watchfiles-0.15.0-r1.ebuild 2191 BLAKE2B e35bf13c5d94f165a23fb2a5eaf04f46c6963142aacf39714336f3b60fb6162bfbfc3fecfe4cf3cb9aa8f23c731af307916138a2d25cf264cd3905c9e473587f SHA512 2ddd215db029b9706a4bd630b35de55d0bd09c9c2552cf4afa997e9648145cf34df42c8821cb0a3a8c8a7b712d25cb505a8cadf984352f5dc32dcbf553166a71 +EBUILD watchfiles-0.16.0.ebuild 2191 BLAKE2B e35bf13c5d94f165a23fb2a5eaf04f46c6963142aacf39714336f3b60fb6162bfbfc3fecfe4cf3cb9aa8f23c731af307916138a2d25cf264cd3905c9e473587f SHA512 2ddd215db029b9706a4bd630b35de55d0bd09c9c2552cf4afa997e9648145cf34df42c8821cb0a3a8c8a7b712d25cb505a8cadf984352f5dc32dcbf553166a71 MISC metadata.xml 355 BLAKE2B 95253406e11c30a7a3b5462d3c835010313bed3122f9d16ff73d6959a5c1f4c8922e324c839fcae9f541c7b1d84544cd38718ffcaba039b8c61292eaefa37447 SHA512 e1c11224e0129eb696e4e92a41ec0e35819febee2eb967982e016f7a0d02d95df8465867e0202d8e7ac59cc579f73c79d9ed6b87eebd44b3b64d63a5642ac458 diff --git a/dev-python/watchfiles/watchfiles-0.16.0.ebuild b/dev-python/watchfiles/watchfiles-0.16.0.ebuild new file mode 100644 index 000000000000..aeab77a1d524 --- /dev/null +++ b/dev-python/watchfiles/watchfiles-0.16.0.ebuild @@ -0,0 +1,109 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +CRATES=" + autocfg-1.1.0 + bitflags-1.3.2 + cfg-if-1.0.0 + crossbeam-channel-0.5.4 + crossbeam-utils-0.8.8 + filetime-0.2.16 + fsevent-sys-4.1.0 + indoc-1.0.4 + inotify-0.9.6 + inotify-sys-0.1.5 + kqueue-1.0.5 + kqueue-sys-1.0.3 + lazy_static-1.4.0 + libc-0.2.124 + lock_api-0.4.7 + log-0.4.16 + mio-0.8.2 + miow-0.3.7 + notify-5.0.0-pre.15 + ntapi-0.3.7 + once_cell-1.10.0 + parking_lot-0.12.0 + parking_lot_core-0.9.2 + proc-macro2-1.0.37 + pyo3-0.16.4 + pyo3-build-config-0.16.4 + pyo3-ffi-0.16.4 + pyo3-macros-0.16.4 + pyo3-macros-backend-0.16.4 + quote-1.0.18 + redox_syscall-0.2.13 + same-file-1.0.6 + scopeguard-1.1.0 + smallvec-1.8.0 + syn-1.0.91 + target-lexicon-0.12.3 + unicode-xid-0.2.2 + unindent-0.1.8 + walkdir-2.3.2 + wasi-0.11.0+wasi-snapshot-preview1 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + windows-sys-0.34.0 + windows_aarch64_msvc-0.34.0 + windows_i686_gnu-0.34.0 + windows_i686_msvc-0.34.0 + windows_x86_64_gnu-0.34.0 + windows_x86_64_msvc-0.34.0 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + $(cargo_crate_uris ${CRATES}) +" + +LICENSE="MIT" +# crates +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions Artistic-2 BSD" +LICENSE+=" CC0-1.0 ISC MIT Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + =dev-python/anyio-3*[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # fix version number + sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die +} + +python_test() { + rm -rf watchfiles || die + epytest +} diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index bf5f3f165cb7..16c75e123140 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -2,8 +2,10 @@ DIST xmlschema-1.11.1.tar.gz 454932 BLAKE2B b80885b7bde87115caece3cdcd036c5ef7cc DIST xmlschema-1.11.2.tar.gz 476302 BLAKE2B 61d194ae9d269c2bb8231b8ce9068cf0fb0019022abdb24748c4df8ede8821e1c197ea040e07bd267c060944ea1dcd4ada300995287f47e617daf2f923c54abc SHA512 777743e1a0711ceb3aa752b33d65b79e56252284cb911c504751152a86281fba9a39e96271fd8058093c65d69badecdd8e30d836578c9138ff988843fbe9b90c DIST xmlschema-1.11.3.tar.gz 477008 BLAKE2B 30e0802e271bf82a1baa8f38317048f4ccda994e2dd04c2fdbf70e4240c2227e821bd416326347d0817b27635dde2c67f446adde2cdf443301046f15ac84175c SHA512 5920573900f0cfc159e3239883aaada18502ac0d33dc7a9aaaf4ab63b41f6d37ba68989aa931e0e2e3e546d335788cb55b1d350d5856d06f12904549cf3cb723 DIST xmlschema-2.0.0.tar.gz 474917 BLAKE2B 4249b3b12651c9afee528016679f35cedfc9bb25e097cc056a28e246a976446b0cbf82aa042dbf2c56f9917c40cb9e747afeb141c2cbabbc8fffd6db85f7b532 SHA512 5c37e65cb471dca6048602a8383414069d53d4adb17d39046db8bb396510df0a14513fcc463e9a9921d3530240d841757286d97bd811f05e2bf58f8e01aa0e27 +DIST xmlschema-2.0.1.tar.gz 475999 BLAKE2B 646f839ec8c1e3e7a18250e5e98a2d2503974b331a296c428eeceb5400af792c432851bf4cc7b8a15bfa815a9316f3a243535412344fd968ede7fbbee352bce5 SHA512 2087c3a4dc8517b3a05e852f213c611c6040c9bf41a392b26467a9d4a27140a2ce577a13cb1d0f4074f1d3d8bc33d6e115386cb1d675a6b6ee5ee29c01b20173 EBUILD xmlschema-1.11.1.ebuild 832 BLAKE2B 17e3942b555bc419a77695077c676163ecb80be93436724601c3d414d7c530a87e4845384108a6f99a5c8ce8895416aa5173f88979f4bfb771c357c1f2051ab4 SHA512 1b232654938e4bdbc443f080f7cd80793a52ac483ecbdf5540debb15cc16657fedda7845f7d89d0f2ef4a944c4cca9ca8e454710ad4c744f7cab2318e960a46c EBUILD xmlschema-1.11.2.ebuild 840 BLAKE2B e9d3ec065b1e72a9ad47329591f125f4ed683105f98cee1590d21309a357eb56794c8d9a3efb01af87819beef145aa3cc652d19e14d638bbfaf497a7860149a1 SHA512 d3c02d15745686e2aa0690a530a31eb57e83a3487fd09450fc7ed8cbaa089114bba443077fc3195e5ecc7b3eb7041a8b05b998c39337af71b937e34197cad4d9 EBUILD xmlschema-1.11.3.ebuild 840 BLAKE2B e9d3ec065b1e72a9ad47329591f125f4ed683105f98cee1590d21309a357eb56794c8d9a3efb01af87819beef145aa3cc652d19e14d638bbfaf497a7860149a1 SHA512 d3c02d15745686e2aa0690a530a31eb57e83a3487fd09450fc7ed8cbaa089114bba443077fc3195e5ecc7b3eb7041a8b05b998c39337af71b937e34197cad4d9 EBUILD xmlschema-2.0.0.ebuild 885 BLAKE2B 18245bee72521a6fb759cee3181ddf6f93633a8c790efffe6f733f709f67df1a386231a46093a91624588570db1d5ea7955dd252eb31f0358015c8dfdf973ea7 SHA512 6cc9df953df065937c9714859b63567240a6a68bd1569ec551a3b5ebc04afaa610591283f233abe3de124bd42de7ae87b3361254ba92216a0c22b2e344d0196b +EBUILD xmlschema-2.0.1.ebuild 885 BLAKE2B 18245bee72521a6fb759cee3181ddf6f93633a8c790efffe6f733f709f67df1a386231a46093a91624588570db1d5ea7955dd252eb31f0358015c8dfdf973ea7 SHA512 6cc9df953df065937c9714859b63567240a6a68bd1569ec551a3b5ebc04afaa610591283f233abe3de124bd42de7ae87b3361254ba92216a0c22b2e344d0196b MISC metadata.xml 376 BLAKE2B 6aa6c0ef38b17f49452a3db71c7f449dfda8951e2196b904235592921620b6a2064021aae7a1a30639e637c3b9bdb46bcaebec1903a081a41832bd0c5199dde9 SHA512 b814209cd4b87ad5cb8bc447f1d485043d8386339607f39575faf2d26c19b69befa9fd7b7eb2d3fca4b5e60499091a59c1466cfc2f0d9651430949893e2edaeb diff --git a/dev-python/xmlschema/xmlschema-2.0.1.ebuild b/dev-python/xmlschema/xmlschema-2.0.1.ebuild new file mode 100644 index 000000000000..da14b0a0f004 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-2.0.1.ebuild @@ -0,0 +1,39 @@ +# 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_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/elementpath-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || + die "Tests fail with ${EPYTHON}" +} -- cgit v1.2.3