diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-16 06:11:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-16 06:11:39 +0000 |
| commit | 725cd1212670f81440c0bab316310658a5bca4d3 (patch) | |
| tree | 2c117298295719521a7b261f13def638614f1c78 /dev-python | |
| parent | 7b6842f100b1145721b2de0685a4b1a36821b98d (diff) | |
| download | baldeagleos-repo-725cd1212670f81440c0bab316310658a5bca4d3.tar.gz baldeagleos-repo-725cd1212670f81440c0bab316310658a5bca4d3.tar.xz baldeagleos-repo-725cd1212670f81440c0bab316310658a5bca4d3.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
43 files changed, 972 insertions, 62 deletions
diff --git a/dev-python/Faker/Faker-19.3.0.ebuild b/dev-python/Faker/Faker-19.3.0.ebuild index 41983d44a636..914460aa13c5 100644 --- a/dev-python/Faker/Faker-19.3.0.ebuild +++ b/dev-python/Faker/Faker-19.3.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] diff --git a/dev-python/annotated-types/annotated-types-0.5.0.ebuild b/dev-python/annotated-types/annotated-types-0.5.0.ebuild index 78026cf8169d..0b3776619cf5 100644 --- a/dev-python/annotated-types/annotated-types-0.5.0.ebuild +++ b/dev-python/annotated-types/annotated-types-0.5.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" BDEPEND=" test? ( diff --git a/dev-python/argon2-cffi/Manifest b/dev-python/argon2-cffi/Manifest index 5e8fa5dedfce..e7373bba84e8 100644 --- a/dev-python/argon2-cffi/Manifest +++ b/dev-python/argon2-cffi/Manifest @@ -1 +1,2 @@ DIST argon2-cffi-21.3.0.tar.gz 38446 BLAKE2B e0464f501efcdfbf33d93e0c1c6dbc519ad6aee06c0b8692417156de608f6c6acf947f86b866c064601fe994087677e51d954ae2c1225cbbbba3534cf70c6296 SHA512 6cb2a075f3bb7040ee7f552d082bfa2f3df0854649d9c84fdfdb42bb4bee2133b8a35a20be2b3c887931efda12fbbb00815d8d88170b7e20b3ca19c86f97057e +DIST argon2_cffi-23.1.0.tar.gz 42798 BLAKE2B 16f20c064bfc420894bc9da681ce4f544219c8e173f63bf095ffffdca6bd159695ecfa7ff33c32ca96f284764561e844e58d1ec3bf85a0c120c3b54490c3a56f SHA512 7c7730451f5ef9bb40bb5e1bbfa6e69c9718968168f3fa9b54e1020a4f805f98fba6260039bda804241717db2338479d640c7652dc26ce1a6ade076660133383 diff --git a/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild new file mode 100644 index 000000000000..30efb86266de --- /dev/null +++ b/dev-python/argon2-cffi/argon2-cffi-23.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=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="CFFI bindings to the Argon2 password hashing library" +HOMEPAGE=" + https://github.com/hynek/argon2-cffi/ + https://pypi.org/project/argon2-cffi/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest index 414253df5f78..49aba60bdf21 100644 --- a/dev-python/awxkit/Manifest +++ b/dev-python/awxkit/Manifest @@ -1,2 +1,3 @@ DIST awx-22.5.0.gh.tar.gz 17629249 BLAKE2B 28e560b36fc16173e8b1e0e2dfbab7a30082e2d3cde40c63a557a30772fce5a03657e57b1cb1de13bf358731d31caee670424ed264ae3ef6aeaff01120fef7a1 SHA512 630c94e747e21e55f32c2f96704ced8ac0214c3869149ad726ac2d4386d3ef7643990b4c07d23201c9191b97bce25b81330581184e040bce6efa341163f74ef7 DIST awx-22.6.0.gh.tar.gz 17639868 BLAKE2B 8733d1d81c099a56873bea0f38cafe696c70ae4f9274bee644b82b414317cdc537e22a1beea74d566e07cef4e5f5d3adea66a715f43dc30faab35cea1ee4616f SHA512 05fbe7dcc84902eadb40d8a55cc4022aaeedd015534a4caa379cd68684f96422674677c724e8473b0133f9986ae46a7a4a06649a60c8701bd202bc7d684ec972 +DIST awx-22.7.0.gh.tar.gz 17645480 BLAKE2B 06d4da9090db221ab23e86c8a8fc3e548437dc7903b4c05e09fbbbd3fc5254c528f3da0c41895533cb0615c863a1a940d3d254f52142e321243aa3113ce65187 SHA512 811976debbef72d0dce16caae1f6d19acafde5b7c15bfba9fdef3c5cfa0a2a06c30fbce81b52f0f1f63466d0cd8e6021e62819f5d134a59333d2331df42983eb diff --git a/dev-python/awxkit/awxkit-22.7.0.ebuild b/dev-python/awxkit/awxkit-22.7.0.ebuild new file mode 100644 index 000000000000..85bf390927f2 --- /dev/null +++ b/dev-python/awxkit/awxkit-22.7.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/boto3/Manifest b/dev-python/boto3/Manifest index 9fef0dbd3f19..11a20209dfdb 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.28.15.gh.tar.gz 681894 BLAKE2B b2fbe18f000d76e2c5be2ec0038756768608 DIST boto3-1.28.20.gh.tar.gz 684832 BLAKE2B dc8dee3e001e26fa5e9f1355ef40cb03a860fdba2585abb230213f04d443f047aeed3c8fc866c34e546d9dd74e373311172aa5a9ad235dd3f99d3c6d81dac8c2 SHA512 7409ebf4fe84b549ec701cff8f5c8373f360d1855e3834f2ff1c1882ee6c34ad5b5bed0ac8f133ae3412026c4f69ed626858c019e6338e03e4ebcbc2cbb761f1 DIST boto3-1.28.25.gh.tar.gz 687791 BLAKE2B 641dacd5076e51e64991c0bb97fda6f5b8d705b253ab902a5598daf23eca65ad586348f38e6dce0dfd90526a49ff56320dc99972d375e61d5fab3692f5948674 SHA512 2e47027c035338a9d70027b32c93db04ac859a8cfe6c9f962df33c1139df5ba1562e9e0bb32670825a93c29fa2b231779221c6b54c5b2bb498c5e19667763306 DIST boto3-1.28.26.gh.tar.gz 687954 BLAKE2B 04e87223eac560264ef55c80d5d258b028b9fb99a52a9ee03feda818909aafb43dfe16e887593e3dfb51525c78c8cd92a1e6e97b96136795b51a69839bb84580 SHA512 1cf5c2cc795a7712abff17aa075d30054973bf2cb583bdf4ad5e3057309cc76dd6a50b2ad806cb720c7528b4e3087f6b84b5b7a8d3d365df14e582e626168768 +DIST boto3-1.28.27.gh.tar.gz 689084 BLAKE2B 5e6c824aedd92f429a5e932a8839d2f855624d4e821a3b9e8e434d6d47c9dfbc44fd5f93df451fe19be089513dad56f5291186f734b696914ce867f5e4a436e2 SHA512 6233f4da3fcb84b24bdc5c3aa3914de0cdd31212b1927eafb82972a4c751556699cd653be014d7d838836a92a5a35368d6874e19f6fb04a730606868a656c53e diff --git a/dev-python/boto3/boto3-1.28.27.ebuild b/dev-python/boto3/boto3-1.28.27.ebuild new file mode 100644 index 000000000000..03c610b184f7 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.27.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 defafe7baa5d..f59634b0c274 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.31.15.gh.tar.gz 11823446 BLAKE2B 13a7eace7e9dcff6fa54c8e725b8221 DIST botocore-1.31.20.gh.tar.gz 11852972 BLAKE2B f4c4cf244de902fa4debeeb69c1981dc850751d8750c5c0af109d3f594991ed23a405688d864ac1237df39e8ac96b9d49f4cc83a973dea91ea6539eeaf2458a0 SHA512 e3f4960279c895eec503420bc1b42574fcfb53e5f1cdc6a26207ca1dbd34b36ecfc52c1dcd7b1e9918a5c3c91569baf1df524ca4269a7279fb2d0ef751355fff DIST botocore-1.31.25.gh.tar.gz 11863108 BLAKE2B 2fb9bfc01ec93e1dff3459e89f7b20984efe39572320c437af3eae8becc2a871651528fd732f26524c978c5cb032f3675b313ba9b9c6e5acf76f5c5ab07fba9e SHA512 ff360e15051c958b8f9b6e04bb27e2f728bd210c6c7bfc07525d91d54b1ba8be5738e3434c651b61c5774c0b9b4252abaac788274bd56ff10e782efea32b6dd6 DIST botocore-1.31.26.gh.tar.gz 11865968 BLAKE2B ead40328750793f1cb6e4b533d3cced2eb5a33a6ee7fd81f96853b8ccbf7f3b15977eb2b6c8e218e898d06b0ed087ab1a1919860e45c7afa1b93989b01992b71 SHA512 a0949446d371a34552134903aa5d3ecb8d2fd77a128610c28152d365ffd882cccf8ae419c87b649d48fe732c6b3de04620f4ab7915199f014d9368f0a446abd5 +DIST botocore-1.31.27.gh.tar.gz 11871182 BLAKE2B 818464a312ebf32eb38956fe6d58a1c784e9f2c746e8a03070ceaba89f3a3aee6fd5ff190f6001d32c46a92c12958c5655b5f07c9545b7f8ab6c8b060f1f3656 SHA512 9a175150ada4b21c3c2992671c69bea8717a934009fbf1fa30955735bf732285301e1a7013c631d6422c911b5e62f2980c191e41b9af4479bbe3a0ee8c44e71a diff --git a/dev-python/botocore/botocore-1.31.27.ebuild b/dev-python/botocore/botocore-1.31.27.ebuild new file mode 100644 index 000000000000..4bc7f657ecb8 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.27.ebuild @@ -0,0 +1,72 @@ +# 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 + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/botocore-9999.ebuild b/dev-python/botocore/botocore-9999.ebuild index e9f81a84520b..4bc7f657ecb8 100644 --- a/dev-python/botocore/botocore-9999.ebuild +++ b/dev-python/botocore/botocore-9999.ebuild @@ -64,6 +64,8 @@ python_test() { # 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 ) epytest tests/{functional,unit} -n "$(makeopts_jobs)" diff --git a/dev-python/dj-database-url/Manifest b/dev-python/dj-database-url/Manifest index 66f812778f4a..ef33379a8b09 100644 --- a/dev-python/dj-database-url/Manifest +++ b/dev-python/dj-database-url/Manifest @@ -1 +1,2 @@ DIST dj-database-url-2.0.0.tar.gz 10364 BLAKE2B f908a424a43b9e501a13a9f6f850eec4b773a29fa5752afedd2f41c9fc2a88fe3f2894ae0f4b2b140bc8c7c98c7671e3684b8b56d199dc9e4a1bf34f014daa1b SHA512 2a433ddfd5c959ffae23ef27aec3a46642701ad3d2cd2d20ed3bd8f7d02a69cb59c55a4f73642f52a592392667755aa75c9a0cd26bf2ca1e2f4529d92f93f6a3 +DIST dj-database-url-2.1.0.tar.gz 10502 BLAKE2B cc8a9bc396c3df363c7c8c2d0da603493e65fb927d9aecfe9670ccc687b55320ac5c0827e728049ef9030f3b1e20c53b4aaeb7173ae822ded2347c446518e5d5 SHA512 17e35b6abba45d31d58bd2f5def59f45395f0fa489f93c9c71b8405b1fcd6b7da2192649d091a6a63506e755a683b2786af377a135f675cf1145fcd8508356ff diff --git a/dev-python/dj-database-url/dj-database-url-2.1.0.ebuild b/dev-python/dj-database-url/dj-database-url-2.1.0.ebuild new file mode 100644 index 000000000000..84093509a5c8 --- /dev/null +++ b/dev-python/dj-database-url/dj-database-url-2.1.0.ebuild @@ -0,0 +1,31 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Use Database URLs in your Django Application" +HOMEPAGE=" + https://github.com/jazzband/dj-database-url/ + https://pypi.org/project/dj-database-url/ +" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest -s tests +} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 2ba9f76eeda5..6c40e91b0f3b 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,2 +1,3 @@ DIST setuptools-67.8.0-py3-none-any.whl 1093916 BLAKE2B d02bd5ccfe27c116497f8ae46603e5863c88795a489523d4cdaef3bad1bfabd5dfccf7a00f17290e58cce89a6348fbc194c00ae5ccb4c5e89a083fbb84c2cca6 SHA512 a80fc8d632ee6d1947689bb3f27ffb85206e518bf6c153ad43dd5e9f1825fa6e45d9df2baedd1fa9a8afb12a7854215bc4f56bb73d9033704745954890267c9a DIST setuptools-68.0.0-py3-none-any.whl 804037 BLAKE2B 743ab93b17f2e53e612c518d2d2fee73259dc4eef3de5ccb6587c84a91056072106d72def7189d2173c8bb53457da5b0010badaaca6a28c01aaff124dcb3bd10 SHA512 352b87cba8c4c9e1e0f14fb85a9f7c5bb3f874f09a8107c84df8051bba9d38b8da420babc66458bf2f51ef11b7089d1ecbbec4077a5982d73e1e63316a99c79e +DIST setuptools-68.1.0-py3-none-any.whl 805159 BLAKE2B 0fcf1492ce9a9d23700b2c6ebfc487f4e6be6fdd7b3a9601bb7966e06ad9f790fc5d5f96f859e28da47e1afb03e1ca73fe73d7cff53f5173b65986c05f6de011 SHA512 6d66b29a9f7a17dbb077f4f6c2626d27a17b40f9688afd22ca05371c9fb01159cd8f2e20d2d2584958343322a8a081bbf98d204fcf929ce112c71b0523525c62 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.1.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.1.0.ebuild new file mode 100644 index 000000000000..8346a1bd0f6d --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 91d65f0dda0a..c82c8497866a 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,4 +1,3 @@ -DIST google-api-python-client-2.93.0.tar.gz 10929939 BLAKE2B 67369eac89a12f212841923e2f912ce18b3ae39c7e0fafd45cbcbff3556919a784ec8dce2f73bcf91de3f2faa0404ec17719582a283120cf43d03a1513ed6c7c SHA512 41c6ef0cdf09e8c486b91490383bcb5914d8bd15a0ed486abcfe9b9121b035a2a9d9b8abeeb60ee0f6757e100618308df8967c6ace687d991ce9b609dd3b0747 -DIST google-api-python-client-2.94.0.tar.gz 10987576 BLAKE2B 11851577d05e15208f4dc8905a8147b753442ceb36ebac74b01ecb8f7993bbc1d02813d12f06fea3ec0bec7df180da4a4963899bc85479ac0c744627a5aed614 SHA512 750d55848ebe69605d4948e368ddbb590b69f579d394e533bbc81a28d21b7435b817d08092f508303725cb492245cae8b9f7f94628593d10e9574cfe79440b4b DIST google-api-python-client-2.95.0.tar.gz 11044697 BLAKE2B 1a28798146d2f321f0455dd092430cefb6d15ddc3469ba0b5ee2aab6546c4c56477379e970ac4b0eeb1a969d53a5ea002206145c046bbfa89c1b6d65dad5a2d1 SHA512 3e8419d4de8e1604365b47bc13ebb69939f2c86bc46e1e08277a3766a23f03660c25ab9113a13b6abbfee2afb4f49678144bb11c4a423c4cf05c83717863183e DIST google-api-python-client-2.96.0.tar.gz 11464696 BLAKE2B 5cec3b123ffe03f812909dd2f1aeb723ceacd657a5e3e796f358fde5c79fa274fb45a01a2857c9fbcb5431f00384792b1c3f721fafbf2c58e6732bb352539dc7 SHA512 94b59d38df431b1624192946f84229f100870c44eaa304f740dc1ff8973bf54f9c1bf59315aa826f122ec4b46c21507d4f2c5f691a18804e57d81379848346e8 +DIST google-api-python-client-2.97.0.tar.gz 11493962 BLAKE2B 243ee33b169f13e311839a3c57a4922a7ef8c09be9ffb02520580bd11b894ffa1116479abd0942503627d958f4553bc1e921a20c9ab05a4cd1386f585ca286c5 SHA512 bdbe64c3186347f111138963e70411f13ba3a8fd342cac5e93d8415093404c8ade9f53b3d81c8fb6e876095eb0016dc4efc1de9e61df1e308d6d359a3578db96 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.93.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.93.0.ebuild deleted file mode 100644 index 5e94912b7a7a..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.93.0.ebuild +++ /dev/null @@ -1,49 +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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google API Client for Python" -HOMEPAGE=" - https://github.com/googleapis/google-api-python-client/ - https://pypi.org/project/google-api-python-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - epytest tests -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.95.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.95.0.ebuild index 0c85e8ca1676..5e94912b7a7a 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.95.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.95.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/google-api-python-client/google-api-python-client-2.94.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.97.0.ebuild index 0c85e8ca1676..0c85e8ca1676 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.94.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.97.0.ebuild diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 6d930b83fe53..d636f814a385 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,3 +1,4 @@ DIST iminuit-2.21.3.tar.gz 437827 BLAKE2B 5196e896769f6312bb6ba9af8d6f03bea6023a9459ccbe8553e4c10ba5dc2ed90e4e4b57bdd104f7b72e7514a50c0d4c717c76adf206d7eaddcd3c4c54c4d210 SHA512 5e48d4451caf56688143fa4590528fb4ed0660e144dbb3d1c409b84f793593478979728b4af9748b7bbdb7063e2ef7e05476a2ecd52af089f351522aadfc9ba4 DIST iminuit-2.22.0.tar.gz 2324676 BLAKE2B e45952ee6a7f7b6ef3e1ac570abf167423c59ee82841b360278d43c4ab1e07667e143a439f7354e8257007a198c015388b9acf0a5e9aa487814d6619999eab2e SHA512 e9eda1bc7741c35bd9e9e650a626b45a2f5e4362a7c1dead57dcc461fa6e6cdbab8cfd4203c483017f8fa43e6cf1e75e074d40b92cbc3f271140d950ee4da158 DIST iminuit-2.23.0.tar.gz 2325309 BLAKE2B 05e94a0604daded06419d41dc6fa61f3aeb621dec1a84fd69d93a2028a990a6cdae72c99c2b184514003695025c70bea22340138f45abb2092775042293d8e92 SHA512 ea0b69722a75e537159fbdbd111eaf48431e0f5c355ef1256f32763873f9dfd3a1a195c45647eb4ca4be2d0532955eb5aa1f6ff43482764d3e566dce4b401305 +DIST iminuit-2.24.0.tar.gz 2326542 BLAKE2B 98713f814f9c6c58e18c0e468037717c846dce02cedeb86320d47f8515d2e6309bd0f4600e404905235de0e84b6e188c90f6b3776affe607c54df5f721035d75 SHA512 d4c439ddba950b82c5f665cffe099ea593d9f154ecc00dd23359e2fba057bb11e86b832465fbb6f19cd68717913b34f818e434205270f5292b0dc6c2237cf4cc diff --git a/dev-python/iminuit/iminuit-2.24.0.ebuild b/dev-python/iminuit/iminuit-2.24.0.ebuild new file mode 100644 index 000000000000..b8760a39f130 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.24.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit cmake distutils-r1 virtualx pypi + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE=" + https://github.com/scikit-hep/iminuit/ + https://pypi.org/project/iminuit/ +" + +LICENSE="MIT LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/pybind11[${PYTHON_USEDEP}] +" +BDEPEND=" + ${BDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/annotated-types[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # warnings caught as exceptions, sigh + # https://github.com/scikit-hep/iminuit/pull/907 + tests/test_cost.py::test_UnbinnedNLL_visualize + + # precision error + tests/test_cost.py::test_Template_with_model_2D + + # TODO + tests/test_describe.py::test_with_pydantic_types + ) + + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" +} 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/pydantic-core/pydantic-core-2.4.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.4.0.ebuild index 1cb4e1a0fa70..7281e46ab8d6 100644 --- a/dev-python/pydantic-core/pydantic-core-2.4.0.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.4.0.ebuild @@ -101,7 +101,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic-core/pydantic-core-2.5.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.5.0.ebuild index 8b9f15d208e8..0a880de8c1ef 100644 --- a/dev-python/pydantic-core/pydantic-core-2.5.0.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.5.0.ebuild @@ -101,7 +101,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic/pydantic-2.1.1.ebuild b/dev-python/pydantic/pydantic-2.1.1.ebuild index 58ef317a08c6..8b15ef54727e 100644 --- a/dev-python/pydantic/pydantic-2.1.1.ebuild +++ b/dev-python/pydantic/pydantic-2.1.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-salt-factories/Manifest b/dev-python/pytest-salt-factories/Manifest index 11ba0bc07919..90adc5396b18 100644 --- a/dev-python/pytest-salt-factories/Manifest +++ b/dev-python/pytest-salt-factories/Manifest @@ -1,2 +1,3 @@ DIST pytest-salt-factories-1.0.0_rc20.gh.tar.gz 160140 BLAKE2B 7ecd9af695626c465e5776ed218bd92f30a556394cf4af0c2b6fb87c182f8aaf2d8f998358a7eef95fae53c85a6be2d4ed5a6ff191496fcac62a97e25cf19063 SHA512 5677c6638b5dc7f90c01f2c2204e1910c2bf6ea2c10b714173d3443d4c682b5f515ad7881e2ceee66f6eaf619e399d6fa10052604fdc9c5157c58348b63c8f2b DIST pytest-salt-factories-1.0.0_rc23.gh.tar.gz 162711 BLAKE2B 28610679d7717d7a6f97a2f14a1ac838aec5101171ae65f2328d9b902d04b272c5e37f08d8ff3414af52ff7af954da24c083dfdc4afd1a9342b09cce0bf5aec3 SHA512 22d8f4a1c48a144437b9ff7d064760b59bb2a1003838e07f446a6150a77c162bffa7f21c570f796d8214d870d5b029e92abf7b0410ce19726085b607628364f0 +DIST pytest-salt-factories-1.0.0_rc25.gh.tar.gz 166148 BLAKE2B 11935c0164727968b9f2bd6f77498ea9ed4dbafd48bd6bb2730716fbcb1bb69b1ab09ef9ea2e2519368f4b6408bbb03f41fb0e52fc3cf75695f2b9c2b8d37294 SHA512 dd18688731b6bd2384abff9d739154b1ca7786bc3843d9fa8c293d1950925fff6c5820680a8095d4d5f3b75bcaeb07d8b3c7703ecab64a5f3a28bad11da18397 diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc25.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc25.ebuild new file mode 100644 index 000000000000..18ff42be00a3 --- /dev/null +++ b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc25.ebuild @@ -0,0 +1,86 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="The new generation of the pytest-salt Plugin" +HOMEPAGE="https://github.com/saltstack/pytest-salt-factories" +SRC_URI="https://github.com/saltstack/${PN}/archive/${PV//_/}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${PN}-${PV//_/} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="test" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/docker[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] + dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] + dev-python/pytest-skip-markers[${PYTHON_USEDEP}] + dev-python/pytest-system-statistics[${PYTHON_USEDEP}] + >=dev-python/pytest-shell-utilities-1.4.0[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + >=app-admin/salt-3005.1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/importlib-metadata[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +PATCHES=( +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -r -e "s:use_scm_version=True:version='${PV}', name='${PN//-/.}':" -i setup.py || die + sed -r -e '/(setuptools|setup_requires)/ d' -i setup.cfg || die + + sed -i 's:tool.setuptools_scm:tool.disabled:' pyproject.toml || die + printf '__version__ = "%s"\n' "${PV}" > src/saltfactories/version.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local -a EPYTEST_DESELECT=( + tests/functional/factories/cli/test_call.py::test_version_info + tests/functional/factories/cli/test_cloud.py::test_version_info + tests/functional/factories/cli/test_cp.py::test_version_info + tests/functional/factories/cli/test_key.py::test_version_info + tests/functional/factories/cli/test_run.py::test_version_info + tests/functional/factories/cli/test_salt.py::test_version_info + tests/functional/factories/cli/test_spm.py::test_version_info + tests/functional/factories/cli/test_ssh.py::test_version_info + tests/integration/factories/daemons/ssh/test_salt_ssh.py::test_salt_ssh + tests/integration/factories/daemons/sshd/test_sshd.py::test_connect + tests/scenarios/examples/test_echoext.py::test_echoext + tests/functional/factories/daemons/test_container_factory.py::test_skip_on_pull_failure + tests/functional/factories/daemons/test_container_factory.py::test_skip_if_docker_client_not_connectable + ) + + local tempdir + # ${T} is too long a path for the tests to work + tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)" || die + addwrite "${tempdir}" + + ( + cleanup() { rm -rf "${tempdir}" || die; } + + trap cleanup EXIT + export SHELL="/bin/bash" TMPDIR="${tempdir}" + epytest --no-sys-stats + ) +} diff --git a/dev-python/pytest-system-statistics/files/pytest-system-statistics-1.0.2-loader.patch b/dev-python/pytest-system-statistics/files/pytest-system-statistics-1.0.2-loader.patch new file mode 100644 index 000000000000..6d4751759617 --- /dev/null +++ b/dev-python/pytest-system-statistics/files/pytest-system-statistics-1.0.2-loader.patch @@ -0,0 +1,43 @@ +diff --git a/src/pytestsysstats/plugin.py b/src/pytestsysstats/plugin.py +index 4009858..3067f73 100644 +--- a/src/pytestsysstats/plugin.py ++++ b/src/pytestsysstats/plugin.py +@@ -231,20 +231,17 @@ def pytest_sessionstart(session: "Session") -> None: + ): + stats_processes_instance = StatsProcesses() + stats_processes_instance.add("Test Suite Run", os.getpid()) +- else: +- stats_processes_instance = None ++ session.config.pluginmanager.register(stats_processes_instance, "sysstats-processes") + +- session.config.pluginmanager.register(stats_processes_instance, "sysstats-processes") +- +- terminalreporter = session.config.pluginmanager.getplugin( +- "terminalreporter" +- ) # type: "TerminalReporter" +- sys_stats_reporter = SystemStatsReporter( +- config=session.config, +- stats_processes=stats_processes_instance, +- terminalreporter=terminalreporter, +- ) +- session.config.pluginmanager.register(sys_stats_reporter, "sysstats-reporter") ++ terminalreporter = session.config.pluginmanager.getplugin( ++ "terminalreporter" ++ ) # type: "TerminalReporter" ++ sys_stats_reporter = SystemStatsReporter( ++ config=session.config, ++ stats_processes=stats_processes_instance, ++ terminalreporter=terminalreporter, ++ ) ++ session.config.pluginmanager.register(sys_stats_reporter, "sysstats-reporter") + + + @pytest.fixture(scope="session") # type: ignore[misc] +@@ -252,5 +249,5 @@ def stats_processes(request: "SubRequest") -> StatsProcesses: + """ + Session scoped process statistics tracker. + """ +- plugin = request.config.pluginmanager.get_plugin("sysstats-processes") # type: StatsProcesses +- return plugin ++ if request.config.pluginmanager.has_plugin("sysstats-processes"): ++ return request.config.pluginmanager.get_plugin("sysstats-processes") # type: StatsProcesses diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild new file mode 100644 index 000000000000..2cc2ac10d39a --- /dev/null +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 2022-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="Pytest Plugin Which Reports System Usage Statistics" +HOMEPAGE=" + https://pypi.org/project/pytest-system-statistics/ + https://github.com/saltstack/pytest-system-statistics +" +SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/pytest-skip-markers[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/pytest-system-statistics-1.0.2-loader.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die + sed -e "/setuptools_scm/ d" -i setup.cfg || die + sed -e "s/tool.setuptools_scm/tool.disabled/" -i pyproject.toml || die + + printf '__version__ = "${PV}"\n' > src/pytestsysstats/version.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + tests/functional/test_syststats.py::test_proc_sys_stats + tests/functional/test_syststats.py::test_proc_sys_stats_no_children + ) + epytest +} diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index e5047383151d..0e5d4f4c2dcb 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1 +1,2 @@ DIST s3transfer-0.6.1.tar.gz 132782 BLAKE2B 30f3548d564e41023fd8806e8182427e0cce1d63bfb7ea9a50b5f9f41f2f84de7aaa7aea9f2e91729b94b665ebb79c3ab1f3abf322ec0e543bad7566fa07ebfb SHA512 7db29037719b6ddc529b0c8c38ffbd2dbf5c8e54ec581748addf859dac24d363d3d411963f9a801db83fd26341204d411d7ec513c363b4f1e3cc2e44814e698a +DIST s3transfer-0.6.2.tar.gz 132821 BLAKE2B 0441b1270adbddcabcff6a6a62128d753d6faa50f590bab4d41ebb2e89aa27c40e2036d8fd7ae59392838e79b0d8b740423cb9d585361e85433f62415978487b SHA512 2f52621fac81a9209f5d4bcfad0a861906e714d0159cb3776f5fbc1e9a4946072d4c4e969dfea2837c600ce1d0ba55c53c6c892b59950f0b910b29bdf9ab0cca diff --git a/dev-python/s3transfer/s3transfer-0.6.2.ebuild b/dev-python/s3transfer/s3transfer-0.6.2.ebuild new file mode 100644 index 000000000000..38567509ccd7 --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.6.2.ebuild @@ -0,0 +1,43 @@ +# 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="An Amazon S3 Transfer Manager" +HOMEPAGE=" + https://github.com/boto/s3transfer/ + https://pypi.org/project/s3transfer/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-1.24.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # 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_src_prepare +} + +python_test() { + epytest tests/{unit,functional} +} diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 6119f8461965..f700df231e59 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,2 +1,3 @@ DIST setuptools-67.8.0.tar.gz 2492475 BLAKE2B 37c34605a58b41e14300e389402fe6debf9eeed20c72ddf53fa798b41484d1522d2b5313c74eb69a687eaf32c225f0931f901f452aebf6f7023b2419d127b808 SHA512 5dda7082fc563ce73d810efc9cdbccb8649fef2eac52f1a902c76ab5ec67a87ff64e36e918d0e3b168f5214d787bdc22e8ef9adeccb77d8d368dcbb48f5fb35d DIST setuptools-68.0.0.tar.gz 2194111 BLAKE2B 614a1c69f640ce8d0e510c444e058fecd3810421983a03cd345e43e1148799bed7e5d53ac689a4fe3ce3174d16f2bb719236bd5442b5f06ffc7659d0f4c7d15f SHA512 da6d535a0db6eaf477c8c2148efbc2100fd88a14f3adad44d20e22bf52bee3f00fe86547ea650fe653519bd6ff5f9ef033a55bb3a05fed041e88e78cdfb81d7e +DIST setuptools-68.1.0.tar.gz 2197742 BLAKE2B 51bb614aac55dd593f49a5b34e6f31d79deea2b379c6c762e35e650e508d69119ce1e7d2ea3bfe501f41780511454e12a3a60d8fa4759a4e17cf4f2925c57d74 SHA512 827e1ed6724f1b6149515ec15528d29648041a9bb674957e2463b2424222378aeff185005c1277ff8fb4b44b5752276d99c1d9aa6d8a152ab80b2d7b1d5b5cc3 diff --git a/dev-python/setuptools/setuptools-68.1.0.ebuild b/dev-python/setuptools/setuptools-68.1.0.ebuild new file mode 100644 index 000000000000..60c0c741c330 --- /dev/null +++ b/dev-python/setuptools/setuptools-68.1.0.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +PDEPEND=" + >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}"/setuptools-62.4.0-py-compile.patch + ) + + distutils-r1_src_prepare + + # remove bundled dependencies + rm -r */_vendor || die + + # remove the ugly */extern hack that breaks on unvendored deps + rm -r */extern || die + find -name '*.py' -exec sed \ + -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ + -i {} + || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg + setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + setuptools/tests/test_extern.py::test_distribution_picklable + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + setuptools/tests/test_editable_install.py::test_editable_with_pyproject + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # fails with importlib-metadata-6.6.0 + setuptools/tests/test_egg_info.py::TestWriteEntries::test_invalid_entry_point + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + ) + + if has_version "<dev-python/packaging-22"; then + EPYTEST_DESELECT+=( + # old packaging is more lenient + setuptools/tests/config/test_setupcfg.py::TestOptions::test_raises_accidental_env_marker_misconfig + ) + fi + + epytest -n "$(makeopts_jobs)" setuptools +} diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 20e3b565f137..42c2e942fa19 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,3 +1,4 @@ DIST SQLAlchemy-1.4.49.tar.gz 8536601 BLAKE2B 2133723380b157a76f4af6103a2c68099f78d7a49ad90793d682bd6015d61a06a72ba6f02922111b60716e311ddc2f6067153f7b4b1f80329775e0d6f27a0d92 SHA512 268751b09aebd9da10fd57b4b987fa57f3c61d18d5104bb308e405aa034c74e7d5441abd94368857fbe11b8d15bb5315634f64f3b1252e7318d24107ba1fe3ff DIST SQLAlchemy-2.0.18.tar.gz 9417280 BLAKE2B 0f67e993c91cbf5fb2b5c9481e531830c24f69cb583ab0045b844048e92e57c2a9d826f098b792c0dfc807236fcb422fb800d201473e75fafc1190282d7c27f1 SHA512 4665994e4dc07b5ba0e0549cf80c0cc542c87609c74dce1e5523d4d6bfd5e1be5c7b62562e151c864a2e2a836cceb8374e804871937c738e54a1aa17297732ce DIST SQLAlchemy-2.0.19.tar.gz 9425046 BLAKE2B 258e273a1c9ec5584293d08b0cc9de8ab4076e61bbae2b914950d38e4627591e1c57250f5c28625e5d84d3db360992952a22644992ed5244d36d616f20487fc5 SHA512 d82834f4f55c2298ff16401f34326845360c58e6ba6a2e22cda92219c0fb40938d404315027f4e9f392bc57fe45808ea192f99b747e073a40a9713f8d498b22a +DIST SQLAlchemy-2.0.20.tar.gz 9437690 BLAKE2B d0be093ec796f42868352339f70e64a1a0fbd4e96315ab91b370df79882138763228bc365dceaec736f7dce1d7c6991c7d20ca7dbccb766aec78b7039004dad2 SHA512 3bc463465248f28948a1004a3c18a5dbc02af81b18b4f89155aca6a03ab582010318c3d177c3b5c4caabd49945b426d7e0f23c482aefc75eb1a7252b57241e53 diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.20.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.20.ebuild new file mode 100644 index 000000000000..409418a356ea --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.20.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-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} pypy3 ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature pypi + +MY_PN="SQLAlchemy" +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" +SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +RDEPEND=" + >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/greenlet/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + test/ext/mypy/test_mypy_plugin_py3k.py + test/typing/test_mypy.py + # hardcode call counts specific to Python versions + test/aaa_profiling + ) + local EPYTEST_DESELECT=( + # warning tests are unreliable + test/base/test_warnings.py + # TODO + test/orm/test_versioning.py::ServerVersioningTest_sqlite+pysqlite_3_40_1::test_sql_expr_w_mods_bump + test/sql/test_resultset.py::CursorResultTest_sqlite+pysqlite_3_41_0::test_pickle_rows_other_process + ) + local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg + test/engine/test_pool.py::QueuePoolTest::test_recycle_pool_no_race + test/engine/test_processors.py::PyDateProcessorTest::test_date_invalid_string + test/engine/test_processors.py::PyDateProcessorTest::test_datetime_invalid_string + test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string + "test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_${sqlite_version//./_}::test_cant_parse_datetime_message" + "test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_${sqlite_version//./_}"::test_{delete,insert,update}_single + test/base/test_utils.py::ImmutableDictTest::test_pep584 + ) + [[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=( + # see https://github.com/sqlalchemy/sqlalchemy/issues/9819 + test/base/test_result.py::ResultTupleTest::test_slices_arent_in_mappings + ) + if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[has_terminate-is_asyncio]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[not_has_terminate-is_asyncio]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True]" + ) + fi + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS= + # upstream automagically depends on xdist when it is importable + # note that we can't use xdist because it causes nodes to randomly + # crash on init + if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then + PYTEST_PLUGINS+=xdist.plugin + fi + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index de59a6f57fef..46b2810454ea 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -3,3 +3,4 @@ DIST sqlglot-17.10.2.tar.gz 8399314 BLAKE2B c9695273925485f366f155f15a741074ed9b DIST sqlglot-17.11.0.tar.gz 8399720 BLAKE2B 28a2da06afc70a510ad046d25432c2b145fc10374ecc41b78052e22ba771dc21d57503d5335839cf3c227fc53c12365f4cc2d6a4c9e1e1ccf02b71266e7e0cdb SHA512 026af3b24a2c62efee937238eaa69ebc47dd0ee8e2979cacd28a45c565dc36f3aa1e03f0fe46265a1f9c5e379eacc54f730c57b06bf80962ccb87d43893fc9e3 DIST sqlglot-17.12.0.tar.gz 8402758 BLAKE2B e563aecabdac819c55eabd678a12ee2a83f7a074eaa3d58d27503b04828233527c7320d237b699cc209f849d57d3b262a164f157fd4f24d1b125206994a45782 SHA512 d2e64e3692b93138f30904fab28490a3c9598e0201627112c29588c20889981354e2bf82ee844609d7633ea44aab9855159f294a6d711bb144ab922ed5ce1078 DIST sqlglot-17.14.0.tar.gz 8496712 BLAKE2B 5bdf3e3ffcb5da87f102cc706f52a1717abb571e30a5d780cfef7ec1f18ae987efda7728aef5ce7ba988a4340c1148a81d66048f2b6970a32404cc0970734b87 SHA512 c9058a91a3d0b763c64b5c1f2161d4bffde41ba113c76ccde5268f56b759bb63d83d92ad374a88e6e5cbddc5e46b885752f43db9c239182a7eb8e85d6401f4a8 +DIST sqlglot-17.14.2.tar.gz 8498185 BLAKE2B c556387a77aa2d5a52ce2f0ac630253ea68b9cd9426493e689e253b524643d25f1b7833e0a0970a52ac172eeced458de25584e55dc74d48e9398a02ab7f3dae1 SHA512 186011ccdbe3a3abff6dd94f31c6f2030a9a3c508569528e716fbfaffefccd9c31a508507caa8e2225582c95056e966466ba9aac95262d10152917c70003de7b diff --git a/dev-python/sqlglot/sqlglot-17.14.2.ebuild b/dev-python/sqlglot/sqlglot-17.14.2.ebuild new file mode 100644 index 000000000000..0120736dda66 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-17.14.2.ebuild @@ -0,0 +1,36 @@ +# 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 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 6ec512eb60bf..6587109cda3f 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,3 +1,4 @@ DIST typeguard-4.0.0.tar.gz 66064 BLAKE2B 250ef359fedb83df7573c9acb97f80fbf1d5b949505deb3d3757422aedadda65a106bf9533d858e13e2c49e0212a40a8604fa2edc8b24903e374a678985f4c85 SHA512 2acf8b9aabaa8d4cce75e1ff23aeae4d1445bdfc28044c74b8e96127b1e740287e5da89bd49bea92229ba5c02c7cec3b0e25126fa35eb5163b798b2087b1df6a DIST typeguard-4.0.1.tar.gz 67242 BLAKE2B bf0b092402e4044675f1252a1ad4657fa8ec316bfda5e0afcce609f616e8d86998c059544ebbeea73eb5fa627eeae9371d46581b33891319f7b2385faa359310 SHA512 2e93086309550d6b98f2087a8900797ab9486c1a969da649d1a6cb508f6154b57b6807762e87df43088f80b69bcc11f87c71d83b38ca205d3ad8878a2cd4eb0e DIST typeguard-4.1.0.tar.gz 67584 BLAKE2B d2f6777cad306410d4a536312a981600371e0e0cae224eee286e3b6bd48a0777ca587eb44b4f48fd9a2c7fe5e35d274f5d1c2eb508ed9708b25b686b395976fb SHA512 5a1a374c1b9679cf1d840a750698caea47deae0fcec8eda3312773fd8eee8ccc533030b78c8e1c8bfae6bee79c323ba421176b2c8d2e85a87444ba767891ede7 +DIST typeguard-4.1.1.tar.gz 67711 BLAKE2B e4fd162d858907afea9e4bbaed7960fb3e8728acfa921cf889ba53422d21a09e5a0811b942aa7db564cc247d43ea3dca12f9124ae4ae54e3e4d6804dc443c35a SHA512 93a9f7ae5eabee85b133024971019647b6f49eff12059fdcfbf76927585362734c9db6e9c42dcbd97d63d498fd06d240f882fe8cd08a854c2214241e3a2bd1b2 diff --git a/dev-python/typeguard/typeguard-4.1.1.ebuild b/dev-python/typeguard/typeguard-4.1.1.ebuild new file mode 100644 index 000000000000..df499beb59dc --- /dev/null +++ b/dev-python/typeguard/typeguard-4.1.1.ebuild @@ -0,0 +1,42 @@ +# 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 pypi + +DESCRIPTION="Run-time type checker for Python" +HOMEPAGE=" + https://pypi.org/project/typeguard/ + https://github.com/agronholm/typeguard/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] + ' 3.{10..11}) +" +BDEPEND=" + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # mypy changes results from version to version + tests/mypy + ) + + local -x PYTHONDONTWRITEBYTECODE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # the XFAIL test pass due to some package being installed + epytest -o xfail_strict=False +} diff --git a/dev-python/validators/validators-0.21.2.ebuild b/dev-python/validators/validators-0.21.2.ebuild index cf37e1f65945..b692ffe3988c 100644 --- a/dev-python/validators/validators-0.21.2.ebuild +++ b/dev-python/validators/validators-0.21.2.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 6306f7002101..a302424ef1cb 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -4,3 +4,4 @@ DIST zeroconf-0.72.0.tar.gz 144786 BLAKE2B 7b0a53bf76a21c716e1d4762e1ccfd0df9b44 DIST zeroconf-0.74.0.tar.gz 145447 BLAKE2B e76a88d87cb8577b776fe5afc08198ce5427da398cfcb7fea6fb778be5907b156c633fc695daccceb9988866cbcd56584a418006fa64fc162e7831886d5cdaa2 SHA512 8629befd78470206b9238810d083e91adcc575ec2ef89cc51c433de89fb18723cc43ef45550dbec184a63f1c191023cf818e1cf8eb8b49b0de68e174d4ac4def DIST zeroconf-0.76.0.tar.gz 146204 BLAKE2B aaa6e6f3c9b1f8eeb837d03178b131a001fedbe80cc28c5b3d412301a43364121111d95abbed6281a9e5576f1473ecd444b0fcb5557bb71f1d1ac4e40da7d221 SHA512 aa57a4f0f72cd162c136e5c6442c5ab35586fc7d44473078e98420ce00da53586344f2f7578542ba417bd6635b982a41bdc96eab70e1b989aef22ad0c45f2dd8 DIST zeroconf-0.79.0.tar.gz 147440 BLAKE2B fb0fb75a90a3c33dd0dfdaed55a54bcf8c58de55d04d81f94c3bc51680cd8d146cf9e6b95621268c384b92016233887096c34921aa3805d8cdde782cf6516863 SHA512 242bcf5af958edb53989e1100c0f0eb0cbeed388f4e43363021c81c02ce223c5dbda63ef389e16d5246067cd8a450b187fa2df8f782e5d190a8061e2d8dba348 +DIST zeroconf-0.80.0.tar.gz 147419 BLAKE2B 04f93331a667863f8ac5a40d156468d9ffceb010220c989b801b296fa5ad160660b2c34892b960e57f2876c823f236d91b61fe672e712e50238efe34d2c28721 SHA512 72f3d7c00474a8d31d69b6d3c5c1408cd6b4ceb4b4a6d6c80e8dbd51f90e0e9897734fb80e6b1f3cf744d2658102c58e051db52c42b89e29dc0f5fc870c08227 diff --git a/dev-python/zeroconf/zeroconf-0.80.0.ebuild b/dev-python/zeroconf/zeroconf-0.80.0.ebuild new file mode 100644 index 000000000000..bd5e3f021823 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.80.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-0.29.32[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} |
