diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-09-18 10:21:48 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-09-18 10:33:20 +0200 |
commit | 96ce6a9530fc93af92cad81b30dcb4059bc07063 (patch) | |
tree | 2398e425fbf95403ffdadc5de8f341ca180eee9e /sci-chemistry | |
parent | dev-python/rapidfuzz: new package, add 2.9.0 (diff) | |
download | gentoo-96ce6a9530fc93af92cad81b30dcb4059bc07063.tar.gz gentoo-96ce6a9530fc93af92cad81b30dcb4059bc07063.tar.bz2 gentoo-96ce6a9530fc93af92cad81b30dcb4059bc07063.zip |
sci-chemistry/chemex: add 2022.0.1
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/chemex/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/chemex/chemex-2022.0.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
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 +} |