1 |
commit: 37d77f4d6250277c494aa6353f3cebe49db2e900 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 28 21:28:09 2018 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 28 21:28:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d77f4d |
7 |
|
8 |
sci-chemistry/mdtraj: Initial import |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
sci-chemistry/mdtraj/Manifest | 1 + |
13 |
sci-chemistry/mdtraj/mdtraj-1.9.1.ebuild | 34 ++++++++++++++++++++++++++++++++ |
14 |
sci-chemistry/mdtraj/metadata.xml | 8 ++++++++ |
15 |
3 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/sci-chemistry/mdtraj/Manifest b/sci-chemistry/mdtraj/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..982cdea3569 |
20 |
--- /dev/null |
21 |
+++ b/sci-chemistry/mdtraj/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST mdtraj-1.9.1.tar.gz 1985711 BLAKE2B 625b7c1da998bd46732604dcc93c76f970f3c79f10e81aa9f4b3051ee45101efea8afd803d539ba1831dac3e7ed208d7c3773f74189a3887063cbff2b4d79df6 SHA512 015d9d1e258a7a207ac3b7e7a81b87c308e8684ee0a173ae9b722a90910e95e7f2ee18158c163212fae39d093b0cf397293d6e713538acb1fd20a7b70f2adc76 |
24 |
|
25 |
diff --git a/sci-chemistry/mdtraj/mdtraj-1.9.1.ebuild b/sci-chemistry/mdtraj/mdtraj-1.9.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..20033bd3da6 |
28 |
--- /dev/null |
29 |
+++ b/sci-chemistry/mdtraj/mdtraj-1.9.1.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Read, write and analyze MD trajectories with only a few lines of Python code" |
41 |
+HOMEPAGE="http://mdtraj.org" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+LICENSE="GPL-2" |
46 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
52 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
53 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
54 |
+ dev-python/pytables[${PYTHON_USEDEP}] |
55 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
59 |
+ |
60 |
+python_prepare() { |
61 |
+ sed -e "s:re.match('build.*(mdtraj.*)', output_dir).group(1):'.':g" \ |
62 |
+ -i basesetup.py || die |
63 |
+ distutils-r1_python_prepare_all |
64 |
+} |
65 |
\ No newline at end of file |
66 |
|
67 |
diff --git a/sci-chemistry/mdtraj/metadata.xml b/sci-chemistry/mdtraj/metadata.xml |
68 |
new file mode 100644 |
69 |
index 00000000000..8425c0d53cb |
70 |
--- /dev/null |
71 |
+++ b/sci-chemistry/mdtraj/metadata.xml |
72 |
@@ -0,0 +1,8 @@ |
73 |
+<?xml version="1.0" encoding="UTF-8"?> |
74 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
75 |
+<pkgmetadata> |
76 |
+ <maintainer type="project"> |
77 |
+ <email>sci@g.o</email> |
78 |
+ <name>Gentoo Science Project</name> |
79 |
+ </maintainer> |
80 |
+</pkgmetadata> |