commit: 65531180912937f9a0c16b51a4eed4a071729464 Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Fri Jan 13 21:55:36 2023 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Fri Jan 13 21:55:36 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=65531180
dev-python/asdf: add 2.14.3 Signed-off-by: Horea Christian <chr <AT> chymera.eu> dev-python/asdf/asdf-2.14.3.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-python/asdf/asdf-2.14.3.ebuild b/dev-python/asdf/asdf-2.14.3.ebuild new file mode 100644 index 000000000..17014d60e --- /dev/null +++ b/dev-python/asdf/asdf-2.14.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Python library for the Advanced Scientific Data Format" +HOMEPAGE="https://asdf.readthedocs.io/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/astropy[${PYTHON_USEDEP}] + dev-python/pytest-doctestplus[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/gwcs[${PYTHON_USEDEP}] + ) + doc? ( media-gfx/graphviz ) +" + +RDEPEND=" + >=dev-python/jmespath-0.6.2[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.10[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + >=dev-python/semantic_version-2.8[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/astropy dev-python/sphinx-astropy dev-python/matplotlib dev-python/docutils + +python_test() { + # discovers things in docs dir if we do not + # explicitly set it to run on the tests dir + epytest asdf/tests +}