summaryrefslogtreecommitdiff
path: root/dev-python/emcee
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-17 12:04:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-17 12:04:28 +0100
commit97bacba3ead078e5db8b87ab651a3ffa7d82f60f (patch)
treea769244c0cdbaa4ae87951809f61da3a3f9df7a4 /dev-python/emcee
parentb92911550490e2da121ec4b02d3cf60a2d31a17d (diff)
gentoo auto-resync : 17:04:2024 - 12:04:27
Diffstat (limited to 'dev-python/emcee')
-rw-r--r--dev-python/emcee/Manifest2
-rw-r--r--dev-python/emcee/emcee-3.1.5.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/emcee/Manifest b/dev-python/emcee/Manifest
index 29848173b482..879eb506df77 100644
--- a/dev-python/emcee/Manifest
+++ b/dev-python/emcee/Manifest
@@ -1,3 +1,5 @@
DIST emcee-3.1.4.tar.gz 2869179 BLAKE2B 19e93a154a7c9f8c43389681b7318ff6e79aea8588af10bf86d63bdee51551c538ad8850b82c1233f656a45bbbd344655aad01ed93ddb30337ad49b6bfed8b46 SHA512 23f3945571bc4346c90026f9c675cb72a5cf173294eafd5bf02dc8572cfea63de3260ade91cb9360e420969f2a939fa8ac55961e808c55900fef903be357facf
+DIST emcee-3.1.5.tar.gz 2870972 BLAKE2B 49ddd0a41a61f33573f1b1e0b198306567e097b86153392fc0f874b3c7e728611fdfb2d45b8427c85208beb3c819ec174bdf5481005a3b17a4f5ea196a54ff3e SHA512 7cc6fe30ad472d4823b12c8bab50fa7d3aea49ca22d38479d77d90d357e715c0dadda7f96575291fbe05ff27962f8a180c49b6629ddb891b044db2719bd88610
EBUILD emcee-3.1.4.ebuild 1029 BLAKE2B c07d71ad41bcf648b038153984b174098ab77c05f896c35790632dff19f10aaae40dd5fcf78b8196670a2b41c6e5fa6579913b2eaed6c1caa73310704edc300a SHA512 17278473b809ee0349efc316e725a73bce20dbd209fed9adc41d8317839d81d32509deff2943d06626115270d5aecd77ef9aae6f7bb5e2bc6e646df76d1fd87b
+EBUILD emcee-3.1.5.ebuild 1029 BLAKE2B 05aa82660f90c03b43f91a24d305e665be56ce9ac75d8f273986cc81e92d6550ac2c620b08ba3fa724937533b2e848777f3eee66d0776aa921b7d5c3eb3978b7 SHA512 f2181dff83b2796fd1e325e15d0050b627fc62d829097a56c2e3a2f8bdfb0165c5023fff55d9488f9edd44b85e9dd9c95ea0ff5fd7780d746c82d8e121d4719a
MISC metadata.xml 1026 BLAKE2B 05cb2a92e6252e4e9f9c7f64e3731f8ea160957b297d7c410d8070465e264927c31897281deb2ea53d6245503df884bdb848d4595fe336faa990e047d50a02fe SHA512 ea804499fda2d36df70c33e8c1651dd9b98778b4e3bb09295cef5c703bf5bb4c43bdd90cffa7bd7a97104f588d6d3ca6db65ace7131998f07f122b99bd4c3651
diff --git a/dev-python/emcee/emcee-3.1.5.ebuild b/dev-python/emcee/emcee-3.1.5.ebuild
new file mode 100644
index 000000000000..4af1b70ed9fc
--- /dev/null
+++ b/dev-python/emcee/emcee-3.1.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing pypi
+
+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/
+"
+
+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/pytest-xdist[${PYTHON_USEDEP}]
+ 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
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal
+}