summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-04-03 00:07:41 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-04-03 00:08:22 +0200
commita302c0f75bb2b340f8701f0ae2026c09be932b30 (patch)
tree726e1cf3d971cb098f432f5591d9a61fcf642976 /sci-physics
parentnet-analyzer/nmap: tidy up system-lua logic (diff)
downloadgentoo-a302c0f75bb2b340f8701f0ae2026c09be932b30.tar.gz
gentoo-a302c0f75bb2b340f8701f0ae2026c09be932b30.tar.bz2
gentoo-a302c0f75bb2b340f8701f0ae2026c09be932b30.zip
sci-physics/qmeq: add 1.1
Closes: https://bugs.gentoo.org/810442 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/qmeq/Manifest1
-rw-r--r--sci-physics/qmeq/qmeq-1.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/sci-physics/qmeq/Manifest b/sci-physics/qmeq/Manifest
index 171d8c65a906..c142ae81fcb9 100644
--- a/sci-physics/qmeq/Manifest
+++ b/sci-physics/qmeq/Manifest
@@ -1,2 +1,3 @@
DIST qmeq-1.0_p202004.tgz 98025 BLAKE2B fa0ad1bafca28a1c8a16db7b3f9c590bd12340bdd635616592cc75c2a448f719c16b266f960a17ab60de53b40489022ce4ee34548ff44aa997e4dfb6804885d8 SHA512 3001ebc7f8670269ac65bff3f3b96be900946a7991afcc76408e3bbfec5a39d603a67e27f88f48f30d2b576dbf91c0d1898fdbe43cfc194c408f2565abd12806
+DIST qmeq-1.1.tgz 122320 BLAKE2B f8c1c42eae308313b30f0fce0e59946ad3224b9561d5da8596f10e15b3ec0b372cab3468b6dc9704d3db9b1c3e0eef7f8dc6e8a2038adc8cd00fb2d6f0987465 SHA512 0a2f36ed6af52ee7705cea449a7d694ee8c7f0f2e27b131a84f4012ef66446b0462f67a6bd57fb5e81fee200b340d82ea52a7815cc1a4a1642c3d1cd4cd5fbcb
DIST qmeq-examples-1.0.tgz 289316 BLAKE2B add7520b579023c8da91aff294dd5a8fd29ba3520c3b496f2a98c8159dab4ad6bcdd1d12070357d868a10bbf224511ab27da069b94951d2c8632064344d2e143 SHA512 4a7b78a200ab4fa407401ea89740cdbcfb82376d97e8146e20a1cdab154269a6b9ce8217fb7ce78af73677b544ab535c5eadd386655dbff9c4ebde6c8eda9e38
diff --git a/sci-physics/qmeq/qmeq-1.1.ebuild b/sci-physics/qmeq/qmeq-1.1.ebuild
new file mode 100644
index 000000000000..f46bde1641b7
--- /dev/null
+++ b/sci-physics/qmeq/qmeq-1.1.ebuild
@@ -0,0 +1,36 @@
+# 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"/.
+}