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,3 +4,4 @@ DIST aws-cli-2.36.45.gh.tar.gz 19279291 BLAKE2B dfd22ee621601d8cc5aa7883c08f962d
|
||||
DIST aws-cli-2.36.46.gh.tar.gz 19284758 BLAKE2B 5cd2b985e327f84c64dd1901bf282069f2d92fe03dbcac243e5e80d36f24858fd179b60aa740396377e5dff36d73c2ad56680d808faf8803d0b76eba2bcde169 SHA512 4b7816702295e8faa4ed0c0ab564df8aca288051fe24fd8e6b68f3c27a2b89274d52b251cf2771952dd17d7f42d1339dfd6c2ee7adad06f9ed9b2c6556adca44
|
||||
DIST aws-cli-2.36.47.gh.tar.gz 19288749 BLAKE2B 998322f865614ff38445836c6385bbdd6d153146c0a53dc2482048d73632716191a47896517225d1e131e4389d72d6400cd357b06701f97d244dd07f16c4eab4 SHA512 3b6a05261548f82b0fc48be231055fe7d005429019bfff4f7ab574b98737891dc85add8b25e990630db30262ed220a3641f7da697a9a9f7758ca95dc991f8da9
|
||||
DIST aws-cli-2.36.48.gh.tar.gz 19323282 BLAKE2B ed808c8a253bbe65599c1dbd4415aaa930a45a2b5c8233f86a5ca5529ca7cedb0a6534125ad0258204ad61a9eb66851e865b0241f8cbfe2da208695eebf503c6 SHA512 90269562aec7886a6d99682091331be058f26a67e16a32e375d46fbf4a32c5151f874bdb85297c00557d2ef581ca2d4b77b4d7f20fde12ccd6d43c7a27f8e1f0
|
||||
DIST aws-cli-2.36.49.gh.tar.gz 19327940 BLAKE2B 408eb80778de27662f015988fc1729ee6c54f5ce0de656351a8a85612b810e9d0c3596ee7d315a3af3d9cbfcd247a75772d2de68240ecd8d292ac0d0729f1965 SHA512 88d8171dda087cceaf44d00f944a9b69da51bcefed28689271807fcdbda2ea2565e472f7a20f05836ec0c27fd17c630078675d1284ea438058748d901e87dca3
|
||||
|
||||
113
app-admin/awscli/awscli-2.36.49.ebuild
Normal file
113
app-admin/awscli/awscli-2.36.49.ebuild
Normal file
@@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 shell-completion
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/colorama-0.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt-toolkit-3.0.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/awscrt-0.36.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
# bundled dependencies
|
||||
RDEPEND+="
|
||||
>=dev-python/s3transfer-0.18.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
TODO="
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/flit-core[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_RERUNS=5
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# this package bundles botocore & s3transfer, but they are custom
|
||||
# v2 branches that were never released and are incompatible with
|
||||
# our release versions
|
||||
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[=0-9.]*::' -e 's:==:>=:' pyproject.toml || die
|
||||
# wcwidth isn't used
|
||||
sed -i -e '/wcwidth/d' pyproject.toml || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x TZ=UTC
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/autocomplete/test_main.py::test_smoke_test_completer
|
||||
tests/unit/customizations/ec2instanceconnect/test_websocket.py::TestWebsocket::test_connect_with_proxy
|
||||
tests/unit/customizations/ec2instanceconnect/test_websocket.py::TestWebsocket::test_connect_with_proxy_but_no_proxy_env_empty
|
||||
tests/unit/customizations/emr/test_emr_utils.py::TestEMRutils::test_which_with_existing_command
|
||||
tests/unit/customizations/emr/test_emr_utils.py::TestEMRutils::test_which_with_non_existing_command
|
||||
tests/unit/customizations/wizard/test_app.py
|
||||
tests/unit/test_compat.py::TestGetPreferredEncoding::test_getpreferredencoding_with_env_var
|
||||
)
|
||||
|
||||
# Some tests take a lot of memory, so run parallel-safe tests first.
|
||||
local awscli_parallel_tests=(
|
||||
tests/functional/[ac-z]*/
|
||||
tests/unit/
|
||||
)
|
||||
local botocore_parallel_tests=(
|
||||
tests/functional/botocore/*/
|
||||
tests/functional/botocore/test_[cds-z]*.py
|
||||
)
|
||||
#epytest "${botocore_parallel_tests[@]}"
|
||||
epytest "${awscli_parallel_tests[@]}"
|
||||
|
||||
local EPYTEST_IGNORE=(
|
||||
"${botocore_parallel_tests[@]}"
|
||||
"${awscli_parallel_tests[@]}"
|
||||
)
|
||||
EPYTEST_XDIST= epytest tests/functional
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
newzshcomp bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
DIST aws-crt-cpp-0.35.4.tar.gz 377147 BLAKE2B 9011b1191d5403c5e106c20a1420d4595c873e05a3ce2844198604e22c47544f50d1060ef35989e58d5bf1601078390d68d2e08aa4bc49ce37a95d9d5373562b SHA512 a8620827869be5465828d400f9cefe38e6030982ef45e7b780c84c68b403d1adc74f59c7b4626d84e730c0e197977430e9c5f5b78992fd3c0092d4ecab8a990b
|
||||
DIST aws-crt-cpp-0.42.3.tar.gz 401899 BLAKE2B 3e0f90e8b77b59c8edda62a2fedaa93f860a6e22a2328f684e231d17ad9c34218b005f4577fb758d4800aef2b12931cc062acf622580d5720c9827f9f7d37a43 SHA512 318496a5823a802b8eb619eb1a42816efb2508d097168a5f4d73169c01ebfdfbe470739f35712a77a1e486408f8de4440e5b7483a8ca334c69571c6ceef459c6
|
||||
DIST aws-crt-cpp-0.43.6.tar.gz 417290 BLAKE2B b0956785c2b875e94426c0c2f08a656db211c5b869ae76e6df85d88c672c1d727ff9c5bd21ed91e200ed88933c57f06df608ce0d700e1d08a4bca4ef23c288f1 SHA512 4c72a700ef7f76ca870896edcafa8526567306d1d202b1dbb9397deab4d77f309cbb8b786bbdf25b775baab9cb9a19bc925b973cf4752810b4b8855ef846f856
|
||||
DIST aws-crt-cpp-0.43.7.tar.gz 418294 BLAKE2B 94dd54730662d5cb3a77ca6feb64ed6d5ffbe0f9cd49fc4700e4c789fd38cf2d2ffd4c3d09c14ab1c725f9db235b64cef9bb8529457bead688ff0e0adf47f596 SHA512 314bfa9eb14167e8ca6e6f3b959c05bbb28c0ba143b1b1ef3884c1bde7411c2ba1089816d73016354f480a442f4f3706361656225e2b84aa732fc5b071d5a264
|
||||
|
||||
55
dev-cpp/aws-crt-cpp/aws-crt-cpp-0.43.7.ebuild
Normal file
55
dev-cpp/aws-crt-cpp/aws-crt-cpp-0.43.7.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="C++ wrapper around the aws-c-* libraries"
|
||||
HOMEPAGE="https://github.com/awslabs/aws-crt-cpp"
|
||||
SRC_URI="https://github.com/awslabs/aws-crt-cpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/aws-c-auth:=
|
||||
dev-libs/aws-c-cal:=
|
||||
dev-libs/aws-c-common:=
|
||||
dev-libs/aws-c-event-stream:=
|
||||
dev-libs/aws-c-http:=
|
||||
dev-libs/aws-c-io:=
|
||||
dev-libs/aws-c-mqtt:=
|
||||
dev-libs/aws-c-s3:=
|
||||
dev-libs/aws-c-sdkutils:=
|
||||
dev-libs/aws-checksums:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-libs/aws-c-common"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DEPS=OFF # disable embedded 3rd-party repositories.
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DENABLE_NET_TESTS=OFF # Network Sandbox cause these to fail.
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
cmake_src_install
|
||||
|
||||
if use test; then
|
||||
rm -r "${D}/usr/bin" || die "Error removing testbinaries from /usr/bin"
|
||||
fi
|
||||
}
|
||||
@@ -39,14 +39,14 @@ src_compile() {
|
||||
ln -s Makefile.unix config/Makefile || die
|
||||
|
||||
# Make
|
||||
emake depend CPP="$(tc-getPROG CPP cpp)"
|
||||
emake -j1 RANLIB="$(tc-getRANLIB)"
|
||||
emake depend CPP="$(tc-getPROG CPP cpp)" CFLAGS="${CFLAGS}"
|
||||
emake -j1 RANLIB="$(tc-getRANLIB)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Running tests..."
|
||||
cd tests || die
|
||||
emake CCPP="$(tc-getCXX)" CC="$(tc-getCC)"
|
||||
emake CCPP="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -7,3 +7,4 @@ DIST boto3-1.43.94.gh.tar.gz 1231556 BLAKE2B 759bb159fb0fc616fab031fdf398482fc55
|
||||
DIST boto3-1.43.95.gh.tar.gz 1232157 BLAKE2B 31fe611aa3023f8328a974e83b2c7599b2d0956989eee20ec4a1542b62e00f1295d67f62c0f2173ae3395d96cd5b9a03925bb2753fa3c42b96f97a9fbe79f785 SHA512 31ea41eed63b0fd6e18f76638d92ac7b22219f443b52087e779956b467bdb77c754418c4e9de462b39032988e243087c5b9d3038ec07a9e9d55772f2a2c0d2b3
|
||||
DIST boto3-1.43.96.gh.tar.gz 1232904 BLAKE2B e040695656e1eef774e3e3832864e9e4fd68d0dd7eab2f9aacf21d1e35c381c04797a2261e88cd6a7b42b4ba665aeef7039b057810256deff06180d0b3f124e9 SHA512 afc7804b902ee8c4375a68d31a871dbd44a8571899e684dba68a181c2dfda4d83690ee0479bc5bacfca30f6909e31be3d355ff2946930ccdfe2f5801a7c123da
|
||||
DIST boto3-1.43.97.gh.tar.gz 1234481 BLAKE2B a76cbe7f12781c2b733730bfae03b14579d9a2a4972031f6a13a892523faf949f22a6387daf440072a6acecf06bab1300714ea22afedc74aaaaa92dabfee74ac SHA512 c87c69b2c73e84a731e379256b22dc00668428ed0e13921fbfcbe94d663aedf47a1ed0c59aba770444ccaa89aaa7b043913cd06f093abd9b0b9dc7b85315dfc0
|
||||
DIST boto3-1.43.98.gh.tar.gz 1235430 BLAKE2B 6a08b191374c1c31b69c975cb4281685bee4914b8f2ab32dd2eb13c7742ff7e228a151f0e78b7f323d43ffe9b4dd7e4574104bc4a63cd573726715eceeb13137 SHA512 550c5daf6b3110562ba08e0694cdc19b7cd02e9d00aba22acc3a8272a63124d3e9eea870d7fced18685ee89459f375ace66aca49fcaece88a1d7dbfa1d54022e
|
||||
|
||||
53
dev-python/boto3/boto3-1.43.98.ebuild
Normal file
53
dev-python/boto3/boto3-1.43.98.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_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
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"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.19.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
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() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@@ -7,3 +7,4 @@ DIST botocore-1.43.94.gh.tar.gz 17147633 BLAKE2B 2a872b6b2289e8a330ea901b32faaa3
|
||||
DIST botocore-1.43.95.gh.tar.gz 17151488 BLAKE2B d895c9a42387b0b5425e54741d9894da2afe5d83977c079a47e4d6cdccc157e6e9395953f033f8739ce7b423f91b1522e303711cb38753af3d3fb238798c3b9c SHA512 73f2a6d6fc3a6b49e8c61a338357282b08d80e567b9c7dd025ac1a7132f7ab48e02c6f08290b1c65e09e745653605775076cc706420fbed25f216a9899e7c56b
|
||||
DIST botocore-1.43.96.gh.tar.gz 17158154 BLAKE2B 29d6f71cec5f1d9d4be88a580aae8cfbacee15252635fafa6d82ee35e8c086bafae04de57d695c18dfa23a86da212bf88b08c4e7b108bc3c629f0830b3f2d04c SHA512 623dc3218688d78c5b9bd7542ad584394aacb82117c9e7c8abf7d2531780cd965dea451fa209ae348f189746611276f9da321805adb8833b2d61f5e2c5c1b8de
|
||||
DIST botocore-1.43.97.gh.tar.gz 17166411 BLAKE2B 267a0a411f5670c0baded3738d9cf1bdfc01549173ef83027af39db995ac19717cbb044e74d80c727344cf45e898444d72b3213da26dd385ec3bc34b25e77fcd SHA512 6fc8523f00c41b163387c14ceb1962b2fd3f5ad869c5a5d34bc00f788f1438f83904e40e0bb59a698656cf7580bdbdc16946b83db293a9a05177b2163ee116a6
|
||||
DIST botocore-1.43.98.gh.tar.gz 17171860 BLAKE2B 8bb682accc106b35b89f19fc6512314f3251a896d5e3e74b02112d9dc6218c56388685113d1889dbbde18ca9ea2b18acd2386d54603567d334644bebc55a678a SHA512 42700b9fbbf6df97f410cff159aae5dd57f5c114567e80fe4930b42166608609fcd9822f011c0acb8a4fc46c92aedd9a7ea5afa1608a24e47b0e30d78274d0ac
|
||||
|
||||
80
dev-python/botocore/botocore-1.43.98.ebuild
Normal file
80
dev-python/botocore/botocore-1.43.98.ebuild
Normal file
@@ -0,0 +1,80 @@
|
||||
# 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..15} )
|
||||
|
||||
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"
|
||||
|
||||
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_PLUGINS=()
|
||||
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
|
||||
)
|
||||
|
||||
# The test suite can eat up a lot of memory when running via xdist,
|
||||
# and slow down some tiny tests. Let's just run a safe subset
|
||||
# of tests known to be slow-ish in parallel, and the rest in series.
|
||||
local parallel_tests=(
|
||||
tests/functional/*/
|
||||
tests/functional/test_event_alias.py
|
||||
tests/functional/test_[cds-z]*.py
|
||||
tests/unit/
|
||||
)
|
||||
|
||||
epytest "${parallel_tests[@]}"
|
||||
|
||||
local EPYTEST_IGNORE=( "${parallel_tests[@]}" )
|
||||
EPYTEST_XDIST= epytest tests/functional
|
||||
}
|
||||
@@ -10,3 +10,5 @@ DIST filelock-3.32.7.tar.gz 225154 BLAKE2B 8235b3db8218f46b0bcc9287dc2a5f93f81a0
|
||||
DIST filelock-3.32.7.tar.gz.provenance 9669 BLAKE2B 145e8c0f37a7ae187771f8c82199404dc5d1677b83faffd264f2d69afdba1d390dd28aa63d8fdb242296dbe130c8c7085cd59186bedfa20b5397b244c670832c SHA512 5db27b4f9a3fd138353d4504eb621e6a6bb7ba24038499f354606dab5825aaddb241c859713760d974a28ccf1cf5bdc18f6a7e792e497f03dbc136f03f41ca09
|
||||
DIST filelock-4.0.0.tar.gz 237935 BLAKE2B a92a2c040b3211c3d0687e0beb0a3e063658194a3b068ee3ba152abfd3315dec438af5a8e4110c2e01f799a3cebfec8a52e0d22a34168fa17f5b282e7f9a35fe SHA512 88733e8d25aafae1817a6755863050a0120839218d3009e96317eda0b541ce4351f34a5e41bc965eb16e6b792a162208b7d16de8be37c7918b53ccedcd92d347
|
||||
DIST filelock-4.0.0.tar.gz.provenance 9649 BLAKE2B 89959f7e12cafc84bec9cbc150259ae0302930841263ce43c3a3055406a37766ef262a19e8f8aaae19812b2e197da76365c5f72e109b0234ae84052dcd0c8aef SHA512 6030feefc34af7638ae0ad7f023a978fe02bf990916a9e5434e9aaea3943c3c58552f1d8bf44adb7d9c73464a01c1f38e911488e9292dd690c96fd53845594c4
|
||||
DIST filelock-4.0.1.tar.gz 238888 BLAKE2B bb91d78763860858904b39d489a6b6c7287b1d622a23b609d2b2635fa0235e3ea1c1cced96add0d4ee4ef94ed69183179baf32fb442238efdff182f88d6c6414 SHA512 d3d5f58792ad13778aa4de689728e894c457186c780daf1ffc89f914de5bca969e660fc2fcabd91daeb1383d1affe47f3a8970b09159cd770b494ccbcda59424
|
||||
DIST filelock-4.0.1.tar.gz.provenance 9849 BLAKE2B d45e47788cd9f4c01b0047366a12c928d7fc0f1014b367b65b761e525cacc1edc1cdecb3b0a03ce125f54242e88bc8f87086397042764da4d76b82e515871a4f SHA512 936794894d9c28bca3149a3d7c8eb3ce28e0ab5ce7792d07759072849c19f75118a6c8edbaf62345c231d91e37f9e765bc1ed03c3b8cd44b66491814495585c0
|
||||
|
||||
38
dev-python/filelock/filelock-4.0.1.ebuild
Normal file
38
dev-python/filelock/filelock-4.0.1.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2018-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/filelock
|
||||
PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A platform independent file lock for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/filelock/
|
||||
https://pypi.org/project/filelock/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{asyncio,mock,timeout} )
|
||||
EPYTEST_RERUNS=5
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/soft_rw/test_soft_rw_async.py::test_async_leaked_singleton_is_closed_on_teardown
|
||||
tests/soft_rw/test_soft_rw_sync.py::test_leaked_acquired_singleton_is_closed_on_teardown
|
||||
)
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST filesystem_spec-2026.6.0.gh.tar.gz 458381 BLAKE2B 730479548ddc6f7727e0ff1d303f037951b71c3eefd0635e82923c262bf3f613ab8351ba7363c0498b98ccc8cb9b4f5312e669a93412f49fb3b6bca77c291959 SHA512 d05023fe56a643bfcfe7cd02898734334d78c9d72ad37be19778263ec25aa3ce2a66c26f3fc4468090dec4e93e17acb79a583ff622fe77b5a3b9fdc095730f7d
|
||||
DIST filesystem_spec-2026.7.0.gh.tar.gz 465547 BLAKE2B 7eaded35934c25e495616cda55dd0c96b7d59b938c55768551667882bce7b62d3be453d0bc69643af17d800ad86d44f9c5511e6fad23853ed329748164354264 SHA512 31ece98f2c7f4213caffe4bcbe26ad2e861b6dd0ba0a719b1086695a3d6fd8d79069c734c472a1eb62ee89636b0c46f2d5801276f81b055aa7c420b69e5c9ab9
|
||||
DIST filesystem_spec-2026.9.0.gh.tar.gz 501779 BLAKE2B 3086b47391ef65ef0ea88db485c871e6ab48dc7edea32d352b765e5e845b5fcbc800f95153e554273d26375303a1c472c7bdc12310bbd0eb11c839e816a076f5 SHA512 e447740bad02f9c7f51dbe581f4bc3d3d3cc9185f1554b2f194cbab81abf9890baece6b4696939092a0d8951781e0effb6f3dea07abfe663990a5e2f588d6374
|
||||
|
||||
@@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
@@ -1,6 +1,5 @@
|
||||
DIST nanobind-2.12.0.gh.tar.gz 940575 BLAKE2B 8eee3f682ed9139704946946c3d58fd8c0060634aba382d709802e36a9d9798fd932d8933cce53ef019d9149c422bdee68d5d4664c302c84b102bb9deca9027e SHA512 a187f0efae1833b2caeaff41074a3d8fbd866ee1874aac088ffd5daf026aeaa6a73a8943b682bd39ef59b755e36b73a221eaf71343a28351dce0c8f284debdd9
|
||||
DIST nanobind-2.13.0.gh.tar.gz 989569 BLAKE2B a392ea44b8d60f4244374f6e2ade5b6abdd7dd787b0108395149a68890f2eaa25c3e5fe4e0e6fe9ebaf3d0cfa54d86f978ac0a599604cd7d078de3e0912e1038 SHA512 8ab384572d8142b29fdccab2e3693e576cee4cbd6c8d8ac54b3426e45dba6618beb4ccb3e413d41fc405d09935da1fd65f75ef46cf6f78156c2273052fe3e22a
|
||||
DIST nanobind-2.14.0.gh.tar.gz 992786 BLAKE2B fd9e67a11b7888ba8db61f3b68891997feda2391d6e6f8e982fa89d040c2c59e1c2b02b27ae0b4dbe7e4c0adf4ff5e20607a60266a2c7358f94e3d74dcb7564a SHA512 da52c51dc7b12623131abb4169fc91b4e8524e1c947348091ea4c6ec57a89d9eeb106db0900a78a7b206001c5eea736618c5416f61f4caf15c8e9d862d27d822
|
||||
DIST nanobind-2.15.0.gh.tar.gz 999019 BLAKE2B 20ff4e038e277d04d6287b5a3dd103fe5b58481bfd29180d209426f4d7c7b8ff5ddd7af4fa82c57f3fdb83500b410e78a6e979b7f5cbfa0d632c339da126749c SHA512 376c4e86cec0e97fe9d6d844fe4e79c1cbfdd2d6355d68ee5b8acff4329983044ea0f22d0948f731ee82009afa7bba837f4f849967c831bad9ea322ffb52fc00
|
||||
DIST nanobind-3.0.0.gh.tar.gz 1079064 BLAKE2B 60f70d9b1f5036d1012a700ce3ce380c3ccd7ef79005761b1ff860a1765d68640129045f35be32d6332bf86bc9c654eb9542a83efe1d8ff569ff1a527c04f0a8 SHA512 fd07f611e34a40c39c0ef8b860d7001551c8f2caf6b938d9e52d7439fd41f18cdd5ebaa7f8c2499a9238edc51ea8113583bbb4ac0a463b608f07b745ac5d33f8
|
||||
DIST nanobind-3.0.1.gh.tar.gz 1080674 BLAKE2B 3c9d3697955860b34dfab21c18093ab0e5b2e25bd2ed57550b34a3ccaff05f3eed17806580f6ed88508eb947b339297bd2552ca3eae8350ae0d38e34fb9e67b9 SHA512 122e9f09745df06806fc98792079c1ecaca37a9c5e6ddd6630e6a9375255ac849fac117b389da717d987ff8d5f9e00796837376f2e0ae621cc0187964369df57
|
||||
DIST nanobind-3.1.0.gh.tar.gz 1083479 BLAKE2B 30d6404e36691c346e5e8a83c077827d6f608b670055d9a212f43bab588c29b585040183b2cf1c1d05c729404244424381f4e480575adaf12a9b64845cfa1439 SHA512 3cbf96c73323dc71bc6fc463e087857493c7711ffcb2a8f4fe2a479bd3f0268d0b3c4bab7138d87e98475ec34a5f51be273d5522cb1ec63d90a1a83badd90a75
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=scikit-build-core
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit cmake distutils-r1
|
||||
|
||||
DESCRIPTION="Tiny and efficient C++/Python bindings"
|
||||
HOMEPAGE="
|
||||
https://github.com/wjakob/nanobind/
|
||||
https://pypi.org/project/nanobind/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/wjakob/nanobind/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 ~x86"
|
||||
|
||||
DEPEND="
|
||||
>=dev-cpp/robin-map-1.3.0
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# XXX: nanobind installs a CMake config file which by default passes -Os
|
||||
# We currently patch around it in dev-python/pyopencl. In future, we
|
||||
# may want to add some override with Gentoo specific environment vars.
|
||||
DISTUTILS_ARGS=(
|
||||
-DNB_CREATE_INSTALL_RULES=ON
|
||||
-DNB_USE_SUBMODULE_DEPS=OFF
|
||||
-DNB_TEST=OFF
|
||||
)
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local mycmakeargs=(
|
||||
-DNB_CREATE_INSTALL_RULES=OFF
|
||||
-DNB_USE_SUBMODULE_DEPS=OFF
|
||||
-DNB_TEST=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
cmake_src_compile
|
||||
|
||||
cd "${BUILD_DIR}/tests" || die
|
||||
epytest
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
DIST platformdirs-4.11.10.tar.gz 39389 BLAKE2B a9c3e5329d40d215d12c6895c5384ba0194ca5a870afa964ca659b00a71b8f12a8bff5aceddedd5c31cffbd0825da4ac8b3d0ed96ad4abb549ebe593e3137427 SHA512 189bda44a41e0f727dabce31b94eaa3a6ac1db214784d33ec133810e2e38b347f39efd849c8a0112c1b101d52e06c37e63912577ed3bb13aa07d5e8c939c1522
|
||||
DIST platformdirs-4.11.10.tar.gz.provenance 9727 BLAKE2B 68b894e86840f698e0b4fcc0c8738dc49419d4a7412841f56f2f6170071287b8e89add4e7c8e45d4d2a92d4695f07f0bbf7be8f398c7e0abe2322ab3a4d13ee6 SHA512 b807a7850cf218f5fd159f50811b54f745d5739cf2ffe5d9073853023c9a0b1eb8db902e943b68b623538a8debdad2739d5be55ce68d4ee9804275b77f5ad336
|
||||
DIST platformdirs-4.11.11.tar.gz 39949 BLAKE2B d2859626de4bde78e374803f075f100e2461293a4b51bfea0da514dac248c01e432237cb7af29c106fba723a172567b1408e106657fe98a7c1507636e1bf520e SHA512 79a795a2afcc6f63278ac10f704d4bab22af0dcfe75ceed15cb8edb59a7aede5a0d6fa0c852a1dd805c2fb54963496cd5a1c503efc04e39e08bd4d27d895d29f
|
||||
DIST platformdirs-4.11.11.tar.gz.provenance 9911 BLAKE2B 186d2f4f51ebd4f88a32e16fb55502250179c937a2ca15c893ab0721c8407695b271e06a46b7903e95e229480572d946380e6cbf2a37ad1b26f30a1e5ee67339 SHA512 bb64f31a340a8d6220b837df9d6ccb56b879fa8a55d0716beed4e35516e8844bda9ab95097c9567276526cdb65871f09143cc2f2207d08e4b7b6598bfa10eb09
|
||||
DIST platformdirs-4.11.3.tar.gz 33050 BLAKE2B c838822e0d5a9391d13fbf240c3006ade7094c2a2ad7c5b9904fce23c48ea9db6e851d04c887a80f37fee3bd0612e010ae58516751c050fb881c8ec6da1ab22e SHA512 0d90ccbb4f75bc2c0eda42223d475c688c59214fd696ff4690abd022322d9883816bc7c33765da8c9a792afc04ab21faa08c69dcbe027f7cbdcb4087e5baa2a1
|
||||
DIST platformdirs-4.11.3.tar.gz.provenance 9777 BLAKE2B 9b4f683aaab5b99f085f560e4ff21e3a9533b892e974e8e39aef047ee2021ff416ff88af6db98c6fd284ef592a926b425c8b7c05f5cb0f4b8d5c23bb59ac8229 SHA512 97833d43052e8b2c303f204f8291cfb39bc1b399c2ecfbeabe18b54e5d20bb8920c802013fc43060c9e4f2ed7f359c5a5c763dc8cb14e9ba8bc52f328a64fa34
|
||||
DIST platformdirs-4.11.4.tar.gz 34079 BLAKE2B daf5b088aa61382c1cbcbda0eebb23b9b4e7071472589ee1cc61c04f5386952d1be1b3090198104c4749c09c0fe5fcf8677ddfd31c1f8efe34219ef1a9708b3d SHA512 557782bd9f2af016372e9406a05a55194259303ae63ee90f684595f9a5dfbe0cc8ba11252135ebf31cb5a93bef740487581b4ca852f467ef781287cda15e4a0c
|
||||
|
||||
50
dev-python/platformdirs/platformdirs-4.11.11.ebuild
Normal file
50
dev-python/platformdirs/platformdirs-4.11.11.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit-core
|
||||
PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs
|
||||
PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/platformdirs/
|
||||
https://github.com/tox-dev/platformdirs/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-mock )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "hatchling' pyproject.toml ||
|
||||
die "Upstream changed build-backend, recheck"
|
||||
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||
cat > pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["flit_core >=3.2,<4"]
|
||||
build-backend = "flit_core.buildapi"
|
||||
|
||||
[project]
|
||||
name = "${PN}"
|
||||
version = "${PV}"
|
||||
description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".'
|
||||
EOF
|
||||
# sigh
|
||||
cat > src/platformdirs/version.py <<-EOF || die
|
||||
__version__ = version = '${PV}'
|
||||
__version_tuple__ = version_tuple = (${PV//./, })
|
||||
EOF
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
DIST psycopg-3.3.4.gh.tar.gz 611451 BLAKE2B 5c15f36c1fd291d1ef58c22fbb6af2c4da0a38e5c05cb40b50e06471b834924a7c55d322e335457f3a017cd31b3900ec5bd1694b6e293e5e3c740be68a9aa66c SHA512 4cfeeb118088d704c6ebd17f42916b77825e89827411116a5e9ad813e756b71969c800179aa7337a1fcb379efde937c8d33c828b87305d5bb63ef06e66185b83
|
||||
DIST psycopg-3.3.5.gh.tar.gz 759446 BLAKE2B f565b31d28dc555f28e508ab9046f83ac39a264a0ee135b147bb7949a8a505fca24492fdfec84dfd15d783e33b0d66dba696b77bebfcab0a86a1fa48f71e1c58 SHA512 bc47fdd05060ea56e068f424ff90d41df8fb1d4f052805d41c9f5ef4bf4e37f61776ff371119f46a7702af857d782c72645d234cf6f118355c191cc81450650a
|
||||
DIST psycopg-3.3.6.gh.tar.gz 773723 BLAKE2B fd03b87a8a91b4d5e8eacc88e348a7541b4e21eebd6416b0fd160a83a88af6182020e60417da33696ee917304f8d73168a6ad332d2d17f13bbaa9ae48efacb30 SHA512 b6c5114b189a04e267b7a1ee039e1ce0dd9ba0fab24f504259e52d4a2cb79a9033d95a090df8f8f88f71bf416419216303b86d6383296980b317ac3e19264df8
|
||||
DIST psycopg2-2.9.12.tar.gz 379683 BLAKE2B bb5e5cdee0fef649c46d414b916d6f49096c27571897cfe1ecbaa9416c8c4f8c79eeff94a3475421981e3659a123e8e8852442968539d084e7cc46c54829c946 SHA512 0d37b51408298baad8b2b095af24b1c0d0b67ba99a2532ed7344a931c6f4d431be9c21c94811eace1b4418899f070f80e80266bfe0386aac2e64289ab1b8862e
|
||||
DIST psycopg2-2.9.13.tar.gz 378068 BLAKE2B 68e904c1976835b77282fde1bf29df202c25479b96896e1c98c88235eb87788911264193420a7ba2ce17b7358439614d2611bd16b3eb58df2fe61d23517778f7 SHA512 7aebcf55161b1ad60af4b64fef64f676cdf68ee1597c8c1107350c367f1eafafe37b736716d191e3a3ba4d4ea6d436d22cb606f44655b4aebc8613d4314dbc15
|
||||
|
||||
123
dev-python/psycopg/psycopg-3.3.6.ebuild
Normal file
123
dev-python/psycopg/psycopg-3.3.6.ebuild
Normal file
@@ -0,0 +1,123 @@
|
||||
# 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_{12..15} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PostgreSQL database adapter for Python"
|
||||
HOMEPAGE="
|
||||
https://www.psycopg.org/psycopg3/
|
||||
https://github.com/psycopg/psycopg/
|
||||
https://pypi.org/project/psycopg/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/psycopg/psycopg/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="+native-extensions"
|
||||
|
||||
DEPEND="
|
||||
native-extensions? (
|
||||
>=dev-db/postgresql-8.1:=
|
||||
)
|
||||
!native-extensions? (
|
||||
>=dev-db/postgresql-8.1:*
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}]
|
||||
' 3.11 3.12)
|
||||
"
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
>=dev-db/postgresql-8.1[server(+)]
|
||||
>=dev-python/dnspython-2.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( anyio )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
# Python code + ctypes backend
|
||||
cd psycopg || die
|
||||
distutils-r1_python_compile
|
||||
|
||||
# optional C backend
|
||||
if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then
|
||||
local DISTUTILS_USE_PEP517=standalone
|
||||
cd ../psycopg_c || die
|
||||
distutils-r1_python_compile
|
||||
fi
|
||||
cd .. || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
rm -r psycopg{,_c} || die
|
||||
|
||||
initdb -D "${T}"/pgsql || die
|
||||
# TODO: random port
|
||||
pg_ctl -w -D "${T}"/pgsql start \
|
||||
-o "-h '' -k '${T}'" || die
|
||||
createdb -h "${T}" test || die
|
||||
|
||||
local -x PSYCOPG_TEST_DSN="host=${T} dbname=test"
|
||||
distutils-r1_src_test
|
||||
|
||||
pg_ctl -w -D "${T}"/pgsql stop || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# tests for the psycopg_pool package
|
||||
tests/pool
|
||||
# some broken mypy magic
|
||||
tests/test_module.py::test_version
|
||||
tests/test_module.py::test_version_c
|
||||
tests/test_typing.py
|
||||
tests/crdb/test_typing.py
|
||||
# TODO, relying on undefined ordering in Python?
|
||||
tests/test_dns_srv.py::test_srv
|
||||
# requires pproxy?
|
||||
tests/test_waiting.py::test_remote_closed
|
||||
tests/test_waiting.py::test_wait_remote_closed
|
||||
tests/test_waiting_async.py::test_remote_closed
|
||||
tests/test_waiting_async.py::test_wait_remote_closed
|
||||
)
|
||||
|
||||
case ${ARCH} in
|
||||
arm|x86)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
tests/types/test_numpy.py::test_classes_identities
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local impls=( python )
|
||||
if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then
|
||||
impls+=( c )
|
||||
fi
|
||||
|
||||
local -x PSYCOPG_IMPL
|
||||
for PSYCOPG_IMPL in "${impls[@]}"; do
|
||||
einfo "Testing with ${PSYCOPG_IMPL} implementation ..."
|
||||
# leak and timing tests are fragile whereas slow tests are slow
|
||||
epytest -k "not leak" \
|
||||
-m "not timing and not slow and not flakey"
|
||||
done
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST python-slugify-8.0.4.gh.tar.gz 14098 BLAKE2B 684061ef5f1ee96d727caeb123957709ed391c4a746ef8a40945294ae9278947c18bd8be3d51fd2d9466b420f27ce833a54b84882375617004f9909a683090a9 SHA512 b401e574f23fa77152f8c64f15263766ed7d081759e93c28fce5fa32495eb4921701030b395ca1c738ca46a509e54bc987d81ff07fa602dd42bfa630a49aa4a0
|
||||
DIST python_slugify-9.0.0.tar.gz 60189 BLAKE2B c1459a0600301eab6005a49e58ee9fa18199539d80df99b37c4823a6952fcce2b8f8d99590f3e6b5ca08660fd766a290530e09f1ce093f38494370ab9ed4bc1a SHA512 2f2ddc0dee7c790a96dc38f84c3dcc006a7e22c3dd67b9a878461dbed03f6cc0b0c56b327dd0ec0b497ee730d27d2a8c96120b72f7233f199ba912868590cd94
|
||||
DIST python_slugify-9.1.0.tar.gz 63567 BLAKE2B 911f4363b313d21bcd98174ab5fc791f2f160ed4a425b007b3a8e99f23813dcb651dda85ff5cb23149954d3b7caac8f10a657f9b5bbcfcc7831994fa174773d6 SHA512 c710d87f427495c6dc4b96cb4e56dba1b34a6ee855d83858c9a9d5340ba97511e267a6a6f7951721b0037120d953e29ef6ac11b2b64465ad27b4e7e274a95e41
|
||||
|
||||
31
dev-python/python-slugify/python-slugify-9.1.0.ebuild
Normal file
31
dev-python/python-slugify/python-slugify-9.1.0.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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..15} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A Python Slugify application that handles Unicode"
|
||||
HOMEPAGE="
|
||||
https://github.com/un33k/python-slugify/
|
||||
https://pypi.org/project/python-slugify/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/anyascii[${PYTHON_USEDEP}]
|
||||
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
@@ -1,6 +1,4 @@
|
||||
DIST pyzotero-1.14.0.tar.gz 576974 BLAKE2B 4e0fcb3888f987c13e8cc364045e5ac3bfd8a141e1e905511399e760838337d4077f86346d63ace5221a4d58483c4a36e610cc29e2d10e645d6303ab701b3913 SHA512 649a288e0d50ca22fdc230ea8e72153edc99b955a870242c3039984f808ffb7fdaf5b2a8f1897aa15aaceb954431854dca9099b5dbb484e0ff641cb9f5c16a4b
|
||||
DIST pyzotero-1.14.0.tar.gz.provenance 9541 BLAKE2B 0aa8eb4697218378e903a091ec8f26e0eae618c8bd2b8c51d0c51ff0b73a69f2c20a14f344cba94016cad84d7793fcc04d1afea6a8dfbe660d58d68b4d20d1fb SHA512 3c06f82bf3255d34a7209fc8bcec5af3f30ea0a1313e8b82c8d2ad6862ec414b01d7527e10d131d10e2df1dbee920c0a6d4de0cb10dec1ec0db0e93d8b0a878a
|
||||
DIST pyzotero-1.15.0.tar.gz 584953 BLAKE2B a8a78693ef8f6b239ea7834c9e37dff98f0af9409b05c8d22ca4d814ceb10397fca6335a9e273ff4039ee254123728c9cd6f4065015f345ab6d5f884e59cf259 SHA512 2a5b61b79dac5c35f0e38216cfd499e9d969b6304d063e354b60c51ff5f05cc5b9710bbbd1be72920546c9e1056555b676dd24ffa30ecd99a1a873363602069f
|
||||
DIST pyzotero-1.15.0.tar.gz.provenance 9553 BLAKE2B a4dbed677e4bfb3ff57ad07f6fc845a2ff8330805cf277507da961455fba62738f1daab112c157fd58aa4474e9c538ec4eaaea1e03b6dd5c6d8876b6f4a4634b SHA512 ee2bdd835e90f0c69732fdf9fc7f8f7820040d07245aca0eb9670d0748e4dbe038a302b5feafba31b42bb0b4abe88f62cabfbd1f36df154bc218c38ddf18bc59
|
||||
DIST pyzotero-1.15.1.tar.gz 589183 BLAKE2B 7f4a76782ab3b9cdb0a85bddf6b306fb4a5b50a77467ad30a613ff2de5c047289474a9dd189034ed98445be4ea135f3f76f2d4cc20e414b8cf23ba31892c3dcc SHA512 d431ca7065b42aa9762d2e55fe52e9926607c96193d26bdda8c9d5e64b6e552107b374946f557468c74b7c333a77d2fee1548deb891e4d08bd69ec13accf4037
|
||||
DIST pyzotero-1.15.1.tar.gz.provenance 9835 BLAKE2B 125b435f812fdf14f5ce47b4fe4aff529909ba94a25212abfcf7477ff477170a0c0f5f3179172a4e1913d92808237478e1da4adae0723d525927bf68375de034 SHA512 d4f03c3e578f631e69b490f2e0f2338ac5d77a7a3ffd1dcb3aa7b4afdca3fd3473fb674aa89ce09b6500b5548768e139e544faac3e5dc5061be6b67204019124
|
||||
DIST pyzotero-1.15.2.tar.gz 589281 BLAKE2B cc8a1a0ff190df071f458fc1322c390776e75399cf92c8021142e64f58382273592f12d02a16f8b30e33d312acc051c30a9d5d5fd01fe676267f097a7d72e5bd SHA512 874dcf31979c850345644f551f3e46a8769a8a10d4fca131938574ec517b4869fcedc1745be6b1f60d1f16152923419b95ea962beac3b3733d34f2c6f5b9818d
|
||||
DIST pyzotero-1.15.2.tar.gz.provenance 9745 BLAKE2B 394affcfe251aa052348ba5d77393e054c1fa7bbdb7aa19850a4b34365a57fa15912044d567b2fb124fcb97e8b37777aa823773f665bd7a781d916971fbd54ce SHA512 c872c53b0ef1b9c0912a49b0d690155fd64f084766fdff1da93ad27d5c9b237b81aa58b25927caab986c135d2304a51ba052a54ba0d9ef199ed6c22f79dfcfc2
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=uv-build
|
||||
PYPI_VERIFY_REPO=https://github.com/urschrei/pyzotero
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
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-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/bibtexparser-1.4.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/feedparser-6.0.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpx-0.28.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/whenever-0.8.8[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2025.2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/tzdata-2025.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc \
|
||||
dev-python/sphinx-rtd-theme
|
||||
EPYTEST_PLUGINS=( pytest-asyncio )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
> tests/__init__.py || die
|
||||
epytest -o addopts=
|
||||
}
|
||||
@@ -2,3 +2,5 @@ DIST sphinx_gallery-0.21.0.tar.gz 483616 BLAKE2B 9a1c84edc63201be44f1879afdeaf32
|
||||
DIST sphinx_gallery-0.21.0.tar.gz.provenance 9772 BLAKE2B 0e529fd62aeece0120e88d1953c680d815133d5e23976935f6e848dfa5d4718395ad854e0bff5dc090bcad85fa71584146708fc9765e3adcf4b5c8300542358c SHA512 1a58636031e5115d7c9bd2e155cbf6cb184d2c7543aebd3943113521d39a8b993e30f2adcdc1d4023a9a3f5b6b8bd4f090b603eefaef03075351ee446812253f
|
||||
DIST sphinx_gallery-0.22.0.tar.gz 505484 BLAKE2B 72f199e1518189f15a3ec08446a344e928f0aa6f8cbbd388434b9053545e906b2244de4c9db1ec329c8d29234ec5c6b3851b36e36866cb3bf9d845993d5ea7a9 SHA512 194e76921a3d40c3d9a690c20f2cdf38310121ee0abc23df6fd6c4397c1851d999f4c15fd47744fd6d8c6d02b5d4b07c1e5dc62bb0a197ce50387018dc8bc028
|
||||
DIST sphinx_gallery-0.22.0.tar.gz.provenance 10210 BLAKE2B cc2ca2a421d0aff688d9ea181f2e77e661bde8186c42438d7edf6bf3a741263bc8d701b46e60f0c03ff2608fcfe24552a51244bc8e35c03b25e1f6425f906cf2 SHA512 ca4f2b3682bb6bd32746564955a5d21b7db9cf0046e2cd009929dbbe3a1fd85c63b0a3006676f4d3a249de51bd1e4dfaf3a6f55f68844bfd71dc9ae8629b87e9
|
||||
DIST sphinx_gallery-0.22.1.tar.gz 509262 BLAKE2B 1a0c8e1be55e704073001a750bf4dbb3729072c3bcea13bde131b2236d03515fcf384e5daf6caf549a50d76276a1c409de51c0c78e550012b87fac62d93b6ba1 SHA512 acfaee6fa0ad1977d51cf46fdaeeb1e5a6587dd95e4f12f97abd6c030ed47eff5a5a16af09a222e1e66cfe606e9802af647d785c83f0600f0b014e261259271f
|
||||
DIST sphinx_gallery-0.22.1.tar.gz.provenance 9940 BLAKE2B db372e6d6140b8e32457c72a423177e80ccde4112d7a6d6932eda5b054ce1b5a4c4dbbf71de8c0abc5509aacd3078db342a6020cc91a804a363ff0acbf62fac8 SHA512 03e942c7c335530f637b105ed986885c3034d6d18c369f1d444b7aba19e783efbe7528dc422f26471161abc527bd12e46a9f2b0af9c5a158a62e7566927dbe7f
|
||||
|
||||
54
dev-python/sphinx-gallery/sphinx-gallery-0.22.1.ebuild
Normal file
54
dev-python/sphinx-gallery/sphinx-gallery-0.22.1.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# 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/sphinx-gallery/sphinx-gallery
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Sphinx extension to automatically generate an examples gallery"
|
||||
HOMEPAGE="
|
||||
https://github.com/sphinx-gallery/sphinx-gallery/
|
||||
https://sphinx-gallery.github.io/
|
||||
https://pypi.org/project/sphinx-gallery/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-6[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/joblib[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# Internet
|
||||
sphinx_gallery/tests/test_docs_resolv.py::test_embed_code_links_get_data
|
||||
sphinx_gallery/tests/test_full.py::test_run_sphinx
|
||||
sphinx_gallery/tests/test_full.py::test_embed_links_and_styles
|
||||
# require jupyterlite_sphinx
|
||||
sphinx_gallery/tests/test_full.py
|
||||
sphinx_gallery/tests/test_full_noexec.py
|
||||
sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents
|
||||
sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_non_default_contents
|
||||
sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_with_jupyterlite_disabled_via_config
|
||||
)
|
||||
|
||||
epytest -o addopts=
|
||||
}
|
||||
@@ -12,3 +12,5 @@ DIST tox-4.61.4.tar.gz 308140 BLAKE2B ae284f0ac7fcca7d4bcb0ff7442c97b19e8b783d12
|
||||
DIST tox-4.61.4.tar.gz.provenance 9548 BLAKE2B 3fe6f9b3f0fb5461b30dbcba77407ebdb420858c31f12a69e78dc3f8b5490f35ae0df658a2e6222686829064a247975bd7747d29531e7dc0309a7ab636c341a6 SHA512 f3c144d2ffcbb8407f2a516a5d8b068e44e862bf163f62ba00bca73e6e543aa765afd0f18f5dbc97591bc4e640b14c68377b29729c0b69c54aadee9b24bad439
|
||||
DIST tox-4.61.5.tar.gz 308508 BLAKE2B 20b5f8697963754ac868c547224cb01d50e4a6e4bb910473772d92c33cc6aadd7792d996aa3b78a882225c70cac2ca734a0248699650e87cfe599f53057a8d35 SHA512 691dcdae5f52a0a7aaead99f91d2a0e813de3820f1a2c489f08e0af86ae42d596c6be9279c63a14a1468a297dc1be0968d497c35dcbd79ac141d0ac0a7959135
|
||||
DIST tox-4.61.5.tar.gz.provenance 9673 BLAKE2B 0d029219e08eb4f28eaca0d0ffcc48492d0dbd8cf0b7a9ed87485fcc5271918928f47d3ad7f421984d874f36c3422693b7f292d6b2049066b8b810012eacd04e SHA512 6a79178a46bd71eb5a8b3a383384ccb5fd71ef3f845b5adf32722d7501be5f98f2076e8803597f8fdd88f4ff8848648bb62247b0ce757c0e16e496b2f0289a7c
|
||||
DIST tox-4.62.0.tar.gz 309684 BLAKE2B b296169ce5691c141cf6362c0d032734acb54d348fa7f505f2910b1ab0c10f91af1d915282f610ed3b4f81ac0691ee381f41e7fa2f030de03ebaa93e95401a20 SHA512 f68a48eb65051f0352f431db49c405e42bccf3568c18584980d37d0b59a55ef7a7c2f1b6501d87b85845f9b224960eb5a2698356b3f75d8e914fdd1424319d8a
|
||||
DIST tox-4.62.0.tar.gz.provenance 9497 BLAKE2B 602dd61ae1ce851fe78bd62905aa155ab992260dced5ff8981882c897713848a5bca66ea005c01b1e719315466d2bb7ba30d07948b656b3d75a32fa8e6dd1e31 SHA512 bf0c3f43f5a3c069cf3a666188afce2faab3726a619c9c55bb0647f36a2471730fb6abc9a39912297e773bfabd08a87bb445c6a458f8da582faf3aad2005c78e
|
||||
|
||||
84
dev-python/tox/tox-4.62.0.ebuild
Normal file
84
dev-python/tox/tox-4.62.0.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=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/tox-dev/tox
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
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 ~m68k ~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}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/typing-extensions-4.15[${PYTHON_USEDEP}]
|
||||
' 3.12)
|
||||
"
|
||||
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}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine )
|
||||
EPYTEST_RERUNS=3
|
||||
# upstream timeouts are quite short
|
||||
: ${EPYTEST_TIMEOUT:=180}
|
||||
EPYTEST_XDIST=1
|
||||
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
|
||||
)
|
||||
|
||||
epytest -o addopts=
|
||||
}
|
||||
@@ -5,6 +5,7 @@ DIST uv_build-0.12.13.tar.gz 424846 BLAKE2B 9fee11946f1067045349d28ba05b6dae8aae
|
||||
DIST uv_build-0.12.14.tar.gz 427528 BLAKE2B 81c3c2310058e279debf4c3964ac02fbccb0deec757fbb0824cf0e9a7e6edc0a49b269b382ee8ec47290bf37194c33c806bbb6778ba52d6915bbff3109007a9d SHA512 d8ff710bab00c287e3935e1411c9b9898a9db2107ac03285155bbcdda58e2d94d40556ace50986777b90832a03ea896149846b51e57691f9f243203c32ec44f7
|
||||
DIST uv_build-0.12.15.tar.gz 427499 BLAKE2B 30c3f72775de6f609ada7eca182fbd46da150624945983bd64691c59afb86e5e6c2bbeda1ea7f0bb5d12e8c9a332e741a9e2443ac6edba09da90352c00680d6a SHA512 8ad1d541ee1e287683d3013efb453e0ce1867e1404b369c36ac8f46b7300dd201516ade51930aad08b38ef1d42dff362baa13f58281d454344fde22f00443919
|
||||
DIST uv_build-0.12.16.tar.gz 432812 BLAKE2B 2401a3d86cef31756ae50ad6fb888b731139c18bdd9ca019ac0d2dcd8fe2debad881de41f63987347975682650e78d719f9069922d02740a1b896923591bb956 SHA512 f97ba7943f2ab91859859091f8a13a0392c86182e7ffccaf0083f48f6d158fe9fd943a667c063a07316c9026b32e93b58a6e2ecab2ed45a37809d5014495e4d3
|
||||
DIST uv_build-0.12.17.tar.gz 434807 BLAKE2B 8823907abc14637a684723b683284cc8b6a40b2467adbab74059b139388aeb1ff8870bdc09a497bad3e06af60c4e9c360c8d57cc6dd62e26e9239f4cf041f827 SHA512 a833a0578c6d543eabe51089d330f0d93d141bea5ff2bc1a194ad27a7ad4a1c7189321cdcf6012465b819bffd620affb42d4fb148bce69beeee0e32537a74668
|
||||
DIST uv_build-0.12.3.tar.gz 414444 BLAKE2B f226c1c2bf0b2af538f66095e20c02ad1933afdee62a07eff5f1135692bab47e286f67e7a8f5882e98c61fbb6bf831a85dd56a2d5af2bee6d62d8857a59e56bc SHA512 90d9af3e1a1ff1d7dda21fa38c0ac2d94536e73697ddabb408fb38e2d381498b2401007af0ab31c39cbf3b632aeca2991b3a66d7108e1c5eb7294b3fba8fe107
|
||||
DIST uv_build-0.12.7.tar.gz 418759 BLAKE2B 94aa33b2644f849a686d80d7f7d365ca8433615d93f27209fca5b21747363cd349d11e887d090420102f06a49977ce963b8f19c24a4280bf82a09943ba08885b SHA512 135f845b3ee6d1925f740917f83f94ec1a7e95aab5ed2db0aa70516c712ab0a143a0e427d3c172fac0bb1fabaa9103718bb2a26c31c9a287e3af65ac0175a245
|
||||
DIST uv_build-0.12.9.tar.gz 423446 BLAKE2B 8f32f7527633f5853a11a0f798a2aa075f9e96c2b34144f986a639dbd042bac7c5e33853287ef43273352a3ee84da852062c42daead1f188281295b635694177 SHA512 3aa6ea5b4e60218e7cbc3c5ed8ff7fbeeace36eb0d2c75627fb7a0ce7c060e8d6405378e9713f7164319cce55dc96b1a335ccb3032cfc7e9e60e99862295e79e
|
||||
|
||||
100
dev-python/uv-build/uv-build-0.12.17.ebuild
Normal file
100
dev-python/uv-build/uv-build-0.12.17.ebuild
Normal file
@@ -0,0 +1,100 @@
|
||||
# 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=( python3_{12..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}/pyproject.toml
|
||||
uv_build-${PV}/pyproject.toml.orig
|
||||
uv_build-${PV}/
|
||||
uv_build-${PV}/README.md
|
||||
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
|
||||
}
|
||||
@@ -12,6 +12,8 @@ DIST uv-0.12.15-crates.tar.xz 44168832 BLAKE2B ad318ae7073d47eec81b715bb5461993c
|
||||
DIST uv-0.12.15.gh.tar.gz 8628030 BLAKE2B 6640138ba52b1d4758e7d703652669b82de5246866145cbe62d0eda101738cc15a967037962c8a2f3a964cdf329896243a6363966088e2346a9499d2b85ea626 SHA512 7bc4c206e00ebb4540cd03b4eb70b120aebafe0392cfe652bd94dc8e003ea922eb451d2ce50c1468641f97709672cbea6c05f93739162fc822a8481fe2027089
|
||||
DIST uv-0.12.16-crates.tar.xz 43866124 BLAKE2B 50e976af5551b92eaf2edc16b9aa6c729d767b8d4a4b3a5d272a961f3332cbc61a49173aeb0c1bf80be50ba3a223e40b57e4869c5fadb35879d9fcb200135051 SHA512 ad82b057e8a42914757130d7feb2901479132a1bb8cfecf35933b4bf6e8a019e45251fc1058b448025d3d1398d4fcabebb4ecfbf284c757cc1fe19c7e0213f6e
|
||||
DIST uv-0.12.16.gh.tar.gz 8687042 BLAKE2B 69c16bcfd99300ae8073d5f5022d4ad2a876ea989755b2e3c9ae07150bd5cb6a17ad4fffb501b353991275c79f6e0c416d17c4c66c628516869992d2d1e86a72 SHA512 2d139e609f23b584fc6942ba261d90f724c047f9fcfe0ededa235f763957ca04828b0189feb5824a732cd15c6e39e7d3d4c4e89ca895b69ea06664cd852c2ce1
|
||||
DIST uv-0.12.17-crates.tar.xz 43846848 BLAKE2B f899f093a14a7195cb93d81aa71c31d68f068050d5a3d7a299be166808ff7333e8b93884637649bcf219e2dbd3ae14f7bc68250c7249c3f9c07b5e794a88c3c0 SHA512 d3d33ea3e3fa1468442abf13afde74a6cbccb52a674086833f2075424a6c79eb75644d0fc411eae3b015eaad81d7612dbed1d8123ed05c79f8d9542beff187a7
|
||||
DIST uv-0.12.17.gh.tar.gz 8706123 BLAKE2B e45aae4ea550252440e8f646a505ba4d295e1eafe94092798e79e5db26320dae4b899cc7d04d96387791996e55e4ced2cbcff6ffcd9edc056c9580f5e175751f SHA512 ae554aa9d096afa7e1c35a1e50ba11c0553cd182ba75e5dd425613add092d38c46b3cbd47b026f03674394d6d0852162d5953c4cacef511c7157378d1790b8a1
|
||||
DIST uv-0.12.3-crates.tar.xz 42197452 BLAKE2B 996bb294d37774e0cb5529c34552d20877cd82a3d063b6e4dc1f6feff05a7822a91c44408a970f038d3045312be0edd4c9e8d34f6eebc04d71bd4d2ffa0184ee SHA512 8de33956c5a603fb4aa1bb5ab6db68c537d7523a84f3092057f562b1209bc976b0bc64cc6ed76cbf1b0edb4981b6a41765fa5e2729a487e4e2322052aa08b8a4
|
||||
DIST uv-0.12.3.gh.tar.gz 7273161 BLAKE2B 706a2297090b13c6f731d25f55ae8c2225e3b9bd820c61814f512c1e04d98d2e46ce5bfac6ec6ea346dbce1663aea644384b37663b53d64a08a90b48217bdb0d SHA512 a4933b9b9b852dee2485800ad82ee3be111a4a5a437ab32d5064cfd4004e124ba733294a546a097379c74cf1fc234d1da0488aec7725037c7b967ec1aa862a71
|
||||
DIST uv-0.12.7-crates.tar.xz 44143088 BLAKE2B 075113e8cbafd99a1c70c4ce53678f2ceb13ce31dc7cafb5773e32ae9dfa14144390380e0149219912a0c4b92e6d3b9d0a0a0016cdd4c69097bf75adf1b8a716 SHA512 f9dbdad7cbddd3238c7cc9fbcbec4e92fc8c8c66bc7247ccc8159bb186223c199e3bd411ad9148750ec1fa258775dcec1e2bb6bc3287fca7aeb6ffa7ba4d6b44
|
||||
|
||||
151
dev-python/uv/uv-0.12.17.ebuild
Normal file
151
dev-python/uv/uv-0.12.17.ebuild
Normal file
@@ -0,0 +1,151 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
"
|
||||
RUST_MIN_VER="1.96.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 MIT-0 MPL-2.0 Unicode-3.0
|
||||
Unicode-DFS-2016 ZLIB
|
||||
"
|
||||
# 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 tikv-jemalloc-sys?
|
||||
|
||||
# remove unbundled sources, just in case
|
||||
find "${ECARGO_VENDOR}"/zstd-sys-*/ -name '*.c' -delete || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myfeatures=(
|
||||
test-git
|
||||
test-pypi
|
||||
test-python
|
||||
)
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
# otherwise, rustc/llvm runs out of address space
|
||||
use arm && export RUSTFLAGS="${RUSTFLAGS} -Copt-level=0"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd crates/uv || die
|
||||
cargo_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd crates/uv || die
|
||||
cargo_src_test --no-fail-fast
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "$(cargo_target_dir)"/{uv,uvx}
|
||||
|
||||
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,6 +4,8 @@ DIST virtualenv-21.7.11.tar.gz 5354008 BLAKE2B 166651d9ced8ac3b6bffb0330e23e140f
|
||||
DIST virtualenv-21.7.11.tar.gz.provenance 9765 BLAKE2B 37f1def545140512831ccddb7bd20499c4d58c5776ecc9490e898f45f5b0c44955a1c604e7be85abdb41a91955c93226bf9a8c812503906de8f03715b9fa07e9 SHA512 8b809ef182e3fd27cfeddef6e0634c15f348f034fd1693dd4660ee91af1243088f4113fe2bfe2e13194f5a5e87974ac88e74206976f05038fa98d97494e7f12b
|
||||
DIST virtualenv-21.7.14.tar.gz 5360773 BLAKE2B 84b540a539d21e95f3e736735827c9b8c3680ef715ca2c2508724cbc57caf8b42c18944c771f4d5a7e027f1081b541e703daf73e2ca3a8dc5f968277ba4f2bb8 SHA512 2b6de45165c3fef5e9db1b9805eaefed378b2809f4ec5246e576f0ff5f9fbd8763835a9555b9a8c5f3154e83df02ebacc874dde2cb42808e3d7d8c9ef09f9e32
|
||||
DIST virtualenv-21.7.14.tar.gz.provenance 9773 BLAKE2B b3c84aa1cec8ff729b369feb648fe998b3340bed9de1a5df03e8fe0378925a21504b696dbfdcecd04d7b359564bfe951a94abd27351cb27c98aff1bd4501d6f0 SHA512 fae4af40567ba76b6ceeb0fba0499e8ce27c90c426fd110316198b75fbaecff380a9fda4bee9b088a6c70a446bf546b8973cf422aea34c8371fb3a7d7fbf85fa
|
||||
DIST virtualenv-21.7.15.tar.gz 5361912 BLAKE2B 0171973b91f5580d8217846bdfb80b315487be271016d83590dc1a3e237b55f3e4b295f05484004d6ae7c09d5c211251a2b72a6d9dcce918409076b011929bda SHA512 eb4b431acbf8f74f711549b4ed5597b9f153327f805384ec2b7db8b8bf9e64cbb16ae361cf8c9d281247fe8f257f2879dab4fc85bcce7ba18ad15acf681b5457
|
||||
DIST virtualenv-21.7.15.tar.gz.provenance 9675 BLAKE2B be642242beafc893d0467eef1be7ecb5a11af0d2bf1fc804c66cd7a9bb13e85b907c2ca9f5aa5c06f6ee5bad2a80b7626c98bb61f7cb49d2095fce8bd613d1b0 SHA512 62a2ae65e777763961ee957b913e1201e84051116b983c6557ddd295ba0a47df454beec838121cd6b8291d357cb8c0157fdcca136b8aa1bbd629595859db401b
|
||||
DIST virtualenv-21.7.4.tar.gz 5345511 BLAKE2B 30c7b5e782e4867e5d2a1726ab564af6d106280a909666a4dbee0a42d0cf9bde932681eb442cecb186d3a04bea329ebce458e45ecc5b745bfcc8a8fcc1e85997 SHA512 52db3945bf8c3c8f87db9b2e9df3ff22ab45b4ce3f0ffdbb9a7b3678df4cde0b0980dd9040adf478a6909d0650ff6f873a2db2d022e402e8d46edc8b67cf5c97
|
||||
DIST virtualenv-21.7.4.tar.gz.provenance 9618 BLAKE2B 5cf72407fb515710895b6534a32c0b7b96329c3c8387aae5a1552e7d43a5447bb2d10c2198b61bd0150cf3cf719d54d5e3329a5a7230abb470e3805f87031a6b SHA512 a7280f39dfeb05379b7c9ba5dd3b9fdb8e7fda8a9496805795f53407fc175b308309640e77dfadec21806e2fb07c545ccb95c7e7b87fee68fa63fdf1fb30f58e
|
||||
DIST virtualenv-21.7.5.tar.gz 5346743 BLAKE2B 52c54885686970e47eb44c6271515164929382f7ab8f514c1cd4861fb9145354d4b299e1d2d5eb658504713545dc9d481db8dec8541235983f9f68d795b68d52 SHA512 708068427c768f6469ffc49afa9738ef7d7b1f3edd1809ed2e8267878eae7f5729ad0992fc9acefbda6059c4c42a78a6cba31af0c6dbf4de7414b6c12da924de
|
||||
|
||||
117
dev-python/virtualenv/virtualenv-21.7.15.ebuild
Normal file
117
dev-python/virtualenv/virtualenv-21.7.15.ebuild
Normal file
@@ -0,0 +1,117 @@
|
||||
# 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_{12..15} )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_{14..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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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.6[${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/time-machine[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
||||
' "${PYTHON_TESTED[@]}")
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
# use wheels from ensurepip bundle
|
||||
"${FILESDIR}/${PN}-21.5.1-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
|
||||
tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing
|
||||
# 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
|
||||
)
|
||||
|
||||
local -x TZ=UTC
|
||||
local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine )
|
||||
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,4 +1,4 @@
|
||||
DIST yaspin-3.4.0.tar.gz 42396 BLAKE2B f8a21978a109bddd3bfd0cd870b54cd0f3f9eaaf80d1c9440c24269267d832a2eedf87df1236b43c855bfc474a41a2d5971fc867e0f75867102f4d1416d1e9a1 SHA512 7aac314c2a306326bdc1f0aff8f58d7b916f143134adcb22a365393c58a73e1247ab8cfbc5a70ab6c5fd59f396572a0a5d18fcd92f96993709b2257d88acfd45
|
||||
DIST yaspin-3.4.0.tar.gz.provenance 9171 BLAKE2B dd7e0af802e6cca324d36702b89ca48f5e57c7143a5e412f7d70e391f8bc5cfcdf662db7d972e9cba34f25336dbbf81a457043aa534e437b33f0132eb0ba7479 SHA512 a2f306104256c469e0540df5f1df4e3f8729a68373fd4020890ceae00c40d615091619f9745c88856e42c6ec96237196ed4fec9dda90e18233e76413e27e864e
|
||||
DIST yaspin-3.5.0.tar.gz 44051 BLAKE2B fe921d5feb80f16c2dddc9f284facce5d7cf6b3e05e58ae20005580d2a7a585283fd46f3e52d856024198d09ae2576f151ea1256925ed358500d3c78279f36f5 SHA512 1933a03adf5277e0e16ca0bdca745dc6763351f0c46599d5cb563812f53cafeb4895a84cce8191eb730b43a17a31e4408dca31712aa96b4f7cf1c21e2536c5f1
|
||||
DIST yaspin-3.5.0.tar.gz.provenance 9796 BLAKE2B 79a3c8ef5232696c1f9fe6dc14ec66cb0ae24959480fa0ae673d9f1e5d97a45e722e6c0ec5e86c3cc902496ee9020a0cb8534e6deb16922a049f1b475639a830 SHA512 45562792ad58846599c9c815aa07c8360191a7535f9b710e86af1bad091bab5895c06f73b8601ffba8feb6599fbebdca82847df74309b4a4c5be97b1183f494c
|
||||
DIST yaspin-3.5.1.tar.gz 44488 BLAKE2B 68428876eaa6ce6767c758925b539cb28dc28c19f2e00b43fef513e66a4d8f9749dfd479b551f98cee165604af1571e6da00f39574c19e3d65f60541fda9d6e2 SHA512 8e1f8bf5a7daa82b53d4b498d10aac4264a8b5f138735e06617863354a8167ea8f7e602c0caf2ab46dc9c337eba03cb7d446028bb8167b93f43986417f1675bf
|
||||
DIST yaspin-3.5.1.tar.gz.provenance 9655 BLAKE2B dcd96aacb63349b03220ad358642085bd3e2c1f3387caaa0a6fcb15b9db5410ce09a06ee2b8a8afcf9452ea37633f39b439eccb722adfd0e20cb1a9c12e39d96 SHA512 4431979323612669bfcfd4040455cfe7242dd43b37d3a2f3d45a43b24b0921f68bf676b8fb01597d2c9ce39c5f602e25652138bf6467f47fa3706a2286131016
|
||||
|
||||
@@ -21,7 +21,7 @@ KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
=dev-python/termcolor-3*[${PYTHON_USEDEP}]
|
||||
>=dev-python/termcolor-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/termcolor-3.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
Reference in New Issue
Block a user