diff options
author | 2014-06-24 01:58:44 +0000 | |
---|---|---|
committer | 2014-06-24 01:58:44 +0000 | |
commit | 47d10937820160acb13f3cc8460e948e77e93c03 (patch) | |
tree | 7bdf303c51b3563c80e2e9277404ac625a0d6661 /dev-python/rpy | |
parent | Non-maintainer commit: depend on libgnome-keyring, not gnome-keyring (bug #51... (diff) | |
download | gentoo-2-47d10937820160acb13f3cc8460e948e77e93c03.tar.gz gentoo-2-47d10937820160acb13f3cc8460e948e77e93c03.tar.bz2 gentoo-2-47d10937820160acb13f3cc8460e948e77e93c03.zip |
add py3.4 support
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/rpy')
-rw-r--r-- | dev-python/rpy/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/rpy/rpy-2.4.2.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/rpy/ChangeLog b/dev-python/rpy/ChangeLog index 0fe2e0941ca7..2cb1cab8203c 100644 --- a/dev-python/rpy/ChangeLog +++ b/dev-python/rpy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/rpy # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v 1.79 2014/06/03 05:42:56 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v 1.80 2014/06/24 01:58:44 idella4 Exp $ + +*rpy-2.4.2 (24 Jun 2014) + + 24 Jun 2014; Ian Delaney <idella4@gentoo.org> +rpy-2.4.2.ebuild: + add py3.4 support *rpy-2.4.0 (03 Jun 2014) diff --git a/dev-python/rpy/rpy-2.4.2.ebuild b/dev-python/rpy/rpy-2.4.2.ebuild new file mode 100644 index 000000000000..5acdda1eaa0a --- /dev/null +++ b/dev-python/rpy/rpy-2.4.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-2.4.2.ebuild,v 1.1 2014/06/24 01:58:44 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 flag-o-matic + +MYSLOT=2 +MY_PN=${PN}${MYSLOT} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python interface to the R Programming Language" +HOMEPAGE="http://rpy.sourceforge.net/ https://pypi.python.org/pypi/rpy2" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-lang/R-3 + dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/pandas-0.13[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_compile() { + if ! python_is_python3; then + local CFLAGS=${CFLAGS} + append-cflags -fno-strict-aliasing + fi + distutils-r1_python_compile +} + +python_test() { + cd "${BUILD_DIR}"/lib || die + ${PYTHON} -m 'rpy2.tests' -v || die +} |