mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -4,6 +4,8 @@ DIST cbor2-5.9.0.tar.gz 111231 BLAKE2B 2ab6315866e4c252ccc51a12358e1f6420ae9f284
|
||||
DIST cbor2-5.9.0.tar.gz.provenance 9582 BLAKE2B 22f32c67af2ab3d9c1df9713aa0be0106542b13eaaf70b8ed0e09ccefd414619b721b87c8f74bf02ab583a744d02348cd3a0e45c6813686f18536d6c50d7d579 SHA512 0b44b4fa821d9df85b3891b98ad3cc724f906b3f9850f3251f14eb1450a9c3c60da8d6891f2473b465a9c275cc077fe7c0f6e1233ff1ca7ce274d23596694848
|
||||
DIST cbor2-6.0.1.tar.gz 84191 BLAKE2B 0f8522a2462d5362c8d19900d1973386060f08f3ff1d6780cb9639df1132706860fc6ecbef2be3bb3b24385168f1426e2c9ff652fafb924a0e9e7b44b75777ec SHA512 c753a24b61c8d07635ee8c5f78df53f135acd7415b75d758d9681c04586a117e6ecdf8f1cd11021c4b175cfce06236cbe9c6e6ab67c5a059d625de5aa921c8cd
|
||||
DIST cbor2-6.0.1.tar.gz.provenance 9155 BLAKE2B fab57134c5eed10943d62ba66db393e448a1ac36e1f6b71e1e4ca63f820ffd3ec188228503815faef8f636e6c1fdee8ca1abeb221d4902ee6102ce9182e303d7 SHA512 ac48dcb4e5e6dcbdf1044a669adc84f7833f75262266c20a1665d7a895221562080db61404eb7407c63dc57939a2bf97c34c31fb4264b6a5c720557f841e2957
|
||||
DIST cbor2-6.1.0.tar.gz 85870 BLAKE2B eb2d6b699d9294242acd1c626fb7e5c9f5dcb67d19ddd19fb58add69d0db56bac16162304bb00e26748a6171510a7ec99bb8d2c1d3ad159f19d405b6d28baa99 SHA512 e8ed4d21518b45f47e02233fe9d835c834aad6c4c6eb675f2d3fc66d90810e36f5673783b428fdabe79ced863a79698cbf50b088443a3315b411fd8e8d572a08
|
||||
DIST cbor2-6.1.0.tar.gz.provenance 9625 BLAKE2B 106dc7b9667c195bd6934ee6c824c46f8290608a1e212d533c4dccc5e25c531a47caf1cd3babb8d093588a5118e5c72c5141df8037a92020738053dde650ffd2 SHA512 62e3cf64344be19ff1192cc748c28f276c1b02c2bd4bbe92b10636c752b68b453ec0e018e8a940bd9c1b2d36278e8bee158373a495498ab8c75195d698a16878
|
||||
DIST cfg-if-1.0.4.crate 9360 BLAKE2B beadbfb273ee97cbb6e3740891fbace57511399ad203459b66b397587d794677a9515cde4e9ec4320c3795518bf1551d72b9a889f8ac4b225168f493288b7c19 SHA512 176e04df7ba783b7143bb84397b777f5c5a1305c08a5c3a218d4a66830620be89ed68992ba27686165bcd3fb2f34b2daf80b2a1d4b481ecc267c988e84d28e9d
|
||||
DIST crunchy-0.2.4.crate 3887 BLAKE2B f957597c82795eb10d43a6a98f7575e19b9484dcdf9fe35ac79ce406035d5d467021a0c563dcfe8f717e800b6bf532fcd72cc11be47e084405e16219b88e67b1 SHA512 72ecadb6c8558dcbf3cbc3a34bcefbf292e42999e7af6f59b9804e1233d87f6f65802b157f346a64cd7d2dc1a92564d5481211b081ba5ea170ecdb06dff9dd0b
|
||||
DIST half-2.7.1.crate 61040 BLAKE2B bd78abf71b1b0ae219d2293f8edd5084fa630150016c95786d0af38a898d2775ff73ce848c4b2bbf02c2ea2dc8a610b2e045df78892d2b1de28981e8033625a7 SHA512 f47cc8bfb4c754a8585d4e8eca1a35039dc0879e87e59acb72e91bf2d33eca8c4f8dd17b3a56e8953bcba62cb08122120866e9d4b3ab9f008847d86a5f81716d
|
||||
|
||||
72
dev-python/cbor2/cbor2-6.1.0.ebuild
Normal file
72
dev-python/cbor2/cbor2-6.1.0.ebuild
Normal file
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/agronholm/cbor2
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
RUST_MIN_VER="1.85.0"
|
||||
CRATES="
|
||||
autocfg@1.5.0
|
||||
bigdecimal@0.4.10
|
||||
cfg-if@1.0.4
|
||||
crunchy@0.2.4
|
||||
half@2.7.1
|
||||
heck@0.5.0
|
||||
libc@0.2.182
|
||||
libm@0.2.16
|
||||
num-bigint@0.4.6
|
||||
num-integer@0.1.46
|
||||
num-traits@0.2.19
|
||||
once_cell@1.21.3
|
||||
portable-atomic@1.13.1
|
||||
proc-macro2@1.0.106
|
||||
pyo3-build-config@0.28.2
|
||||
pyo3-ffi@0.28.2
|
||||
pyo3-macros-backend@0.28.2
|
||||
pyo3-macros@0.28.2
|
||||
pyo3@0.28.2
|
||||
quote@1.0.44
|
||||
syn@2.0.117
|
||||
target-lexicon@0.13.5
|
||||
unicode-ident@1.0.24
|
||||
zerocopy-derive@0.8.40
|
||||
zerocopy@0.8.40
|
||||
"
|
||||
|
||||
inherit cargo distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="CBOR (de)serializer with extensive tag support"
|
||||
HOMEPAGE="
|
||||
https://github.com/agronholm/cbor2/
|
||||
https://pypi.org/project/cbor2/
|
||||
"
|
||||
SRC_URI+="
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools-61[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-rust[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( hypothesis )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Files built without CFLAGS/LDFLAGS, acceptable for rust
|
||||
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cbor2/_cbor2.*.so"
|
||||
|
||||
src_unpack() {
|
||||
pypi_src_unpack
|
||||
cargo_src_unpack
|
||||
}
|
||||
@@ -4,3 +4,5 @@ DIST cfn_lint-1.49.3.tar.gz 4037038 BLAKE2B 621ac3cb97d5924e1b29c75924f89a3942b7
|
||||
DIST cfn_lint-1.49.3.tar.gz.provenance 9768 BLAKE2B fc1c6756840e9ae9862c80cd6854a788ffe4a7e35724121fb1c5aaab38bc1d9be23b66b35cbcb14490e55ee75a39459cd542545d9c543f5bdd53776d8d81c1ed SHA512 acd61ba2f218a51b4ad078465b02a684d8a2903d440450a8a6b9844e28daf64182f887d06734cf7fea433a4c17920ef3236b3e305625fc8a2666cda84e7bc403
|
||||
DIST cfn_lint-1.50.1.tar.gz 4076509 BLAKE2B 438ce08ba7b37ca76b8a286f18deabd740969627c5177a40fc75fe76c36cb1adebf4c5e5a785b7422f287ee72d294c571d9e1bdfca6b9ef10473a28f4ae993da SHA512 9ac4224f4d5da149747abe00d6bffed88bc8fd3b36a868417bd8cf578b1cf7956812c7caaca4da178a1bed2b31a0a83f22be489176755e2146f8286e2dee12ce
|
||||
DIST cfn_lint-1.50.1.tar.gz.provenance 9678 BLAKE2B fde3c92469e6b11b53a3734c1266810052dadf96ea1cb2ab9d2f20ad36fa6d499ee260fdbf98f2a97b86543763f3af201d98ddc586a32649aa2bb716d0a206e2 SHA512 6c0af59dc5e2b61eb617f1690d671d85b2a9bc9d0ffec5d86cab9e49cabe4b3b551f16fc4cc720eddab122b69253ba3e31af4ac57cc4947cf23a3589a8e2678f
|
||||
DIST cfn_lint-1.51.0.tar.gz 4088652 BLAKE2B 2c25674738e3820a0cfd040fff01402ff8319a07eed4032dc2559b0e32db79dba4b31eb7459f8f326a42df5f2ef147663d3cfe8fb3b10d6ee7ae04eb6be92948 SHA512 93ac059d6d3fa1feb6bd83a5893e9307e1d512b96d1c1cc371c160730e7738a0b01cff2fae69ad4e7a8332a40e0c9a1adba508502f0c42efe84fc521850c9663
|
||||
DIST cfn_lint-1.51.0.tar.gz.provenance 9674 BLAKE2B 13a5fe8f79b8650ff4843278f2293984b3416cca078f63d3ad5072cb752ff481f7214a6b9236ad1796d833b7d0be499a16b9dc4e573db94820330294bd207173 SHA512 7f7eff3a3e0f4c98f542f53984a749af3d1e01170ea01750deb827011d15813705f9df6a84b1f10cae6d50d304b1190011da6994a0addd2aa89e97c6f2912168
|
||||
|
||||
64
dev-python/cfn-lint/cfn-lint-1.51.0.ebuild
Normal file
64
dev-python/cfn-lint/cfn-lint-1.51.0.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/aws-cloudformation/cfn-lint
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
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.109.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.14.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# different line wrapping somehow
|
||||
test/unit/module/template/test_template.py::TestTemplate::test_build_graph
|
||||
# requires git repo
|
||||
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
|
||||
# TODO: suddenly started failing in older versions too
|
||||
# https://github.com/aws-cloudformation/cfn-lint/issues/4207
|
||||
test/integration/test_good_templates.py
|
||||
test/unit/module/override/test_exclude.py::TestExclude::test_success_run
|
||||
test/unit/module/test_api.py::TestLintFile::test_good_template
|
||||
test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run
|
||||
# crashes on 3.12+, probably pygraphviz
|
||||
test/unit/module/test_api.py::TestLintByConfig::test_graph
|
||||
)
|
||||
|
||||
# from tox.ini
|
||||
local -x AWS_DEFAULT_REGION=us-east-1
|
||||
epytest
|
||||
}
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST idna-3.14.tar.gz 198272 BLAKE2B e7c7084109b82c797a9d04074e77533eedd1b339e334a9f48beee4405c1f62b9bcad02ec726445c71b96354088cedc23ee3b9cd3772a77b004f06a2f66382e76 SHA512 be45700d70b8527445c00c9f760311a448d1a38116883e69549405ebc89b78dded0a939625564841c44c51efaad03e2054ba883f284b152552b9fe84ffdb229b
|
||||
DIST idna-3.14.tar.gz.provenance 8986 BLAKE2B a9cbeae466fc385c997838513fe35efc862741be2f6b80f0c1151272b0bb473d6ed7efaa8584be1d647d8ed76127a524c7aaa102b248d16c1f9d51baf71af0a6 SHA512 e982ee5071a6a3ba7760c9e622419e47fce5fd210583ba78e70c5ac07a78adb3b2d6479020a7f2c8988b4a45b50b3968412a86d054e57df176c8817d1b54338b
|
||||
DIST idna-3.15.tar.gz 199245 BLAKE2B fa738fd388a5a7d5a67db32e117b4e226c525673981e63a950d8044b9df49a6af5ce7b6db146455233b294648a79b1ca20b14cbe13283ed11a02413120a54338 SHA512 8cd0efd9f82d1e5ec73b06202fed42c54e9aee4ebf5612fe29cb6c76f459d24027e545339dc3e79ad9abd0849b0e31bca42bf41f36c87391d9707f92b8326e26
|
||||
DIST idna-3.15.tar.gz.provenance 9268 BLAKE2B 83321fc9054407e98c6d1681481edbab71965b37ef88d85a37d50cb2611166d35adbd3571041e1e3b20a7344cd8b4f8840a322df8acc771d3d3d046703bf386f SHA512 413242a897960230b76e5c4f50cbd6e7560bd2694e9bb834ea758958cf359218587cde31c34f377d3abf3447cea9f39580bd89a88d52518b0b4aa97260454228
|
||||
|
||||
23
dev-python/idna/idna-3.15.ebuild
Normal file
23
dev-python/idna/idna-3.15.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2026 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
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYPI_VERIFY_REPO=https://github.com/kjd/idna
|
||||
PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Internationalized Domain Names in Applications (IDNA)"
|
||||
HOMEPAGE="
|
||||
https://github.com/kjd/idna/
|
||||
https://pypi.org/project/idna/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
@@ -2,3 +2,5 @@ DIST inline_snapshot-0.32.6.tar.gz 2627401 BLAKE2B bc5e6d2df47ee092fa26ed9f22066
|
||||
DIST inline_snapshot-0.32.6.tar.gz.provenance 9438 BLAKE2B 8756279a2d22a5945eed8e973699399df90b12c021ecf501bc23c36cd3ac4deb0ddf0bc26e176fcefe4242381952ffa67a0348aa8b981bfbecd6d17b5009fd9f SHA512 0cafbbe3455c5e8c3938fa823c0acf0ab283d01e26ecacf9e4ab7a96dc5859f13d493c16246eac81b7770110ce7607500e27216dcf2247d29861b9631a9f5c49
|
||||
DIST inline_snapshot-0.32.7.tar.gz 2630267 BLAKE2B 5e063da1ab736d6506af9bb282e5ba5a3f36af7f8c69411ade923f8daf84c6abc32882bb7def4a8ff65c42c295f883116539eb7c529c93fafbfd22960121397a SHA512 2e417a21e9fa1d315981ab449c3682a3d925035cb6d5dc66cfb77f635e46c12fce9727aaa0c9ad37aeb6e1aa1a3f2fa3a9326e6c0f9e68777bc0f7a62dcd7228
|
||||
DIST inline_snapshot-0.32.7.tar.gz.provenance 9387 BLAKE2B 7205386789ed7c4ceaa12a2212df10c490286c1b18f33eddef705bb9276a6515cc6ac4439e390a754fdf931361b4644ccbf140e6a669dfea21e780ba47cc5f6a SHA512 5c6ec866395cbdf1b2d08f9a7bcbe0d07a2d9ff1a714ec4fc0cb41115d74ec9eda861f6779c73bdbf6d5899c2b93f70119a32e0d4028c6b09e411588b7683876
|
||||
DIST inline_snapshot-0.33.0.tar.gz 2637158 BLAKE2B 1bc372dd7f4a546410570b7a2a02ed65722d3448f8f2bc6e4f7cae926370f3ba74fc33f1b1162e4f6563f1f94273c592da4a5f8f573557235d8a5064b8c22c88 SHA512 17af4c5992dfc04809df804ab7167063d01166073e8017eeb08e60cef8ada642955eb2090e0e86807aacd3a6feddceed0cf3c37667fed5b732d076e8449ced13
|
||||
DIST inline_snapshot-0.33.0.tar.gz.provenance 9520 BLAKE2B 812259517d0fb1a0ba26b25986a8335810fe9542b581f7ced793cf3f1e64d6e10fbf2934252adc4352b113535028cc8a158ffe8c99aef993acbd08bcae35adea SHA512 241f66837bd510f10b2897fe8de4815d6352e78d0a9153ffb4be5fbd0be80fca693e5cf3c30ae32a3042a3294b175b865999a628607ecec414c81f7768570d6d
|
||||
|
||||
62
dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild
Normal file
62
dev-python/inline-snapshot/inline-snapshot-0.33.0.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/15r10nk/inline-snapshot
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Create and update inline snapshots in your Python tests"
|
||||
HOMEPAGE="
|
||||
https://15r10nk.github.io/inline-snapshot/
|
||||
https://github.com/15r10nk/inline-snapshot/
|
||||
https://pypi.org/project/inline-snapshot/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/executing-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-8.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-13.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
>=dev-python/black-23.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/mypy[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
>=dev-python/pydantic-2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
|
||||
EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,xdist} )
|
||||
# TODO: EPYTEST_XDIST=1 gotten flaky with 0.33.0
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# requires pyright
|
||||
'tests/test_typing.py::test_typing_args[pyright]'
|
||||
'tests/test_typing.py::test_typing_call[pyright]'
|
||||
# TODO
|
||||
tests/test_formating.py::test_format_command_fail
|
||||
'tests/test_docs.py::test_docs[categories.md]'
|
||||
'tests/test_docs.py::test_docs[code_generation.md]'
|
||||
'tests/test_docs.py::test_docs[testing.md]'
|
||||
)
|
||||
|
||||
local -x PYTHONPATH=${S}/src
|
||||
epytest
|
||||
}
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST ipyparallel-9.1.0.tar.gz 4427086 BLAKE2B f219325a7ce0a4ac4f0d215cfa9fac2431074b663fbc3ac316b30031f145ae8291598f54a0bdc923f43d70d65482f65ebc3a51c52b49e627f7ea676a31cda556 SHA512 f62689a5991e7d923d796a1a2caf03c7f0ed4ffc41f70d77002aac9ae24be67b2268e386b3652819c3826beb94b245593874564b707251efdcf4ebe4a9293706
|
||||
DIST ipyparallel-9.1.0.tar.gz.provenance 9517 BLAKE2B 09a65b092c7241a9812a4c0912e555f637b4b95a6f6fba9d4e958ba35aef7effa0845ec72b3a22d9bd1b07cddd1a93cf89eef2bb20a3c874100b297e2f997551 SHA512 05da5c203eaf715b37d0310a8ce52edd53ad7ceb891056387aebdd8cf1461e72e6b170ded87225370744dd2dceadf8389b512a87217fe2f72ac811c35939c03a
|
||||
DIST ipyparallel-9.2.0.tar.gz 4427734 BLAKE2B 80fbe45cda795cff94850c06fad8adcbf455e2e9bcf62df2e0fa4e1d6001fee8ed846eb2de8b2ec53c10906046b87e463af7d561fe97d56e47f708c9b777cdde SHA512 786ee9ca6fef68f1704370732e861c31a3c32f50f0d1eff7862108f4520e528049d5e5f27e52a94bf3027e9a766f7c42e7e033faeaaf7c9bdf85aa71f05454cb
|
||||
DIST ipyparallel-9.2.0.tar.gz.provenance 9520 BLAKE2B ad66522837f4a50c6090999b053540b6f0a4446d09287ffb77fa3575051a7f43e17b0780c638d5dd2a1f8a4da77d15915c262451b23c5f8dc7488aaf065d3ca6 SHA512 654549ee1bad4ace3c7b57d7bf044aa32478b030e2446542cb3ae20883e90cb0a71e34c096bcb9846bb64a9967e3ba1b0db74ea053d047a4dcd5ee51b46f3ea5
|
||||
|
||||
77
dev-python/ipyparallel/ipyparallel-9.2.0.ebuild
Normal file
77
dev-python/ipyparallel/ipyparallel-9.2.0.ebuild
Normal file
@@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/ipython/ipyparallel
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
||||
HOMEPAGE="
|
||||
https://ipyparallel.readthedocs.io/
|
||||
https://github.com/ipython/ipyparallel/
|
||||
https://pypi.org/project/ipyparallel/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-25[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-7[${PYTHON_USEDEP}]
|
||||
dev-python/jupyter-server[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipykernel-6.9.1[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-6.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/flit-core[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/testpath[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# TODO: package myst_parser
|
||||
# distutils_enable_sphinx docs/source
|
||||
EPYTEST_PLUGINS=( pytest-asyncio )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# we don't run a mongo instance for tests
|
||||
ipyparallel/tests/test_mongodb.py::TestMongoBackend
|
||||
# TODO
|
||||
ipyparallel/tests/test_util.py::test_disambiguate_ip
|
||||
# Gets upset that a timeout _doesn't_ occur, presumably because
|
||||
# we're cranking up too many test timeouts. Oh well.
|
||||
# bug #823458#c3
|
||||
ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send
|
||||
# We could patch the timeout for these too but they're going to be inherently
|
||||
# fragile anyway based on what they do.
|
||||
ipyparallel/tests/test_client.py::TestClient::test_activate
|
||||
ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets
|
||||
ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
export IPP_DISABLE_JS=1
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
# move /usr/etc stuff to /etc
|
||||
mv "${ED}/usr/etc" "${ED}/etc" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Jupyter Notebook integration" dev-python/notebook
|
||||
}
|
||||
@@ -2,3 +2,5 @@ DIST python_discovery-1.2.2.tar.gz 58872 BLAKE2B 0177a23499cd59aef5c7489694a53c7
|
||||
DIST python_discovery-1.2.2.tar.gz.provenance 9263 BLAKE2B e405c7db48810a177671144bffdc28c8903b74ed846f2f5bcab47134e8e795f061ad3394779551a045feb4debaf2704567547cafefafcbd0a9debecb6ec1425e SHA512 c70313361c0660297335fdce23a7af12eb2f67b7146126ab6bfe3cf783645155e368bc68126b853be91b968da9917e005ecc7f6025a62fa14d1ffc735c31bc85
|
||||
DIST python_discovery-1.3.0.tar.gz 63925 BLAKE2B 58f80736df5a3187edea63949cc326be9e4c88e7df7be99aae04fade18666b679894db3318d0ec31a6724df9be43bfde503d0643f782bd73c153161105397077 SHA512 dc7567834d23b7879d144be79c35ec343058909ba81dade3921bdea64fdb921ec9b8a354da5aecad3013b9617f5a186f0d4aff5a59c5538a1f0fade9316fc18f
|
||||
DIST python_discovery-1.3.0.tar.gz.provenance 9310 BLAKE2B 1af3f9f500a8b186e2548bb47ab2bf18376e059712c2d3042138300038b5f254f4daf30bce4dfe6c14f0760fc46f3df71d4efcfda4b50cf02dce866a1ac2b745 SHA512 29626c050fe014cb2ef8e8fd4f738dda7edec6b3b412a22415ff05be81fe9a86f1727073e254e4ae860b47a8c8ea41832335e296f4d8701523b29ce8732efbb7
|
||||
DIST python_discovery-1.3.1.tar.gz 68011 BLAKE2B ba0e1e7320a8d5834c80f6218c48badd1668e189daa8d5b4d616dc24b275fa07b154381ff683fb48ac4400004cb1106d46c70b2b1b470eb6b948b0799c9b1e36 SHA512 af8a90cf411d6c914ce12e7f198e92bc166100eff1dbe814b1731abc8913abf7a8a0d44a269bd86985cc19e9235cc3995056014f7bdd02dba5e62af4117bdf47
|
||||
DIST python_discovery-1.3.1.tar.gz.provenance 9549 BLAKE2B 46c2c90661a8f0f59f6e33ef9bdcfebf99f194c7d27b5f76bdb9a6c4d2f92d8c1d1eb2fa922f37a8dee7b800eef0685ca49ac2221253c670c4fa3171ac9ec0bf SHA512 df2a72238637c04fa7d7ba316a82a18bf1c057bd21fea7a4278d26a7eec156614c56ea47209ce875de42d82a5dce84d176e223e2504edf1ef6ab89713f11af5a
|
||||
|
||||
57
dev-python/python-discovery/python-discovery-1.3.1.ebuild
Normal file
57
dev-python/python-discovery/python-discovery-1.3.1.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/tox-dev/python-discovery
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..15} python3_{13..15}t )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python interpreter discovery"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/python-discovery/
|
||||
https://pypi.org/project/python-discovery/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/filelock-3.15.4[${PYTHON_USEDEP}]
|
||||
<dev-python/platformdirs-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-4.3.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/setuptools-75.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-mock )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
|
||||
case ${EPYTHON} in
|
||||
python3.*t)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match
|
||||
)
|
||||
;;
|
||||
python3.15)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
tests/test_discovery.py::test_predicate_with_fallback_specs
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
|
||||
DIST reportlab-4.4.10.tar.gz 3714962 BLAKE2B aecd293b9db9a303599b56ae906a0da17dde5fcd743baeee605f70d0e1e2e033a69163390b84bfe13b592b0e77ee86c3915dfb82d51a8e5ce446cb133fe7f1a9 SHA512 568d1725826b20d9a1286ef1477dac157b7e291aae7e17605633776693677dbbd4d49a6385f5ed456db31686651306e4b62e61840f11773b13dc6704119010a9
|
||||
DIST reportlab-4.5.0.tar.gz 3914127 BLAKE2B b20824376e34aa4b3044521fcbfab799b2ec4cd72e3cae22335387daed43eb2dd0a5213de6cd8203dfa846fb976a16e048b59249e0492f2f6d8c10af7ffe1d91 SHA512 7f9ecf4d0b94b22c4d3c39cf61de8a8eadbea5f4783550bd8cefbe2368ec8e40ca69593710aeb62c9c0e26a8d35143c5ca9f6b8c360c71ebb0ab3bd8727a0171
|
||||
DIST reportlab-4.5.1.tar.gz 3939748 BLAKE2B 652a9b82d2a19376876a91f421a5d0f5f39cd90480bd806098c1c51fecbd47ff6fd55b97941988a029c4ed9f1ac859d0f0930d1953d313931aa06e46dfe38c7c SHA512 ff5f62cd01175491e54e81f8bd94e26010d5ae2b066de8e089d21f20d229a54b86b8364e9ffdd78fce75950f2137eb805fd5be7950b78a6bb2dde79009d1f49d
|
||||
|
||||
53
dev-python/reportlab/reportlab-4.5.1.ebuild
Normal file
53
dev-python/reportlab/reportlab-4.5.1.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2026 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_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Tools for generating printable PDF documents from any data source"
|
||||
HOMEPAGE="
|
||||
https://www.reportlab.com/
|
||||
https://pypi.org/project/reportlab/
|
||||
"
|
||||
SRC_URI+="
|
||||
https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/charset-normalizer[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
cd ${P}/src/reportlab/fonts || die
|
||||
unpack pfbfer-20070710.zip
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cat > local-setup.cfg <<-EOF || die
|
||||
[OPTIONS]
|
||||
no-download-t1-files = 1
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd tests >/dev/null || die
|
||||
"${EPYTHON}" runAll.py --post-install --verbosity=2 ||
|
||||
die "Testing failed with ${EPYTHON}"
|
||||
popd >/dev/null || die
|
||||
}
|
||||
@@ -3,8 +3,10 @@ DIST selenium-4.35.0.tar.gz 907991 BLAKE2B e2d0baade499b41cdb23bdbae0059163fb581
|
||||
DIST selenium-4.41.0.tar.gz 937872 BLAKE2B fd176e710970da5435b2d2daad90ad1f6a567dd77d9cfe0cb6980612155a5194c6c80ba7be444e8baade758a91dc2f9cdc6d3ce8fffcd8c31a03271e5f7dbc2c SHA512 517e38b38266e92b66bf072640777e037d1af4321a0399d665a0f2acdb76c574abf65f8e6412e7c606a4937010ffd6bff9c9f323b51c88e80d883b5c909c2de6
|
||||
DIST selenium-4.42.0.tar.gz 956304 BLAKE2B f43bf9893135bc8b7bf739bccd4155db7200e1262abe0fdd311041066e1f37b7f090da64a17aa693e616bf27adc5e1897c2981356b6af4acb985b929e939be66 SHA512 36a17bd89f5ef03d5b72c981ba4b4e6b3c1173d3e211a9df8cd8fe77c48d99d6471f629dbaf9a2c476a446677b24574e1a37ce2370a4280ae0eb82003d0381ec
|
||||
DIST selenium-4.43.0.tar.gz 967747 BLAKE2B f0096d6a9a7d6836978f58e866b27f8b55a18ab5759ca2a90547578d36201613bb485f87dbf9f0a7a76f501d8548235d23446d0cb5cfc74a9d6f60300f297845 SHA512 48fd7223a685f9a200d52e81b56b5ccd36add26741ff67ba311e194d14e95061b3c55cf338ba8ea10cd0b2fd436092a382165631616664eb95de30e3d2394f47
|
||||
DIST selenium-4.44.0.tar.gz 993133 BLAKE2B 1c8f7f1fdfb21812569651c6086eba57455354b79ab1736d7fbfe6415affafed1f154bb21ead08a66fc5ffc638e05244a60f1ee1e85405b492ba3e84ac8b9f06 SHA512 72dabe202620ed29c9f66936827c257adf44d2f7c98a39724b1d2ef99fd7819875877f2d3cd2b1086f9e544a1f29bb3df6aa516ff8670f3701469b2ce75f5856
|
||||
DIST selenium-selenium-4.34.2-python.gh.tar.gz 52515190 BLAKE2B 319a7083d5942c1962b4f48f907fea12943a403e4490f74f3cd38662f1c63f57270b27b6039a5a8f29a980540cd0dcf1d1c7560c7ac126f07e491983dc0e81ef SHA512 5ca0b6e970ded3dc93cd55a2c1af7c43063d87f57f119a011313eb7d08faa4057896a56d4eac2e13d39857c94b54f04840a053153cc39008c76cbdd33c8ddbba
|
||||
DIST selenium-selenium-4.35.0.gh.tar.gz 52550104 BLAKE2B b7ed0fb513cfb2ed24aa8393497b349f930739c3d24a330e5942fbaa5505f31d7086396a430776a3a28a5f65927b92bf27c0a32e8c36d893b5d62ef73151d5ef SHA512 dc73829e3b0fcb7fb7ee1cc04574b95b63d23f67974575dbd66338e14a5cb2b06f983145ce874be0d7124e8828b0a41b99c75d3befb19e04cbf8d027d0bb983a
|
||||
DIST selenium-selenium-4.41.0.gh.tar.gz 43597635 BLAKE2B fb24f27bf3b64d4da4a117bbb62566b6c1dd6fa85357b9db4a81f17fb5167ca1f2265a0ad8b54efeb14568477390521f5b5774e3278091fd1a0110e5e0d9ce30 SHA512 68cf0ead725d09dcaa8bfe9f239e0f8c0ca7b9dde9d11b8c22dbe53c51611534136f910bc91c9ab237e2b9c106ae06efbe0e0fa9277ef668c4a4935f74613a6c
|
||||
DIST selenium-selenium-4.42.0.gh.tar.gz 43696997 BLAKE2B 9836b8935586e21d487660f2031c316f9afd6d382a2c2e5f090fe40792215334da90c5d59b7debd612c8bb2146a3595624a5c9e949f84a4d551ec540c59b10e4 SHA512 89309fcadcbc7fdc110aa2a4c58e0f92f3872ff1addacc65813731aaca6ef48869346f69344731926dab84ecdd5a4a53a6968f7c2e953faa3cc4833ff9e511ff
|
||||
DIST selenium-selenium-4.43.0.gh.tar.gz 43705758 BLAKE2B d10a4167481924becfdc115175b7681ecda287e009288acda448cb81f081d7dc6b1789ae7cca3a8ef93dbcfb15f27bbc3f201b1b10fb9339dc2f5595221221aa SHA512 596c9a7631a25166391d92af931a660fd2bfe0994c720357e47552ca7101f6af2b578f05f160c24765ec81471b6a02af91ee7baf758c9b853d68ca7fbfa0820a
|
||||
DIST selenium-selenium-4.44.0.gh.tar.gz 43755091 BLAKE2B 05a58f6cde1bf1a9cdd4aa7dc61a93bedbeed814f6b16c9876cb85879d5aa4f470db569c21b6582673a281af01637237c0e099c79d9dc6e602ceedfc57e1a04d SHA512 6b93db69b9c1196e72b0a762b64b0677d70262428fc5a8dfe8d93847588fa5b78e481e9fa195fac41279ebbe4f1dd354b1217635cabcf7fac1c964a3a8b18e7a
|
||||
|
||||
165
dev-python/selenium/selenium-4.44.0.ebuild
Normal file
165
dev-python/selenium/selenium-4.44.0.ebuild
Normal file
@@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_TESTED=( python3_{11..14} pypy3_11 )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
# base releases are usually ${P}, followups ${P}-python
|
||||
TEST_TAG=${P}
|
||||
[[ ${PV} != *.0 ]] && TEST_TAG+=-python
|
||||
TEST_P=selenium-${TEST_TAG}
|
||||
|
||||
DESCRIPTION="Python language binding for Selenium Remote Control"
|
||||
HOMEPAGE="
|
||||
https://seleniumhq.org/
|
||||
https://github.com/SeleniumHQ/selenium/tree/trunk/py/
|
||||
https://pypi.org/project/selenium/
|
||||
"
|
||||
SRC_URI+="
|
||||
test? (
|
||||
https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz
|
||||
-> ${TEST_P}.gh.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
IUSE="test test-rust"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/certifi-2026.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/trio-0.31.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/trio-websocket-0.12.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
$(python_gen_cond_dep "
|
||||
dev-python/filetype[\${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[\${PYTHON_USEDEP}]
|
||||
dev-python/rich[\${PYTHON_USEDEP}]
|
||||
test-rust? (
|
||||
dev-python/pytest[\${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}]
|
||||
>=dev-util/selenium-manager-${PV}
|
||||
net-misc/geckodriver
|
||||
|| (
|
||||
www-client/firefox
|
||||
www-client/firefox-bin
|
||||
)
|
||||
)
|
||||
" "${PYTHON_TESTED[@]}")
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# do not build selenium-manager implicitly
|
||||
sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \
|
||||
-i pyproject.toml || die
|
||||
# unpin deps
|
||||
sed -i -e 's:,<[0-9.]*::' pyproject.toml || die
|
||||
# remove nonsense typing deps
|
||||
sed -i -e '/types/d' -e '/typing/d' pyproject.toml || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# NB: xdist is causing random pytest crashes with high job numbers
|
||||
|
||||
if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
|
||||
einfo "Skipping tests on ${EPYTHON}"
|
||||
return
|
||||
fi
|
||||
|
||||
local EPYTEST_PLUGINS=( pytest-mock )
|
||||
local EPYTEST_IGNORE=()
|
||||
local EPYTEST_DESELECT=(
|
||||
# expects vanilla certifi
|
||||
test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout
|
||||
)
|
||||
local pytest_args=(
|
||||
# https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24
|
||||
# seriously?
|
||||
-o "python_files=*_tests.py test_*.py"
|
||||
)
|
||||
if use test-rust; then
|
||||
local -x PATH=${T}/bin:${PATH}
|
||||
local -x SE_MANAGER_PATH="$(type -P selenium-manager)"
|
||||
|
||||
local EPYTEST_RERUNS=5
|
||||
pytest_args+=(
|
||||
--driver=firefox
|
||||
--browser-binary="$(type -P firefox || type -P firefox-bin)"
|
||||
--driver-binary="$(type -P geckodriver)"
|
||||
--headless
|
||||
)
|
||||
|
||||
local EPYTEST_IGNORE+=(
|
||||
# requires some "python.runfiles", also bidi tests generally fail
|
||||
test/selenium/webdriver/common/bidi_webextension_tests.py
|
||||
# throws some error that pytest doesn't even show
|
||||
test/selenium/webdriver/firefox/ff_installs_addons_tests.py
|
||||
)
|
||||
EPYTEST_DESELECT+=(
|
||||
# expects prebuilt executables for various systems
|
||||
test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows
|
||||
test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux
|
||||
test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac
|
||||
test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os
|
||||
|
||||
# TODO: these don't respect --*-binary and try to fetch versions
|
||||
test/selenium/webdriver/firefox
|
||||
test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
|
||||
test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns
|
||||
test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options
|
||||
test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome
|
||||
|
||||
# TODO
|
||||
'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]'
|
||||
|
||||
# TODO
|
||||
test/selenium/webdriver/common/bidi_browser_tests.py
|
||||
test/selenium/webdriver/common/bidi_browsing_context_tests.py
|
||||
test/selenium/webdriver/common/bidi_emulation_tests.py
|
||||
test/selenium/webdriver/common/bidi_errors_tests.py
|
||||
test/selenium/webdriver/common/bidi_input_tests.py
|
||||
test/selenium/webdriver/common/bidi_integration_tests.py
|
||||
test/selenium/webdriver/common/bidi_log_tests.py
|
||||
test/selenium/webdriver/common/bidi_network_tests.py
|
||||
test/selenium/webdriver/common/bidi_permissions_tests.py
|
||||
test/selenium/webdriver/common/bidi_script_tests.py
|
||||
test/selenium/webdriver/common/bidi_session_tests.py
|
||||
test/selenium/webdriver/common/bidi_storage_tests.py
|
||||
test/selenium/webdriver/common/bidi_tests.py
|
||||
test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary
|
||||
test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor
|
||||
test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs
|
||||
test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities
|
||||
test/selenium/webdriver/remote/remote_custom_locator_tests.py::test_find_element_with_custom_locator
|
||||
test/selenium/webdriver/remote/remote_custom_locator_tests.py::test_find_elements_with_custom_locator
|
||||
|
||||
# Internet
|
||||
test/selenium/webdriver/remote/remote_server_tests.py::test_download_latest_server
|
||||
test/selenium/webdriver/remote/remote_hub_connection_tests.py::test_command_executor_ssl_certificate_is_verified
|
||||
)
|
||||
else
|
||||
EPYTEST_IGNORE+=(
|
||||
test/selenium
|
||||
)
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}/${TEST_P}/py" || die
|
||||
rm -rf selenium || die
|
||||
epytest "${pytest_args[@]}"
|
||||
}
|
||||
@@ -2,3 +2,5 @@ DIST tox-4.50.3.tar.gz 266455 BLAKE2B 77a18cb2beeb4df6e80b8cdb718e5c51ea77b54ad0
|
||||
DIST tox-4.50.3.tar.gz.provenance 9287 BLAKE2B 44e6d623b0de01dc586e4a29fdc70ab11e8a12ae9f6267851502e986e0ca5bcbc29f1f00bd5054752870155e058e660b78454af216eb439e421be94c74e72b8e SHA512 809624f5faa01e2b9141269a3988b51cf427a0b8b9bb3618b13234c3fa07e660d6b9fb65f5339d8a8a97a9a1b87da21facfe700dee278af974e69852bd5df695
|
||||
DIST tox-4.53.1.tar.gz 276809 BLAKE2B 18e99c00cf24d12705050f59a2843d26ce0201982512921d365d8c196a43563f296da973a98a1eb1cac86797a344fa82f3e94e8f5eef5e91339dfb86f7c6d6b5 SHA512 b11df73e47c5c63124b9e7e11c44a8c3c39b40d177b411bcbd4218a9875fd658a32712083102ef2a1cae6e75939cd32f7caa00551de753f30f58f7f52ab4e5dd
|
||||
DIST tox-4.53.1.tar.gz.provenance 9432 BLAKE2B 33d7b56f0658c9fd009862674eb1b7c7d140af1a19a6c424765c4731376565d4d71b4c99b712782369fff1b7ad2a37c25d7bb5e0c3e64c0de86f3c867cbee63e SHA512 c626b2095aa0d1c94552a56b05cdf66fefd7a5eda1c6db33c3ebfa52bd4e96b118754412d6da872675b0fc76224c9c2e53abbd507b3b10aeac24d752e839df34
|
||||
DIST tox-4.54.0.tar.gz 279256 BLAKE2B f1a1265879ce21f9f4005268dd5800dd7d84d6c914f453d75c86fca6176aaab7c8e2c7a8091bc9103320469ab7c8b82f6faecb9473521f9442f818ca1a94d741 SHA512 923f622c8c0706a7d667e74b1ff42ec9c8ef578bc59e335cbb03ec3b654025263350241ee72c775499519f9d0b504fa859fe365b9435f25698c84449a3e217ed
|
||||
DIST tox-4.54.0.tar.gz.provenance 9424 BLAKE2B b9f9dee2859d4e640edd8e9ca8274a2715c25a11fe4639ec0b210f9565a12a50523c7f3e051f370259a70772b29abd617b28fa177da7bdc69179b8bd8ff35cf7 SHA512 efdf4aabc3d64219f842c06b9b8ae07b1532076269bd4753bf11e93ff59498337e35eb436f5c5a43028ba4027cd63b5d216febdeb6e0ec9208a435305c8a785f
|
||||
|
||||
97
dev-python/tox/tox-4.54.0.ebuild
Normal file
97
dev-python/tox/tox-4.54.0.ebuild
Normal file
@@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/tox-dev/tox
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="virtualenv-based automation of test activities"
|
||||
HOMEPAGE="
|
||||
https://tox.readthedocs.io/
|
||||
https://github.com/tox-dev/tox/
|
||||
https://pypi.org/project/tox/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cachetools[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/platformdirs[${PYTHON_USEDEP}]
|
||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||
dev-python/pyproject-api[${PYTHON_USEDEP}]
|
||||
dev-python/python-discovery[${PYTHON_USEDEP}]
|
||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/argcomplete[${PYTHON_USEDEP}]
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
dev-python/distlib[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/re-assert[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/time-machine[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} )
|
||||
# xdist seems to mess up state between successive implementation runs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# upstream lower bounds are meaningless
|
||||
sed -i -e 's:>=[0-9.]*::' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# devpi_process is not packaged, and has lots of dependencies
|
||||
cat > "${T}"/devpi_process.py <<-EOF || die
|
||||
def IndexServer(*args, **kwargs): raise NotImplementedError()
|
||||
EOF
|
||||
|
||||
local -x PYTHONPATH=${T}:${PYTHONPATH}
|
||||
local EPYTEST_DESELECT=(
|
||||
# Internet
|
||||
tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external
|
||||
tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz
|
||||
tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs
|
||||
# require tombi
|
||||
tests/session/cmd/test_schema.py::test_schema_tombi_lint
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
# requires devpi*
|
||||
tests/test_provision.py
|
||||
)
|
||||
|
||||
case ${EPYTHON} in
|
||||
python*)
|
||||
local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine )
|
||||
;;
|
||||
pypy3*)
|
||||
EPYTEST_DESELECT+=(
|
||||
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]'
|
||||
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]'
|
||||
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]'
|
||||
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]'
|
||||
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]'
|
||||
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]'
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest -o addopts=
|
||||
}
|
||||
@@ -2,6 +2,7 @@ DIST uv_build-0.11.10.tar.gz 376745 BLAKE2B 8447c14db66981f9188336dc1d8b7918784f
|
||||
DIST uv_build-0.11.11.tar.gz 376722 BLAKE2B 58e62e3366961b489f1f6e1e8c83d0b770879660d9d3b0c6266dce46c5da8e9887408b09f0f59fd3fecda30adf887012df6390f386fb22843c0bb66e3c813a97 SHA512 ed612caee074c756c8ab242e3e0bf64e76dfddfefa383c3587b675b07e61621504ccaea653733c27ef2dd9b8bef1aa6d21ba1b9b39102d49c9ec3e9d7d13e758
|
||||
DIST uv_build-0.11.12.tar.gz 377487 BLAKE2B f9d4c1b53f9c4ff2209f2b96a581f01f0a363fa02c6724e3d4f1d10ac3dd8447eb15d2aaac2a2fafe3d8a3fe20bf37a0b65c2e24f771d7f163a09f34a0151d51 SHA512 99747e605f984fb8b9b8d9b68a987cf20f49cec24cb57f795ef393268246366befb390398ca8d447f1178b8ad307376a2dbb62d083b8e987c0d2d5ab8116a6b3
|
||||
DIST uv_build-0.11.13.tar.gz 377955 BLAKE2B 01f93cb472a2841dd2c516b9a02137fafcf081a3102a45a2ff03b92d4dde9c7a3fc0bc012ca1871a51ac9832f2ba9c9d7f51f0705eec2d239d50cd3c8948dca1 SHA512 d6e2986b16d0dc78a9e03261d70a847186672fbc737be54d6263c2b7992d39561817c2e97e2cd82d64349ed402bbc8b907bd9782ff104988fba9f32504dc9d51
|
||||
DIST uv_build-0.11.14.tar.gz 379337 BLAKE2B 26644ced88c39d7022e8c2cc37b8010319cb920b34d86ebfa502cb51f7fdff04a4856b955e451f13494e69834824a8242606c6bcb3b61bdb4a5dc5d459509c71 SHA512 c0d94041389aece658969170de6655ef09bfbce3496aed8e9b044b5af4a1db1288dce34d6ee7d12604d98feed6a3ee9ca95d7868f0a0f130a60d1f0136e6d6be
|
||||
DIST uv_build-0.11.6.tar.gz 361928 BLAKE2B 800f59a32bab5b850fb30627b6e47c4a2e7bd8d1a292584e2c3b33e2c3aee81907b8e6ebe95298bac607df161e29437cc8a84bb8a44e32435028ab5fd3bf22af SHA512 8a9fc7cca9e42f42db888b6a9f3888393feae79d0ce8ca56568c83cbee977675d8a39a38b820606d1ac685ef99b92a182795c2521f4796865acd774fd73c6bac
|
||||
DIST uv_build-0.11.7.tar.gz 365752 BLAKE2B 2de7a3656ea9960d2959a6bde66b85979b56e1cedce5ccc38759dae6a165d1d79998bcab3f43e472d91281fe320aadbb00f765776da3f06902b6a81b37d8b0aa SHA512 5ef23796480d36b20d1ca1b5c22eeb86c6634acbe9eb62642044d6c34a8dc45ca59727a77793fa324dbc3656a3659521544387d8afa346879675ff09fef1ca62
|
||||
DIST uv_build-0.11.8.tar.gz 367238 BLAKE2B 04dfc0cec62b53554b5041f77f0c34794ed2b9890449406af7011182acc23aab77bc087cdfcaf3d360a85169a51c998b4e7c0ddbdda1bdad4f487078226c6890 SHA512 67a5931ba6557c12e1fc668b061c5cfaefea7275fbeac4e658b6e37a748fb67b452b694960cec9bea97bcc4da43e24566a6adfec001057be478d8056894f54a5
|
||||
|
||||
99
dev-python/uv-build/uv-build-0.11.14.ebuild
Normal file
99
dev-python/uv-build/uv-build-0.11.14.ebuild
Normal file
@@ -0,0 +1,99 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Maturin compiles uv-build executable for every impl, we do not want
|
||||
# that, so we use another backend. And since we use another backend,
|
||||
# why not dogfood it in the first place?
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..15} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="PEP517 uv build backend"
|
||||
HOMEPAGE="
|
||||
https://github.com/astral-sh/uv/
|
||||
https://pypi.org/project/uv-build/
|
||||
"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/uv-${PV}
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-arch/unzip
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# use the executable from dev-python/uv instead of building
|
||||
# a largely overlapping uv-build executable (at least for now)
|
||||
sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die
|
||||
|
||||
# replace the build-system section
|
||||
sed -i -e '/\[build-system\]/,$d' pyproject.toml || die
|
||||
cat >> pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["uv_build<9999"]
|
||||
build-backend = "uv_build"
|
||||
backend-path = ["src"]
|
||||
EOF
|
||||
|
||||
# rename to make uv-build find it
|
||||
mv python src || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}"
|
||||
|
||||
local zip_result=$(
|
||||
unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die
|
||||
)
|
||||
local zip_expected="\
|
||||
Archive: dist/uv_build-${PV}-py3-none-any.whl
|
||||
testing: uv_build/ OK
|
||||
testing: uv_build/__init__.py OK
|
||||
testing: uv_build/__main__.py OK
|
||||
testing: uv_build/py.typed OK
|
||||
testing: uv_build-${PV}.dist-info/ OK
|
||||
testing: uv_build-${PV}.dist-info/WHEEL OK
|
||||
testing: uv_build-${PV}.dist-info/METADATA OK
|
||||
testing: uv_build-${PV}.dist-info/RECORD OK
|
||||
No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\
|
||||
"
|
||||
if [[ ${zip_result} != ${zip_expected} ]]; then
|
||||
eerror ".zip result:\n${zip_result}"
|
||||
eerror ".zip expected:\n${zip_expected}"
|
||||
die ".whl result mismatch"
|
||||
fi
|
||||
|
||||
local tar_result=$(
|
||||
tar -tf "dist/uv_build-${PV}.tar.gz" || die
|
||||
)
|
||||
local tar_expected="\
|
||||
uv_build-${PV}/PKG-INFO
|
||||
uv_build-${PV}/
|
||||
uv_build-${PV}/README.md
|
||||
uv_build-${PV}/pyproject.toml
|
||||
uv_build-${PV}/src
|
||||
uv_build-${PV}/src/uv_build
|
||||
uv_build-${PV}/src/uv_build/__init__.py
|
||||
uv_build-${PV}/src/uv_build/__main__.py
|
||||
uv_build-${PV}/src/uv_build/py.typed\
|
||||
"
|
||||
if [[ ${tar_result} != ${tar_expected} ]]; then
|
||||
eerror ".tar.gz result:\n${tar_result}"
|
||||
eerror ".tar.gz expected:\n${tar_expected}"
|
||||
die ".tar.gz result mismatch"
|
||||
fi
|
||||
}
|
||||
@@ -6,6 +6,8 @@ DIST uv-0.11.12-crates.tar.xz 46797580 BLAKE2B 69c193a4d0d8b81b7ee504ad4439c3647
|
||||
DIST uv-0.11.12.gh.tar.gz 5259600 BLAKE2B bf43a4b38e37a45d73820e3d445ac38a56314cefcdc0a734cad5b93200ce9e4b689c8aa3125eb34d8aa150ff4b2b94b786dd518a49aacf6d6ce655f66e9506f9 SHA512 a23c95152f0515645174b85ed8887fe29e3e56d457aaad7992cfe5a59b95e527348ebd7e0ce9d23cf589f20849326a876ae61ed9b10324a48b8021077cd264fe
|
||||
DIST uv-0.11.13-crates.tar.xz 46795796 BLAKE2B d087b947c1c673bffb4095ba3ccdd24251a91e382d702511665af5b4d8a38acc3ebd386405a2f98c256524f71d71ad859aead336d3db73d46ae6ca59dc182d81 SHA512 879dc13c29323b7cc7b84331cab40f6ac0519e564024c2ce9e07df2be5d79be0d3ba6615a98bfba976bd108aedae5953997cc86c94c9907ecb16f8b97e7b891f
|
||||
DIST uv-0.11.13.gh.tar.gz 5260441 BLAKE2B 36ac78b2857d39b5dc6e24617ed44a0526039723bb5c078713536156524709bca4a8b82f6a9fefa1d66b3e08d6f5c7d2a16ab17c5266d18518e68e3583bd48d0 SHA512 04c6451c1250bf997cd412906d09195234513a160694e31f1dce5dbd04184dfed3307a27948fc32656050cc0d089f05d3f80e31b2ce942e1e93a6de032f90e42
|
||||
DIST uv-0.11.14-crates.tar.xz 46820736 BLAKE2B 198e55be6417a2144cfba292ab943eb881bb2d3d99db259cb2cad2199d16f2eef4cc372d4b15bb5a78c6faf90b23163b2fc6366b6a88c0c089ff7113d62d80c7 SHA512 108f22ce909df5caac55e4952e1483222da0a65d64b9969a8c3224923cdf3528ce89f51a9c0a89542e4d536dd72c896a94764b9daac3376799445100705c4db1
|
||||
DIST uv-0.11.14.gh.tar.gz 5268861 BLAKE2B 7cea3f62c4756cd961efdf1d949d0dee469fb8ab0475f8f1149756c8ab1a4f767e5c88aa29011f8f6f862d48733ce7d8bb64d7b742d792dad2fd04c1c7d365c1 SHA512 375efa7d4afb3128e5d833f91d9fe91439d0c45c607996dae0cf25bf9b8d1a164858dccd00875020b88377fffecabb6afab8353ef0b7e393c83d64ed2320d3c2
|
||||
DIST uv-0.11.6-crates.tar.xz 46830584 BLAKE2B 6fbf2c9aa231588833e5cce30da2a9238af8bd22fd849cf45c3ffab52b405bcd6c5b488a9cc6975e09781ce379405c6323d7cb3c330243ae5a7b53efb775d06e SHA512 243e69e5512d09a48d47c76f100dae390e2ea9de51eb4671a9bc84a8fcbbdafe96832b6afc7222185f09f1c11c5aa6a32be9185f723b7dc67e13a94205f759d2
|
||||
DIST uv-0.11.6.gh.tar.gz 5211342 BLAKE2B 43b6cf60e3a97e70c847878e36d5ae854e7458922121b4b85a9d61d48a1e740c47c408600c92458e4a89d69308fef4833da41b2dd0ad5dbb6ac94b5d2e48c549 SHA512 3f370f98b253dd84706f1724155ba4ed5cafb41b612fa75151aef26dd4f18c85f59d93c5bbddae1c59ea594fdc88857d005b6e8728cdd24f5b37b99ba4ef32cd
|
||||
DIST uv-0.11.7-crates.tar.xz 46854096 BLAKE2B b4fc06608d3c68910a48af598803b934017787bbf14599f66fa43096aa3ef2cdeca8ee35230ea3b8446da044a29f0b476f58f224732959e8017720e79a0d7cd8 SHA512 9cdcc1f565a3bf4d3490296710a7821e3760164d723057d591bf923e093aac50f51ad209ceed6f8c4e8fd2104ee90363750017bb56de2c76fca5dda7fcee815b
|
||||
|
||||
164
dev-python/uv/uv-0.11.14.ebuild
Normal file
164
dev-python/uv/uv-0.11.14.ebuild
Normal file
@@ -0,0 +1,164 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
RUST_MIN_VER="1.93.0"
|
||||
|
||||
inherit cargo check-reqs
|
||||
|
||||
CRATE_PV=${PV}
|
||||
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://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/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 CC0-1.0
|
||||
CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016
|
||||
ZLIB BZIP2
|
||||
"
|
||||
# ring crate
|
||||
LICENSE+=" openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
app-arch/zstd:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-lang/python:3.9
|
||||
dev-lang/python:3.10
|
||||
dev-lang/python:3.11
|
||||
dev-lang/python:3.12
|
||||
dev-lang/python:3.13
|
||||
!!~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
|
||||
|
||||
# force thin lto, makes build much faster and less memory hungry
|
||||
# (i.e. makes it possible to actually build uv on 32-bit PPC)
|
||||
sed -i -e '/lto/s:fat:thin:' Cargo.toml || die
|
||||
|
||||
# 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
|
||||
|
||||
# uv is now forcing bundled liblzma, sigh
|
||||
sed -i -e '/xz/s:"static"::' Cargo.toml || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myfeatures=(
|
||||
test-git
|
||||
test-pypi
|
||||
test-python
|
||||
)
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd crates/uv || die
|
||||
cargo_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
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
|
||||
}
|
||||
@@ -4,3 +4,5 @@ DIST virtualenv-21.3.0.tar.gz 7614069 BLAKE2B fb7a290013284aced812db3101d767876b
|
||||
DIST virtualenv-21.3.0.tar.gz.provenance 9425 BLAKE2B 00eeaae90e82280ae4aae553f7ca9839f3b3040970e6e2c4891ee5e8831c0fef3965e57af13ee5c27926cbb80fbfee0efc2dc5d9ffa6ad173f1ddc78645dac59 SHA512 c0ae0f1c862596be9c669ba1d97b5f7d0f713efdb1e48d0cecb1ca968205f71754c5a86cfa2c0ba39be8d5ae6b9b11677fa3990d3027067b687eb7e377c9e92f
|
||||
DIST virtualenv-21.3.1.tar.gz 7613791 BLAKE2B a62d25304dfb3feff7932b7135ff5c6c9f536a9548c171387201d88d931d5ea33d39c3da92efe0a9a62ca3d77cd9905126030f8e58ad919effd47fb291cd1b52 SHA512 2e445492b2c02e47c57db39bdf7d3506dcf09958a73a814c4629e1e32281d9ca337c381cc61b3da46b583f08a77d7729eb3a655471b0f70196cff90daf4f24a0
|
||||
DIST virtualenv-21.3.1.tar.gz.provenance 9480 BLAKE2B 5322a3f210b2dbf92684bf0d2e99a9326b375e46135c1c7f3281b94a71d417cff696ea919b1602e61ae16d92642e3dc629c3948c609b115a0a45502fa8f2135e SHA512 665acafd07adb9594a8be6696987eceaa3702bc850c29c27f7e203cb56666fc3715a5419bb49e2b219756b1c880412afc314f7528c9ae2230501fa40fa99d4e8
|
||||
DIST virtualenv-21.3.2.tar.gz 7613810 BLAKE2B 3e218849f44b3d9801b610a480712af7da589ea67921cf99b65b08bcbba556b2325823039ec238f60868345b81676386286a70cde963ab3bc48bd29742d21dd6 SHA512 506668a1f6a62712f62a712ce65515c619dd60b19899e6555ebbc15453ef294a81048f7728e22e1275d374a132d980a5b3e8590025539cb7615b11228cef9c5e
|
||||
DIST virtualenv-21.3.2.tar.gz.provenance 9249 BLAKE2B 08c7750b78743dcbde4371f3c7fa15aed1f9d3e5f38d7c83ce098909f296908c82dbcb2a0501bfd00fd2b027ff3df1680145e64ab07fc6e1d9d95aa3f102ac36 SHA512 8dee68c63faab7e8fa78dd300e690b5ccba1b2589f1af5c1d2e846bea21802028c16e001af14a75e14d94d026f61b552fe7448525c0110ac67b5f45baa3d85c0
|
||||
|
||||
136
dev-python/virtualenv/virtualenv-21.3.2.ebuild
Normal file
136
dev-python/virtualenv/virtualenv-21.3.2.ebuild
Normal file
@@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv
|
||||
PYTHON_TESTED=( python3_{11..14} pypy3_11 )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 python3_{13..15}t )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Virtual Python Environment builder"
|
||||
HOMEPAGE="
|
||||
https://virtualenv.pypa.io/en/stable/
|
||||
https://pypi.org/project/virtualenv/
|
||||
https://github.com/pypa/virtualenv/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/distlib-0.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/filelock-3.24.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-discovery-1.2.2[${PYTHON_USEDEP}]
|
||||
|
||||
dev-python/ensurepip-pip
|
||||
>=dev-python/ensurepip-setuptools-70.1
|
||||
dev-python/ensurepip-wheel
|
||||
"
|
||||
# coverage is used somehow magically in virtualenv, maybe it actually
|
||||
# tests something useful
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-22.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-67.8[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
||||
' "${PYTHON_TESTED[@]}")
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/time-machine[${PYTHON_USEDEP}]
|
||||
' python3_{11..14})
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
|
||||
' 'pypy3*')
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
# use wheels from ensurepip bundle
|
||||
"${FILESDIR}/${PN}-21.2.4-ensurepip.patch"
|
||||
)
|
||||
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# workaround test failures due to warnings from setuptools-scm, sigh
|
||||
echo '[tool.setuptools_scm]' >> pyproject.toml || die
|
||||
|
||||
# remove useless pins
|
||||
sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die
|
||||
|
||||
# remove bundled wheels
|
||||
rm src/virtualenv/seed/wheels/embed/*.whl || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
||||
einfo "Skipping testing on ${EPYTHON}"
|
||||
return
|
||||
fi
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data
|
||||
# tests for old wheels with py3.7 support
|
||||
tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke
|
||||
tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support
|
||||
# broken by different wheel versions in ensurepip
|
||||
tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string
|
||||
tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact
|
||||
tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none
|
||||
tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output
|
||||
# hangs on a busy system, sigh
|
||||
tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe
|
||||
# TODO
|
||||
tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions
|
||||
# random resource leaks or xdist
|
||||
tests/unit/test_file_limit.py::test_too_many_open_files
|
||||
# Internet
|
||||
tests/unit/create/test_creator.py::test_create_distutils_cfg
|
||||
# we do not use bundled wheels
|
||||
tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256
|
||||
)
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
# these don't like the executable called pypy3.11?
|
||||
tests/unit/activation/test_bash.py::test_bash
|
||||
tests/unit/activation/test_fish.py::test_fish
|
||||
tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local -x TZ=UTC
|
||||
local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} )
|
||||
if [[ ${EPYTHON} == pypy3* ]]; then
|
||||
EPYTEST_PLUGINS+=( pytest-freezer )
|
||||
else
|
||||
EPYTEST_PLUGINS+=( time-machine )
|
||||
fi
|
||||
local EPYTEST_RERUNS=5
|
||||
local EPYTEST_TIMEOUT=180
|
||||
local EPYTEST_XDIST=1
|
||||
epytest -o addopts=
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# remove bundled wheels, we're using ensurepip bundle instead
|
||||
find "${ED}" -name '*.whl' -delete || die
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST selenium-4.37.0-crates.tar.xz 23351684 BLAKE2B cf345adec9156c1da3ee1a77fb7253363aeff1bc6590fae6a26a32ca87b2a894a64d6bdfbe82fdf42ba0d887dfb930df8d2762694975661896b2fbd8ac592569 SHA512 3d00b200fb8b9aed53968dd495f091f7b873af4075857542318e9c1437cd2ca9c38f64aab1488924c69b8d82f0c5368639ae70cc99e8742349584e3548160fb5
|
||||
DIST selenium-selenium-4.43.0.gh.tar.gz 43705758 BLAKE2B d10a4167481924becfdc115175b7681ecda287e009288acda448cb81f081d7dc6b1789ae7cca3a8ef93dbcfb15f27bbc3f201b1b10fb9339dc2f5595221221aa SHA512 596c9a7631a25166391d92af931a660fd2bfe0994c720357e47552ca7101f6af2b578f05f160c24765ec81471b6a02af91ee7baf758c9b853d68ca7fbfa0820a
|
||||
DIST selenium-selenium-4.44.0.gh.tar.gz 43755091 BLAKE2B 05a58f6cde1bf1a9cdd4aa7dc61a93bedbeed814f6b16c9876cb85879d5aa4f470db569c21b6582673a281af01637237c0e099c79d9dc6e602ceedfc57e1a04d SHA512 6b93db69b9c1196e72b0a762b64b0677d70262428fc5a8dfe8d93847588fa5b78e481e9fa195fac41279ebbe4f1dd354b1217635cabcf7fac1c964a3a8b18e7a
|
||||
|
||||
126
dev-util/selenium-manager/selenium-manager-4.44.0.ebuild
Normal file
126
dev-util/selenium-manager/selenium-manager-4.44.0.ebuild
Normal file
@@ -0,0 +1,126 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
RUST_MIN_VER="1.85.0"
|
||||
|
||||
inherit cargo
|
||||
|
||||
TAG=selenium-${PV}
|
||||
MY_P=selenium-${TAG}
|
||||
CRATES_P=selenium-4.37.0
|
||||
DESCRIPTION="CLI tool that manages the browser/driver infrastructure required by Selenium"
|
||||
HOMEPAGE="
|
||||
https://www.selenium.dev/
|
||||
https://github.com/SeleniumHQ/selenium/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/SeleniumHQ/selenium/archive/selenium-${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
if [[ ${PKGBUMPING} != ${PVR} ]]; then
|
||||
SRC_URI+="
|
||||
https://github.com/gentoo-crate-dist/selenium/releases/download/${CRATES_P}/${CRATES_P}-crates.tar.xz
|
||||
"
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}/rust"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
|
||||
BZIP2
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="telemetry test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
app-arch/zstd:=
|
||||
virtual/zlib:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
|| (
|
||||
www-client/firefox
|
||||
www-client/firefox-bin
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/strip/d' Cargo.toml || die
|
||||
if ! use telemetry; then
|
||||
sed -i -e '/avoid-stats/s:false:true:' src/config.rs || die
|
||||
fi
|
||||
|
||||
# Avoid tests requiring Internet or specific browsers (or trying
|
||||
# to fetch them, whatever).
|
||||
rm tests/browser_download_tests.rs || die
|
||||
rm tests/cache_tests.rs || die
|
||||
rm tests/electron_tests.rs || die
|
||||
rm tests/exec_driver_tests.rs || die
|
||||
rm tests/grid_tests.rs || die
|
||||
rm tests/browser_tests.rs || die
|
||||
rm tests/config_tests.rs || die
|
||||
rm tests/iexplorer_tests.rs || die
|
||||
rm tests/mirror_tests.rs || die
|
||||
rm tests/output_tests.rs || die
|
||||
rm tests/stable_browser_tests.rs || die
|
||||
rm tests/webview_tests.rs || die
|
||||
|
||||
# enable system libraries where supported
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
sed -i -e '/features.*static/d' "${ECARGO_VENDOR}"/apple-xar-*/Cargo.toml || die
|
||||
|
||||
# remove unbundled sources, just in case
|
||||
# (smoke.c is actually used to test system -lz, sigh)
|
||||
find "${ECARGO_VENDOR}"/*-sys-*/ \
|
||||
\( -name '*.c' -a -not -name 'smoke.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_test() {
|
||||
local -x PATH=${T}/bin:${PATH}
|
||||
|
||||
mkdir "${T}/bin" || die
|
||||
if ! has_version "www-client/firefox"; then
|
||||
# upstream expects "firefox" rather than "firefox-bin"
|
||||
ln -s "$(type -P firefox-bin)" "${T}/bin/firefox" || die
|
||||
fi
|
||||
|
||||
cargo_src_test --no-fail-fast
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
einstalldocs
|
||||
dodoc README.md
|
||||
|
||||
newenvd - 70selenium-manager <<-EOF || die
|
||||
SE_MANAGER_PATH="${EPREFIX}/usr/bin/selenium-manager"
|
||||
EOF
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST mitmproxy-12.2.1.gh.tar.gz 30996830 BLAKE2B 7f2ae2e8b98f3d800fc6ef73e848fda4b095bcf05498999a51ec938b635d560b04404e29181c484b178c8e37a2d234c7507fbbcbaca11865b9a186f1473c3494 SHA512 eed16d1df4b37ce9226ea4398077a4cd7d317cb2cd991a33399a2e57bd8d1a48dd74c132ce6610dc59e2d33784228e5ae23bb0a46821fd825a8cb8dc5496a79e
|
||||
DIST mitmproxy-12.2.2.gh.tar.gz 31005581 BLAKE2B 0625003c7e1de7e2ca3761b6572eb91494f9e0e2c85fbe12e017b64e2a9cd2e666f4b48f57078f95f932ca8a24a195f474ea786f97a3f8b099d52fe34b174d23 SHA512 6c0abfa5f771442bb8186bad3306e73d6d7c2216b282539a0d8813fac2d16ebb674458be483063553c5cdaa9ecce4f845634c3d3bd3a09f6b1b0d32bc7eac5bd
|
||||
DIST mitmproxy-12.2.3.gh.tar.gz 31006972 BLAKE2B 0eafcd1ac654a103a9310436aa7454666b634019a337204b6e0b331a97cb63cd62578d2d70ff475b8acd2589cc8b066bb619d1ed3611048fe7446125773af7c2 SHA512 c9962e0420e0198fcf844377a679a14486ccc4bacbe85e7ed8942ccdfbdc4c55dc85357981503375245f9eac6f8d96e7e95415f844eee13228cd085383166e98
|
||||
|
||||
84
net-proxy/mitmproxy/mitmproxy-12.2.3.ebuild
Normal file
84
net-proxy/mitmproxy/mitmproxy-12.2.3.ebuild
Normal file
@@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
|
||||
HOMEPAGE="
|
||||
https://www.mitmproxy.org/
|
||||
https://github.com/mitmproxy/mitmproxy/
|
||||
https://pypi.org/project/mitmproxy/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/mitmproxy/mitmproxy/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
# aioquic-1.3.0 introduced breaking changes
|
||||
RDEPEND="
|
||||
>=app-arch/brotli-1.0.0[python,${PYTHON_USEDEP}]
|
||||
=dev-python/aioquic-1.2*[${PYTHON_USEDEP}]
|
||||
>=dev-python/argon2-cffi-23.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/asgiref-3.2.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/bcrypt-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2019.9.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-42.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h11-0.16.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h2-4.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/kaitaistruct-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/ldap3-2.8[${PYTHON_USEDEP}]
|
||||
<net-proxy/mitmproxy-rs-0.13[${PYTHON_USEDEP}]
|
||||
>=net-proxy/mitmproxy-rs-0.12.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/publicsuffix2-2.20190812[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-24.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-2.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyperclip-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.18.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-6.5.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}]
|
||||
' 3.12)
|
||||
>=dev-python/urwid-2.6.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/wsproto-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/zstandard-0.15.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( hypothesis pytest-asyncio )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# requires root?
|
||||
test/mitmproxy/proxy/test_mode_servers.py::test_tun_mode
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
# unpin dependencies
|
||||
sed -i -r -e 's:,?<=?[0-9.]+,?::' pyproject.toml || die
|
||||
|
||||
# hack pytest-9 compatibility in
|
||||
sed -i -e 's:tool\.pytest\.individual_coverage:ignoreme:' pyproject.toml || die
|
||||
}
|
||||
Reference in New Issue
Block a user