From d42200bec37eef2a7478d88988ff00addd0a9202 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Jan 2020 11:50:47 +0000 Subject: gentoo resync : 25.01.2020 --- sci-chemistry/chemex/chemex-0.6.1-r1.ebuild | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sci-chemistry/chemex/chemex-0.6.1-r1.ebuild (limited to 'sci-chemistry/chemex/chemex-0.6.1-r1.ebuild') diff --git a/sci-chemistry/chemex/chemex-0.6.1-r1.ebuild b/sci-chemistry/chemex/chemex-0.6.1-r1.ebuild new file mode 100644 index 000000000000..9e4f47aafc99 --- /dev/null +++ b/sci-chemistry/chemex/chemex-0.6.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +DISTUTILS_SINGLE_IMPL="yes" +PYTHON_COMPAT=( python2_7 ) + +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/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + >=dev-python/matplotlib-1.1[${PYTHON_USEDEP}] + || ( + dev-python/numpy-python2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) + >=sci-libs/scipy-0.11[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +src_prepare() { + # Fix quotes to detect the version properly + sed -i -e 's/matplotlib>=1.3.1/matplotlib>="1.3.1"/' setup.py || die + distutils-r1_python_prepare_all +} -- cgit v1.2.3