summaryrefslogtreecommitdiff
path: root/sci-physics/qmeq
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/qmeq')
-rw-r--r--sci-physics/qmeq/Manifest2
-rw-r--r--sci-physics/qmeq/qmeq-1.1.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/sci-physics/qmeq/Manifest b/sci-physics/qmeq/Manifest
index 2eac1fb24565..6225c50046e5 100644
--- a/sci-physics/qmeq/Manifest
+++ b/sci-physics/qmeq/Manifest
@@ -1,4 +1,6 @@
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
EBUILD qmeq-1.0_p202004.ebuild 1052 BLAKE2B 011e809ac28d44820ac207939d1c07ecc30a77a32bb8152fb20724145a8a52a52cbd27cbf0338f141662a1fec4a910ec49097b8723f8b92f5c784eadef0b8c27 SHA512 c1bf9ba8d3efb16c3b9a3aae4bbaa1f5e6e5daca7b690d99a39fcc24bf7391d1417642c47419c6a31b7f4a03e556ea826cbf668ac468cfe1a093ab768df5630b
+EBUILD qmeq-1.1.ebuild 970 BLAKE2B 6823a1430ea61a4462b9cc63912598bafc2ef953ffe4e03d7a2d1c090b14302d422b5a538e351f0f72e55b6c53ab8aa4ea5ae377172fc4778275338dbc81b0e9 SHA512 b5372027900f214fcb9529d5378a54f12f796eed433835faa3ee43b7e92ecc8d5c74700847f8d58b2470029f20ab79d4134d347313bcd62deee74f3a08902bdd
MISC metadata.xml 343 BLAKE2B 4b51b5250b25d459ad8d5bc8e7fbea1189bc6e8aa648635541085d18fc039e7a85944be3ae93457e25ca31b8e9f08384c13069b534a80d022151a6fe8dc54bf2 SHA512 ead6e73acfb53456f0f8bd489cda055632568c70b6c02b03fc0e6302567f28e253e764f77270f248e84d2db2337dcd221141c1afcc9689487d86d9c4722c3926
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"/.
+}