diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-11 17:32:22 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-11 17:32:22 +0000 |
| commit | a88245c4a732c86ba16fee8108cdf8565e7b2e69 (patch) | |
| tree | 614a3781bb2577c3faca87362529740dcc689a8a /dev-python | |
| parent | d37d21ba31c71ad8738d32849a5d9d0dd4c20793 (diff) | |
| download | baldeagleos-repo-a88245c4a732c86ba16fee8108cdf8565e7b2e69.tar.gz baldeagleos-repo-a88245c4a732c86ba16fee8108cdf8565e7b2e69.tar.xz baldeagleos-repo-a88245c4a732c86ba16fee8108cdf8565e7b2e69.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
73 files changed, 1430 insertions, 226 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.32.ebuild b/dev-python/GitPython/GitPython-3.1.32.ebuild new file mode 100644 index 000000000000..e0d73203602d --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.32.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.10 +SMMAP_P=smmap-5.0.0_p1 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE=" + https://github.com/gitpython-developers/GitPython/ + https://pypi.org/project/GitPython/ +" +SRC_URI+=" + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # performance tests are unreliable by design + test/performance + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + # requires which(1) + # https://github.com/gitpython-developers/GitPython/pull/1525 + test/test_git.py::TestGit::test_refresh + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit + test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest -o addopts= test +} diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index 70a71e7d2e43..44c234506ecc 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,4 +1,6 @@ DIST GitPython-3.1.31.gitbundle 9820824 BLAKE2B 47becdf80c8047c3de74f3ad2308f2003629dac970df961e97ae455719690afa8ca4fc08c85fdd01d351980cac5b79265164b92c16e993efb964e4c5d6e62810 SHA512 2b73a9bbe11bf24c1f0cfbc817b1226ae49c52a898f233d23aa8512cb7709adaba57c76afce8aa4416dcc4f16775d0d4138f0059ede51f59a6ccdd27d0f08cd3 DIST GitPython-3.1.31.tar.gz 195822 BLAKE2B c5644a811e33da4e2983d5b41dc5e223bff23bb817027485fd24598163dc515d1823e8abc5f871a9ad4334827f097dbe7856cf618940cd3ddbe507728253ea2c SHA512 80d5f73db589e239dead268c99092b2429c4d0602e4f9a1e77cce5c68f2eade1651e3da9de68fd485021565f3a2d9b980c286b0d302c58e60011a443b4361e71 +DIST GitPython-3.1.32.gitbundle 9676140 BLAKE2B e975f7949f3f3e25f66008b1f2be80dbecb96234405b07b7ef33cb119abde1be434d46deb3c5bed2ec26f4fe35d0f5a1e605c60727812ef4aef2116029f83abd SHA512 b54d5a8e335f6c1b6dfcdd6ccb9c79562ec222cd3d83fd196dab245bed90a9e02d20b191b46c5acdc300f2dede942c686694f0aa005fa5c5c2c2d3e81470a692 +DIST GitPython-3.1.32.tar.gz 196978 BLAKE2B 914b0ceebe89b00e5d65c963055c1d64c3125699a4df80e04c5a0ca59181faac5357880767224d3b3cad9b884668299510ea055ae0c228648c1b1c2e5ec048d0 SHA512 b1a4ac7d98b9543454525819357afef4c45dde842a8a8689f5f059312cd45ee10a7a5b22e2417a0a7120b78c0a40addc4f9189789d70ca34d2bc21962fe44fb7 DIST gitdb-4.0.10.gitbundle 1485461 BLAKE2B 5a217c609a402cd7888da1502b25d217812503cd703cda8bce3c7159732c59d7f4bcd52688a5da457f43fde1645a6db79588a6fc8cc8dff5c58e9dcbaef79b9a SHA512 98dba48f75e28eaded791f91c611e07bef73c28a7f8ac58889b05d04f4b3699a85a5be1c829ea3e2f380507a9009f35bc552bb4260564127e2863807f9b4712a DIST smmap-5.0.0_p1.gitbundle 324544 BLAKE2B 69098c7644abaec7f32226cad7ff3008e49d94c9f7349d0b815223249c20bfd2b51a50474e51864821f30c98f5982e5c35ce9217145a1e5d11326492c41faecc SHA512 4f36ca2c94ddfeb949c880fb52c3b1905d144dd59b95f2f05c93ed7b694dcb128218a2800ca23b721fbeff9a1920e8c3326675098e2ef0361ff6e90c8c2850ba diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest index 42b01d2f0c5b..160630bb7318 100644 --- a/dev-python/awxkit/Manifest +++ b/dev-python/awxkit/Manifest @@ -3,3 +3,4 @@ DIST awx-22.1.0.gh.tar.gz 16995197 BLAKE2B 4a455219a7be93c5e85fafb2108162ef6745d DIST awx-22.2.0.gh.tar.gz 16997478 BLAKE2B 62fda5250b62c517f5374ab9d6ec6e1e5c57ba8e904626404e54b01b34dfddc006651801424092415e7d4f78f3d1d130432665cafadec5e8af1f72336bdcaf6c SHA512 d8b318d5a2e2bf0fbd4c09e09655b4960fb93f95749149be6542fe426874971ffcdc866c0ea5dc2a7a71ba57d3928aa6ff7f87982a085a3c2f8f92d04645f246 DIST awx-22.3.0.gh.tar.gz 16620136 BLAKE2B 23a84f6ca8971325d7a0d7b072f28275158906832cdeaef15906495a1c20b03999a32776cd92b5ce09f6f14c1a83db7c2978eb4697ff5cb41214ba0b5d10fefc SHA512 65e3284abd07eb25ec013be94627ac20b0613071a00697ba380e2bd754dbc18d45089de61d7caa37f604c92f0d47cd640544b9bc69de1dfb3511678e9d80334a DIST awx-22.4.0.gh.tar.gz 17626680 BLAKE2B 05333c958a7e73f169b1743903a983c868bc4531e73afe6fa10de60ed7fa567520d5817ab52d0180a32fa517fbf07dab3ffb492b31245f3cdb6a6c6fd0a00898 SHA512 6c51dc77089ae23ac8c636438a5737cdfaf7d160c24d040d4a5c5a05ff781f1df64275130c23b8118cf7847ef16a434556ef91698f275a98d72ea94938f5ed7f +DIST awx-22.5.0.gh.tar.gz 17629249 BLAKE2B 28e560b36fc16173e8b1e0e2dfbab7a30082e2d3cde40c63a557a30772fce5a03657e57b1cb1de13bf358731d31caee670424ed264ae3ef6aeaff01120fef7a1 SHA512 630c94e747e21e55f32c2f96704ced8ac0214c3869149ad726ac2d4386d3ef7643990b4c07d23201c9191b97bce25b81330581184e040bce6efa341163f74ef7 diff --git a/dev-python/awxkit/awxkit-22.5.0.ebuild b/dev-python/awxkit/awxkit-22.5.0.ebuild new file mode 100644 index 000000000000..85bf390927f2 --- /dev/null +++ b/dev-python/awxkit/awxkit-22.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2023 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,11} ) + +inherit distutils-r1 + +MY_P=awx-${PV} +DESCRIPTION="Command line interface for Ansible AWX" +HOMEPAGE=" + https://github.com/ansible/awx/ + https://pypi.org/project/awxkit/ +" +# no sdist, as of 22.0.0 +SRC_URI=" + https://github.com/ansible/awx/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/awxkit" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + printf '%s\n' "${PV}" > VERSION || die + + sed -e 's|websocket-client==[[:digit:]\.]*|websocket-client|' \ + -e "/'clean'/d" \ + -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index 1028a79ff922..ea99a0eaab16 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1 +1,2 @@ DIST black-23.3.0.tar.gz 582156 BLAKE2B 01ed5443e1bb251d46618a5b61bbfcc2dc0b41c0bef7d4315fb704a2ac0fd51eb4fe268838b8be6195630f21e6f7b3a5bfca124a7bd60dbef95a02714924327b SHA512 1ea8749ee25aae34a40c5d1b779c6076971488dea1a85ebfcbe4c2a8bb5abb5e3918a735a4e3f9b4ae2690eda0f48fac014ade055721b54d879fdd2d3450b72b +DIST black-23.7.0.tar.gz 586177 BLAKE2B 4bb50b6c7409a97aa277f1048c17101a1c91368b9269cf4c08d3052c036887d2ed6e5f1f2e044c14f41bf2d969d65183413c2a9810f12d96cbf09778c9b1310e SHA512 78d5e87bfef4dcaff007455e8c72dcd45f9374c09da6f4ba45ae7caa980005d1bc984c68fa44d4abf7969a376a4039546e7e8f537c3aa1331d213e13dcbe3941 diff --git a/dev-python/black/black-23.7.0.ebuild b/dev-python/black/black-23.7.0.ebuild new file mode 100644 index 000000000000..9459a0ac4c12 --- /dev/null +++ b/dev-python/black/black-23.7.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE=" + https://black.readthedocs.io/en/stable/ + https://github.com/psf/black/ + https://pypi.org/project/black/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.{9..10}) + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}] + ' 3.9) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "blackd - HTTP API for black" \ + "dev-python/aiohttp dev-python/aiohttp-cors" +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2335251c291c..21e070639cb7 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,3 +8,4 @@ DIST boto3-1.27.0.gh.tar.gz 671636 BLAKE2B 1a3927db8c67b066108b03a9018522b73f6b2 DIST boto3-1.27.1.gh.tar.gz 672067 BLAKE2B 63bc6fcb40c3623d84cdd5e21cb656f7ba0335e06c45c7ffe652bece36f7bbf0ddaf4d52b98625d31851b63f646abecf79eac727a35a31e6f58410def3be4289 SHA512 e3b339459a2ae221d8aefb4c540bfae6ec9fc5ec27b623c66d894aef5e50873b57ed6dd12b356b32a4c30aef3e8d98c4c43bbbb629033c850604ef2bfa6cb715 DIST boto3-1.28.0.gh.tar.gz 672952 BLAKE2B f648cb49defe36b40138dfe3c125e15bc6480d2e36dc78247c173c766f37a4a679a8d11097b44785cc2ab6c0262b3bd874fdf95f7d4e51ef54dbfa990fb05293 SHA512 312ef8fe9f399b9e79a8fa75668c567fe711ab7ce8de8e2017dd147b477579aedeb0760efcfe4d1ce9dc106a0e4f09ea6126a9571dfc6d4ed78aabbba7ee7153 DIST boto3-1.28.1.gh.tar.gz 673678 BLAKE2B a4f92be4cb7256d37483796a71297bfc01c32c33fe50c54d32398d8227b466b1c6a4ef74c4a26a58a4abcccaeccd64a7faa0d85526d9dd2b33f0befdf48593c8 SHA512 5f7f2c3cc282046bb9660bfac7f176622ea239bc724c8c47c981f92b023598fca564db586d8733a46f3a6037ba85b0cc1f9a8b7b79797e6c3d46f0ce368861e2 +DIST boto3-1.28.2.gh.tar.gz 673872 BLAKE2B 9f8a3e299cb6df278756ddafee0956b99ac9db63ff8eb2ad7bf6810e3c4140f6512a7de9963e6a7ddb065affb171d92f1f05226cba7a1e4037464e530d7e536a SHA512 062b5c70079acd5a9b3a0e4f23d44fe9f05f27e621951484e557a852d797c25c590a0ed545c2772326cd0d255cdb56250db2a2544c938f75dccc81a5f6e1d678 diff --git a/dev-python/boto3/boto3-1.28.2.ebuild b/dev-python/boto3/boto3-1.28.2.ebuild new file mode 100644 index 000000000000..03c610b184f7 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 565a96e57d96..cdb5486e110f 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,3 +8,4 @@ DIST botocore-1.30.0.gh.tar.gz 11743386 BLAKE2B 5117ae44f7b70dcf82e319fce1f72cba DIST botocore-1.30.1.gh.tar.gz 11745235 BLAKE2B 07813b701ddde0e0ece703bb64abb9b0e8d15228f0db82756b4dc705ab97ebbfd10823cf1c279600d70a1e7caa15824cf34a108580b240c6a21d7760373f9e12 SHA512 4701b45541acbbe0d667c82db90f408bc50e28c4c8de0b6b90c8923ea8a159cf868b15eddbdaeac651ecc8f0829cff454723ba2f313a99f3878e818b0416ca64 DIST botocore-1.31.0.gh.tar.gz 11756795 BLAKE2B 8a9299570aa5da4d9195e52bb2b3772ffbd7946ac269ecf46510818fbbd1b62c285cc01d6ffdbed8eb70cd0d4ab4f5624de30e2517e809e0d7546dfd15fa0262 SHA512 05b31e2a8bd63c483dee6e9d4d8865235e8465e827c6f372d06cb794352c1f691c12823b3d8e1c8107366628fe43a45881a05cd1ef54b68ce579a4f2ce4bddda DIST botocore-1.31.1.gh.tar.gz 11766144 BLAKE2B b55fc719e47e38523b8c674fd709697a42ee661354deec8c3d1a9c16c536b640775794c310a1274354ef5d3d494bbb42cd01f82c05a2e7244415e474a19e3146 SHA512 a02a888453c7fff24f8e33d201d2b7fa745b60c3a7a327ffeb213f963ded10848e8fbfe3de0bd6e3926c23fed10a72cc1ef4ee54f6d3ece0752ae84a22cb061e +DIST botocore-1.31.2.gh.tar.gz 11766251 BLAKE2B aac8fef9001e5e1d1820492bf5dac95504b3a296fab619796009402238a2f168b3637f514e009bbf5f5808e000eb87c28afb0d492aa6fafa8854fce727b636af SHA512 809eacaff010b6b122f8cac411dd0b146161b8b7a8afb11c3ea92b2313816f43f55f9df88f3d71a7dbdaca39eb35df80821612c0434cc81d7548eeb1ed91a401 diff --git a/dev-python/botocore/botocore-1.31.2.ebuild b/dev-python/botocore/botocore-1.31.2.ebuild new file mode 100644 index 000000000000..509d06dedf97 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + # urllib3-2 compatibility, mock relies on implementation details + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_no_response_from_server + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_returned + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_sends_307 + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_sends_connection_header + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_handles_expect_100_with_different_reason_phrase + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_state_reset_on_connection_close + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/braintree/Manifest b/dev-python/braintree/Manifest index 8e0de6f95a8c..c832f7398f80 100644 --- a/dev-python/braintree/Manifest +++ b/dev-python/braintree/Manifest @@ -1,2 +1,3 @@ DIST braintree_python-4.19.0.gh.tar.gz 217588 BLAKE2B a5a90443f3315112eed95e00d1733875b1e6c3056de57f182b13f06b47a94ac1d711b6ed7aee76e57f1388a46b89281594398c3e88c4018d5f1a4947d2ed4790 SHA512 4d464d0f36b77157d6ea94721dfd4f4354fa51e5dc9670443ee8689c08aefc0d81bd09d34d87d1a436f74a60df6cc7c0e0ff5dc366bd1779d57b46dd028d5362 DIST braintree_python-4.20.0.gh.tar.gz 219019 BLAKE2B b53220f3172181d4426e4165f8787317a25a0facfdd4da7c5c5d47578b8ff39dce903db1fa4119784e943a1f3364f5f60157413b459a72e27873de4efac60250 SHA512 1b8a4693796befb128cf790859b7ff528303e080455489679ab3a413b31c810b25f61a20e04681068ffce0d73d1679c14b0a3374c3efbf854781e977b8d53a44 +DIST braintree_python-4.21.0.gh.tar.gz 220035 BLAKE2B e8eb8a51fe5b49675abaf20c0cb3cfefa9129609df70bbf2e74aa4f588ea48014278fe2bb1e76841dbcd19fbc87346bc0b4302910237d5cffd839369465f2597 SHA512 409d4d80059f1868b2aa80896b0a082493fe0e1d3c1f76145bf41a1f7c93dc4a3970eb90b9c599584a6a00f3d135f870115daff0fabe9f22dcd1a3c7a16371a5 diff --git a/dev-python/braintree/braintree-4.21.0.ebuild b/dev-python/braintree/braintree-4.21.0.ebuild new file mode 100644 index 000000000000..0830ca573f08 --- /dev/null +++ b/dev-python/braintree/braintree-4.21.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020-2023 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,11} ) + +inherit distutils-r1 + +MY_P=braintree_python-${PV} +DESCRIPTION="Braintree Python Library" +HOMEPAGE=" + https://developer.paypal.com/braintree/docs/reference/overview/ + https://github.com/braintree/braintree_python/ + https://pypi.org/project/braintree/ +" +# no tests in sdist, as of 4.19.0 +SRC_URI=" + https://github.com/braintree/braintree_python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-0.11.1[${PYTHON_USEDEP}] +" + +DOCS=( README.md ) + +distutils_enable_tests unittest + +python_test() { + eunittest tests/unit +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 61837531aef7..7f17af10c5ea 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -7,4 +7,3 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 4c96f294f350e0086f8504a54c33 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 BLAKE2B 50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7 SHA512 f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc -DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 BLAKE2B 31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63 SHA512 5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396 diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild b/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild deleted file mode 100644 index f37802f5c2d7..000000000000 --- a/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 47ad77fd8382..b6d99d2bca86 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -7,8 +7,8 @@ DIST base64-0.13.1.crate 61002 BLAKE2B 3b3a5b26e2ef18e9b4f1ede72b1bd160a14947518 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff -DIST cryptography-41.0.0.tar.gz 35941602 BLAKE2B d2db0ef3847d44731bbd585e3466e07c7880fbf522bac5ef817bfa3d7bf54f6e30be24b5905fc593be74ad07abccfe29f9231a56eaca70287a8a88607ddbdfa8 SHA512 28bacda4fa86e3215240720498198ae1f8f650a3b1a663f1599fe927e7b36e77cac4dd74820be1a1e355b10a41e191cb22d569ad72ce8a5988415f5f38644c98 DIST cryptography-41.0.1.tar.gz 35942260 BLAKE2B d7681823c97fef60fb61a92da91b02618464248807339368d5eb8731f3c66bc8dfdd945e6c163571ebfbfc7fc3676b51a8791b3110fa4da6e194c52b6fe95fd0 SHA512 83988352d4d127b3e3e87573a2a57f4845b1432a7b2ec5a6df504cad6bb3d26ea7fd99dff75083c57e755db4b8cf5f53965c3aad7895632a50a58f8316338dc5 +DIST cryptography-41.0.2.tar.gz 630080 BLAKE2B 26f1422133510d2c8076dfdccc4cfc2134b3704122b13e15cc34b1b4a1362d81a22efb7cb9ba64a266a7832ff7910ddd9da94f4ab8e58bf7308985ca57c3c00c SHA512 9c9b7fd047430bbde841fcd97e4ce76be6c708b372a7c1170013d8d8baaa263d90bed4a0fa4fca82ff713e8acf25971e7eab0f4ec1c8cbc8e9658a8527787e3a DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a DIST indoc-1.0.9.crate 13475 BLAKE2B a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf SHA512 db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8 @@ -16,7 +16,6 @@ DIST libc-0.2.144.crate 682092 BLAKE2B 1f699cb880a65baf9210527789abb35fe8be95658 DIST lock_api-0.4.9.crate 25685 BLAKE2B 8adf5c3cccebdf6aff6ec977f230cd2a208b0b188ef57deacbbc6019431f0ede1a760b2384ba3cb49c96b8a589dc56c0f46a6359b3e62277e7ae1a1c3f586fa3 SHA512 9215381d9bb6b80d217c73a900db43df043b3e939b5bd7a292a02e9ab911cf0eacd8f883d35bdf72b3a0e78df8f1bc3e843ca4c775294c7a7a03091dc1a74990 DIST memoffset-0.8.0.crate 8912 BLAKE2B 19ad3abed21fc39461b0382b15a8cc312378aba36f042b1e5335012115d31b350a4e3bc720f1eea300d7d19b9b317f75a28d4ccd78ff3b31defd9e4b3147899c SHA512 47adcae0848ff967035e10543ea599c7af9c5bad387023eb4dc77c9e8d875994ec8139b9941b3ecc4fc17214d80944a47a3be174a45b334661914a5a7382dfbe DIST once_cell-1.17.2.crate 33335 BLAKE2B 8f1bf825fd618fa1070c3497264085bd354c9b470aab08663179cf2eacd1778b6dde0c54247aa5c8091be97c40d3da20e56dd92981318a0c0ce85d41c3a740d0 SHA512 8a00338f5aabe766fe5cd741cafd8c2ff544d60d081e5706b0965db6c86e00cc7b5fa0f73d8aa54cd1f4506a0858de589ceb4bd32afa7046dd3a1fbcf52b69d7 -DIST openssl-0.10.53.crate 258222 BLAKE2B 461bbfd9c707b96bc5c59b4e7420742c537602bcdc10986a01dbd5df7cb1b3d43a3ad60735e9aaed185fb6940c81b6f83513f0ab91608748de3dd77ee09a3769 SHA512 ac06a4be7976d0297d444aa55aa46b248e8ffa86ddde991f79697b40f4d2b7b08dfb7c2de5b43083d4ae40300bbd5b95d9ad4654e6dc71591d0a4d6e5fd044bb DIST openssl-0.10.54.crate 258266 BLAKE2B 9a9ab8c703d5676377aed91bffe52fb7737ca2d211a52b5420fca53e7bc4c16b76f0c72fd487ecaeb7c9e86304cd6e96ceae54ff554f178eee2d8e3e711ce8f4 SHA512 c48d92ecf220bdef6e96b3d915ea64964e6a22dafbb8ed0cf25ba69b55dd566a483b860a80ba88db01e6006be69ea59aab038e05fe8e2370ec1a7e6e6ef75150 DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c DIST openssl-sys-0.9.88.crate 66011 BLAKE2B c006f3438aa73ffe0a86a06db7cf9a4c217f6470ffcf3582bc0d0f56900fa194cd6ba33904c8d862d978bdf54e2b6f3032f85017bf17d2a312d0c634ce857772 SHA512 4c9f59ed2e74765d55f4a46013b42011ef25b10c4b90748f9bdb72a13c2736289c6952f81edbdbd635d87b5cde8d18b54ccec68c0fce3a76fe7011f4c5125326 @@ -29,6 +28,7 @@ DIST pkg-config-0.3.27.crate 18838 BLAKE2B 1295eb4f08751b3663cb2c7c2753f29bf2ccd DIST proc-macro-error-1.0.4.crate 25293 BLAKE2B ef918c5efaf2545ab38787c8d0c07315af00431139e4dff66346bf798e3a429f91d12a79776c150412fdda0b158a72badd5e1044ac4d6917f8482d4b5a7110b7 SHA512 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c439697e91d43f807eb61a5d13e3b0b4321ed50a74f3d699942c04b89b6fea0f156bb5d19ebcf22f9cd4b98a7e6917c437600ed823 SHA512 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495 DIST proc-macro2-1.0.59.crate 44360 BLAKE2B b1e42efd70e9a61bd46fd8bdd7db26aea142d98d28765de799901606b721c23a22c3e853d0821709ef5ddeac0304731b6a09c3bff3b7769e946b77fc67e44d36 SHA512 30e3340f53593afb3f07c4ba4c3d51acabd9a7513976aeaeed4c063fee268a28066c53b265b629d5d3f56597d1d34a9e69378f0ef5cda37b51a8fa8b67424aea +DIST proc-macro2-1.0.64.crate 44848 BLAKE2B 4422122d9299eff3bfbb4507c4a117fef7c0906cab5a680933d482b7f9b49480bcb9c8172b412e70bf87dd0737b8532e90c310bf083f144292cc72190059ba3b SHA512 884fd14ff23c19420692e35a38f88bb6a766a09da105759cd958c315b9360a2c49cfe61ceaa3122307d44040195ec9dffb12b6d0ce224fbac5d3701621a12b04 DIST pyo3-0.18.3.crate 420236 BLAKE2B bc00a825a67ed3590b31d3ea6bd77f6c4c927c0355d9d03ce64ca44e36ae3e29ab4d891bf2d94ca074b3bf858e077c516dc64e4620f875fe1e8fbffb5c9db1ec SHA512 39f044a19a42a5e2f46049431fbe3fe10c14d12a4741cc789b42de7cbf448bcbded7fe38a0f124d994ff9bcd3d95a19305dbfdc7462331fda3e6686cc4289be5 DIST pyo3-build-config-0.18.3.crate 29137 BLAKE2B 5fa645b64f50a078f38cc10a27ed52bd7e7aadd8a069c05ec2963f0b7c869b94d29eddda97cc31d200cf749ab8e2cd9cd1ea00e75620287e9187745ae0e100a5 SHA512 7ccad5f245e84895e147389f05270f32d12f81aba46bcd0dc184b8d62af2ea579efc50383502efda40601c981c4dbcf911aa7d8192364caa2e177ad939062cdb DIST pyo3-ffi-0.18.3.crate 64474 BLAKE2B 32bedfb4c7d88e539e958af0dd48af311934a817282a01f860af7cd824fa1e3825c505463b78cda57541bea8ccbbedacdc0f67bef686e6775fab3787c26c6d2c SHA512 55240c7824ad1e5c69e05a31ec03e2064290c89c4c98f06c3ebc38c311a10b1690571c977a103790ddcc9623ac42fbf525fb028e910baedb9acafe39fd6e4a82 diff --git a/dev-python/cryptography/cryptography-41.0.0.ebuild b/dev-python/cryptography/cryptography-41.0.2.ebuild index dd2c4e87a868..1895b19b74e7 100644 --- a/dev-python/cryptography/cryptography-41.0.0.ebuild +++ b/dev-python/cryptography/cryptography-41.0.2.ebuild @@ -23,7 +23,7 @@ libc-0.2.144 lock_api-0.4.9 memoffset-0.8.0 once_cell-1.17.2 -openssl-0.10.53 +openssl-0.10.54 openssl-macros-0.1.1 openssl-sys-0.9.88 ouroboros-0.15.6 @@ -34,7 +34,7 @@ pem-1.1.1 pkg-config-0.3.27 proc-macro-error-1.0.4 proc-macro-error-attr-1.0.4 -proc-macro2-1.0.59 +proc-macro2-1.0.64 pyo3-0.18.3 pyo3-build-config-0.18.3 pyo3-ffi-0.18.3 diff --git a/dev-python/deepdiff/deepdiff-6.3.1.ebuild b/dev-python/deepdiff/deepdiff-6.3.1-r1.ebuild index 373ddf5dc027..ffbe6cb18c9c 100644 --- a/dev-python/deepdiff/deepdiff-6.3.1.ebuild +++ b/dev-python/deepdiff/deepdiff-6.3.1-r1.ebuild @@ -27,6 +27,8 @@ DEPEND=" test? ( >=dev-python/jsonpickle-3.0.0[${PYTHON_USEDEP}] >=dev-python/numpy-1.23.5[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/tomli-w[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] diff --git a/dev-python/devtools/devtools-0.10.0-r1.ebuild b/dev-python/devtools/devtools-0.10.0-r1.ebuild index 9288ac3006e6..4fb703c6d318 100644 --- a/dev-python/devtools/devtools-0.10.0-r1.ebuild +++ b/dev-python/devtools/devtools-0.10.0-r1.ebuild @@ -24,7 +24,7 @@ HOMEPAGE=" RESTRICT="!test? ( test )" LICENSE="MIT" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" SLOT="0" RDEPEND=" diff --git a/dev-python/django-cors-headers/Manifest b/dev-python/django-cors-headers/Manifest index 75103948c692..c24123393e6b 100644 --- a/dev-python/django-cors-headers/Manifest +++ b/dev-python/django-cors-headers/Manifest @@ -1,3 +1,4 @@ DIST django-cors-headers-3.14.0.gh.tar.gz 29634 BLAKE2B 08ec6811b8608feecbdaadcc6ce220b1574a4bf16823f939f93eda4ece9df0430b015edc1d0909b980996ff143e036858ca81f524e8d270846881a9c0af25fac SHA512 5ff390bd2fba1b3dff3cea08b10021d0fd100497000b2eaef788fe32c1b8584f1954e470f4aa15cbcf9e4342265633a658b8736de08962bfe0ea9e2068521379 DIST django-cors-headers-4.0.0.gh.tar.gz 29641 BLAKE2B 20ff68bfb02d6992777967db35696a33afb91b264be1ebb3b67c15a9e2a51e0df948dae78b107bce16bc6eab2679d3ba910a9be89c8d7d137b64f7997fd2a400 SHA512 250ff2f9876d1d965611f495e0b67d4f93da9f05e0804bb8c02ec8390923eb1b7c775e4c76df8acf7d43d0f1401267f3795bc29fa7c5c8936a7aee1dae7336e5 DIST django-cors-headers-4.1.0.gh.tar.gz 30733 BLAKE2B f3214008c51d656022c58bd0eb012200e07a29ec4052a4d3b75b2c52b4aee0e96b3ef8b30857dddc528cda609f691f0a9ef4f791837d1962ab561f42b840f814 SHA512 a4a1a39ab658968d5384a40a6aaf2e5c9a9047e43edc2ef7d4b9ea82a4e6cac6e69eb5e0b3736b9731442ff4efbe249ee56c7a3d05808e3fa0b45f6dee25999a +DIST django-cors-headers-4.2.0.gh.tar.gz 30543 BLAKE2B d17ec23b4579a84c67ec4edb369dda24db9bc64e2b399436e60f610b64b7de4b2a3583d9aa9e2693ebfd89f9d28c25def116b36f76bd4e2c3362ae36b50bb7ac SHA512 e3b0c73a738f487bc360834395b1bd6348c9d0a05fb743464ff0e5915f3d2263dbcabeaa893aa3d4be246504623964fb9378a780b83aa2487a92b2ada4a11c04 diff --git a/dev-python/django-cors-headers/django-cors-headers-4.2.0.ebuild b/dev-python/django-cors-headers/django-cors-headers-4.2.0.ebuild new file mode 100644 index 000000000000..b61b6f274f9a --- /dev/null +++ b/dev-python/django-cors-headers/django-cors-headers-4.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 + +DESCRIPTION="Django App that adds CORS (Cross-Origin Resource Sharing) headers to responses" +HOMEPAGE=" + https://github.com/adamchainz/django-cors-headers/ + https://pypi.org/project/django-cors-headers/ +" +SRC_URI=" + https://github.com/adamchainz/django-cors-headers/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/django-extensions/Manifest b/dev-python/django-extensions/Manifest index 6c4ca8321bfe..a9bca2a5c548 100644 --- a/dev-python/django-extensions/Manifest +++ b/dev-python/django-extensions/Manifest @@ -1,3 +1,3 @@ DIST django-extensions-3.2.3.tar.gz 277216 BLAKE2B 11c19af65bf40301e7e8b28190983f61b4e8f8f8822e5d83376e04b0da8966168391aebf79cf282f78ed3f67a93270b853e321afba2c5220d01b2b6f0829015a SHA512 b4c575c200a9d0903db34038fd52877dfe2581d4b5c9f98ee0ef191bf4f2c615ba3cd11277a5b6621b4ccba4d3a27286fb3e08fac216d3ee48417583134e899f -EBUILD django-extensions-3.2.3.ebuild 712 BLAKE2B a164432c899e0df9d20ae61cf7018b81711f746397fc5fbd579b357379da7f0d71392662bfe067f525ab82e4c0a032481e7b378537c8571a236b629c5f220636 SHA512 2b83dbf212cbcb211b6286e96f47a23cdc75e53ab30ff1e5dc67addd5fb0097a218f7b578b8f57ca390cb16fa8d2e48ffba734d7a2490b0f967963480082b1fb +EBUILD django-extensions-3.2.3.ebuild 741 BLAKE2B 1e4f7a3018e551eac4bbcc927f888d48f7e2777a14335f020b01af6545314561a195f76d07bba342b3dadcfd2853d0bbe91047ec392d2e72bee56e39b745b671 SHA512 6c4c4b4d5bc81f5a407f4f0743d265470aa834350f1b4b76a731d192b5a32057041e9de84e2d8cc5ed3b4a19ab14a185f9013ff331f341c6891d98d69fd999fe MISC metadata.xml 494 BLAKE2B c1e2aa014376ffce1e587013b50fe6cf05e61cf02b847da3d3be0de45a56bd50c9ab0f6743c0ea0d6927ffaec16ba38bee6ccba912fe57551cb5d596955172b3 SHA512 a7131301c1d2abecf235a6963bcff0d545ec48b1a8d0d24a4ed80fa20a9f0499442da32ce304f8798698307f970666decb5a91a4407ac66cd5769c35a8ec2500 diff --git a/dev-python/django-extensions/django-extensions-3.2.3.ebuild b/dev-python/django-extensions/django-extensions-3.2.3.ebuild index 667b7f3d3671..190adfd00e90 100644 --- a/dev-python/django-extensions/django-extensions-3.2.3.ebuild +++ b/dev-python/django-extensions/django-extensions-3.2.3.ebuild @@ -18,10 +18,13 @@ KEYWORDS="~amd64" DEPEND=" >=dev-python/django-3.2[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] dev-python/shortuuid[${PYTHON_USEDEP}] " - +#BDEPEND=" +# test? ( +# dev-python/pytest-django[${PYTHON_USEDEP}] +# ) +#" DOCS=( README.rst CHANGELOG.md ) # TODO: tests diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 90d2455d21e6..72e40720e067 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,3 +5,4 @@ DIST hypothesis-6.79.2.gh.tar.gz 9377998 BLAKE2B 7b9aa513fa6bf535094ebf9b6aad51d DIST hypothesis-6.79.3.gh.tar.gz 9378262 BLAKE2B b5feccaa2a3e5af6e0cd688f5b9c78662af9dd044e188f295c922ae6aa7a0bd9e36a461d630c4217f376982e6f47e919b0cb75b8f6bc78056fa8b146b0fc88cb SHA512 6f6b18f6313fcf0d2151ec76d7f97793e181403e8d30c51dd251439f3bc0e204a3b74134017f7e88934eb779a8756f6c541a5ac52041222f1f350f0a7172563e DIST hypothesis-6.80.0.gh.tar.gz 9376080 BLAKE2B 49aa0e60d520aaf5c76767dfade32d5ebc40c6bc7d6a20937c1134fb0b3904a62778f83e01074060dc1614045d2c4ea559a27fb5ef1634b8adf90a38c359daa7 SHA512 30e0698422d4f1b4c3c592ad86555a7347975ff2ed4d9c50a6672610981dadb2c3c1eae7f42e08075e529b095b13703129c90f22be3f8f40b39482fa8c80118b DIST hypothesis-6.80.1.gh.tar.gz 9376526 BLAKE2B edb7012b17f1634745d81de74934424ac6430b9668a9702ce64a6f60b7ca3239c878acf1f958327ff2b1e18b95003733ce36bc6f0ffceb65f1eab69d61ab9b54 SHA512 38962d6428d98861993a7e29627be377b2dee7ef9da5bf06553a1de645e041c5af33f8674c64104e90c1168815ef81ee82bb30e1d66315bc85ba7ad81ab28f20 +DIST hypothesis-6.81.1.gh.tar.gz 9377813 BLAKE2B 6ba0d9bd8fd12d521909151c7bb04ea729df1adb4dc401359de7accf75cf78981c3e2dbda1c22cb05ca48d550f8a97d19deea86249ac056b5fc34fca20ffb2b7 SHA512 54d13f249fe02fdd99726304a87ca1fe174f47137006fe147ed2b47875136f2d77f24be0bb77e91a04edff8db2230563627c75e9d164adf859284e5ce873369d diff --git a/dev-python/hypothesis/hypothesis-6.81.1.ebuild b/dev-python/hypothesis/hypothesis-6.81.1.ebuild new file mode 100644 index 000000000000..c91fe0d7fdd3 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.81.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index ddb5b0f1787e..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>cyber+gentoo@sysrq.in</email> - <name>Anna</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 61837531aef7..7f17af10c5ea 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -7,4 +7,3 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 4c96f294f350e0086f8504a54c33 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 BLAKE2B 50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7 SHA512 f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc -DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 BLAKE2B 31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63 SHA512 5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396 diff --git a/dev-python/lit/lit-17.0.0_pre20230630.ebuild b/dev-python/lit/lit-17.0.0_pre20230630.ebuild deleted file mode 100644 index 0e39fac626c6..000000000000 --- a/dev-python/lit/lit-17.0.0_pre20230630.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 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,11} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/markdown-include/markdown-include-0.8.1.ebuild b/dev-python/markdown-include/markdown-include-0.8.1.ebuild index 850091207776..04bccbdc493e 100644 --- a/dev-python/markdown-include/markdown-include-0.8.1.ebuild +++ b/dev-python/markdown-include/markdown-include-0.8.1.ebuild @@ -9,19 +9,17 @@ PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit distutils-r1 pypi -DESCRIPTION="Syntax which allows for inclusion of contents of other Markdown docs" -HOMEPAGE="https://github.com/cmacmackin/markdown-include" +DESCRIPTION="Python-Markdown extension providing LaTeX-style 'include' function" +HOMEPAGE=" + https://github.com/cmacmackin/markdown-include + https://pypi.org/project/markdown-include/ +" -LICENSE="GPL-3" -KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3+" SLOT="0" -RESTRICT="!test? ( test )" +KEYWORDS="~amd64 ~riscv" -RDEPEND=">=dev-python/markdown-3.4[${PYTHON_USEDEP}]" +RDEPEND=">=dev-python/markdown-3.0[${PYTHON_USEDEP}]" +BDEPEND=">=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}]" distutils_enable_tests pytest - -src_prepare() { - sed -i "s/description-file/description_file/" setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/markdown-include/metadata.xml b/dev-python/markdown-include/metadata.xml index 19efecfe5ce4..615915853c8d 100644 --- a/dev-python/markdown-include/metadata.xml +++ b/dev-python/markdown-include/metadata.xml @@ -2,18 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>torokhov-s-a@yandex.ru</email> - <name>Sergey Torokhov</name> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> </maintainer> - <longdescription lang="en"> - An extension to Python-Markdown which provides an "include" function, - similar to that found in LaTeX (and also the C pre-processor and Fortran). - </longdescription> - <upstream> - <maintainer> - <email>cmacmackin@gmail.com</email> - <name>Chris MacMackin</name> - </maintainer> - </upstream> - <origin>gentoo-guru-overlay</origin> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/metakernel/Manifest b/dev-python/metakernel/Manifest index efa47b054510..009e1ac6d449 100644 --- a/dev-python/metakernel/Manifest +++ b/dev-python/metakernel/Manifest @@ -1 +1,2 @@ DIST metakernel-0.29.4.tar.gz 189933 BLAKE2B 0fe91318ed0fd5e356c9f0e4dfd05d72e5aff33e0bc305a3c198b4718bad1a4c3d5d7a6c82cf0c4eddb9bb5873f8b6acdbf1c61fe9a5ea8120ac6f10503fa950 SHA512 7e7458baf510383765f788fd3299d0e5dccea7b1f79c15e1621a81e029ff48aeab7c67ed01d8e2254b806115935d7428d3dfc2f083bba5ff586f2ad819f96776 +DIST metakernel-0.29.5.tar.gz 190055 BLAKE2B 71da4cf886de1f5844f5343f37ddcf91416256fa5a5868e6f0a6fc188685c3fe8eb7827332abbbeedd58533b182588073afefbdb67ed9b1532833115974cb0a0 SHA512 2e79d35d4c3cabf2ea8df6b189620fa7ae73c9a6dff3b231ee9f9494b325270499beb3a915b0f0bcec2b3df948339c884211be4ef4bd47edd80547a609b7e324 diff --git a/dev-python/metakernel/metakernel-0.29.5.ebuild b/dev-python/metakernel/metakernel-0.29.5.ebuild new file mode 100644 index 000000000000..482398307a0f --- /dev/null +++ b/dev-python/metakernel/metakernel-0.29.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Metakernel for Jupyter" +HOMEPAGE=" + https://github.com/Calysto/metakernel/ + https://pypi.org/project/metakernel/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ipykernel-5.5.6[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-4.9.2[${PYTHON_USEDEP}] + >=dev-python/jedi-0.18[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/jupyter-kernel-test[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile + metakernel/tests/test_parser.py::test_path_completions + # broken by color codes in output + # https://github.com/Calysto/metakernel/issues/266 + metakernel/tests/test_replwrap.py::REPLWrapTestCase::test_bash + # requires starting ipycluster + metakernel/magics/tests/test_parallel_magic.py::test_parallel_magic +) diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest index 342e016df60e..597f8f5a2d61 100644 --- a/dev-python/nbformat/Manifest +++ b/dev-python/nbformat/Manifest @@ -1 +1,2 @@ DIST nbformat-5.9.0.tar.gz 140980 BLAKE2B e967ac0972dd2a5749694900002f9ada4171b5219249c3b6aa600fba97121aae0334516838c86b175064b0975a298fa9a1614dd2a458dd5d66ba832187731bd4 SHA512 c409feb3b6ae9b89b86d1c5e77a23a368776ccf9e62d606e2bb689927eca4d73c79a22e3f5e9e2beda78c201dc7485114e762872b305278c23c8129c7c65449b +DIST nbformat-5.9.1.tar.gz 141100 BLAKE2B 1e9c6ed726ae534c27bf25796b23ac38d624330f219f6f5e6de6be2b80a409dee4594dd4ef8c8216aabd0ca4457417d174f83e4ee9e5f53207147dfc004219c0 SHA512 d4a36092c89e594db6d8524fa4457a1e9075d160f0a97bad767fe0f4de357d1bee76e081ddad680975803dfb7a735d2034f925555e57ac02d0436684cbcb1d8c diff --git a/dev-python/nbformat/nbformat-5.9.1.ebuild b/dev-python/nbformat/nbformat-5.9.1.ebuild new file mode 100644 index 000000000000..03cad4511b84 --- /dev/null +++ b/dev-python/nbformat/nbformat-5.9.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 pypi + +DESCRIPTION="Reference implementation of the Jupyter Notebook format" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbformat/ + https://pypi.org/project/nbformat/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/fastjsonschema[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/numpydoc \ + dev-python/myst-parser \ + dev-python/pydata-sphinx-theme +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/nbformat-5.7.1-no-node.patch" +) + +EPYTEST_IGNORE=( + # requires pep440 package, which is not really relevant for us + tests/test_api.py +) diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index 58ca8f91edaa..2cc9579d57a4 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -1,3 +1,4 @@ DIST openapi-core-0.16.6.gh.tar.gz 104008 BLAKE2B bb1bdac98dfc5aef0961624488074363568f53a6c44cb0730be0d103d891d24bed86659f640e0d07da4072edc233c904c0ddcfd9e8b3960ace1af078c0d745e5 SHA512 556636a4698dcd7db6c656333849077abacdac1a440fe58210ad8f02c1f0220e46dea29962346dfb3f89d164ebc986ec750c184840be9a34a5e1dd98fbf8ef98 DIST openapi_core-0.17.1.tar.gz 85686 BLAKE2B f18b42fc496eaf4d6b82c15f66dd9c2eb9240402590b5a8e1f0e7b1e804c90aeef2db96d19683e9fea5846e776e95981ac52a38c47e2b56e6b5fd63d072b61f7 SHA512 0e2c673dbbfcce87ae7fbca6ec6c283d94c36376b1e17191d0bfa6c7001c62913381169b4614b5cd6131eaa67b729365036be3f1eb7641f634c0f3228de54897 DIST openapi_core-0.17.2.tar.gz 88262 BLAKE2B 4d9a1be1eff4118bc1c687e57af0ff3738f984ceb6e564c643d26cb795bbcd3e703dd22c3b45d574f498d290f8da225819c9df618da5a1b8e40758304f2ebd07 SHA512 73cd2b62149549bd56781adb44922bca4a0519fbae8b6539d0225799ba1cfa1ab584428fd572ee42af4731b5437f08b8c4ad8f8895444aef315e4c6909fd4e5a +DIST openapi_core-0.18.0.tar.gz 83474 BLAKE2B 785e95969e03d9ccf17e40c7ce563cef6ab45c417e397b0f03e982622fb1c65d4b3e719e94e1072c7a41b837097efea7b83e29e8ceec64579f1c58040c9fb291 SHA512 d9e516e00a53937f79c7419823a1533a507731e20da36e1186a1800f713154135524db968483ce850bd9a90a4c322ca1c957d6a7f99e9d8eefdc244ed9ce8bc0 diff --git a/dev-python/openapi-core/openapi-core-0.18.0.ebuild b/dev-python/openapi-core/openapi-core-0.18.0.ebuild new file mode 100644 index 000000000000..8221d232f554 --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.18.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" +HOMEPAGE=" + https://github.com/python-openapi/openapi-core/ + https://pypi.org/project/openapi-core/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/asgiref-4[${PYTHON_USEDEP}] + >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-spec-0.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-spec-0.2.3[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + <dev-python/openapi-schema-validator-0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}] + <dev-python/openapi-spec-validator-0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.6.0[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] + >=dev-python/pytest-aiohttp-1.0.4[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/starlette-0.26.1[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # falcon is not packaged + tests/integration/contrib/falcon + + # TODO: these tests fail to collect + tests/integration/validation/test_security_override.py + tests/integration/validation/test_read_only_write_only.py + + # unhappy about modern django + tests/integration/contrib/django/test_django_project.py + tests/unit/contrib/django/test_django.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest index ee8389786b3d..5e689e8ccfb9 100644 --- a/dev-python/openapi-spec-validator/Manifest +++ b/dev-python/openapi-spec-validator/Manifest @@ -1,2 +1,3 @@ DIST openapi_spec_validator-0.5.6.tar.gz 33031 BLAKE2B a884ceb915f232232406bd880a7eef9e588e1a42ac9a78c2e23f91cbd71e9af471c764550a9dd214ef68ec24ede7ab0ba4624429e4fd8133011489d0039aeae7 SHA512 ea1e810ecf49ff3d237e3368cd2cbcc6b733e9657f101759860ef16d3e2f14c97ccfe52fae2897d12a50c803d709d61d7ef8b40b288e5f73265da9ac5c88280b DIST openapi_spec_validator-0.5.7.tar.gz 33722 BLAKE2B 71096a996d335b60d6646d96390e580952a1e27829aa807c4b333ee11a7925bc1bc10f4440c79fc6d4a8321dfd3bab9ec86bf79bef6c7139835b7f8035cbc061 SHA512 63dafc0bc459d8ad097d0a98a3d23e67ae37c0004ce6d53ad999b037f2a6743c95e13ae22920403368c37f8877665c104ac20e1f58532cffd8df54c800a6cf7d +DIST openapi_spec_validator-0.6.0.tar.gz 33646 BLAKE2B cf8d397602b147872e86c0f236731ec477e20775aa63a61162e66deb7d4b81ef91bd86b67d2dfddf5d6b160c37b7eab4ddb1d10975ada8dc13aebdc088e4483a SHA512 71434f131f34902210237940d75f07f250b296c3e1814e03f0eaae436321ca11ac63d0014c85ad571852e66b2e11545c9d0cf21d771c0c67210a60c1f9094cc2 diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.6.0.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.6.0.ebuild new file mode 100644 index 000000000000..dc4ce9e98fe5 --- /dev/null +++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.6.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator" +HOMEPAGE=" + https://github.com/python-openapi/openapi-spec-validator/ + https://pypi.org/project/openapi-spec-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/jsonschema-4.18.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-spec-0.2.3[${PYTHON_USEDEP}] + >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/integration/test_shortcuts.py::TestPetstoreV2Example + tests/integration/test_shortcuts.py::TestApiV2WithExampe + tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample + tests/integration/test_shortcuts.py::TestPetstoreExample + tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl + tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl + tests/integration/test_shortcuts.py::TestApiWithExample + tests/integration/test_shortcuts.py::TestPetstoreExpandedExample + tests/integration/test_validate.py::TestPetstoreExample + tests/integration/test_validate.py::TestApiWithExample + tests/integration/test_validate.py::TestPetstoreExpandedExample + tests/integration/validation/test_validators.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 970ea4c8e21d..03338ade619f 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.13.15.gh.tar.gz 4912960 BLAKE2B aef5c2524f2ae122bc0b3846fed94c5d8fad219eab72ba1838baca7ce3e839510b2601b967cfdd1c26e5200f05821ef7892f7445074a09c3dde150f5ab4a8c08 SHA512 688425ee6a62b132b865580bd7615235357963c51a49333bf400d01877728374173ff674c82535f67c86c0abb39acbb4373b4760116c3161b5bb633efc6a9f32 +DIST python-phonenumbers-8.13.16.gh.tar.gz 4913171 BLAKE2B 07bf7c13669554baf6d6250e0e42ca070966d21ec61836d1ec99d5515a283d891ccdb8496c86d82e0c6f1fe1be227e523262f16e5fe0b1a08bfee13a146f6b66 SHA512 6f655621d9e0e3ac9c8b0972118c81104621e4bf45d541606a82f373e59b8a3bd519d93bfb15bb769c7ab04a0abefa1db3d6125bc59f425de49269fce611f176 diff --git a/dev-python/phonenumbers/phonenumbers-8.13.16.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.16.ebuild new file mode 100644 index 000000000000..4ef52501be16 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.16.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE=" + https://github.com/daviddrysdale/python-phonenumbers/ + https://pypi.org/project/phonenumbers/ +" +SRC_URI=" + https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/python + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/protobuf-python[${PYTHON_USEDEP}] + ) +" + +DOCS=( ../README.md ) + +python_test() { + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest index dc3ec0104d92..afe4cf03384a 100644 --- a/dev-python/prometheus-client/Manifest +++ b/dev-python/prometheus-client/Manifest @@ -1 +1,2 @@ DIST prometheus_client-0.17.0.tar.gz 90650 BLAKE2B 04bc44e930c94edc9fb0ceb5cc5be71cbec23435d271ec63acacbb10b42b192170ed7f92c767a575a08a8140d9cfc28b591c49ad9af2e6d931990daba45637ba SHA512 da9a27a514dca0ae2721eaa607c5adfa86686553eebc0c4eb4323d0866d03b520de5085b8e39560df0525ef3bbbbc7996271b64136f60a427fb14fb8851e595f +DIST prometheus_client-0.17.1.tar.gz 90360 BLAKE2B 3927d5b6829a04cd72a99ac3b0b6a12726865b41d17f165a53f83a6a3791f18e25e03995088152ac7eae016eab7c6e29bef1e605f4c444f9963be04483ca2f02 SHA512 c8c776d646ea4a18a85fd26c858158b67979173dcf52d0a337cdb87fe907ff4081d8e0771176ba8be0ea6e244ee9b9097396c9aeb6f6db170a2c0f5a4898c771 diff --git a/dev-python/prometheus-client/prometheus-client-0.17.1.ebuild b/dev-python/prometheus-client/prometheus-client-0.17.1.ebuild new file mode 100644 index 000000000000..53efc985b739 --- /dev/null +++ b/dev-python/prometheus-client/prometheus-client-0.17.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python client for the Prometheus monitoring system" +HOMEPAGE=" + https://github.com/prometheus/client_python/ + https://pypi.org/project/prometheus-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/twisted[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/psycopg/psycopg-3.1.9.ebuild b/dev-python/psycopg/psycopg-3.1.9.ebuild index 676f50bc3261..1d77ef65ed85 100644 --- a/dev-python/psycopg/psycopg-3.1.9.ebuild +++ b/dev-python/psycopg/psycopg-3.1.9.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${P}/psycopg LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" DEPEND=" >=dev-db/postgresql-8.1:* diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index 985c00e3c4cb..42ea17845589 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -33,6 +33,7 @@ DIST pydantic_core-0.39.0.tar.gz 302824 BLAKE2B bc4df1e66113845a5458d27c2408258d DIST pydantic_core-2.0.1.tar.gz 305815 BLAKE2B f57af9abd4f3e7c14f0215485311bcd39cc3369335f742f59cfd6ecd8a9d866bd1f70e592de596bc2c7572e864b33124a8f657ebdff27c1fa57ec8f50a974c6d SHA512 33339cba162b36e346d22b9c130d3e451579fc4beb7b6407628f3108cf29aaf0f15fc066c398d2fc3d9ed451f0512a39df61fbc891b9023fcd39c262659fbce9 DIST pydantic_core-2.0.2.tar.gz 305778 BLAKE2B ef1e53a44ff9f295a410b0b6f5e3a1183cddcc5376adae2c8c5b87791b0443d6b97cf1129810924adcf46221a2d38b98ded01b3db1d14d064ad6e00069675ac1 SHA512 034eac42feedcd526bff0557a1ef83aa04e0c728b93b3d2831f76472736acd5063b4e541cc64206273ec7b305a38f453cb34e33dc64385f9cf45a5c261ef3c6c DIST pydantic_core-2.1.2.tar.gz 305997 BLAKE2B 1893dd2b187303ad50fd8c18842158d1e54534c9a1dcffac5235677656774b4e3b1e4acb1da8afa34087019e5976c4e43ce7f696563462f9f92f9a31de9d01a6 SHA512 6cb35ad602ff783fc0841b7fa7da6448835b5e1b913cbd2dd42af8e5a167b5d20021f8c6f8973c58a0a9f9449c27b348691f57ccf2c446845abd7cad159d4ffd +DIST pydantic_core-2.1.3.tar.gz 303560 BLAKE2B b1ee7d73f4cb5aa192dec3670df66a6f60f157dbf21e5c1e1f62a978dc36838239f7883efbc1e1d98ab5ef8ddd16daf36e792e5f508d93f32405992d956e3c5e SHA512 cbb85b5c459d9f3cd80cba44f242157a8ca5d64eb3ed209a47a7e9be3c687111f8cc750db97269ef6c9b3fe27ae1b58a0a10f022830f1ff90564cbbbe30ab1dc DIST pyo3-0.19.0.crate 412659 BLAKE2B f8833d39c3c8318466ee5b9010cbdce1a20f844f15a257ae41c5d8c72f645e0c14e7e5ae0b50a8aebec60afd827cd23d5b5b4b70188531e6f5b89ef191066189 SHA512 9cef7f8a73cfea32661eaf8fd8d5af6ca180e3fd71ac956d9fbb96a1d194f238116e3ab31917b15359e7f6b0b3bc4587437463a4c61bca988f16657a64440919 DIST pyo3-0.19.1.crate 418297 BLAKE2B 19ad6aa4fba175961b7fe97ae0bc45050f930859972b1b25cf0139bb3436c050ba76b63894f0df26174f141a52ac6abf10fd84c03c056af5a0665e723ae24195 SHA512 b27500cf49f1c6f217d21344d24ac96c07b82c157dd36fa4550b94059da5715ba7d0e085ec07dd5f8a8ac9de4d7e9239c1cceac4337294eb0dc9f6102049d5ff DIST pyo3-build-config-0.19.0.crate 29172 BLAKE2B 20904ad814ed9a22b801eb7b06851292d50f5716116a5b4a670e8c499878bf6d193525a4579b044ed413823c17ecd1ad0178baae1cab1fe3f431cc9a0f442576 SHA512 3105ce54bff87bef803f30b79d3ab2dbe440d68418f8cdc875f18ceb2bb0d06ed0923cf02af5f8293ca901f40b96c1b99a12a8a8e74813dcf70534d3aec2bfb7 @@ -58,6 +59,7 @@ DIST serde_json-1.0.95.crate 144618 BLAKE2B beb05d7c37fcbacf4cc7dc04380e818a144a DIST smallvec-1.10.0.crate 31564 BLAKE2B e3e46a0781d3a7892a739b001592d462d0704f010363984c439e3fe4f75aecb9720648aa1e9bcc56bb3be848dd40cee578212439f78f07a807c9441c3c3e0147 SHA512 a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae DIST speedate-0.8.1.crate 28443 BLAKE2B 674834057f7b4bcb78fc4e7d10c8edcba29e0369e33089323b73fc9b2b6779c2a86bd895280503a4324187de3a0e747331c194f2d63bf35ff4fe8d78c6fa30bc SHA512 bd10ef2713e668e6a07408ca1699939440eeb1a1fda6f7ba1e17961a274e3c2372436b7552859d4432149db699d245ed05d12936023d371a402249ba3a990291 DIST speedate-0.9.0.crate 28910 BLAKE2B 1a94cee39a28e266a380228d63fe91fc53e1a572f7e9bfc7accc06c7f27a5daac4d899eefdfe50adba5137355f587e294fece68ac883a7d763b2a524fbc84bb7 SHA512 4bec5ef5a359014ad0e879880d7e6fda84bebc8325b978526d6fec9df176548f607622aaecf0b07dc10012217facfc7080da2149e41ddc87145cefe39bf72fd7 +DIST speedate-0.9.1.crate 28941 BLAKE2B 14867c88d0de4e6cb02efe5e5de697cf1fd279f2be526266b3d2fdbc91a7c1d24a1508c681eab8ac347508b1e03defc87116a8c4e4456d2119e34742bfa8730d SHA512 050e161efd98af0edc1ca925f9d8a805faf4465724c65b83e07f479ca5d32589ce4d7e03833588a0bb9be387d6bf694b1ea8ae7b2ef0002e86db29bd712f7d8d DIST strum-0.24.1.crate 5636 BLAKE2B 81959b4ed8b78313bcd370eca0de10dd86b63c27eeacab66afb6e0c620bf1a13b66ee4a06ff90ce09b46dfd29d8ce32218414900a077ddcdbd8debfb05de243c SHA512 d842464b762790f4b785e494f72f7bae47b5a068cd06ddaad7a491d1abff53fa9cde280b06bbbb6b39a3a8f350a2384080ec4b3e4f16226cb076b1df153e6197 DIST strum-0.25.0.crate 5539 BLAKE2B 9c031e5ce19e2ecaa63e63118197c740ae9295b8881f6280ad92847b99fca6fb08b0d395ab1b2a66e25c8374cd18866d8436540538e3c0f1f047fd2235971b40 SHA512 a3522df79547e94518f25a0e29248f67f1d7e2586a7a424d7d996cb6bfe5d98fcc4fc44da7ddcd4e35a1127b2816bee55107f30cb2a559f5b9bbb1346139544a DIST strum_macros-0.24.3.crate 20696 BLAKE2B fa86022cd1f701d8755fbf3e6356a38d46f4f168a1abd19d1d8fa63cbecf41746165791955c8cf1fba86cadf85ddb427ffd17bb360567187b55dfb9a899503c1 SHA512 8276343808afe71d68d7984d5a223a4fc630df0adb5a547cbcc6912fbffcf7e4ad38f115888a2dd3a8443d6fa7b9c7726318d4f5d1ab43f463dd97ec20df9134 diff --git a/dev-python/pydantic-core/pydantic-core-2.1.3.ebuild b/dev-python/pydantic-core/pydantic-core-2.1.3.ebuild new file mode 100644 index 000000000000..620b488e6347 --- /dev/null +++ b/dev-python/pydantic-core/pydantic-core-2.1.3.ebuild @@ -0,0 +1,136 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +# pypy3 is waiting for new pyo3 release +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +CRATES=" + ahash@0.8.3 + aho-corasick@0.7.20 + autocfg@1.1.0 + base64@0.13.1 + bitflags@1.3.2 + cc@1.0.79 + cfg-if@1.0.0 + enum_dispatch@0.3.11 + form_urlencoded@1.1.0 + getrandom@0.2.8 + hashbrown@0.12.3 + heck@0.4.1 + idna@0.3.0 + indexmap@1.9.3 + indoc@1.0.9 + itoa@1.0.6 + libc@0.2.140 + libmimalloc-sys@0.1.30 + lock_api@0.4.9 + memchr@2.5.0 + memoffset@0.9.0 + mimalloc@0.1.34 + num-bigint@0.4.3 + num-integer@0.1.45 + num-traits@0.2.15 + once_cell@1.17.1 + parking_lot@0.12.1 + parking_lot_core@0.9.7 + percent-encoding@2.2.0 + proc-macro2@1.0.60 + pyo3-build-config@0.19.1 + pyo3-ffi@0.19.1 + pyo3-macros-backend@0.19.1 + pyo3-macros@0.19.1 + pyo3@0.19.1 + python3-dll-a@0.2.9 + quote@1.0.28 + redox_syscall@0.2.16 + regex-syntax@0.6.29 + regex@1.7.3 + rustversion@1.0.12 + ryu@1.0.13 + scopeguard@1.1.0 + serde@1.0.159 + serde_json@1.0.95 + smallvec@1.10.0 + speedate@0.9.1 + strum@0.25.0 + strum_macros@0.24.3 + strum_macros@0.25.0 + syn@1.0.109 + syn@2.0.18 + target-lexicon@0.12.6 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.13 + unicode-ident@1.0.8 + unicode-normalization@0.1.22 + unindent@0.1.11 + url@2.3.1 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-sys@0.45.0 + windows-targets@0.42.2 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_msvc@0.42.2 + windows_i686_gnu@0.42.2 + windows_i686_msvc@0.42.2 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_msvc@0.42.2 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Core validation logic for pydantic written in Rust" +HOMEPAGE=" + https://github.com/pydantic/pydantic-core/ + https://pypi.org/project/pydantic-core/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=virtual/rust-1.70.0 + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}] + >=dev-python/pytz-2022.7.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_prepare() { + sed -i -e '/--benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf pydantic_core || die + epytest -p pytest_mock -p timeout +} diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 6074b50d63b0..0ffe45150a9e 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1 +1,2 @@ DIST pyfakefs-5.2.2.gh.tar.gz 219768 BLAKE2B be22ad269dcb8777c2fc6d8aed5079b84089980f5b62f1198ec2b4b3eea3688df3665bfc305a300e73917d65bc4209bc7bbf2a739d3852b1257036ca288a7846 SHA512 43ba719ad129f3e5188512a6f9b1eb8cfd7586f45a69c6623a9ae2429ca4dfa67d54cfc42032a599daaf736d46cb9e268c9f68150c16427667ed84e0917ed459 +DIST pyfakefs-5.2.3.gh.tar.gz 222076 BLAKE2B 01d24021be074058d865ac068f77de69721ad2f826f835f04776e8d17a8f4cfaeb85bce9a948d679951b8f028ef6d6b3377428d76c5d2d46afea3b78dffcee1e SHA512 5e4adeecb1e2341f3dee20d48b387de870cdab4ad27791951f98ba516f8f4cbe4f5e303c83725c2ce5a9cfaf34f771814b07c553983eb283aa7c3fd7f4e7690d diff --git a/dev-python/pyfakefs/pyfakefs-5.2.3.ebuild b/dev-python/pyfakefs/pyfakefs-5.2.3.ebuild new file mode 100644 index 000000000000..f2f496f00618 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.2.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 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,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/pytest-dev/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/pytest-dev/pyfakefs/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/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12.ebuild b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12.ebuild index 77878f3bc763..a9e90ccccf41 100644 --- a/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12.ebuild +++ b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12.ebuild @@ -52,7 +52,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="${PV%_p*}" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" # sys-devel/gcc for libgcc_s.so RDEPEND=" diff --git a/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12.ebuild b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12.ebuild index 90c4bbea14a2..62a0b5672132 100644 --- a/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12.ebuild +++ b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}-src" LICENSE="MIT" SLOT="${PYPY_PV}" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+jit low-memory ncurses cpu_flags_x86_sse2" RDEPEND=" diff --git a/dev-python/pypy3_10/pypy3_10-7.3.12-r1.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.12-r1.ebuild index c3cd1b2bb121..015dc7e0cfeb 100644 --- a/dev-python/pypy3_10/pypy3_10-7.3.12-r1.ebuild +++ b/dev-python/pypy3_10/pypy3_10-7.3.12-r1.ebuild @@ -25,7 +25,7 @@ LICENSE="MIT" # pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' # also check pypy/interpreter/pycode.py -> pypy_incremental_magic SLOT="0/pypy310-pp73-384" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+ensurepip gdbm +jit ncurses sqlite tk" # many tests are failing upstream # see https://buildbot.pypy.org/summary?branch=py${PYVER} diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest index 4808cc8fa694..5260ebbd259a 100644 --- a/dev-python/pytest-cov/Manifest +++ b/dev-python/pytest-cov/Manifest @@ -1,2 +1 @@ -DIST pytest-cov-4.0.0.tar.gz 62013 BLAKE2B af8a12955e3f22cd9dc257874f86c04c3c6e29f4af2d2838f37ca196c4955dcf4007c7b404f31c303d0eef6c3735fa1a6268c3bb9f01ed54860750ca2f83b6f5 SHA512 fb993be4d86b29a44e4f2ccd2309d99ab9fe8e6b291abbc2a8a3fc8b36479491165a242a20bfa9886dfd296fcc827da9984b556fdbe9a3ac496ac5b6ba379012 DIST pytest-cov-4.1.0.tar.gz 63245 BLAKE2B ed69b96f2117fb924c47b5d80c4e01ec2ab27162ee31a91943e72927a919fe194a8a67ee86eb6bae68ac5a34288c91c57edd8a4800dbffca83f7da4006792d04 SHA512 1280e338ad236ae6757e4538a641fef740bee6c85c5af1f649ba4f28fd99f84ff1048ae40b8633d1751ea248788c1efd401aa078b3aa5929a9249514e5722fc1 diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild deleted file mode 100644 index 5c98ea53e30a..000000000000 --- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="pytest plugin for coverage reporting" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-cov/ - https://pypi.org/project/pytest-cov/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/py-1.4.22[${PYTHON_USEDEP}] - >=dev-python/pytest-3.6[${PYTHON_USEDEP}] - >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/fields[${PYTHON_USEDEP}] - >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.0.0-pytest-xdist-2.5.0.patch -) - -distutils_enable_sphinx docs \ - dev-python/sphinx-py3doc-enhanced-theme -distutils_enable_tests pytest - -python_test() { - # NB: disabling all plugins speeds tests up a lot - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail - - local EPYTEST_DESELECT=( - # attempts to install packages via pip (network) - tests/test_pytest_cov.py::test_dist_missing_data - # TODO - tests/test_pytest_cov.py::test_contexts - ) - - local src=$( - "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || die - ) - # TODO: why do we need to do that?! - # https://github.com/pytest-dev/pytest-cov/issues/517 - ln -s "${src}/coverage" \ - "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die - - nonfatal epytest - local ret=${?} - - rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die - - [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}" -} diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild index 33da3d2b1dd6..3c6f9995e44e 100644 --- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild +++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/py-1.4.22[${PYTHON_USEDEP}] diff --git a/dev-python/restrictedpython/Manifest b/dev-python/restrictedpython/Manifest index ac455349e464..da78b9c98bad 100644 --- a/dev-python/restrictedpython/Manifest +++ b/dev-python/restrictedpython/Manifest @@ -1 +1,2 @@ DIST restrictedpython-6.0.gh.tar.gz 441665 BLAKE2B 3b3c27c6aa86e7301299fa32eafa571381637ac16551c48c2faf48815fc6d054df94ddfaccacb243e55300358f1c5f726d17342630137c326387db946d00bdf0 SHA512 8f9b53542c0784ac0c9169c4c4252d22f95419c6903ca0e786f44f6fee9303251f3e78ec099f343068c0a7ea7712de52e884aa132dda63ed813e8a17ffe55798 +DIST restrictedpython-6.1.gh.tar.gz 442293 BLAKE2B 8425c371e84a698f1591735cfa0c77ea716c2b7859addc6a7fb97e68ffd239e1b3aaeb359739ec1dfff551a361a8bd8fd2738007ba5d2557debe9592a144c144 SHA512 fec5bbe301b64236863a72e4b7a9997d04483da6ae5b384ef73a729092b2fc271f6016586a21558cb30f1c2cc9c9f57b8ee2c6c851873bd493b95fd50dccd1f8 diff --git a/dev-python/restrictedpython/restrictedpython-6.1.ebuild b/dev-python/restrictedpython/restrictedpython-6.1.ebuild new file mode 100644 index 000000000000..aa2ca8390e35 --- /dev/null +++ b/dev-python/restrictedpython/restrictedpython-6.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023 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,11} ) + +inherit distutils-r1 + +DESCRIPTION="A restricted execution environment for Python to run untrusted code" +HOMEPAGE="https://github.com/zopefoundation/RestrictedPython" +SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/RestrictedPython-${PV}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 9299d51c0212..58107242bed3 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,2 +1,3 @@ DIST sentry-python-1.26.0.gh.tar.gz 371531 BLAKE2B cdc44a8c4067405242b7aaec28999902df8ac7938d933ec8f5c050b6659bf5f920d7422dbe712813de995308fd49ce6173ca59e346d5a8912f6c3452f6063fb2 SHA512 de1d1c4af1d629c7689691d99ebd0acd3c023fc07fcfc6e706e7738b536601186ce33672b85ba08123f430923bb0c67cdbe0e56c9642d2219df55c8f1d14f07d DIST sentry-python-1.27.1.gh.tar.gz 376598 BLAKE2B 4ad5986af5e252cf501523fcafdaa7ada4870aae0252227907d86ce3e886b58f7154f4407cb6ae22473044589c9c2639c7de8ca92dea1a7a7835c51c28b44bb6 SHA512 1408c06b3b8a8ef0c888f26a4591d45b63fda51853e52f2ea8921e4983d0a7b05b053c6bf17d55fc59667e5b4b4ca953419303774101fa58ef6f37428d600c90 +DIST sentry-python-1.28.0.gh.tar.gz 378626 BLAKE2B 826257c5cae7d1f58753d4a84fb7aeb0fb9d52690a660615590cdd34c7d1afe1e256291d9434f904644292d6ab379fcad03cc7d8b1072e3b41b03fb5e4961db6 SHA512 83ceecbf89f197c03b0a402508c677eed4c6adb36ff826579513f79dd36c666e47267c7b6e8f4eced91fc12b18a0de3c1a24c89c6fe6e77c603ace535612542c diff --git a/dev-python/sentry-sdk/sentry-sdk-1.28.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.28.0.ebuild new file mode 100644 index 000000000000..3161d9dcc8f6 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.28.0.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +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 + tests/integrations/socket/test_socket.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 + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo +) + +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 + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_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 + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread + # broken with py3.11, *shrug* + tests/test_profiler.py::test_extract_stack_with_max_depth + # TODO + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string + tests/test_scrubber.py::test_breadcrumb_extra_scrubbing + tests/test_scrubber.py::test_span_data_scrubbing + # this is not even funny + tests/integrations/modules/test_modules.py::test_installed_modules +) diff --git a/dev-python/steam/steam-1.4.4.ebuild b/dev-python/steam/steam-1.4.4.ebuild index 594a3db5f7f0..e37ebfb73172 100644 --- a/dev-python/steam/steam-1.4.4.ebuild +++ b/dev-python/steam/steam-1.4.4.ebuild @@ -13,12 +13,12 @@ DESCRIPTION="Python package for interacting with Steam" HOMEPAGE="https://github.com/ValvePython/steam" DEPEND="dev-python/six - dev-python/pycryptodome - dev-python/requests - dev-python/urllib3 - dev-python/vdf - dev-python/protobuf-python - dev-python/cachetools + dev-python/pycryptodome + dev-python/requests + dev-python/urllib3 + dev-python/vdf + dev-python/protobuf-python + dev-python/cachetools " LICENSE="GPL-3" SLOT="0" @@ -26,9 +26,9 @@ SLOT="0" KEYWORDS="~amd64 ~x86" src_compile() { - distutils-r1_src_compile + distutils-r1_src_compile } src_install() { - distutils-r1_src_install + distutils-r1_src_install } diff --git a/dev-python/steam/steam-9999.ebuild b/dev-python/steam/steam-9999.ebuild index bb348739fdca..1aebc69df5c6 100644 --- a/dev-python/steam/steam-9999.ebuild +++ b/dev-python/steam/steam-9999.ebuild @@ -13,20 +13,20 @@ DESCRIPTION="Python package for interacting with Steam" HOMEPAGE="https://github.com/ValvePython/steam" DEPEND="dev-python/six - dev-python/pycryptodome - dev-python/requests - dev-python/urllib3 - dev-python/vdf - dev-python/protobuf-python - dev-python/cachetools + dev-python/pycryptodome + dev-python/requests + dev-python/urllib3 + dev-python/vdf + dev-python/protobuf-python + dev-python/cachetools " LICENSE="GPL-3" SLOT="0" src_compile() { - distutils-r1_src_compile + distutils-r1_src_compile } src_install() { - distutils-r1_src_install + distutils-r1_src_install } diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 0290578849f0..6bf4bac305f5 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,3 +1,4 @@ DIST tifffile-2023.3.21.gh.tar.gz 331285 BLAKE2B ce63dc2f389d3e93cf50c52efe849423c091bdf048ce7f408fe6ee4556da4b9efcbaa031e7bc7f2b3f953117f7ce18014d1a77f9253a82d6dc4352464cf4151d SHA512 68b90d7eab293991b0227090d5b4c047469cd65c339f8d19da68097d99640c7f45cf8746eac4b3da9a388a58cd4343bbcad25496b08c13c913e48f982e14f5b9 DIST tifffile-2023.4.12.gh.tar.gz 332954 BLAKE2B 357e691a0b551eb1ac5349bcc8a7168399e93c82353f5da5d95953142f206388da876e16f6948937ed9fb36128eaa4c3999c6fca494a9d5466894b5324c1cdcd SHA512 3a5c2ed6beaaf0f1c7f4dced0f57eab1cbd1f23040df8c701ffac8569b6fbdcebd71b6970e9c6911c1fd501add78880d8102c8476126007472fcdb82c9628bcf +DIST tifffile-2023.7.10.gh.tar.gz 335535 BLAKE2B 2fdfec45546fc6f4beb326d1b08646187b2e1e505e28b91ec2229ff19afdc84abb48c1c83acae5f33680583c95bcceea6579f52ba3c7df9d646697b04231b00b SHA512 91f7dc449244a560a10f76b9f7eb339ce5200ef7cd7c8d2d088095d8bcea18bb419d9b691e2646cd58e072d9a7ea1701fdc7501fb91c04533684e002c94426c0 DIST tifffile-2023.7.4.gh.tar.gz 335321 BLAKE2B a168de5ad4735f490b0e7a29d7db887708bdf28049d3b722cefff9880962cf7d58cf6929935d3e0fcddef11d8910cc798996df7d1af7e14083e52956900ffa61 SHA512 247912cee32a5b9d29cb228a73366fd61c1f0b316ddc78ad37513ed85157abd7012bbc36b4cef250636f5789ef7f0204eae9a6ddbe6b08440f7f82039dbb854a diff --git a/dev-python/tifffile/tifffile-2023.7.10.ebuild b/dev-python/tifffile/tifffile-2023.7.10.ebuild new file mode 100644 index 000000000000..cb26976c422f --- /dev/null +++ b/dev-python/tifffile/tifffile-2023.7.10.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021-2023 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,11} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dask[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_tifffile.py::test_class_omexml + tests/test_tifffile.py::test_class_omexml_fail + tests/test_tifffile.py::test_class_omexml_modulo + tests/test_tifffile.py::test_class_omexml_attributes + tests/test_tifffile.py::test_class_omexml_multiimage + tests/test_tifffile.py::test_write_ome + tests/test_tifffile.py::test_write_ome_manual + # requires tons of free space + tests/test_tifffile.py::test_write_3gb + tests/test_tifffile.py::test_write_5GB_bigtiff + tests/test_tifffile.py::test_write_5GB_fails + tests/test_tifffile.py::test_write_6gb + tests/test_tifffile.py::test_write_bigtiff + 'tests/test_tifffile.py::test_write_imagej_raw' + # TODO + tests/test_tifffile.py::test_issue_imagej_hyperstack_arg + tests/test_tifffile.py::test_issue_description_overwrite + # missing private marker + # https://github.com/cgohlke/tifffile/pull/195 + tests/test_tifffile.py::test_issue_invalid_predictor +) diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index 94f6241d2342..17a7be6d693b 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,2 +1,3 @@ DIST time-machine-2.10.0.gh.tar.gz 28770 BLAKE2B ba4ff7dd2559530e86e38d23600209f2e860a1541c9ef5536d07092678018c210ec5e0c63bc615e81b62e8179324953d023ba247c501aa94e16beb0345cacf8f SHA512 4a3120432cb6aacb1e022415094a4fb204d2f1b39c378307a0de34505d470982d81e1d2d940d0b9745c3edcd563ff55f9ab1d602bd1dea720a474fee5fa1e4af +DIST time-machine-2.11.0.gh.tar.gz 28075 BLAKE2B 2eb07ac60d4014e5796fefcf5cb846d60fef1887fe01459d906a2118eddc924d60642131530f76e131080e2989f60263bda2fbcc0cc917e0f9452d16a4f640a6 SHA512 5bd5d76e2ecc392c249e86e2cfe54ee94a99a4e1cd1dd7e00b240e1299426d87a284ec270ae36aeb82acfe06d974d5aeca27ae977a480441e4daa5b852d00198 DIST time-machine-2.9.0.gh.tar.gz 28043 BLAKE2B 9a9a521c94b72a7464853661da791b6f57f5155ddc62ffceeb82f808903f4c337e6bf48fe8300bb4f9f5673fd175fd85038a4e80a39e8f3e096c12c27ee790ec SHA512 ecc780a72d279b49d026a8f3f89210cb4c90e02c5a517c08eadbabcb65216a24c603ace39afd76ea1e6ccdef589d5997581d0db7477bb28fe4d1e0510daf17a0 diff --git a/dev-python/time-machine/time-machine-2.11.0.ebuild b/dev-python/time-machine/time-machine-2.11.0.ebuild new file mode 100644 index 000000000000..2fc6754c18c8 --- /dev/null +++ b/dev-python/time-machine/time-machine-2.11.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Travel through time in your tests" +HOMEPAGE=" + https://github.com/adamchainz/time-machine/ + https://pypi.org/project/time-machine/ +" +SRC_URI=" + https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/trustme/Manifest b/dev-python/trustme/Manifest index 1bc7043d7a18..766bf48f5cdd 100644 --- a/dev-python/trustme/Manifest +++ b/dev-python/trustme/Manifest @@ -1 +1,2 @@ DIST trustme-1.0.0.tar.gz 29567 BLAKE2B d57049d5d72b0aca85911a39f1eed2388829ab7e6833a2f8cb7fccf6d743e99fdc7e2917382f1397787c70763bf2ea49210337021054fc549e7e95377f88dc52 SHA512 4315290b5c7341ede5037ece01608ab0e8e07427c8053e058fb5db23f59b0be63b44fda83d83d0755f44c2a0d595b193ca77050c5f908038be071c18d759756a +DIST trustme-1.1.0.tar.gz 29611 BLAKE2B 71210845c3bb919b731ab14db72376aa701c547c4b062e4dab9ccbb6b97c3416cb48b92a998aa26c85720b38514998e62005dd310513fc80a54502432ee4000b SHA512 f0ad39ffd9f4074107c90258738412ff8ca8ed1b4138e38edc6edad9a5cb8787a53a47fa78b12eba189774902ee3728961feed54b3b5e944e4737749912627b2 diff --git a/dev-python/trustme/trustme-1.1.0.ebuild b/dev-python/trustme/trustme-1.1.0.ebuild new file mode 100644 index 000000000000..643907846eec --- /dev/null +++ b/dev-python/trustme/trustme-1.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 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,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="#1 quality TLS certs while you wait, for the discerning tester" +HOMEPAGE=" + https://github.com/python-trio/trustme/ + https://pypi.org/project/trustme/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/cryptography-3.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/service-identity[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest index f53d605f00a2..48992f277deb 100644 --- a/dev-python/ubelt/Manifest +++ b/dev-python/ubelt/Manifest @@ -1,3 +1,4 @@ DIST ubelt-1.2.4.gh.tar.gz 337670 BLAKE2B 4c8b1c05cbed0f28e69b43445f12881e4c619be4a513b9263a6eb4d674e56b0a869d1e78072e1e89a505a12b3b40dddbb48424bccdcfbae1a7eabf7746bc79d0 SHA512 5fbe36598a035d1504b24a06e8f0fcd1c9d0ccc238f81bfad582288aced9ebc8323e7acf2705d47e60f36513cbf665051f554cce122d75d55247b5fc122af419 DIST ubelt-1.3.0.gh.tar.gz 345051 BLAKE2B f7019311fa432e8c520b42261cc2cf1a494029bbb627c1b868364d4f816bc6a5c55c22e9755c4302f81f5984947bb7ada07b4d0137c1fee9be99e404c744ca54 SHA512 cd63501092d63426fa6169ab87d8224342f6ad59b1d9a41f36c53fda57057a10f8d20db26502bdbcc13c803eff3054cd2da67509308cc0930e1f765fe5f1281a DIST ubelt-1.3.2.gh.tar.gz 345932 BLAKE2B 9ad9413a69402708117c5f0c1d804c6a4f9f54f55fa62b44eca5b79db1c37c466d011225ffd1e30c321907775395a9cbe3c11b6257ce5dd5edec8c5ecbcd2904 SHA512 3aa058a5028a93d618805b5612b7384d9ca2074e30adf1011acd3993d07f30f80b7d759290b7ccebab606b27a91bb8377626e4d6d99ea7f595c2e553a5aaa605 +DIST ubelt-1.3.3.gh.tar.gz 348746 BLAKE2B e537b699a2f04efea9c2477437b7100bf9b736cb69c73ebc06bc639c8d9794c513447552e8c34430fce92b5c757369b447422ee9841ac1c6d2f47e292282d816 SHA512 77e03e06c03b6d8c8004b06f5bc843cbb4b1ad21c8c35d4801d5695c2556c707572a5f188a5774013c5ee0eda4005b593cc8548a3c025d460a21fbd996e41abb diff --git a/dev-python/ubelt/ubelt-1.3.3.ebuild b/dev-python/ubelt/ubelt-1.3.3.ebuild new file mode 100644 index 000000000000..923181ac3b8c --- /dev/null +++ b/dev-python/ubelt/ubelt-1.3.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 + +DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" +HOMEPAGE=" + https://github.com/Erotemic/ubelt/ + https://pypi.org/project/ubelt/ +" +SRC_URI=" + https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] + >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + dev-python/xdoctest[${PYTHON_USEDEP}] + >=dev-python/xxhash-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_editable_modules.py::test_import_of_editable_install + # relies on passwd home being equal to ${HOME} + ubelt/util_path.py::userhome:0 +) diff --git a/dev-python/undervolt/Manifest b/dev-python/undervolt/Manifest new file mode 100644 index 000000000000..4bc0c031f7e6 --- /dev/null +++ b/dev-python/undervolt/Manifest @@ -0,0 +1 @@ +DIST 0.3.0.tar.gz 9161 BLAKE2B 4e23f591c2c765a996bec6f9d4c17d80a4fa8de96648549522a259c63b455833b46554e33024d19768d161c2000bc6ee01a8d183c742a6c689c05c5fecc263ed SHA512 154590a5172bb305e32d464b340ef8c96fc081464dc1090deda364ad47e4eaba010376ab7cb8d001103b64d44bc38c34aff6f9a1bd6125ce5b149ccb6c96065f diff --git a/dev-python/undervolt/metadata.xml b/dev-python/undervolt/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/undervolt/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/undervolt/undervolt-0.3.0.ebuild b/dev-python/undervolt/undervolt-0.3.0.ebuild new file mode 100644 index 000000000000..3d9189edba20 --- /dev/null +++ b/dev-python/undervolt/undervolt-0.3.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 + +SRC_URI="https://github.com/georgewhewell/undervolt/archive/refs/tags/${PV}.tar.gz" +DESCRIPTION="Undervolt Intel CPUs under Linux" +HOMEPAGE="https://github.com/georgewhewell/undervolt" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} diff --git a/dev-python/undervolt/undervolt-9999.ebuild b/dev-python/undervolt/undervolt-9999.ebuild new file mode 100644 index 000000000000..c9d5c3978e10 --- /dev/null +++ b/dev-python/undervolt/undervolt-9999.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 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,11} ) + +inherit git-r3 distutils-r1 + +EGIT_REPO_URI="https://github.com/georgewhewell/undervolt.git" +DESCRIPTION="Undervolt Intel CPUs under Linux" +HOMEPAGE="https://github.com/georgewhewell/undervolt" + +LICENSE="GPL-2" +SLOT="0" + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 3e01f62292c3..9fd9833da3c5 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1,3 @@ DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 +DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a DIST zope.exceptions-5.0.tar.gz 30287 BLAKE2B 43fab206ef16b330a4ca460a432be375450fd3637a7964797fcb15a35f6adcd654b6105bb61043391ae6448ce03ea2ddd89dc86b6a90be69e2b0c541ca2b30e7 SHA512 0aba148751420c92a403169f72801fe03745196f918e1993d159a8d89310f2f71af26a15eab20c51b39747c3ddfc61eebc48e228517418fedb45d21b89475ed1 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild new file mode 100644 index 000000000000..61d2e2b23081 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |
