dev-python/h5json - 2.0.0 (benzene-overlay)

Search

Install

Install this version:

emerge -a =dev-python/h5json-2.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/h5json-2.0.0

Or alternatively:

emerge --autounmask-write -a =dev-python/h5json-2.0.0

Package Information

Description:
Specification and tools for representing HDF5 in JSON
Homepage:
https://support.hdfgroup.org/documentation/hdf5-json/latest
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.0.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )

MY_PN="hdf5-json"

inherit distutils-r1

DESCRIPTION="Specification and tools for representing HDF5 in JSON"
HOMEPAGE="https://support.hdfgroup.org/documentation/hdf5-json/latest"
SRC_URI="https://github.com/HDFGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND=">=dev-python/numpy-2.0[${PYTHON_USEDEP}]
	>=dev-python/h5py-3.10[${PYTHON_USEDEP}]
	>=dev-python/jsonschema-4.4.0[${PYTHON_USEDEP}]
	dev-python/pytz[${PYTHON_USEDEP}]
"

S="${WORKDIR}/${MY_PN}-${PV}"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-copybutton dev-python/sphinx-book-theme dev-python/myst-parser

python_prepare_all() {
	use test && { sed -i -e 's:../../src:src:g' -e 's:"..", "..":".":' test/integ/*_test.py || die ; }

	distutils-r1_python_prepare_all
}

python_test() {
	mkdir -p test/unit/out test/integ/{h5,json}_out || die
	epytest
}

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/numpy-2.0[]
	>=dev-python/h5py-3.10[]
	>=dev-python/jsonschema-4.4.0[]
	dev-python/pytz[]

Manifest for 2.0.0

Type File Size Source URLs
DIST h5json-2.0.0.gh.tar.gz 1733642 bytes https://github.com/HDFGroup/hdf5-json/archive/v2.0.0.tar.gz