commit: d671314033146a23caa15bf1c6f7ae9147153c0b Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Sun May 4 14:41:10 2025 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Tue May 6 14:20:52 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d6713140
dev-python/pyerrors: new package, add 2.14.0 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> dev-python/pyerrors/metadata.xml | 19 +++++++++++++ dev-python/pyerrors/pyerrors-2.14.0.ebuild | 44 ++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-python/pyerrors/metadata.xml b/dev-python/pyerrors/metadata.xml new file mode 100644 index 000000000..b131838e3 --- /dev/null +++ b/dev-python/pyerrors/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <longdescription lang="en"> + Error propagation and statistical analysis for Markov chain Monte Carlo simulations in lattice QCD and statistical mechanics using autograd + </longdescription> + <upstream> + <remote-id type="pypi">pyerrors</remote-id> + <remote-id type="github">fjosw/pyerrors</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyerrors/pyerrors-2.14.0.ebuild b/dev-python/pyerrors/pyerrors-2.14.0.ebuild new file mode 100644 index 000000000..882c7b994 --- /dev/null +++ b/dev-python/pyerrors/pyerrors-2.14.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 # pypi misses tests + +DESCRIPTION="Error propagation and statistical analysis for Markov chain Monte Carlos" +HOMEPAGE=" + https://github.com/fjoswig/pyerrors + https://fjosw.github.io/pyerrors/pyerrors.html + https://arxiv.org/abs/2209.14371 +" +SRC_URI="https://github.com/fjosw/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-2[${PYTHON_USEDEP}] + >=dev-python/autograd-1.7.0[${PYTHON_USEDEP}] + >=dev-python/numdifftools-0.9.41[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.9[${PYTHON_USEDEP}] + >=dev-python/scipy-1.13[${PYTHON_USEDEP}] + >=dev-python/iminuit-2.28[${PYTHON_USEDEP}] + >=dev-python/h5py-3.11[${PYTHON_USEDEP}] + >=dev-python/lxml-5.0[${PYTHON_USEDEP}] + >=dev-python/python-rapidjson-1.20[${PYTHON_USEDEP}] + >=dev-python/pandas-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + tests/benchmark_test.py +) + +distutils_enable_tests pytest
