mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-15 14:42:44 +00:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
40 lines
962 B
Bash
40 lines
962 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="Dictdiffer is a library that helps you to diff and patch dictionaries"
|
|
HOMEPAGE="
|
|
https://github.com/inveniosoftware/dictdiffer/
|
|
https://pypi.org/project/dictdiffer/
|
|
"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
|
|
|
BDEPEND="
|
|
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
|
test? (
|
|
dev-python/numpy[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
distutils_enable_tests pytest
|
|
# Requires self to be already installed
|
|
#distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
|
|
|
python_prepare_all() {
|
|
# remove dep on pytest-runner
|
|
sed -i -e '/pytest-runner/d' setup.py || die
|
|
|
|
# remove dep on pytest-pep8 and pytest-cov
|
|
sed -i -e '/addopts/d' pytest.ini || die
|
|
|
|
distutils-r1_python_prepare_all
|
|
}
|