From ec560e4b511b5d7cb09adbd406de3ddb8386156f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Aug 2026 07:05:33 -0500 Subject: Adding metadata --- dev-python/python-fire/metadata.xml | 4 ++ dev-python/python-fire/python-fire-0.7.0-r1.ebuild | 49 ++++++++++++++++++++++ dev-python/python-fire/python-fire-0.7.0.ebuild | 31 -------------- 3 files changed, 53 insertions(+), 31 deletions(-) create mode 100644 dev-python/python-fire/python-fire-0.7.0-r1.ebuild delete mode 100644 dev-python/python-fire/python-fire-0.7.0.ebuild (limited to 'dev-python/python-fire') diff --git a/dev-python/python-fire/metadata.xml b/dev-python/python-fire/metadata.xml index 5f33304011d5..e01cbd79c083 100644 --- a/dev-python/python-fire/metadata.xml +++ b/dev-python/python-fire/metadata.xml @@ -1,5 +1,9 @@ + + bakedsnake@vagrantz.xyz + bakedsnake + baldeagleos-repo diff --git a/dev-python/python-fire/python-fire-0.7.0-r1.ebuild b/dev-python/python-fire/python-fire-0.7.0-r1.ebuild new file mode 100644 index 000000000000..b1cff5145c63 --- /dev/null +++ b/dev-python/python-fire/python-fire-0.7.0-r1.ebuild @@ -0,0 +1,49 @@ +# 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/python-fire/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six + dev-python/termcolor +" +DEPEND=" + ${RDEPEND} + test? ( + 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 diff --git a/dev-python/python-fire/python-fire-0.7.0.ebuild b/dev-python/python-fire/python-fire-0.7.0.ebuild deleted file mode 100644 index e10096a00bbc..000000000000 --- a/dev-python/python-fire/python-fire-0.7.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2025 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/python-fire/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/six - dev-python/termcolor -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/hypothesis - dev-python/mock - dev-python/pytest-asyncio - ) -" - -distutils_enable_tests pytest -- cgit v1.3