1 |
commit: e934ba01fc6d628ecb6c4ce79b8180badaabe119 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 22 19:02:12 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 22 19:23:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e934ba01 |
7 |
|
8 |
dev-python/rpy: add 3.5.4 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/rpy/Manifest | 1 + |
13 |
dev-python/rpy/rpy-3.5.4.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest |
17 |
index 2353a14c03d4..54f01d45f135 100644 |
18 |
--- a/dev-python/rpy/Manifest |
19 |
+++ b/dev-python/rpy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rpy2-3.4.5.tar.gz 194433 BLAKE2B 588c1c270d69b0214e77e586c4c66e78ae8912b6c10a2fe082be64dc75dff574fa0ab6d5bc500b8ff6a199de8540f508467bf0210f1c66b779857dee767262ab SHA512 296056e1c64a4555a1ccef74cfb580674034155a42b8e7c83feb8bb7d7a6d80b8e2f2966df53a6ed8612718ad169755a7994c5635dda1d1c8af1b549a5863935 |
22 |
+DIST rpy2-3.5.4.tar.gz 208307 BLAKE2B bd302a65daf9f702f66cde63484552c8b01777baf1fd99f1631711806ea259df51d4beb7800b6fa9f9816637b1b6a0f75bb583e256c956142aaad5b677038fa2 SHA512 65a0a4516f362459667a678c3aeaaa05fa1df785ac4e203122e6268db1578af8d7344b905ef27528c20ebdf93bbbe5f1b6a5d8958d1f5dca2867d95f191afb5b |
23 |
|
24 |
diff --git a/dev-python/rpy/rpy-3.5.4.ebuild b/dev-python/rpy/rpy-3.5.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..33ae4762eb31 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/rpy/rpy-3.5.4.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+PYTHON_REQ_USE="sqlite" |
37 |
+inherit distutils-r1 virtualx |
38 |
+ |
39 |
+MYSLOT=2 |
40 |
+MY_PN=${PN}${MYSLOT} |
41 |
+MY_P=${MY_PN}-${PV} |
42 |
+ |
43 |
+DESCRIPTION="Python interface to the R Programming Language" |
44 |
+HOMEPAGE="https://rpy.sourceforge.net/ |
45 |
+ https://pypi.org/project/rpy2/" |
46 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
47 |
+S="${WORKDIR}/${MY_P}" |
48 |
+ |
49 |
+LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
52 |
+ |
53 |
+# ggplot2 is a test dep but not in portage |
54 |
+RESTRICT="test" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ >=dev-lang/R-3.2 |
58 |
+ dev-python/cffi[${PYTHON_USEDEP}] |
59 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
60 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pandas-0.13.1[${PYTHON_USEDEP}] |
62 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
63 |
+ dev-python/tzlocal[${PYTHON_USEDEP}] |
64 |
+" |
65 |
+PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" |
66 |
+ |
67 |
+python_test() { |
68 |
+ cd "${BUILD_DIR}"/lib || die |
69 |
+ virtx "${EPYTHON}" -m 'rpy2.tests' |
70 |
+} |