summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-25 23:28:32 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-25 23:45:01 +0200
commitd894be4fa4d76a489a0fb413759a4692cce21abc (patch)
tree0bce125877246aa6b555e1f9344c6020c49b6854
parentapp-admin/awscli: Bump to 1.19.101 (diff)
downloadgentoo-d894be4fa4d76a489a0fb413759a4692cce21abc.tar.gz
gentoo-d894be4fa4d76a489a0fb413759a4692cce21abc.tar.bz2
gentoo-d894be4fa4d76a489a0fb413759a4692cce21abc.zip
dev-python/emcee: Bump to 3.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/emcee/Manifest1
-rw-r--r--dev-python/emcee/emcee-3.1.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/emcee/Manifest b/dev-python/emcee/Manifest
index 26942bdbd401..b93a888cdd80 100644
--- a/dev-python/emcee/Manifest
+++ b/dev-python/emcee/Manifest
@@ -1 +1,2 @@
DIST emcee-3.0.2.tar.gz 4054969 BLAKE2B 16b9ebd34b450f8fb92dc50f0652a34f06d20a027ff1cacd73474f4c74ecce7102d5eea54182598fc17175897980131742c0d60ef217b0dc8285c18406ef4d7f SHA512 517c447b9426eb97b72b6e3b21d77720b58a42fc1efe9495cf7ad8a0682841b8d7178a6f070641f68a09aef507e854ceefab9a54afe6baaca8b41f16f34dce9e
+DIST emcee-3.1.0.tar.gz 2868282 BLAKE2B 333bb3dfb1b88bd768dc824763827d7b5f7f6dbef83c98a3934789a52d2989fc09474f628a609b3c0b930f3582bd75240895a4f0fe6e2cab486bc5cdc6947c56 SHA512 45f4ee3a9f6e7f8b4e3cf6eef187facbc1c93dece10a6b0c9c2d55da093f26e159c254818aada3abb1c45985950cd83f286b7f3e5acc467ebd2f292df9f1202b
diff --git a/dev-python/emcee/emcee-3.1.0.ebuild b/dev-python/emcee/emcee-3.1.0.ebuild
new file mode 100644
index 000000000000..4939478f08ba
--- /dev/null
+++ b/dev-python/emcee/emcee-3.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python ensemble sampling toolkit for affine-invariant MCMC"
+HOMEPAGE="https://emcee.readthedocs.io/en/stable/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/scipy[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+DOCS=( AUTHORS.rst README.rst )
+
+src_prepare() {
+ # unnecessary dep
+ sed -i -e '/wheel/d' setup.py || die
+ distutils-r1_src_prepare
+}