dev-python/Pint - 0.19.1 (stuff)

Search

Package Information

Description:
Python package to manipulate physical units
Homepage:
https://pint.readthedocs.io
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.19.1 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

PYTHON_COMPAT=( python3_{9..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 flag-o-matic

DESCRIPTION="Python package to manipulate physical units"
HOMEPAGE="https://pint.readthedocs.io"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc python"

RDEPEND="
	dev-python/numpy
"

DEPEND="${RDEPEND}
	doc? ( dev-util/gtk-doc )
"

REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

python_compile() {
	distutils-r1_python_compile
}

python_compile_all() {
	use doc && setup.py build
}

python_test() {
	setup.py test
}

python_install_all() {
	distutils-r1_python_install_all
}

USE Flags

doc

Dependencies

DEPEND

	dev-python/numpy

	doc? ( dev-util/gtk-doc )

RDEPEND

	dev-python/numpy

Manifest for 0.19.1

Type File Size Source URLs
DIST Pint-0.19.1.tar.gz 290698 bytes mirror://pypi/${P:0:1}/Pint/Pint-0.19.1.tar.gz