sci-chemistry/chemex: Introduce chemex
authorPacho Ramos <pacho@gentoo.org>
Wed, 2 May 2018 16:55:52 +0000 (18:55 +0200)
committerPacho Ramos <pacho@gentoo.org>
Wed, 2 May 2018 19:27:30 +0000 (21:27 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

sci-chemistry/chemex/Manifest [new file with mode: 0644]
sci-chemistry/chemex/chemex-0.6.1.ebuild [new file with mode: 0644]
sci-chemistry/chemex/metadata.xml [new file with mode: 0644]

diff --git a/sci-chemistry/chemex/Manifest b/sci-chemistry/chemex/Manifest
new file mode 100644 (file)
index 0000000..7a581bc
--- /dev/null
@@ -0,0 +1 @@
+DIST chemex-0.6.1.tar.gz 1449216 BLAKE2B 6b7f7597b09cd43b9bec89b6359d1f650fdd7d4f3a373e706da80dafaf438417458f34af6bc378442b5b4a84cb8222103ebc8026c85583e8dece3fad0dc77204 SHA512 40f538ef9c162759c7a6863886da8d46746ac362fc19154f0a5f3dd8703f7fea7397c3f34092c86dbce486c452e0d3b09a76e4c11ae119834d7ca4912e7f3fdf
diff --git a/sci-chemistry/chemex/chemex-0.6.1.ebuild b/sci-chemistry/chemex/chemex-0.6.1.ebuild
new file mode 100644 (file)
index 0000000..28af746
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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[${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
+}
diff --git a/sci-chemistry/chemex/metadata.xml b/sci-chemistry/chemex/metadata.xml
new file mode 100644 (file)
index 0000000..020b406
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>pacho@gentoo.org</email>
+       </maintainer>
+</pkgmetadata>