diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-14 03:04:40 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-14 03:04:40 -0500 |
| commit | 44ac9950da93ffaa670439fbc31f0a3f95378bb3 (patch) | |
| tree | 88c80e746a3195bb4d1869bcb64467fdabcc54c8 /dev-python/python-fire/python-fire-0.7.1.ebuild | |
| parent | 00a5031b2e58fb36fc981fe226565880b4798a8b (diff) | |
| download | baldeagleos-repo-44ac9950da93ffaa670439fbc31f0a3f95378bb3.tar.gz baldeagleos-repo-44ac9950da93ffaa670439fbc31f0a3f95378bb3.tar.xz baldeagleos-repo-44ac9950da93ffaa670439fbc31f0a3f95378bb3.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-fire/python-fire-0.7.1.ebuild')
| -rw-r--r-- | dev-python/python-fire/python-fire-0.7.1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/python-fire/python-fire-0.7.1.ebuild b/dev-python/python-fire/python-fire-0.7.1.ebuild new file mode 100644 index 000000000000..574b70d2b666 --- /dev/null +++ b/dev-python/python-fire/python-fire-0.7.1.ebuild @@ -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_{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" + +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" +} |
