diff options
Diffstat (limited to 'dev-python/asdf')
-rw-r--r-- | dev-python/asdf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/asdf/asdf-2.14.3.ebuild | 46 | ||||
-rw-r--r-- | dev-python/asdf/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/asdf/Manifest b/dev-python/asdf/Manifest new file mode 100644 index 000000000..ac7f18004 --- /dev/null +++ b/dev-python/asdf/Manifest @@ -0,0 +1 @@ +DIST asdf-2.14.3.tar.gz 489097 BLAKE2B 26e3da88f4b0ada5a995ff77fdb55a26aa9af1b53c4e90723b36080526ee218581d09295b169bddd998a4055d1b9818e793bfdafdc786a27f5ea87021e9f85e7 SHA512 125015a1d3a26034c8d483bebf609af02489d0710973828e443dea5cfa46cb33826078714b9ccbd385fcc92fd6b2d92253e80c32ca90565a48f45e4ff47b8655 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..2c935c1fb --- /dev/null +++ b/dev-python/asdf/asdf-2.14.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="Python library for the Advanced Scientific Data Format" +HOMEPAGE="https://asdf.readthedocs.io/en/latest/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# Reported upstream: +# https://github.com/asdf-format/asdf/issues/1319 +RESTRICT="test" + +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 +} diff --git a/dev-python/asdf/metadata.xml b/dev-python/asdf/metadata.xml new file mode 100644 index 000000000..332ed9dd0 --- /dev/null +++ b/dev-python/asdf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <upstream> + <remote-id type="pypi">asdf</remote-id> + </upstream> +</pkgmetadata> |