dev-python/python-fire: add 0.7.1

Also updates src_prepare(), since this version does
not use setup.py anymore.

Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
bakedsnake committed 2026-08-14 08:34:43 +02:00
1 parent 259e0c0b0b
commit 8692efe6ad
2 files changed
+54

No files matched your search

+1
View File
@@ -1 +1,2 @@
DIST fire-0.7.0.tar.gz 87189 BLAKE2B a1cc759466ac78bae82b4ed50ce3915fe0e45308fb96e7b4c76fc0e04cc5ae950351fc736f8790d79d1cbd441240d41eebf9130fd57a1f7cc46f5b40404dbe5c SHA512 f451c19dde5359fc63298ef48f6cc9b2626f6693769d41031232eff024895b0f7f6679adc9ad5c5eb9036fad80b86fd787c2f4aaee4961c109904b8381c94119
DIST fire-0.7.1.tar.gz 88720 BLAKE2B d11f11bf96fcbb17c20cf3830c81e29dedb8ba6b9fd06ab1562f87c3fd9203ddbb0fdd8c708aafee7fa898b5a82da443e75e4ef15f0f0a638372c3b8c792da52 SHA512 0cce927e14552fb9bdbfab73e32f7ef4665ff4bc9b134ee1b80f9c5b8752ab7db9f0353ebea92934288a273f7ab8be4188dc8b6e8922cb05e4b9d6997586e293
@@ -0,0 +1,53 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
PYPI_PN="fire"
inherit distutils-r1 pypi
DESCRIPTION="Library for automatically generating command line interfaces from Python objects"
HOMEPAGE="https://pypi.org/project/fire"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
dev-python/six[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
"
BDEPEND="
${PYTHON_DEPS}
"
DEPEND="
${RDEPEND}
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}/python-fire-asyncio.patch"
"${FILESDIR}/python-fire-inspect.patch"
)
EPYTEST_PLUGINS=( )
distutils_enable_tests pytest
src_prepare() {
default
# Update / remove deprecated options
sed -ie "/license =/d" pyproject.toml \
|| die "Failed to remove deprecated setuptools options"
}