diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-15 10:12:35 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-15 10:12:35 -0500 |
| commit | 99d6652f1c56f6bd0f2fbc564d613297121a6976 (patch) | |
| tree | 555e8d7b4386d89c9230126ef0d9e7ec6e340f7a /dev-python/python-fire/python-fire-0.7.1-r2.ebuild | |
| parent | a5a137d12774b833cc8730fc291f88c7582658dd (diff) | |
| download | baldeagleos-repo-99d6652f1c56f6bd0f2fbc564d613297121a6976.tar.gz baldeagleos-repo-99d6652f1c56f6bd0f2fbc564d613297121a6976.tar.xz baldeagleos-repo-99d6652f1c56f6bd0f2fbc564d613297121a6976.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-fire/python-fire-0.7.1-r2.ebuild')
| -rw-r--r-- | dev-python/python-fire/python-fire-0.7.1-r2.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/python-fire/python-fire-0.7.1-r2.ebuild b/dev-python/python-fire/python-fire-0.7.1-r2.ebuild new file mode 100644 index 000000000000..23e7d9c72d8e --- /dev/null +++ b/dev-python/python-fire/python-fire-0.7.1-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..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" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/mock[${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=( pytest-asyncio ) + +distutils_enable_tests pytest + +src_prepare() { + default + # Update / remove deprecated options + sed -ie "/license =/d" pyproject.toml \ + || die "Failed to remove deprecated setuptools options" +} |
