diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-22 22:02:12 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-22 22:23:47 +0300 |
commit | e934ba01fc6d628ecb6c4ce79b8180badaabe119 (patch) | |
tree | b0f0fd004d360f874c3d44991513904ad2b9bdc6 /dev-python/rpy | |
parent | dev-python/networkx: add 2.8.6 (diff) | |
download | gentoo-e934ba01fc6d628ecb6c4ce79b8180badaabe119.tar.gz gentoo-e934ba01fc6d628ecb6c4ce79b8180badaabe119.tar.bz2 gentoo-e934ba01fc6d628ecb6c4ce79b8180badaabe119.zip |
dev-python/rpy: add 3.5.4
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/rpy')
-rw-r--r-- | dev-python/rpy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rpy/rpy-3.5.4.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest index 2353a14c03d4..54f01d45f135 100644 --- a/dev-python/rpy/Manifest +++ b/dev-python/rpy/Manifest @@ -1 +1,2 @@ DIST rpy2-3.4.5.tar.gz 194433 BLAKE2B 588c1c270d69b0214e77e586c4c66e78ae8912b6c10a2fe082be64dc75dff574fa0ab6d5bc500b8ff6a199de8540f508467bf0210f1c66b779857dee767262ab SHA512 296056e1c64a4555a1ccef74cfb580674034155a42b8e7c83feb8bb7d7a6d80b8e2f2966df53a6ed8612718ad169755a7994c5635dda1d1c8af1b549a5863935 +DIST rpy2-3.5.4.tar.gz 208307 BLAKE2B bd302a65daf9f702f66cde63484552c8b01777baf1fd99f1631711806ea259df51d4beb7800b6fa9f9816637b1b6a0f75bb583e256c956142aaad5b677038fa2 SHA512 65a0a4516f362459667a678c3aeaaa05fa1df785ac4e203122e6268db1578af8d7344b905ef27528c20ebdf93bbbe5f1b6a5d8958d1f5dca2867d95f191afb5b diff --git a/dev-python/rpy/rpy-3.5.4.ebuild b/dev-python/rpy/rpy-3.5.4.ebuild new file mode 100644 index 000000000000..33ae4762eb31 --- /dev/null +++ b/dev-python/rpy/rpy-3.5.4.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' +} |