From 88f325541fa8aa0574ec76744049e2c843083bdb Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 18 Sep 2022 10:21:48 +0200 Subject: sci-chemistry/chemex: add 2022.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Readding now that deps are satisfied again. Signed-off-by: Pacho Ramos Bug: https://bugs.gentoo.org/871339 Signed-off-by: Michał Górny --- sci-chemistry/chemex/Manifest | 1 + sci-chemistry/chemex/chemex-2022.0.1.ebuild | 48 +++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 sci-chemistry/chemex/chemex-2022.0.1.ebuild (limited to 'sci-chemistry') diff --git a/sci-chemistry/chemex/Manifest b/sci-chemistry/chemex/Manifest index 195cb44f0baf..15228ef11c0e 100644 --- a/sci-chemistry/chemex/Manifest +++ b/sci-chemistry/chemex/Manifest @@ -1 +1,2 @@ DIST chemex-2021.4.0_p6.tar.gz 2395324 BLAKE2B adb08fdebe816b66359c8a567d7f7a4600715015e6f9b86b568cb8e3cd5e66b040895c09688a956cedd398a7c56a6d3a73d77f647a2f4e83280a91879a6184d0 SHA512 7d20ae73a2cf52f9d21b875cd661cefc14ce36ff603402e5dacad3e21bcb0bdb28f8f111414691b99f93196a971215d0beec3fff07535d3d781b4e7bb6782c52 +DIST chemex-2022.0.1.tar.gz 2840066 BLAKE2B 05e3cd048a996b85e9a88297180bdd6e0b972619f5ac734d10a5744e7ab28fa2080bf6d6b53b69d04192ca420a24014f7eded0668ec716218ca4cc4877875ec9 SHA512 c2b49d83d618e69e43737b9d8b6a16de4fc46b481b2c65aaa4110bf425cd71bd5347240e7336855ec294ea126dd036262535645fca93ae352616f1a71b11e698 diff --git a/sci-chemistry/chemex/chemex-2022.0.1.ebuild b/sci-chemistry/chemex/chemex-2022.0.1.ebuild new file mode 100644 index 000000000000..073cdcbe2dac --- /dev/null +++ b/sci-chemistry/chemex/chemex-2022.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_SINGLE_IMPL="yes" +PYTHON_COMPAT=( python3_{9..10} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml + +inherit distutils-r1 + +DESCRIPTION="Program to fit chemical exchange induced shift and relaxation data" +HOMEPAGE="https://github.com/gbouvignies/chemex" +SRC_URI="https://github.com/gbouvignies/ChemEx/archive/refs/tags/v${PV/_p/-dev}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" +IUSE="test" + +#RESTRICT="!test? ( test )" +# FIXME: Restrict until tests are readded https://github.com/gbouvignies/ChemEx/issues/51 +RESTRICT="test" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/asteval-0.9.25[${PYTHON_USEDEP}] + >=dev-python/cachetools-5.2.0[${PYTHON_USEDEP}] + >=dev-python/lmfit-1.0.3[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.5.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23.3[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] + >=dev-python/rapidfuzz-2.8.0[${PYTHON_USEDEP}] + >=dev-python/rich-12.5.1[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + >=dev-python/scipy-1.9.1[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ') +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +S="${WORKDIR}/ChemEx-${PV/_p/-dev}" + +src_prepare() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" + distutils-r1_src_prepare +} -- cgit v1.2.3-65-gdbad