1 |
commit: bc99ac146dd8201046b387ff79ac15c949db75cb |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 24 09:05:56 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 24 12:10:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc99ac14 |
7 |
|
8 |
sci-biology/biopandas: New package, ebuild written by me |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
sci-biology/biopandas/Manifest | 1 + |
14 |
sci-biology/biopandas/biopandas-0.1.4.ebuild | 43 ++++++++++++++++++++++++++++ |
15 |
sci-biology/biopandas/metadata.xml | 12 ++++++++ |
16 |
3 files changed, 56 insertions(+) |
17 |
|
18 |
diff --git a/sci-biology/biopandas/Manifest b/sci-biology/biopandas/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..30cee43 |
21 |
--- /dev/null |
22 |
+++ b/sci-biology/biopandas/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST biopandas-0.1.4.tar.gz 5386 SHA256 0cc9e43e2ddcb0c33448660ee2ed2db02694e57daa1875d004525c40633a6d95 SHA512 efd7ec94bbcc069d8bf0d160480e7ef2c7c0f9febe21a684b46b6b14c69cebb0b3d9f2c315897be6b0ae888ed40731e2f5a16dee45b9c932b05c2c0209b62b84 WHIRLPOOL 1429e59bbb1b29ba116864e577d4be2f1b988e3a82b07c65525eae825b2a742b52da86ed49c837ba461814abf79f2e70d0ea43ee7d4f7906d6a38b39f0ad98f4 |
25 |
|
26 |
diff --git a/sci-biology/biopandas/biopandas-0.1.4.ebuild b/sci-biology/biopandas/biopandas-0.1.4.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..76ac9d7 |
29 |
--- /dev/null |
30 |
+++ b/sci-biology/biopandas/biopandas-0.1.4.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+MY_PN="BioPandas" |
43 |
+MY_P="${MY_PN}-${PV}" |
44 |
+ |
45 |
+DESCRIPTION="Molecular Structures in Pandas DataFrames" |
46 |
+HOMEPAGE=" |
47 |
+ https://rasbt.github.io/biopandas/ |
48 |
+ https://github.com/rasbt/biopandas |
49 |
+ https://pypi.python.org/pypi/BioPandas" |
50 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${P}.tar.gz" |
51 |
+ |
52 |
+LICENSE="BSD" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
55 |
+IUSE="test" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
59 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
60 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+DEPEND="${REDEPEND} |
63 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ test? ( |
65 |
+ dev-python/nose[${PYTHON_USEDEP}] |
66 |
+ )" |
67 |
+ |
68 |
+python_test() { |
69 |
+ "${EPYTHON}" --version |
70 |
+ "${EPYTHON}" -c "import numpy; print('numpy %s' % numpy.__version__)" |
71 |
+ "${EPYTHON}" -c "import scipy; print('scipy %s' % scipy.__version__)" |
72 |
+ "${EPYTHON}" -c "import pandas; print('pandas %s' % pandas.__version__)" |
73 |
+ nosetests -s --verbose ${PN} || die |
74 |
+} |
75 |
|
76 |
diff --git a/sci-biology/biopandas/metadata.xml b/sci-biology/biopandas/metadata.xml |
77 |
new file mode 100644 |
78 |
index 0000000..a58f7c5 |
79 |
--- /dev/null |
80 |
+++ b/sci-biology/biopandas/metadata.xml |
81 |
@@ -0,0 +1,12 @@ |
82 |
+<?xml version="1.0" encoding="UTF-8"?> |
83 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
84 |
+<pkgmetadata> |
85 |
+ <herd>sci-biology</herd> |
86 |
+ <upstream> |
87 |
+ <remote-id type="pypi">BioPandas</remote-id> |
88 |
+ <maintainer status="unknown"> |
89 |
+ <email>mail@××××××××××××××××.com</email> |
90 |
+ <name>Sebastian Raschka</name> |
91 |
+ </maintainer> |
92 |
+ </upstream> |
93 |
+</pkgmetadata> |