dev-python/pyprismatic - 2.0 (stuff)

Search

Package Information

Description:
Prismatic Software for STEM Simulation
Homepage:
https://prism-em.com
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.0 8 ~amd64 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
DISTUTILS_EXT=1
inherit distutils-r1
#inherit cmake

MYPN="prismatic"
MYP="${MYPN}-${PV}"

DESCRIPTION="Prismatic Software for STEM Simulation"
HOMEPAGE="https://prism-em.com"
SRC_URI="https://github.com/prism-em/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${MYP}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc python debug gpu"
#RESTRICT=strip
BUILD_DIR=${S}

RDEPEND="
	dev-build/cmake
	dev-libs/boost
	sci-libs/fftw[threads]
	sci-libs/hdf5[cxx]
"
#FFTW (compiled with --enable-float, --enable-shared, and --enable-threads)
#HDF5 (if self-compiling, compile with --enable-cxx)

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

python_configure_all() {
	if use gpu; then
	        DISTUTILS_ARGS=( --enable-gpu )
	fi
}

USE Flags

doc
gpu

Dependencies

DEPEND

	dev-build/cmake
	dev-libs/boost
	sci-libs/fftw[threads]
	sci-libs/hdf5[cxx]

	doc? ( dev-util/gtk-doc )

RDEPEND

	dev-build/cmake
	dev-libs/boost
	sci-libs/fftw[threads]
	sci-libs/hdf5[cxx]

Manifest for 2.0

Type File Size Source URLs
DIST pyprismatic-2.0.tar.gz 17521217 bytes https://github.com/prism-em/prismatic/archive/refs/tags/v2.0.tar.gz