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: Tue, 19 Oct 2021 20:33:30
Message-Id: 1634675592.04ef276178e9a35474cefee8615b774e4e698867.pacho@gentoo
1 commit: 04ef276178e9a35474cefee8615b774e4e698867
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 19 20:10:46 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 19 20:33:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ef2761
7
8 sci-chemistry/chemex: Version bump
9
10 Package-Manager: Portage-3.0.24, Repoman-3.0.3
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 sci-chemistry/chemex/Manifest | 1 +
14 sci-chemistry/chemex/chemex-2021.4.0_p4.ebuild | 46 ++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/sci-chemistry/chemex/Manifest b/sci-chemistry/chemex/Manifest
18 index f94b55c1ceb..9766b1db683 100644
19 --- a/sci-chemistry/chemex/Manifest
20 +++ b/sci-chemistry/chemex/Manifest
21 @@ -1,2 +1,3 @@
22 DIST chemex-2018.10.3.tar.gz 546696 BLAKE2B d283cfb94118686f1974780249641e0ea6f86cdb854c4a256897e361a300a94506813a5035ee2f300fca13263e8452b77e7a0817436cbd620ba16d801a541af7 SHA512 784bd03b354724d6aa52d663c6f661f865d4ef7ca345573bc8aae9ef63e5dbb3e65abba364de3ff441b78adfa588344c718809c5880b3fc70d8ed24be06a0826
23 DIST chemex-2021.4.0_p2.tar.gz 2384471 BLAKE2B 1eb609c4e4ad9ac0f7cac8ab523e72e8ab9c12d40671fd598cd26b8de2a3d6e68dfdcaee9202521fc583068f591377842b3e7b9f0e1f95e6cba8da9b0c6d63a4 SHA512 568072eaf0d1c666de2aedacc50cd98da15631e0ef15ba60414be671ac97a50967e5b4d6d00340b1263f730b3a803ccc8995fbb86cfc47517b9521c9920641c8
24 +DIST chemex-2021.4.0_p4.tar.gz 2387888 BLAKE2B 26b4467756ba1b31775c554906a2ce09556e1fb99dd2ff294620a12b92246f441a2daa07e6bad7cedf903bd18e6ecc0613b6473f54d27d89ed9117ddc6a27269 SHA512 7d93f213317e4cb5a987c0b3cfcce146fb02a15ac9efbde74f9d3fc56a5e86c89ca6b606f45013bf08ed10f3de17cc72fa010ce0e42c5cb746119ede0ce4d38f
25
26 diff --git a/sci-chemistry/chemex/chemex-2021.4.0_p4.ebuild b/sci-chemistry/chemex/chemex-2021.4.0_p4.ebuild
27 new file mode 100644
28 index 00000000000..3a331d48eba
29 --- /dev/null
30 +++ b/sci-chemistry/chemex/chemex-2021.4.0_p4.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +DISTUTILS_SINGLE_IMPL="yes"
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Program to fit chemical exchange induced shift and relaxation data"
43 +HOMEPAGE="https://github.com/gbouvignies/chemex"
44 +SRC_URI="https://github.com/gbouvignies/chemex/archive/${PV/_p/-dev}.tar.gz -> ${P}.tar.gz"
45 +
46 +SLOT="0"
47 +LICENSE="BSD"
48 +KEYWORDS="~amd64"
49 +IUSE="test"
50 +
51 +#RESTRICT="!test? ( test )"
52 +# FIXME: Restrict until we figure out how to run tests properly, bug #815079
53 +RESTRICT="test"
54 +
55 +RDEPEND="
56 + $(python_gen_cond_dep '
57 + >=dev-python/asteval-0.9.25[${PYTHON_USEDEP}]
58 + >=dev-python/jsonschema-4.1.0[${PYTHON_USEDEP}]
59 + >=dev-python/lmfit-1.0.3[${PYTHON_USEDEP}]
60 + >=dev-python/matplotlib-3.4.3[${PYTHON_USEDEP}]
61 + >=dev-python/numpy-1.21.2[${PYTHON_USEDEP}]
62 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
63 + >=dev-python/scipy-1.7.0[${PYTHON_USEDEP}]
64 + >=dev-python/tomlkit-0.7.2[${PYTHON_USEDEP}]
65 + >=dev-python/tqdm-4.61.1[${PYTHON_USEDEP}]
66 + ')
67 +"
68 +DEPEND="${RDEPEND}"
69 +
70 +distutils_enable_tests pytest
71 +
72 +S="${WORKDIR}/ChemEx-${PV/_p/-dev}"
73 +
74 +src_prepare() {
75 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
76 + distutils-r1_src_prepare
77 +}