mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-13 02:01:25 -04:00
dev-python/python-fire: drop ~x86 keyword
Resolves nonsolvable depset. Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -0,0 +1,52 @@
|
||||
# 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"
|
||||
|
||||
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" 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`"
|
||||
}
|
||||
Reference in new issue
Block a user