diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2020-09-20 11:04:04 +0300 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2020-09-20 11:04:21 +0300 |
commit | f8e6f57de17e9a8d664133ae3c6d16537bb8d6b7 (patch) | |
tree | f7105439d22afbb433ec82f20cf885c6646f90cd /sci-physics | |
parent | dev-python/pytest-forked: Remove python2 (diff) | |
download | gentoo-f8e6f57de17e9a8d664133ae3c6d16537bb8d6b7.tar.gz gentoo-f8e6f57de17e9a8d664133ae3c6d16537bb8d6b7.tar.bz2 gentoo-f8e6f57de17e9a8d664133ae3c6d16537bb8d6b7.zip |
sci-physics/qmeq: Add new snapshot
Closes: https://bugs.gentoo.org/740244
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/qmeq/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/qmeq/qmeq-1.0_p202004.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sci-physics/qmeq/Manifest b/sci-physics/qmeq/Manifest index 6c1d89c683aa..b7e3f8148a3c 100644 --- a/sci-physics/qmeq/Manifest +++ b/sci-physics/qmeq/Manifest @@ -1,2 +1,3 @@ DIST qmeq-1.0.tar.gz 590715 BLAKE2B 7f091be0651236f2dcb45825df541813e27b43b2b8ec9184a342c962363921e29462726ba23530d0b956bba45793ed2036cec6287696e5fa58f91204d9267933 SHA512 3589fe927740cac5130a5b936e7fb8f73ce20f280878a326cdf91fe6340e8853f5e055c7e07170433c0977130cbb31644b0d9f84d23cd467aaa82557c8541e6f +DIST qmeq-1.0_p202004.zip 157661 BLAKE2B f3140ffe79d5e310cf11a3b7e73b7b377fe7fd055708f77c9d3c548ce06da97b3deccfbb3364970c949694caa88b91e35a4c49c0c39a8a32f43c4c7f91e82fa2 SHA512 223d0bacce75ff672182e0401027f17e59b8cb8b79cdfb15200709c8c14eb1cd7158a68a42ce6e8660895d419f6101257b57941dcc416fc35438dacea9c15e85 DIST qmeq-examples-1.0.tgz 289316 BLAKE2B add7520b579023c8da91aff294dd5a8fd29ba3520c3b496f2a98c8159dab4ad6bcdd1d12070357d868a10bbf224511ab27da069b94951d2c8632064344d2e143 SHA512 4a7b78a200ab4fa407401ea89740cdbcfb82376d97e8146e20a1cdab154269a6b9ce8217fb7ce78af73677b544ab535c5eadd386655dbff9c4ebde6c8eda9e38 diff --git a/sci-physics/qmeq/qmeq-1.0_p202004.ebuild b/sci-physics/qmeq/qmeq-1.0_p202004.ebuild new file mode 100644 index 000000000000..44aa79209318 --- /dev/null +++ b/sci-physics/qmeq/qmeq-1.0_p202004.ebuild @@ -0,0 +1,51 @@ +# Copyright 2018-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 ) + +inherit distutils-r1 + +Pcommit="d3949bf812e1648892959a169a7ff849cd7b69d5" + +DESCRIPTION="Quantum master equation package for Quantum dot transport calculations" +HOMEPAGE="https://github.com/gedaskir/qmeq" +SRC_URI=" + https://github.com/gedaskir/qmeq/archive/${Pcommit}.zip -> ${PN}-${PV}.zip + examples? ( https://github.com/gedaskir/${PN}-examples/archive/1.0.tar.gz -> ${PN}-examples-1.0.tgz ) +" + +KEYWORDS="~amd64" +IUSE="examples" +LICENSE="BSD-2" +SLOT="0" + +COMMON_DEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] +" +RDEPEND=" + ${COMMON_DEPEND} + examples? ( dev-python/jupyter[${PYTHON_USEDEP}] ) +" +DEPEND=" + ${COMMON_DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] +" + +#PATCHES=( "${FILESDIR}/qmeq-1.0-py3.patch" ) + +#mydistutilsargs=( --cython ) + +src_unpack() { + default + mv -v "${PN}-${Pcommit}" "${PN}-${PV}" || die +} + +src_install() { + distutils-r1_src_install + docompress -x "/usr/share/doc/${PF}" + use examples && dodoc -r "${WORKDIR}/${PN}-examples-${PV}"/* +} |