dev-python/python-fire: skip problematic test

Adds maintainer and missing test dependencies.

Closes: https://bugs.gentoo.org/977154
Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
bakedsnake committed 2026-08-10 01:36:32 +02:00
1 parent 9a17e4accb
commit 6d8642a860
2 files changed
+27 -6

No files matched your search

+8 -5
View File
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">google/python-fire</remote-id>
<remote-id type="pypi">python-fire</remote-id>
</upstream>
<maintainer type="person">
<email>bakedsnake@vagrantz.xyz</email>
<name>bakedsnake</name>
</maintainer>
<upstream>
<remote-id type="github">google/python-fire</remote-id>
<remote-id type="pypi">python-fire</remote-id>
</upstream>
</pkgmetadata>
@@ -1,4 +1,4 @@
# Copyright 2022-2025 Gentoo Authors
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -25,7 +25,25 @@ DEPEND="
dev-python/hypothesis
dev-python/mock
dev-python/pytest-asyncio
dev-python/termcolor
dev-python/hypothesis
)
"
EPYTEST_PLUGINS=( )
EPYTEST_DESELECT=( "fire/fire_test.py::FireTest::testFireAsyncio" )
src_prepare() {
default
# Update / remove deprecated options
sed -ie "/'License ::/d" setup.py \
|| die "Failed to remove deprecated setuptools options"
sed -ie "s/requires_python/python_requires/g" setup.py \
|| die "Failed to rename deprecated `requires_python`"
sed -ie "/tests_require/d" setup.py \
|| die "Failed to remove deprecated `tests_require`"
}
distutils_enable_tests pytest