summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-10-12 22:45:01 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-10-12 22:45:12 +0300
commiteb3f5723f9b77657d08e39e04c38ef16fd468951 (patch)
tree74e9c03b2ca473cd46e3777dd16660446af4b445 /dev-python/rpy
parentapp-editors/vscodium: drop 1.71.2.22258-r1 (diff)
downloadgentoo-eb3f5723f9b77657d08e39e04c38ef16fd468951.tar.gz
gentoo-eb3f5723f9b77657d08e39e04c38ef16fd468951.tar.bz2
gentoo-eb3f5723f9b77657d08e39e04c38ef16fd468951.zip
dev-python/rpy: add 3.5.5
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/rpy')
-rw-r--r--dev-python/rpy/Manifest1
-rw-r--r--dev-python/rpy/rpy-3.5.5.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest
index 00521687f207..154d8619e7bc 100644
--- a/dev-python/rpy/Manifest
+++ b/dev-python/rpy/Manifest
@@ -1 +1,2 @@
DIST rpy2-3.5.4.tar.gz 208307 BLAKE2B bd302a65daf9f702f66cde63484552c8b01777baf1fd99f1631711806ea259df51d4beb7800b6fa9f9816637b1b6a0f75bb583e256c956142aaad5b677038fa2 SHA512 65a0a4516f362459667a678c3aeaaa05fa1df785ac4e203122e6268db1578af8d7344b905ef27528c20ebdf93bbbe5f1b6a5d8958d1f5dca2867d95f191afb5b
+DIST rpy2-3.5.5.tar.gz 210255 BLAKE2B b26aa4830f10b69ad8a9b21df14784203f77ea35b403a5b9d6135680ab47b47edbc480e3dbfcc469ffd523262c977c9a78e3597e467f5ccb3643c66a8a49b94e SHA512 47ce62851ec5385e3d8da947bb30cb71bf28fdba5891ec729f227313aa3863a2fa7be9ec3b7b2fffa4c09ebae131d15a8723f796c85406e5c19ea4a480f8e653
diff --git a/dev-python/rpy/rpy-3.5.5.ebuild b/dev-python/rpy/rpy-3.5.5.ebuild
new file mode 100644
index 000000000000..33ae4762eb31
--- /dev/null
+++ b/dev-python/rpy/rpy-3.5.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1 virtualx
+
+MYSLOT=2
+MY_PN=${PN}${MYSLOT}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Python interface to the R Programming Language"
+HOMEPAGE="https://rpy.sourceforge.net/
+ https://pypi.org/project/rpy2/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+# ggplot2 is a test dep but not in portage
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-lang/R-3.2
+ dev-python/cffi[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/pandas-0.13.1[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/tzlocal[${PYTHON_USEDEP}]
+"
+PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
+
+python_test() {
+ cd "${BUILD_DIR}"/lib || die
+ virtx "${EPYTHON}" -m 'rpy2.tests'
+}