diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-23 20:17:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-23 20:17:57 +0000 |
| commit | 9762ba3ab325d93a7a390fdd361f01b7b556fb4b (patch) | |
| tree | 2eaa26f36a29f2a1461a53c15a5b8565dbcb087f /dev-python | |
| parent | c9e8c842fe5ec28e771904bca3852d51670d3b23 (diff) | |
| download | baldeagleos-repo-9762ba3ab325d93a7a390fdd361f01b7b556fb4b.tar.gz baldeagleos-repo-9762ba3ab325d93a7a390fdd361f01b7b556fb4b.tar.xz baldeagleos-repo-9762ba3ab325d93a7a390fdd361f01b7b556fb4b.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
47 files changed, 960 insertions, 129 deletions
diff --git a/dev-python/PyQt5-stubs/Manifest b/dev-python/PyQt5-stubs/Manifest index ad56a471a427..c580d33a72fe 100644 --- a/dev-python/PyQt5-stubs/Manifest +++ b/dev-python/PyQt5-stubs/Manifest @@ -1,2 +1 @@ -DIST PyQt5-stubs-5.15.2.0.gh.tar.gz 344714 BLAKE2B 67e07fd5851748fb0f3161f82ccf699a69399da004f16daae3a3bd28c0a5ef49c91d14dfccc9b49d2071a727e3b7cff9540ffdb3c9751a341ed628dbea295010 SHA512 9b33a8f999b12e6cf73277835f72f303b243e33638c4f751ce5f6d5c8c50e30326b505f4235ea2cb09e46004186b92bc3ab320f5143a9899d99767cc0f173314 DIST PyQt5-stubs-5.15.6.0.gh.tar.gz 496888 BLAKE2B 01c0d8478783fe7ef4e460cb5b5823315dbb389ef29213ce77444fa021b43508a30c125e66d59bd28b017ee0798e7815dd2a8eff86a6ce9bf25fbe0f4274771a SHA512 76c7a94f9f949dd4d9c67fedb74aab2c9246834a6ad99fb28003e35bdad6a262b26051c17180b9a2b511e228a038e5c64ccc9885095c4239740cda339e91801e diff --git a/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.2.0.ebuild b/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.2.0.ebuild deleted file mode 100644 index 0761620edbd3..000000000000 --- a/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.2.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Stubs for PyQt5" -HOMEPAGE=" - https://pypi.org/project/PyQt5-stubs/ - https://github.com/python-qt-tools/PyQt5-stubs - -" - -# no tests on pypi -SRC_URI="https://github.com/python-qt-tools/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/pyqt5[${PYTHON_USEDEP},widgets] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild b/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild index 439fdf3ae2c7..d8af9afbbfdb 100644 --- a/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild +++ b/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild @@ -25,7 +25,7 @@ KEYWORDS="~amd64" DEPEND="test? ( dev-python/mypy[${PYTHON_USEDEP}] dev-python/pyqtwebengine[${PYTHON_USEDEP}] - dev-python/pyqt5[${PYTHON_USEDEP},bluetooth,dbus,declarative,designer,location,multimedia,network,opengl,positioning,serialport,sql,svg,widgets] + dev-python/pyqt5[${PYTHON_USEDEP},dbus,declarative,designer,location,multimedia,network,opengl,positioning,serialport,sql,svg,widgets] ) " diff --git a/dev-python/PythonQwt/Manifest b/dev-python/PythonQwt/Manifest index 982d64ce9992..1786b65c4e81 100644 --- a/dev-python/PythonQwt/Manifest +++ b/dev-python/PythonQwt/Manifest @@ -1,3 +1,3 @@ DIST pythonqwt-0.12.7.tar.gz 1217648 BLAKE2B 6c9dbaa893d6124ace07f9749d8b668fc5627269e3cabfab129fc04e3a511c971a2bd34d0bfc33da96715f7f8601e6d2d179584e8166f876296dc13d536ca710 SHA512 87af1d62e98798f5f616b7b008d704d943ae3c662b254f3243b3d9f4e5efab2f68b28c4820be6894b35852c9a5c14fa27c07868a28aacc6c9cd10ed7a674cfc2 -DIST pythonqwt-0.14.2.tar.gz 1218008 BLAKE2B 7cf8e4cb5226c8c14b97000ac46d31171d111f57eeb3ecd50948746ada015e2e54bb912a93b408f8c9a3bab80c94ff7ffa7f622f8ebdca0d78a7c376072ace00 SHA512 557fed50a7d07daaeb061578c3adb08524843fb13d20ba376c65605df63ed2bc171fc536c593f146be0eca0fe9e9705e18dacb868f33178d71b4c53513a4ded8 DIST pythonqwt-0.14.3.tar.gz 1218724 BLAKE2B e0c157167aa85b8f437b2b19fbe95524ac76168f79b536623f7311c441d68113ed931b30073598e6c0cee813f2ba73a1378caa5dddae66adfb53aed3a863313d SHA512 5fd51fd4f6e859bc5da23b2eabb5eeafa496ef6b33dce56e51a2d6abdf7184d98e390395788def8e3636938e619e6a6aee3a1b67d9c8058de960e50d437d1781 +DIST pythonqwt-0.14.4.tar.gz 1218690 BLAKE2B 91ecc9efa1855004c50639978892f0c43faa0531edb468cac3d50cdb6c792848278cbf8d5de5f500e98368c1ebfcadf8f78061cf49861021520128bf56367f27 SHA512 809fe79c9fd132c8a2173183f0b101e8c1600f95aa935dc0da2609de678abe5c64b8842b70c0d53978daf68ec36b7ccacbcc86b01e7ecce9a38425bbc48300ab diff --git a/dev-python/PythonQwt/PythonQwt-0.14.2.ebuild b/dev-python/PythonQwt/PythonQwt-0.14.4.ebuild index 6e18aceda0a0..6e18aceda0a0 100644 --- a/dev-python/PythonQwt/PythonQwt-0.14.2.ebuild +++ b/dev-python/PythonQwt/PythonQwt-0.14.4.ebuild diff --git a/dev-python/bincopy/Manifest b/dev-python/bincopy/Manifest index 8cef475d4fe7..70156d83c9a8 100644 --- a/dev-python/bincopy/Manifest +++ b/dev-python/bincopy/Manifest @@ -1 +1,2 @@ DIST bincopy-20.0.0.tar.gz 750646 BLAKE2B 89f57cbf314aded9d9ac0d1ef51d1c7ed0f7e6aaa65236bb8daac72f98518b30974f62854f6dc64145a6615d636cddebefb8a09c42996ef33f6e64cb99fca486 SHA512 05cc54684c951ac209fa25ebdc2f60566ef93248cfa298439a2a4f6a4174e02f47476573aa580ae2d1e4b8e16e91ee8c4fee2097c375ca2c079dbbb0602b6153 +DIST bincopy-20.1.0.tar.gz 750857 BLAKE2B 4d933a884e641ebac73d18e161775a54bdaff21f6a74f045f10f3de307b8ff21752750662b8197d35a996c906dd4bc73dc76c29c93ee8471b70aa85d7e3c85b8 SHA512 421a434fc806447814945941a71cddc499cd9ddbee290af0065f36ac3dc00df2aefa397023f20c0b4ecac1be781494cbf1357e42b146ce8ef6aedf829c45f075 diff --git a/dev-python/bincopy/bincopy-20.1.0.ebuild b/dev-python/bincopy/bincopy-20.1.0.ebuild new file mode 100644 index 000000000000..ab3b934832fc --- /dev/null +++ b/dev-python/bincopy/bincopy-20.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mangling of various file formats that conveys binary information" +HOMEPAGE=" + https://pypi.org/project/bincopy/ + https://github.com/eerimoq/bincopy/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/argparse-addons-0.4.0[${PYTHON_USEDEP}] + dev-python/humanfriendly[${PYTHON_USEDEP}] + dev-python/pyelftools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0bd37ad1df45..a0bc3d62a7d6 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,3 +7,4 @@ DIST boto3-1.36.0.gh.tar.gz 923064 BLAKE2B 3e3afd985492be0e0a1bd2e66b1a645ab0f25 DIST boto3-1.36.1.gh.tar.gz 923135 BLAKE2B 7935b58d3a5815ec5e34541981d18c82400e0ba31b27956106d408732887cc8be560831b6aa4397fca91d1caed19f6a03b0cdf13a47735119c5d9246ef237b40 SHA512 b0c5ef5d34068290d4de7e546131f0ccfded90db61f4e480ed98627bf7a649b07311d3ebff85d4782bd46fd7749ef3ac90fd7530f8d9bb035f6a5bafcb8ed38f DIST boto3-1.36.2.gh.tar.gz 923432 BLAKE2B 91f19eb6e1451923adbf323688d89cfadd384009fbc3fdcae688b48dee54d9a3f14956cedaed07b15f2cdc3badaf0533a6ec1e1baf5cedc88e91580104834eb2 SHA512 e9e14f4aacd0814952198d5446050f0cf822baac0b3ce3604c40dbb6b122c431624b46b144ea4699be7328f6236e099981905a4be6a9de3400750800d8d40e60 DIST boto3-1.36.3.gh.tar.gz 924862 BLAKE2B 62b42a498a3d75f988d155ae6263d6e736785566217644c9435af5e89fc8e4e7e64559f58ab8ab113107172b23fc7935fdaa554fb8c3632f69dc0901048e4505 SHA512 39202187a7a643d9b9cac8aaef14e9ab1834e14d0ae242e15342fdcf8e055529dc8b2ffd585126b0b69b8bcd0e5986cc8352d9f93fbb20ca8d543b709e9be954 +DIST boto3-1.36.4.gh.tar.gz 925176 BLAKE2B fccd1bbe23180d7c0b3aa5ace72534d715e2887d370180199004982e32c80c4c71ba0637f565e2b85e95718e66574dd099ba88f9533db2955a281d505c2a68a9 SHA512 b6036cd3a1150558589ee7c3f28b1e673d15079a3f57579b45e9fc63aee54f5b1200e05a24ca8e8d5a291ad52c028c890f74f63e5191b19ed8208d05cbedfd7a diff --git a/dev-python/boto3/boto3-1.36.4.ebuild b/dev-python/boto3/boto3-1.36.4.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 26862cdb810a..c9e444380ffa 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,3 +7,4 @@ DIST botocore-1.36.0.gh.tar.gz 14191030 BLAKE2B 32e34c717fe5d2161c92380010b8f993 DIST botocore-1.36.1.gh.tar.gz 14190157 BLAKE2B ff3c5ef62d6eb7c3907187ccb29bedc4515456d1d50fe3169d27dfd6e8374d953a33761dce0958131fb8d25681be3dfc3b07495e0082292a278695199a93d1bf SHA512 cc50a7b84c8002dad65434899958ef07b0fd9368efeed59d1419580c96824a0e4f34edbf39668138a200169cfdec3820d5ce669b8e0aedf498c7c45497efc127 DIST botocore-1.36.2.gh.tar.gz 14197789 BLAKE2B 21441cd52052d117ce05e425c13f34941dcc1ca26a03e2e7eefb6c82584d7faffb548435ebb6b716b72db8149cfe6a3378b79f9174c676fd193c194501b0c844 SHA512 45d9515c493b238a003e5ad264b152b68a62e7ca140ea13111865a4b7c674a7b309a0f550f9782c37966b95c114136b8788f00ba0c83ed4bc61521b593376594 DIST botocore-1.36.3.gh.tar.gz 14202092 BLAKE2B 8760e2afcd12b0982dacb9815bf8030c5dd1b43c27b53bfd0dea558e9f92cc655dc94c39df47a2d130c43103b7a6249585f764169d9d6c615d4392969a2e071e SHA512 fa80cdb2231497d96878719df8307812ac0ec4882c10da27f2ff19f30eed0ca51751e0394b2416bbebb20b8eaf5b3bbc089bffeacc36ac427e351081b7226823 +DIST botocore-1.36.4.gh.tar.gz 14204777 BLAKE2B 8a21c35240f272bbf4eacdd5da2ef6b6d65c761ad0c5363311750c7f3d30dd3d0762b0b769055c78ef4778e372ad352d486e098d225fa58eb4dfec1c0531f0df SHA512 55705e9cd0828fad15111e47e7514c2838684bc0a4afdfc529c00a8d30acecf9a535b809e23943f657321a7bfbc5c27f804c5cddae4fe015e636d9f343ae90e7 diff --git a/dev-python/botocore/botocore-1.36.4.ebuild b/dev-python/botocore/botocore-1.36.4.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.36.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index d9a94d18d03e..478af9769d31 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn_lint-1.22.3.tar.gz 2700564 BLAKE2B d1bfed3fda2d5133919396a54257ad484c3c7fd50b1a387e94eff404f9b8175135f0f39455bc45b69c8112e2f2c57eb055d7b2c879415bdc4abfdad74b7bb34f SHA512 45502d913488784ff8e355a24317cce42fc7df39b3afd80b8fc170c9c5b7e6191f3ff41a460e8bb0277d1c21483aef8addb41d60fe2e8e5d13058aa85fefcc84 DIST cfn_lint-1.22.5.tar.gz 2722622 BLAKE2B 147f1ec4543a2e54c6b6652b439ca4dd870aad44532a71bc75564bcb71e1aed0258b0387e3be57ef2c8059343cefaf2fef1af02b9442c37347987c018c9411ef SHA512 772430a958e53b90c529311a6f90602de7c2ced9d86840907a9c1e612f18db456c6678d2de43b3bee2e3498cc71b238e2ab8564238aef4467cc285c52ad3a6dd +DIST cfn_lint-1.22.6.tar.gz 2734354 BLAKE2B cda53c8500de713af87c2ad9a1306869c8305cc26389a3e01403d6df0e1a0d4c4014811135712bfa2af54f6333a25c5687c8d5b9c163f4798b394e29a4644622 SHA512 7fddd9ddde5eca7b68e838535ce8a0a0b4d50807467cecb3c51e78736a0c49f85a81608481b7f89b972222b08530b4f29ae8023bf5cdbd70bc79ec27782e9b11 diff --git a/dev-python/cfn-lint/cfn-lint-1.22.6.ebuild b/dev-python/cfn-lint/cfn-lint-1.22.6.ebuild new file mode 100644 index 000000000000..3ae37d5581a5 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.22.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.94.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index d437483fb0de..5853f01d7ec4 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1 +1,2 @@ DIST executing-2.1.0.gh.tar.gz 980727 BLAKE2B 0d7a3f0a7e83a1607fdc5bd618b7484bd2eb27443568ee6542d7caad050ff7f5a2ddf71518d434059bdc5f17bff81badf393b91628754b5d6b8ec5a4dbe8146a SHA512 0918ed3eca37d55a1c19b20a959538c46d65688979e0808270b7060a25d3db44bb593d2f8de202740af9f008f273e1e7565ba5b20b90c678e070b52a12bed4cd +DIST executing-2.2.0.gh.tar.gz 981774 BLAKE2B 81fb081f3835b8d389ac90fd91db769d0e7171e99b05a3e7ba0edb2910fed0fcd26ff24c6b84bece138de93166571df09c85d47eeec816806c47b816d7b12b96 SHA512 e8f6a399e57519149a15ae84c1d4a01c7cd6fdb81415939ef66f19a4abd9bf2ddbb156a9f59e95328a26504b8f8775a48e8da44af2027dd4763071b1997b8b84 diff --git a/dev-python/executing/executing-2.2.0.ebuild b/dev-python/executing/executing-2.2.0.ebuild new file mode 100644 index 000000000000..10f9aad99448 --- /dev/null +++ b/dev-python/executing/executing-2.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Get information about what a Python frame is currently doing" +HOMEPAGE=" + https://github.com/alexmojaki/executing/ + https://pypi.org/project/executing/ +" +SRC_URI=" + https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + "tests/test_main.py::test_small_samples[22bc344a43584c051d8962116e8fd149d72e7e68bcb54caf201ee6e78986b167.py]" + "tests/test_main.py::test_small_samples[46597f8f896f11c5d7f432236344cc7e5645c2a39836eb6abdd2437c0422f0f4.py]" + ) + ;; + esac + if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_ipython.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature "getting node's source code" dev-python/asttokens +} diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest index 2c22bdc39438..597c21300dc1 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -1,3 +1,4 @@ DIST faker-33.1.0.tar.gz 1850515 BLAKE2B 71ff6e379f195f220af96562daa1876cd0476f321bb881091929b82ce576b30aa6aa11444411eb5cad30d1922fcfc940012f8b3cd36d074defd3336eac5f8a4a SHA512 0a24af11d64588de2a6c22844efcac11eeacc74faf439e4c0e4bca2cd8d3723177d8fdf5e3b0c6286776e659e38397cea80024ffaaae09c17067ae9b13ea983d DIST faker-33.3.0.tar.gz 1854655 BLAKE2B 6a877f7d39b9174285cf406d343a2fbfd204eb0648c9964819c9eb0a4c77b866a846e2c6142221d28ef04097ff9a48971d5ea2ed5f93862a3f4bac77c6345959 SHA512 137082c70e37a863a27f1e0fb5ff807a6b8072fc71c53b1f7ace45f19e98398cfe7a7a419f39bd113755ab50939aa6b5991508015e990f18039d4cd61d397964 DIST faker-33.3.1.tar.gz 1854895 BLAKE2B 15862330622cd257b0d663a67df4141b3673d077858a655def54152878ba290cb0c3480b0dfb40b2c69ac7481b827ac62827545bddd1edc97a1c5e55af35aad4 SHA512 48e1be12bdbcf12b4da44ede6bb0cd3a8937308f50e4145bbaf1fc80a3fb51dc430e03b5c4bf9a99fce66ea5cac9c5a8e806d036e4052588971ed264c8c472aa +DIST faker-34.0.2.tar.gz 1855985 BLAKE2B f05d6588efad674391fc63d8c11d618193e33029b15d372e1c6ecb626fa39b628e7fcba43070087c824d17d6580b9362c19909560d9e87a989d8876126d6954d SHA512 dc5b2b135402a1392d9fb671c9c37030f4ea78008e47bed1b9dc02579a2a8251c9a4022263b36c1cf3286945aa14f9a81b0d16494bfca6ff6a41fe9cad5a0d49 diff --git a/dev-python/faker/faker-34.0.2.ebuild b/dev-python/faker/faker-34.0.2.ebuild new file mode 100644 index 000000000000..d9c6380e1486 --- /dev/null +++ b/dev-python/faker/faker-34.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 693ada68b9f7..9d5d85a0c604 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1 +1,2 @@ DIST google_auth-2.37.0.tar.gz 268878 BLAKE2B da39fd1909ce93a212a71624e925df2dee753765718c5a7bb4a5ca5115dfc15c0790eeaf77d52ead7bff795f2bf9d2cfa12a6cd8cdd964d63f0dbf7d47e27b82 SHA512 08f194c99077a230845857e98ac8c4eab3ca086a288be9ce1031c9d3f6a5b40cb4fe3305be6b822b27561e4e7b0c0a144e9888be5a95ebe06de42d74fc911756 +DIST google_auth-2.38.0.tar.gz 270866 BLAKE2B fe21c52c00a9a515d250644ffcff593c4dae55f326eae917f9fac1864b5f595a60da753e9c96e2c2fc15dfa1623f97b4ba5ebc069b3e0f8e2f7963db2e35909c SHA512 fdc771a6b3ff2912ec5c7b6efeb84b4faf9f429caea4ecc76473515a74a73c0a3e2d78bacb96725f6e2c8170292208ae8b4fb4f790e874cf3e2a3f5b221451bf diff --git a/dev-python/google-auth/google-auth-2.38.0.ebuild b/dev-python/google-auth/google-auth-2.38.0.ebuild new file mode 100644 index 000000000000..a4a3491f852b --- /dev/null +++ b/dev-python/google-auth/google-auth-2.38.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # tests are broken with up-to-date pyopenssl + tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success + ) + local EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} diff --git a/dev-python/hpack/Manifest b/dev-python/hpack/Manifest index 6b5558390e71..e2ba26734491 100644 --- a/dev-python/hpack/Manifest +++ b/dev-python/hpack/Manifest @@ -1 +1,2 @@ DIST hpack-4.0.0.gh.tar.gz 5301419 BLAKE2B 0164f6aafc0d1f17f6c397efe710503a22501faae3c7dbba4e57ca2dc76e4d373bc5e65bf55acda8bc61975d12f8a2084de0e0c4587539e5a3102e3cf66d562b SHA512 f482d086d7a82649393e3cfea55c98966ce57055cb1826bc4dec1ea334661c02708e7903f2e8e588ee1c30df41373e1de9fb960c2e7bbc18d0ace0b8f97b195b +DIST hpack-4.1.0.gh.tar.gz 5303243 BLAKE2B 3394c4142f5fdb32fb466e96ee96be7a41fc867a5731b73338262498538d6f7d47c2864c4b8391b599001e996fc1218dec1e4c1dbda325e90248a265161ec463 SHA512 10018fefae7e09078c0133a3519f18f72bd39f31d652f224d2ca2a780e2f18c51c7fc4589ae540e3130909a6b3878e0ac2ce8a5dadc98ce93bcf8af201989544 diff --git a/dev-python/hpack/hpack-4.1.0.ebuild b/dev-python/hpack/hpack-4.1.0.ebuild new file mode 100644 index 000000000000..b198321c992e --- /dev/null +++ b/dev-python/hpack/hpack-4.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python HPACK header compression" +HOMEPAGE=" + https://python-hyper.org/projects/hpack/en/latest/ + https://github.com/python-hyper/hpack/ + https://pypi.org/project/hpack/ +" +# PyPI sdist is missing test fixtures, as of 4.0.0 +SRC_URI=" + https://github.com/python-hyper/hpack/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hyperframe/Manifest b/dev-python/hyperframe/Manifest index 8881616826eb..fe13b1d02f15 100644 --- a/dev-python/hyperframe/Manifest +++ b/dev-python/hyperframe/Manifest @@ -1 +1,2 @@ DIST hyperframe-6.0.1.tar.gz 25008 BLAKE2B c5cea5b54fd9ecfc0d619c07c484cdd1e2813c656120faadf3f1b61739c608b43d19bd7527b221ad25ea824da05b5747d38f3a6e27d058c1030cce2c4069f10e SHA512 2a5101b2e91e047fe39b32f81a1a8b2240c371fed28a5e1581e743371418388a7dfb55bc819c46a45804e7f00a5231ca54c92aa1b5b41ffeb714b8cb3ac485ca +DIST hyperframe-6.1.0.tar.gz 26566 BLAKE2B d6f53a872ec5ebfae5b1f16984db06386e3f6fa32ab3b9b590592490d7666ce4601c05a4c4f7279aa09656e85f7ff5cb182b256cd7e9b0982cb0992c3a2f70ef SHA512 83a986f0cf3e2a84fe7a2c907758e75be744aba7dfe03173ee6bcbe4c5e5a92a2b5e90d66c76c14a05ad4b342d02719a998600670befe7549a0a1edf0c7dd024 diff --git a/dev-python/hyperframe/hyperframe-6.1.0.ebuild b/dev-python/hyperframe/hyperframe-6.1.0.ebuild new file mode 100644 index 000000000000..7533a8352650 --- /dev/null +++ b/dev-python/hyperframe/hyperframe-6.1.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP/2 framing layer for Python" +HOMEPAGE=" + https://python-hyper.org/projects/hyperframe/en/latest/ + https://pypi.org/project/hyperframe/ + https://github.com/python-hyper/hyperframe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/josepy/Manifest b/dev-python/josepy/Manifest index baceee45c55d..36413953f4dd 100644 --- a/dev-python/josepy/Manifest +++ b/dev-python/josepy/Manifest @@ -1 +1,2 @@ DIST josepy-1.14.0.tar.gz 58794 BLAKE2B f7f6568dd3ffceda2a15297c26cee84efc88cfb666a6edacb6528fe77404a21fc5a77e691eb4260bd9c52125092d3cef3cbf76195f9a9f9800804020d18eea55 SHA512 e003916fb6c8d0907c5b63a20a37f167ca720d377f4fbb434884cc0d50c63aa100ff62ca753615b810b9874f4f95249f9c7c7fa03fa25b1449d2e5a9d4f7f167 +DIST josepy-1.15.0.tar.gz 59310 BLAKE2B e47d6cc49d482a60d3856cbe81ca44770019f91e8de416f63162600e0024e635fa3a3b2f1bbb3b16d0273ab4673d89d4c186ed67bac2017bf0b43992613a3802 SHA512 92799e9230f64e7ef37c749cb68c293d1b97e2e14c94e045564e45402ff3363af4cca95a7bbf599821cf7ad9317ca31add6868d3bdb3699ee9c171b415a02e48 diff --git a/dev-python/josepy/josepy-1.15.0.ebuild b/dev-python/josepy/josepy-1.15.0.ebuild new file mode 100644 index 000000000000..cc24a580d439 --- /dev/null +++ b/dev-python/josepy/josepy-1.15.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="JOSE protocol implementation in Python" +HOMEPAGE=" + https://github.com/certbot/josepy/ + https://pypi.org/project/josepy/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cryptography-1.5[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # I haven't seen a single switch to poetry without major bugs yet... + sed -i -e 's:^include:exclude:' pyproject.toml || die + + distutils-r1_src_prepare +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 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 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..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>pastalian46@gmail.com</email> - <name>Takuya Wakazono</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/marshmallow/Manifest b/dev-python/marshmallow/Manifest index f4d42024eb40..fb056b7c0119 100644 --- a/dev-python/marshmallow/Manifest +++ b/dev-python/marshmallow/Manifest @@ -1,3 +1,2 @@ -DIST marshmallow-3.24.2.gh.tar.gz 184933 BLAKE2B 0b35eee9c70583875f01d9694322ade0945f1b4e9ef4858e18abffe9dcbe68a6a05eb1d9ff4a9366910ded32d6ce18bf0b948db6344fffb3f62d1e2b3cdf9983 SHA512 250497e3fb6b32f4ef103732c2231659db63fa2f7a2c8173b31bbc8a5d40a67cfabbec03af72187f99d92e6c659a6b9ee699fc2a4ff052874eb41cdfb28b7626 -DIST marshmallow-3.25.0.gh.tar.gz 185182 BLAKE2B 9e560ec5b7a4f1a34d37bbf544edd3cdfdf59ce8bf3fa73a5bd15b85eaecdc59130892e42d91f668230505a7aa3d94527282e7bf2f39097389bf8aa795ee4e6e SHA512 b00e9a13a3ccf08baeb8ad85f2c68462ddecb891d76a8e91974d4cebda63c1299fc3a7bd1d41fb7b7fc73b0eee4831630bb6023b68f3f288e86d566f04d7e533 DIST marshmallow-3.25.1.tar.gz 217295 BLAKE2B 73f6b1e7430f44bc3ea70c35ae5f5a3d219d6a89b53785ab7c32ec223714cd085822f3f41fef10e5af602ae64fab26d67ba49c2f7ef1f3ac24e8c406e3e18ff1 SHA512 7f67ec90ce4b8933d8e6b3aaac66de314d249b314cde85c2489644271426624136334daaea4aabfda638cb156bcbaf685c9a10e5fd7ecd7f008a0d4bd5a6a72d +DIST marshmallow-3.26.0.tar.gz 221490 BLAKE2B 72421900002e9c2793c3f27aacbad514d75247e6af6429deec5f9eb7a9ea46c1d2c4d393b43d4ec129b7dfdd60dcde1deeed63ca6851a909f511eb60863f94cd SHA512 6419da36379a5f62978bb66b2b0f12d22dac5b6898ef04c062f529b4327bea9de8ad004325a33a3af035d066e34a6c4ba0f5621388420450023b69cc0a8f9b41 diff --git a/dev-python/marshmallow/marshmallow-3.25.0.ebuild b/dev-python/marshmallow/marshmallow-3.25.0.ebuild deleted file mode 100644 index f37c7dbe9489..000000000000 --- a/dev-python/marshmallow/marshmallow-3.25.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="A library for converting to and from native Python datatypes" -HOMEPAGE=" - https://github.com/marshmallow-code/marshmallow/ - https://pypi.org/project/marshmallow/ -" -SRC_URI=" - https://github.com/marshmallow-code/marshmallow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/packaging-17.0[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/marshmallow/marshmallow-3.24.2.ebuild b/dev-python/marshmallow/marshmallow-3.26.0.ebuild index f37c7dbe9489..1fe5c6c67a45 100644 --- a/dev-python/marshmallow/marshmallow-3.24.2.ebuild +++ b/dev-python/marshmallow/marshmallow-3.26.0.ebuild @@ -6,17 +6,13 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="A library for converting to and from native Python datatypes" HOMEPAGE=" https://github.com/marshmallow-code/marshmallow/ https://pypi.org/project/marshmallow/ " -SRC_URI=" - https://github.com/marshmallow-code/marshmallow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" LICENSE="MIT" SLOT="0" diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 43a4ae3426cc..dec165612924 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1 +1,2 @@ DIST mpmath-1.4.0a2.tar.gz 2079112 BLAKE2B 9d2d99dddd4e800b3860f38ef1955b7d803c928d54a7e5d7b07386a127c5a6477818e3ac5c9f679f596c7a2c21bbf430f0bb2348c70ab77d6a888cfb19c6a218 SHA512 523775f3e7d96fd9e0d2c5e4caf855f62d0b683ac00df9dce4fd50d8764bfcf77282fdb34afb51bc53bb303178e7f0e8b6d72700e530d3ca11e3d365b09fc4de +DIST mpmath-1.4.0a3.tar.gz 2079258 BLAKE2B f57e4603758f8aae879e9e61d42f11303eb3f81c02ee51ea54260ce26fa49013f41c7f6f7d97eea6489c42d490ae4f423c3d7f79052972d6b089fb8a03d47aa0 SHA512 8fd32e98beaf2382a2ec8a92df2a097f2101e746bd3e821b92183b6be560b0fed30daeb0b93d459fad62bea29c425ed142055819a346629d385a1426fb00e611 diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha3.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha3.ebuild new file mode 100644 index 000000000000..71afff46b64f --- /dev/null +++ b/dev-python/mpmath/mpmath-1.4.0_alpha3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE=" + https://mpmath.org/ + https://github.com/mpmath/mpmath/ + https://pypi.org/project/mpmath/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/gmpy2[${PYTHON_USEDEP}] + ' 'python3*') + !mips? ( + dev-python/ipython[${PYTHON_USEDEP}] + !hppa? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + ) + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # minor whitespace mismatch, apparently fixed in pypy 7.3.18 + mpmath/tests/test_format.py::test_mpf_floats_bulk + mpmath/tests/test_format.py::test_mpc_complexes + ) + ;; + esac + + # CLI crashes otherwise, sigh (not a regression) + # https://github.com/mpmath/mpmath/issues/907 + > "${HOME}/.python_history" || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p rerunfailures --reruns=5 -p timeout +} + +pkg_postinst() { + optfeature "gmp support" dev-python/gmpy2 + optfeature "matplotlib support" dev-python/matplotlib +} diff --git a/dev-python/mrcfile/Manifest b/dev-python/mrcfile/Manifest index 12a3d33a23cd..040089477f80 100644 --- a/dev-python/mrcfile/Manifest +++ b/dev-python/mrcfile/Manifest @@ -1,3 +1,2 @@ -DIST mrcfile-1.5.1.gh.tar.gz 148148989 BLAKE2B 335a30b5e69bb4bb0348da421c721d27dcf6d1b1d1ab37bd2038e57c5c7499348e9bd183aa5b21280a8009b68e64cec03b08bde4ff3509084873ebffa2fd3b1a SHA512 8553c435c640d814b26f14253ea8954ddd54fab737879e53714cee0be77b9a929e870d2c49a5244c49b9261e2946fbfb0ac1294af6cd3888c6884d476af3ad7a -DIST mrcfile-1.5.2.gh.tar.gz 148149005 BLAKE2B 6ea599aad553f9a1e8b794a133502f440432e6cdb65aa8c906148dad5c10c63d4905f52665b4b1875be474e32d08a761c3faebec38f124b9a20862adf66ceb52 SHA512 0db3c0a0e641166e0fcea52202b9435212c1ddc0e0b3040f0830b61da86c1d51ac102fbd08039d0ae74724723122156f2db9f68fbab095eb365a7de68b8acd11 DIST mrcfile-1.5.3.gh.tar.gz 148151409 BLAKE2B 5b89fa64db14374ad8e5589c415102e278f8ef1de3bc1bb6eed121002d5037b40d1a92a95795e011382dfa7e98b4c5607a5d27875f46bf4a7fb1fd4c703f866f SHA512 44747d5d6479994fd99aa9422d20e732557d3116d0f8a7f03e28a79b6832702428e0a4238b73181c34d973cf618f90d47c2011d1f18099cff6a76baa0694747f +DIST mrcfile-1.5.4.gh.tar.gz 52054331 BLAKE2B b8b322a75be8efadbee142656aa0652239f2006edaac99dabc59f2a896065ca9a8538377fa6843af9c2c383280d0aa6b1bcf2ecf57df252efc8b51eb73d67161 SHA512 d6e0f97ddc75ae46ab511a1efc6ad0d28f36201cd9d44af77bdd87456ee650fe28822ce0d43ce988ffb440280dc4f70918a61f1a906e11f14f338831a0690915 diff --git a/dev-python/mrcfile/mrcfile-1.5.2.ebuild b/dev-python/mrcfile/mrcfile-1.5.2.ebuild deleted file mode 100644 index f2db48d5402c..000000000000 --- a/dev-python/mrcfile/mrcfile-1.5.2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="MRC2014 file format I/O library" -HOMEPAGE=" - https://pypi.org/project/mrcfile/ - https://github.com/ccpem/mrcfile/ -" -SRC_URI=" - https://github.com/ccpem/mrcfile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest diff --git a/dev-python/mrcfile/mrcfile-1.5.1.ebuild b/dev-python/mrcfile/mrcfile-1.5.4.ebuild index f2db48d5402c..404830622114 100644 --- a/dev-python/mrcfile/mrcfile-1.5.1.ebuild +++ b/dev-python/mrcfile/mrcfile-1.5.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index c44471f804a3..602fb68c2e10 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -2,3 +2,4 @@ DIST pyglet-2.0.20.gh.tar.gz 6507362 BLAKE2B 43d1d60922f84e05da59ac970516fe33df4 DIST pyglet-2.0.21.gh.tar.gz 6507374 BLAKE2B a75177b5d6d18b29f48c764d68f89377f11a817bd6d7c5c13f8ea1620e1d9b911127599a9c7ff02ae8b10566724be551dc87f1b8f0105ef938afddb4be4efd5c SHA512 adbfac15fcc75d1dd768ef4af14f15fabef53a69b9f166691d387ebb1ba092170052bc99b254f3596decedcdc7e7880074665177f1821af9fca41e21502b7003 DIST pyglet-2.1.0.gh.tar.gz 6533224 BLAKE2B fed9421ae153f2d117f7ee5b136dab747e84c859383e6e12e5cdac7d9f3fa0476e33762a4a161f46cad087a791007ceba6e80706150a98079d5f2ba96f978128 SHA512 c13ac90600711b134b4770a8cb72e639ed440db79046585139b7ada92f35432b2357204d6d7e95ee457fe921dbce2c384c80a024bb44e7eae2d3ad69543343c8 DIST pyglet-2.1.1.gh.tar.gz 6535792 BLAKE2B 012574c472b5f7ec280bf15ad03a668733637890913f7bc555d2f2cf1a0c0232bb08b68605bb70ae13ae9738e4e0322660200bcd0b6a1248835bdea17f60218f SHA512 77dfd1b43e27c08fd9765bd266d04ff37e408868ed64cbb5e18a7906da5f101b1a9cbcf7861de89a97d1884d5d9c25478261c8e91fc7b437caadd242d3103a46 +DIST pyglet-2.1.2.gh.tar.gz 6535497 BLAKE2B 96195c8bf42d09bcf0ead5e1541ad93af56d8b5d63d88c472b4c5e32f587b40f158b3e84028eb8449ba32500a9585d6dc3ebf85054909b4df7d9ad358f264237 SHA512 d8c3d64ba9fa8d34a5dc52fe6010af2eea6effd8f9d1297c879979c256634317e391035a24e577b903f1be4635513446ece156277010e42b417796434c6e35de diff --git a/dev-python/pyglet/pyglet-2.1.2.ebuild b/dev-python/pyglet/pyglet-2.1.2.ebuild new file mode 100644 index 000000000000..21d1ab26d6c5 --- /dev/null +++ b/dev-python/pyglet/pyglet-2.1.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 virtualx xdg-utils + +MY_P=${P/_/.} +DESCRIPTION="Cross-platform windowing and multimedia library for Python" +HOMEPAGE=" + https://pyglet.org/ + https://github.com/pyglet/pyglet/ + https://pypi.org/project/pyglet/ +" +SRC_URI=" + https://github.com/pyglet/pyglet/archive/v${PV/_/.}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="examples image +sound" + +RDEPEND=" + virtual/glu + virtual/opengl + image? ( + || ( + dev-python/pillow[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + ) + ) + sound? ( + || ( + media-libs/libpulse + media-libs/openal + ) + ) +" +# ffmpeg? ( media-libs/avbin-bin ) +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/fontconfig + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + xdg_environment_reset + + local EPYTEST_DESELECT=( + # lacking device/server permissions + tests/unit/media/test_listener.py::test_openal_listener + tests/unit/media/test_listener.py::test_pulse_listener + # fragile to system load + tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume + tests/unit/test_clock_freq.py::test_elapsed_time_between_tick + ) + + # Specify path to avoid running interactive tests + # We could add in integration tests, but they're slow + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index d74e9f3a990f..b058cda790fc 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,2 +1,3 @@ DIST pyzotero-1.6.4.tar.gz 540642 BLAKE2B b0784892a7c2534e828e88f3dd10f995f733f4095b620e1ca6a10e6e0c088db6dcb5733268f621d8bf2450f17ff04dc174a58262b8aea85069f8ae4761263475 SHA512 2901e26db33f0a75e19e0bb6e2e734fae6a9ca9ff888203ae69793fbed47f76aad59246a7cbccfc68435b8f911a0e574832bf6cd371bc62e7a19528e3275ff04 DIST pyzotero-1.6.5.tar.gz 557008 BLAKE2B ef0984e6baa21d2d35c6a9ea44aa3487124274ff81f051002c3cfda97ccf75d04f789de324d0a9595d867efe08ddb45b76c8a8dc3d53899220fb57df04b7ca7b SHA512 b6678ec47757c73241093afc9cb7556d90cd7566c0c877169ba3dac9466293d931294f08f6843a11f45584b3f9b20ff12b08d9359c9341cf3fad02ea2573d998 +DIST pyzotero-1.6.6.tar.gz 541057 BLAKE2B 971b46b444a3e09cdfb8ca343f35b1417a5c62edbfe1036332e1d67544287eefe81c33147690be1b7d33e7409b48671da7bef44f2c6289959a4855bc3455177f SHA512 26ba93d9047bcc47ca9317d7045fe7b06fcd0ba4c16a469e955ade74126783a647a959b549175ccc2d520b9aca8be54e4e021740d69cd7b2233a60d038bd58fe diff --git a/dev-python/pyzotero/pyzotero-1.6.6.ebuild b/dev-python/pyzotero/pyzotero-1.6.6.ebuild new file mode 100644 index 000000000000..a2fab60b0da5 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.6.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="BlueOak-1.0.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 5aa5b93795f2..5afe62f8066a 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -10,5 +10,6 @@ DIST uv-0.5.20-crates.tar.xz 53845912 BLAKE2B 3ebe6099304f4520cba49bf36a7b900146 DIST uv-0.5.21.gh.tar.gz 3260658 BLAKE2B 064f52d4c690d2992988ca1683ce2c5183c2662961b931519b84651bebedff90a5b64fd87052b79c591b62a8fa07691997c38cf2b636e9a0facfb5683e64627b SHA512 351bf2a76cc0ec10f254f9eab0df0c0f307594a7052388e3b793c8314d9119488c2ebaa20125021fe0bf54192ce17d7e69719832c17aa4c815a5d9d69521e225 DIST uv-0.5.22-crates.tar.xz 53858800 BLAKE2B c5b6ee71e1e8dfbfa053f6c0d29515c8a16d4bc16c8625f8890ca4f62b603230981c872bb9e9a3cb8960105f6c0ba5331c97a373d3242ea17c5d3302342b844d SHA512 fae1412a761953b0bc19229f959366222d8af2a15bb2c60feb1174639d3b78bb62ed0eab55ed09b6da796fb945d4c9b60120a8a5cbb327a080ff46be76eace23 DIST uv-0.5.22.gh.tar.gz 3302316 BLAKE2B 13cb21c5c1b3961bb5d34e744e17580ec45a9dc22f22d1d589109d9fb3378aafe882f551855bde8050778e49784e3748ebf9f90eaafc3d64571974d34d235a68 SHA512 57b84f8da8867e013d3bffd581f3d2b7bc730ab9dcccc2020e00a4f4c8c5848546461a8c15ec06581115aabc0b765db2ff2ab7048aa15bf485d0fff2c130d546 +DIST uv-0.5.23.gh.tar.gz 3311484 BLAKE2B bf7feb6d34a39358326a7a13053139179ca1d636b414286204180e1d0d314d6a38dc823e1d29321f815886155c6ee5c207402f2a77984573ca0ce32670370951 SHA512 483be9e257169a3818a3a6e923601c9ff50654e23d30968253229cb11aed12f1d553e33133d1e58d77e6ce7cb7d5909dac61601d978199e2ba0879bf2e4aa658 DIST uv-0.5.6-crates.tar.xz 46263172 BLAKE2B 73b1d2dc957f89f923dda09a8c038426041292c442ce253ff9110f996cd1e1f892a5a438d8e1c894fc0d823401cced0ddc8ad88b5e6a83199af7055a04ce85dc SHA512 c9d4f8085416bffb1e1872fd907d15a50cae0c0c5fba994d27b3acdc3c836dffd771558246573af4bb7467353a031ea56018d5ae1fbdffa4f63988462de00343 DIST uv-0.5.6.gh.tar.gz 2952255 BLAKE2B b815b60b99f959751f5839365b8b210919247ad99bff93ee4d202bc152bd06b83a62914cfbf341bfddb5b2c87d9e546c5e2a6d1baff1599d0218160ee89de504 SHA512 fc8c7f4f60a3d2ce997341450daf20ad039ef379ac5dd4575f8db0327284bd8278419b66f8f9695f2701a9579ab004b5b60476bd8dc4c27314211f795118bc5a diff --git a/dev-python/uv/uv-0.5.23.ebuild b/dev-python/uv/uv-0.5.23.ebuild new file mode 100644 index 000000000000..1be33b3920b3 --- /dev/null +++ b/dev-python/uv/uv-0.5.23.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.83.0" + +inherit cargo check-reqs + +CRATE_PV=0.5.22 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 6be404ad2535..b7343deae351 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1 +1,2 @@ DIST XlsxWriter-RELEASE_3.2.0.gh.tar.gz 24079667 BLAKE2B ee6f35d2df8edef3a1282bd821b1eaa3d3a79bb9d962df9d50394519905a0344e0b747a58d3bf5fc1323baefde3b9e11a2c5e7e77be2cc02bab716b0a3cf3226 SHA512 b36ee896d01e5a6369f4f42e69338b69b9ea5ee4919eea9361c0f5f6ff012ca153c708ff1c719b82ce067c5d57392e3b72c47e828a7e832953d0c06de9f65962 +DIST XlsxWriter-RELEASE_3.2.1.gh.tar.gz 24307679 BLAKE2B 8e547b21c04c46159de9cb4f2bb75139b372287264714114b01d649ab290a9595ee8f36b82f976d4ec015cccd23cff4e57ac04c611b8553c0d1963d98886ed6b SHA512 510195ce7b008fa341a2fee5e0bb71cd150f853dddd6f5af6b5fd3a1090d64c9b14fbd4eb05c55a32a6a451fa0fa9471f15ee14a7d808d948479106510ae43d3 diff --git a/dev-python/xlsxwriter/xlsxwriter-3.2.1.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.2.1.ebuild new file mode 100644 index 000000000000..7484d434bdee --- /dev/null +++ b/dev-python/xlsxwriter/xlsxwriter-3.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +TAG=RELEASE_${PV} +MY_P=XlsxWriter-${TAG} +DESCRIPTION="Python module for creating Excel XLSX files" +HOMEPAGE=" + https://github.com/jmcnamara/XlsxWriter/ + https://pypi.org/project/XlsxWriter/ +" +SRC_URI=" + https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 59ddce5ea174..aa361082abc0 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -2,3 +2,4 @@ DIST zeroconf-0.136.2.tar.gz 238720 BLAKE2B c47bd38a75f01c1e4268c6567a13e664638c DIST zeroconf-0.137.2.tar.gz 237962 BLAKE2B 9ff84381cbd465a49fffeb18e671e8ab55f1c0d0e44f96312177d5a6372c6558e2175846d0cbd96c8e8b8ccd449e56ce614078e0ae22eeed8458b8a421f97192 SHA512 a4ed7146016a68bbc077cc1c61e9299d0f7d636b96da0d3dc9a4d161f709b429d7d44948435a0ed1151e280c173093dd1aaeacf4370958fd2c1b30337e3216af DIST zeroconf-0.139.0.tar.gz 240030 BLAKE2B b06f229334d18a840d5e203b3823375ba81f96076df4487c7090e0a971f9c15570dac11f7306d8da8d29fe964c231d3bdd142229a4ab96d6c7b2ef9b35dfc27e SHA512 e989a4b6c9f2a259d916da9808df5ff75db7375bbdc2cfc4b4c76fec8adda0c54112fd10d6a7266a28c408ac47c5955be5bd8e658ba87492dbdc54ed38eccf95 DIST zeroconf-0.140.1.tar.gz 240320 BLAKE2B 70d10656f8a79a837d24901ceffb106ff86c805f922569aef48aa4e7b94f0f88e80c48085a282d3a928a863509309593f8f6457d6a0b0608eb0143c5dd56c7aa SHA512 b92c25dad0e313f72870da54d0f9f9f96c889130f23eba2946702fb95c82757a40f96285771568074d78346f67f9e366ef0e488256a669daf602971919f48ab1 +DIST zeroconf-0.141.0.tar.gz 162148 BLAKE2B 14cace203d4d40c54468cc07f8f49bad82c192b47be6a5a5debc0ff65c1e15fd3f50345b12f95ed5608ef9d7e4ae03b037b65b1ed38d1f24b19f14e973d51e73 SHA512 a39060250218c132c8a01bb2a8feb96886455d074fb25e948704e2ff5849a42b695ee7c1a7854592ece2034901e895ea63f5014c2ffc371583d888d1196a7762 diff --git a/dev-python/zeroconf/zeroconf-0.141.0.ebuild b/dev-python/zeroconf/zeroconf-0.141.0.ebuild new file mode 100644 index 000000000000..4922d99649a2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.141.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} ) + +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.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3.0.8[${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 + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} |
