commit: ace6eb5ddc5dde473ec6116f5d4b734c74c7c250
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 08:39:54 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 09:29:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace6eb5d
dev-python/hatch: Strip Python-level dep on dev-python/uv
Strip Python-level dependency on "uv". We install it as a pure Rust
package, and therefore don't have .dist-info for it.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/hatch/{hatch-1.14.0.ebuild => hatch-1.14.0-r1.ebuild} | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dev-python/hatch/hatch-1.14.0.ebuild
b/dev-python/hatch/hatch-1.14.0-r1.ebuild
similarity index 93%
rename from dev-python/hatch/hatch-1.14.0.ebuild
rename to dev-python/hatch/hatch-1.14.0-r1.ebuild
index 73317b37f0de..67af1d9235a0 100644
--- a/dev-python/hatch/hatch-1.14.0.ebuild
+++ b/dev-python/hatch/hatch-1.14.0-r1.ebuild
@@ -54,6 +54,13 @@ BDEPEND="
EPYTEST_XDIST=1
distutils_enable_tests pytest
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # we don't install .dist-info for uv
+ sed -i -e '/uv/d' pyproject.toml || die
+}
+
python_test() {
local EPYTEST_DESELECT=(
# Internet