diff options
Diffstat (limited to 'dev-python/rpy')
-rw-r--r-- | dev-python/rpy/Manifest | 4 | ||||
-rw-r--r-- | dev-python/rpy/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/rpy/rpy-3.5.8.ebuild | 45 |
3 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest index 4c3612eba3ab..8d9f377ddb3f 100644 --- a/dev-python/rpy/Manifest +++ b/dev-python/rpy/Manifest @@ -1,3 +1,5 @@ DIST rpy2-3.5.5.tar.gz 210255 BLAKE2B b26aa4830f10b69ad8a9b21df14784203f77ea35b403a5b9d6135680ab47b47edbc480e3dbfcc469ffd523262c977c9a78e3597e467f5ccb3643c66a8a49b94e SHA512 47ce62851ec5385e3d8da947bb30cb71bf28fdba5891ec729f227313aa3863a2fa7be9ec3b7b2fffa4c09ebae131d15a8723f796c85406e5c19ea4a480f8e653 +DIST rpy2-3.5.8.tar.gz 214245 BLAKE2B 70d6b1e07df3fb6936898ab1353f134a4184ce611486c3da875ca7b562ec9a60bde9657869807aab969ccf515a32cf2a3767704e8ed8ab8b8977b9ac15745033 SHA512 e0781aeea4e483e60c2e54322bc577e5314627c6ef881387af6011e5ef3c08b4ee1be16bcbeba9083dcd0758655fc83a1ff474a3e05291745f85d94a70437521 EBUILD rpy-3.5.5.ebuild 1014 BLAKE2B 7cc4e65c3ed82daae115745e43d0fa7a3e9e1125d9bd61a476966fefac94f37dcc3e022aa899ca8870c828c7c24066bd91206f3afacba8a338fd05d948764700 SHA512 bfaf4539749c12892c908d49da83e8024ece54ccecd533a4ec15f63ef968321bf4896b263fc30c8ba1462a98e3ecb778197fda0a6dca058298596f596b9e872f -MISC metadata.xml 594 BLAKE2B 30723d02d77794b1d8303e4063b3f14b0896de94ab2f7dff371353db67fe132e7fbbc914cad4157fba2764faefad6b15e8ece111023fd3935f04b926c4c7364f SHA512 ee3231beea6731daf7e14a20aee434c35eb3a2f9e9c4bc7a9047fd0a3de133fa0142ef758cb353abb769bb13280f5a57f50153fa20bb2ecf06e4570c65fca8d6 +EBUILD rpy-3.5.8.ebuild 1033 BLAKE2B 76e8498a24659596ccd722951decce8031b6695b664b30ed1e209634547afc2a7805c048c02cd9490b586dff3f44d65ba4d7f9993031629ff869c9181ec37d7f SHA512 9aed4e12c362a34eece8093660b10061a00a76b64ff7955e026d4d184c1537236ab5d123eea3f534bdff79135702b18d769d1df0baeeae950184a77740beb3be +MISC metadata.xml 644 BLAKE2B 0a3381a277d867c75750b917fc2901854313405d4926aacb563c3c51220e15a0f75abe490feb58630a8ef99059342cbb2b3a2af8f2947efa1c4de31efab24574 SHA512 58ba6ac59b1fdc7ad74110c6538fd970b0e5812803ffeb10cf81e937e5de03431918ac41c53fe05756e04318c4fde1bf4e827327677620b954ab166f0492fe1d diff --git a/dev-python/rpy/metadata.xml b/dev-python/rpy/metadata.xml index 27e08f6c2612..911089995fb4 100644 --- a/dev-python/rpy/metadata.xml +++ b/dev-python/rpy/metadata.xml @@ -13,5 +13,6 @@ </longdescription> <upstream> <remote-id type="pypi">rpy2</remote-id> + <remote-id type="sourceforge">rpy</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/rpy/rpy-3.5.8.ebuild b/dev-python/rpy/rpy-3.5.8.ebuild new file mode 100644 index 000000000000..fd916d1fc2b5 --- /dev/null +++ b/dev-python/rpy/rpy-3.5.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi virtualx + +MYSLOT=2 +MY_PN=${PN}${MYSLOT} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python interface to the R Programming Language" +HOMEPAGE=" + https://rpy.sourceforge.io/ + https://pypi.org/project/rpy2/ +" +SRC_URI="$(pypi_sdist_url rpy2)" +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 ::gentoo atm +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' +} |