sci-physics/hepunits - 2.3.6 (science)

Search

Package Information

Description:
units and constants in the HEP system of units
Homepage:
https://github.com/scikit-hep/hepunits
License:
BSD

Ebuild Details

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

EAPI=8

PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1

DESCRIPTION="units and constants in the HEP system of units"
HOMEPAGE="https://github.com/scikit-hep/hepunits"

LICENSE="BSD"
SLOT="0"
if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/scikit-hep/hepunits"
else
	inherit pypi
	KEYWORDS="~amd64"
fi

BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"

distutils_enable_tests pytest