diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-01 12:52:02 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-01 12:52:02 +0000 |
| commit | df899fa791750d19ac5a7dc30a1778095d3f8d60 (patch) | |
| tree | 4aff626b567f25f42c616d1c81fdc1d243d95cab /dev-python/dictdiffer | |
| parent | 215476f669d20b307ff052c3ff0d420102108e58 (diff) | |
| download | baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.tar.gz baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.tar.xz baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.zip | |
Adding metadata
Diffstat (limited to 'dev-python/dictdiffer')
| -rw-r--r-- | dev-python/dictdiffer/dictdiffer-0.9.0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/dictdiffer/dictdiffer-0.9.0-r1.ebuild b/dev-python/dictdiffer/dictdiffer-0.9.0-r1.ebuild new file mode 100644 index 000000000000..4b99c528ae5b --- /dev/null +++ b/dev-python/dictdiffer/dictdiffer-0.9.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Dictdiffer is a library that helps you to diff and patch dictionaries" +HOMEPAGE=" + https://github.com/inveniosoftware/dictdiffer/ + https://pypi.org/project/dictdiffer/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" + +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 +} |
