sci-physics/pyhepmc - 2.16.1 (science)

Search

Install

Install this version:

emerge -a =sci-physics/pyhepmc-2.16.1

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

autounmask =sci-physics/pyhepmc-2.16.1

Or alternatively:

emerge --autounmask-write -a =sci-physics/pyhepmc-2.16.1

Package Information

Description:
A Pythonic wrapper for the HepMC3 C++ library
Homepage:
https://github.com/scikit-hep/pyhepmc
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.16.1 8 ~amd64 0
View Raw Ebuild
EAPI=8

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

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

DESCRIPTION="A Pythonic wrapper for the HepMC3 C++ library"
HOMEPAGE="https://github.com/scikit-hep/pyhepmc"

LICENSE="BSD"
SLOT="0"

RDEPEND="
	>=dev-python/numpy-1.2[${PYTHON_USEDEP}]
"
BDEPEND="
	${RDEPEND}
	dev-build/cmake
"

src_compile() {
	filter-lto
	append-cxxflags -fno-strict-aliasing
	distutils-r1_src_compile
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/numpy-1.2[]

BDEPEND

	
	>=dev-python/numpy-1.2[]

	dev-build/cmake