Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/chemex/
Date: Sun, 26 Sep 2021 17:20:43
Message-Id: 1632676833.ad95562a057616a5ce141df4d0a907dbd2bac123.pacho@gentoo
1 commit: ad95562a057616a5ce141df4d0a907dbd2bac123
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 26 17:20:19 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 26 17:20:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad95562a
7
8 sci-chemistry/chemex: Version bump
9
10 Closes: https://bugs.gentoo.org/809764
11 Closes: https://bugs.gentoo.org/809761
12 Package-Manager: Portage-3.0.22, Repoman-3.0.3
13 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
14
15 sci-chemistry/chemex/Manifest | 1 +
16 sci-chemistry/chemex/chemex-2021.4.0_p2.ebuild | 43 ++++++++++++++++++++++++++
17 2 files changed, 44 insertions(+)
18
19 diff --git a/sci-chemistry/chemex/Manifest b/sci-chemistry/chemex/Manifest
20 index 1f128ac7b06..f94b55c1ceb 100644
21 --- a/sci-chemistry/chemex/Manifest
22 +++ b/sci-chemistry/chemex/Manifest
23 @@ -1 +1,2 @@
24 DIST chemex-2018.10.3.tar.gz 546696 BLAKE2B d283cfb94118686f1974780249641e0ea6f86cdb854c4a256897e361a300a94506813a5035ee2f300fca13263e8452b77e7a0817436cbd620ba16d801a541af7 SHA512 784bd03b354724d6aa52d663c6f661f865d4ef7ca345573bc8aae9ef63e5dbb3e65abba364de3ff441b78adfa588344c718809c5880b3fc70d8ed24be06a0826
25 +DIST chemex-2021.4.0_p2.tar.gz 2384471 BLAKE2B 1eb609c4e4ad9ac0f7cac8ab523e72e8ab9c12d40671fd598cd26b8de2a3d6e68dfdcaee9202521fc583068f591377842b3e7b9f0e1f95e6cba8da9b0c6d63a4 SHA512 568072eaf0d1c666de2aedacc50cd98da15631e0ef15ba60414be671ac97a50967e5b4d6d00340b1263f730b3a803ccc8995fbb86cfc47517b9521c9920641c8
26
27 diff --git a/sci-chemistry/chemex/chemex-2021.4.0_p2.ebuild b/sci-chemistry/chemex/chemex-2021.4.0_p2.ebuild
28 new file mode 100644
29 index 00000000000..8b5e04b8b08
30 --- /dev/null
31 +++ b/sci-chemistry/chemex/chemex-2021.4.0_p2.ebuild
32 @@ -0,0 +1,43 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +DISTUTILS_SINGLE_IMPL="yes"
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Program to fit chemical exchange induced shift and relaxation data"
44 +HOMEPAGE="https://github.com/gbouvignies/chemex"
45 +SRC_URI="https://github.com/gbouvignies/chemex/archive/${PV/_p/-dev}.tar.gz -> ${P}.tar.gz"
46 +
47 +SLOT="0"
48 +LICENSE="BSD"
49 +KEYWORDS="~amd64"
50 +IUSE="test"
51 +RESTRICT="!test? ( test )"
52 +
53 +RDEPEND="
54 + $(python_gen_cond_dep '
55 + >=dev-python/asteval-0.9.11[${PYTHON_USEDEP}]
56 + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
57 + >=dev-python/lmfit-1.0.2[${PYTHON_USEDEP}]
58 + >=dev-python/matplotlib-3.4.2[${PYTHON_USEDEP}]
59 + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}]
60 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
61 + >=dev-python/scipy-1.7.0[${PYTHON_USEDEP}]
62 + >=dev-python/tomlkit-0.7.2[${PYTHON_USEDEP}]
63 + >=dev-python/tqdm-4.61.1[${PYTHON_USEDEP}]
64 + ')
65 +"
66 +DEPEND="${RDEPEND}"
67 +
68 +distutils_enable_tests pytest
69 +
70 +S="${WORKDIR}/ChemEx-${PV/_p/-dev}"
71 +
72 +src_prepare() {
73 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
74 + distutils-r1_src_prepare
75 +}