1 |
commit: 69c6b154262806e74398f66fdb52637c0706219f |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 11:00:09 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 11:38:00 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69c6b154 |
7 |
|
8 |
dev-python/rpy: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/rpy/Manifest | 1 + |
14 |
dev-python/rpy/rpy-2.7.3.ebuild | 53 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 54 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest |
18 |
index 53c74fc..9235ac0 100644 |
19 |
--- a/dev-python/rpy/Manifest |
20 |
+++ b/dev-python/rpy/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST rpy2-2.6.2.tar.gz 171655 SHA256 2e28886b2a6a138cfc057f9b7cddade253e61c9abb43f0eae20dace58b6dfced SHA512 7a060ccc26a03dc93d75edb85d92f1ab31af96ba140932ff8e699cd5855e6078b1e0ffceed135d32deb6c8f273ebcc8b02be38e9b8fc66778cc2adab5745f542 WHIRLPOOL 26d9a9c13e4efa22a232507cfff0b13d650e0528f635dfa9fe464cde50462d2d94a668d1566b537bafaa5462eb66e96005296c6295308b1e3d1c5639da2879b6 |
23 |
DIST rpy2-2.7.2.tar.gz 176481 SHA256 b8c376c2bb78a602effa44c654633f7a11b9bcc582aa3d4828a11302bc290e21 SHA512 d282e81cdd4c69ac4655d019151e2c7ce0aaeeb55479f7f7405ed16ac4124d2f3eedccb37a7d563deb0d8beb69e5ede4d6702a3872b554965442a38ec545f1f4 WHIRLPOOL f19182a1ef392d1b4029ebd984d8828d92ea3bf14c9375490fa099d7a2f82e99c75eb6475dba1d11270bf76dc94eee490157e22ab2c083c51a90b3c1d1a56b7a |
24 |
+DIST rpy2-2.7.3.tar.gz 176854 SHA256 fc66a4efa113b48ac32cd4578d5fce551722cd64c5eadafdcab36f074e9e785c SHA512 dd0e5eb896bf809d4d342f7927c5bc014b78352df87219d9d0839622647c35f256a256593d526be2faf369ccd98d74868e1b6b3c99ebc830d08fa4cfb8c35121 WHIRLPOOL 735eb08c1528c27f2362d42e08cf9ff5c31cbcdf706eefb873921ed9eaeab4d9004b80335d36672b3711dd8a8515d51d451a1f66bebe4a4d4c9ef1f32e758685 |
25 |
|
26 |
diff --git a/dev-python/rpy/rpy-2.7.3.ebuild b/dev-python/rpy/rpy-2.7.3.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..da88f14 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/rpy/rpy-2.7.3.ebuild |
31 |
@@ -0,0 +1,53 @@ |
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 |
+PYTHON_REQ_USE="sqlite" |
40 |
+ |
41 |
+inherit distutils-r1 flag-o-matic |
42 |
+ |
43 |
+MYSLOT=2 |
44 |
+MY_PN=${PN}${MYSLOT} |
45 |
+MY_P=${MY_PN}-${PV} |
46 |
+ |
47 |
+DESCRIPTION="Python interface to the R Programming Language" |
48 |
+HOMEPAGE="http://rpy.sourceforge.net/ https://pypi.python.org/pypi/rpy2" |
49 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
54 |
+IUSE="test" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ >=dev-lang/R-3.1 |
58 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pandas-0.13.1[${PYTHON_USEDEP}] |
60 |
+ virtual/python-singledispatch[${PYTHON_USEDEP}] |
61 |
+ dev-python/six[${PYTHON_USEDEP}]" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ test? ( $(python_gen_cond_dep 'dev-python/singledispatch[${PYTHON_USEDEP}]' python2_7 python3_3) )" |
65 |
+PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" |
66 |
+ |
67 |
+# ggplot2 is an optional test dep but not in portage |
68 |
+S="${WORKDIR}/${MY_P}" |
69 |
+ |
70 |
+# Tarball absent of doc files in doc folder |
71 |
+# https://bitbucket.org/rpy2/rpy2/issues/229 |
72 |
+ |
73 |
+python_compile() { |
74 |
+ if ! python_is_python3; then |
75 |
+ local CFLAGS=${CFLAGS} |
76 |
+ append-cflags -fno-strict-aliasing |
77 |
+ fi |
78 |
+ distutils-r1_python_compile |
79 |
+} |
80 |
+ |
81 |
+python_test() { |
82 |
+ cd "${BUILD_DIR}"/lib || die |
83 |
+ ${PYTHON} -m 'rpy2.tests' || die |
84 |
+} |