1 |
commit: bc43c2ea574d7d6c43a221928fe5a4340373314e |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Fri Mar 3 11:28:50 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 15:18:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc43c2ea |
7 |
|
8 |
dev-python/rpy: Version bump to 2.8.5 |
9 |
|
10 |
Thanks to eroen <gentoo <AT> eroen.eu> for the work. |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/598970 |
13 |
|
14 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/4103 |
16 |
|
17 |
dev-python/rpy/Manifest | 1 + |
18 |
dev-python/rpy/rpy-2.8.5.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 63 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest |
22 |
index b5e94025c29..b2ac60e4527 100644 |
23 |
--- a/dev-python/rpy/Manifest |
24 |
+++ b/dev-python/rpy/Manifest |
25 |
@@ -6,3 +6,4 @@ DIST rpy2-2.7.5.tar.gz 177407 SHA256 0d88f7fff21fbef523c8678ed8f850a36052edca4ce |
26 |
DIST rpy2-2.7.6.tar.gz 177562 SHA256 ea35a2f37fd36e8af069731bf1421fbb2d3f8550bcb55fde3bebf0bcb1b00a5a SHA512 03c1f62aa367049815504ecea8bb3ff82dee779167ab59eea148e8d631e50151d4ce1805327ddf3b06821a767aab162c613a32d73e814a832d79158b455aab9c WHIRLPOOL 2df3db91e8a8132dbf25703fbb60aa7f17eb63faa56101c5e1697e9a37a21b7545629382643ac5d9420a9953c4d41ef2dc196dd50547d4d1119ec08fb5e0262e |
27 |
DIST rpy2-2.7.7.tar.gz 178098 SHA256 bf17d49c83f856a9ca537a7746c5e5edced23c3a181b89b61cb959a5db90339f SHA512 66bb901150d256a2373aa52a4d05bd5cb93acf58e3f21cd55bf5d0f8f204953898b6dc5ebffa26e06b9ab76982a1cc31f0011b8520a059b071033f54e0b8836b WHIRLPOOL 1621345954c54b7250a93ec8fb1ca1ce110d6d9e4391ca023436eef1a70c69b4cdee0a8b01982706e4b6daba5f0fc74770b0ac4517642fb6c4d4ed148ef4eb97 |
28 |
DIST rpy2-2.7.8.tar.gz 178334 SHA256 4f51bcdddea01a63e624f4b38de4f6b10a2466d82fd7e890791a07b06e51781d SHA512 adbc83c8003963219038b541e0b5d1736eb515fda77e277462e87cd1dfdc39b225bb73a659f62dc7fb1d7678a415047153fa4861328dc0ecf8ba450b3748150e WHIRLPOOL 4c1ffcbd88875223d80f1b078dbf1d8c59b85765b8b106a577d00f0d219560dbba6f5d2b7b66ac59434791781c0b1665c5bbee19f402fa4e1a0fdaa6b4db3852 |
29 |
+DIST rpy2-2.8.5.tar.gz 184190 SHA256 09c63bc934d666f4ec16e74caf52eb516e035557407a93591e8da694a1718ca6 SHA512 737649bea67f0cb2a73dfedfe6f342b52bd8e73840b0da6eb64c8a61d25665d74394df6070ed67ec7a59632798e12fce05225e5c1ec5de587f1ae40ce5074b99 WHIRLPOOL 2e6c449ca766ff73a20abff12ef6df5791a77d2ca3cf5e90862700370bddf20b9b4ded65c870ef84ab840bb282d66cffc10c078a4417a8e1074dfebc7d87c421 |
30 |
|
31 |
diff --git a/dev-python/rpy/rpy-2.8.5.ebuild b/dev-python/rpy/rpy-2.8.5.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..f7a9f02a88e |
34 |
--- /dev/null |
35 |
+++ b/dev-python/rpy/rpy-2.8.5.ebuild |
36 |
@@ -0,0 +1,62 @@ |
37 |
+# Copyright 1999-2017 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+ |
42 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
43 |
+PYTHON_REQ_USE="sqlite" |
44 |
+ |
45 |
+inherit distutils-r1 flag-o-matic virtualx |
46 |
+ |
47 |
+MYSLOT=2 |
48 |
+MY_PN=${PN}${MYSLOT} |
49 |
+MY_P=${MY_PN}-${PV} |
50 |
+ |
51 |
+DESCRIPTION="Python interface to the R Programming Language" |
52 |
+HOMEPAGE="http://rpy.sourceforge.net/ https://pypi.python.org/pypi/rpy2" |
53 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
58 |
+IUSE="test" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ >=dev-lang/R-3.2 |
62 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pandas-0.13.1[${PYTHON_USEDEP}] |
64 |
+ dev-python/six[${PYTHON_USEDEP}] |
65 |
+ virtual/python-singledispatch[${PYTHON_USEDEP}] |
66 |
+" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ test? ( >=dev-lang/R-3.2[X,png] ) |
69 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
70 |
+PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" |
71 |
+ |
72 |
+# ggplot2 is an optional test dep but not in portage |
73 |
+S="${WORKDIR}/${MY_P}" |
74 |
+ |
75 |
+# Tarball absent of doc files in doc folder |
76 |
+# https://bitbucket.org/rpy2/rpy2/issues/229 |
77 |
+ |
78 |
+python_prepare() { |
79 |
+ if ! python_is_python3; then |
80 |
+ # https://bitbucket.org/rpy2/rpy2/pull-requests/56 |
81 |
+ sed -e '1i# coding=utf-8' \ |
82 |
+ -i rpy/rinterface/tests/test_SexpClosure.py \ |
83 |
+ -i rpy/rinterface/tests/test_SexpEnvironment.py || die |
84 |
+ fi |
85 |
+} |
86 |
+ |
87 |
+python_compile() { |
88 |
+ if ! python_is_python3; then |
89 |
+ local CFLAGS=${CFLAGS} |
90 |
+ append-cflags -fno-strict-aliasing |
91 |
+ fi |
92 |
+ distutils-r1_python_compile |
93 |
+} |
94 |
+ |
95 |
+python_test() { |
96 |
+ cd "${BUILD_DIR}"/lib || die |
97 |
+ virtx "${EPYTHON}" -m 'rpy2.tests' || die |
98 |
+} |