summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-11 09:04:59 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-11 10:05:31 +0200
commit92cb23cf0bdddab23fab91626ff1265ed9eddbd2 (patch)
tree212ebf25fe5aae4eb7a5443ed408a03fa88a0869 /dev-python
parentdev-python/setuptools: Bump to 62.2.0 (diff)
downloadgentoo-92cb23cf0bdddab23fab91626ff1265ed9eddbd2.tar.gz
gentoo-92cb23cf0bdddab23fab91626ff1265ed9eddbd2.tar.bz2
gentoo-92cb23cf0bdddab23fab91626ff1265ed9eddbd2.zip
dev-python/emcee: Bump to 3.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/emcee/Manifest1
-rw-r--r--dev-python/emcee/emcee-3.1.2.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/emcee/Manifest b/dev-python/emcee/Manifest
index e32f6564de2c..2805fba05e2c 100644
--- a/dev-python/emcee/Manifest
+++ b/dev-python/emcee/Manifest
@@ -1 +1,2 @@
DIST emcee-3.1.1.tar.gz 2868516 BLAKE2B 62f3fa2a963a256a9b807d648ca370461f2dce1c186f0fc0f7c191dbd1e1a840c58ad17022c8ef4c80e925c20405ddd2ee87d9f448f20a6f2a3976c3b7584aa2 SHA512 f824831f7a6661d69af3be26a6cccc41d582ec5a9a6301d2bcb0622412832498c047738249087ba9686c430cc7b3d5a8a9c1db3bb78202f7d31ff6f5205f40a8
+DIST emcee-3.1.2.tar.gz 2868985 BLAKE2B 8da142b7be3d4c5f2ab93081d27d7105e312f2ca9702c0f57b8aaf6cf98e4dfae141fc24342bb9c30049d4de747b4d744f689dbb1be780519c426ef343d73485 SHA512 11e4e6f90a3f039c8459963217d0699a953f23aff2ffc67e7da3696926dcf915fdb1f4bd3781b88cbab6f664c38cec50b3470316aa6ec49b0e617218e2a7b95d
diff --git a/dev-python/emcee/emcee-3.1.2.ebuild b/dev-python/emcee/emcee-3.1.2.ebuild
new file mode 100644
index 000000000000..04c0d4155eb3
--- /dev/null
+++ b/dev-python/emcee/emcee-3.1.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python ensemble sampling toolkit for affine-invariant MCMC"
+HOMEPAGE="
+ https://emcee.readthedocs.io/en/stable/
+ https://github.com/dfm/emcee/
+ https://pypi.org/project/emcee/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ ${DEPEND}
+"
+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
+}