You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-physics/qmeq/qmeq-1.1.ebuild

37 lines
970 B

# Copyright 2018-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10,11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Quantum master equation package for Quantum dot transport calculations"
HOMEPAGE="https://github.com/gedaskir/qmeq"
SRC_URI="
https://github.com/gedaskir/qmeq/archive/refs/tags/${PV}.tar.gz -> ${P}.tgz
examples? ( https://github.com/gedaskir/${PN}-examples/archive/1.0.tar.gz -> ${PN}-examples-1.0.tgz )"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
DEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
examples? ( dev-python/jupyter[${PYTHON_USEDEP}] )"
BDEPEND="${DEPEND}
dev-python/cython[${PYTHON_USEDEP}]"
distutils_enable_tests setup.py
src_install() {
distutils-r1_src_install
docompress -x "/usr/share/doc/${PF}"
use examples && dodoc -r "${WORKDIR}/${PN}-examples-1.0"/.
}