51d22134aa
Release 2.9.0: New features - New module :mod:`rpy2.situation` to extract and report informations about the environment, such as where is the R HOME, what is the version of R, what is the version of R rpy2 was built with, etc... The module is also designed to be run directly and provide diagnostics: `python -m rpy2.situation`. - :meth:`Environment.values`, :meth:`Environment.pop`, :meth:`Environment.popitems`, :meth:`Environment.clear` to match :meth:`dict.values`, :meth:`dict.pop`, :meth:`dict.popitems`, :meth:`dict.clear`. - :class:`VectorOperationsDelegator` now has a method `__matmul__` to implement Python's matrix multiplication operator (PEP-0645). - A rule to convert R POSIXct vectors to pandas Timestamp vectors was added. - method :meth:`_repr_html_` for R vectors to display HTML in jupyter. Changes - Starting several times the singleton :class:`EventProcessor` longer results in a :class:`RuntimeError`. - The target version for the R package `dplyr` mapped is now 0.7.1, and :func:`rpy2.robjects.lib.dplyr.src_dt` and :func:`rpy2.robjects.lib.dplyr.src_desc` are no longer present. - :meth:`Environment.keys` is now a iterator to match :meth:`dict.keys`, also an interator in Python 3. - Target version of `ggplot2` library is 2.2.1. - Option `stringsasfactors` in the constructor for the class `DataFrame`. If `False`, the strings are no longer converted to factors. When converting from pandas data frames the default is to no longer convert columns of strings to factors. - The R "magic" for jupyter is now more consistently using the conversion system, and the use of custom converters through the magic argument `-c` will work as expected. - Docker-related files moved to directory docker/ (where variants image for rpy2 are available) Bugs fixed - :func:`numpy.float128` is not available on all platforms. The unit test for it is now skipped on systems where it is not present - R pairlist objects can now be sliced. - Passing parameters names that are empty string to R function was causing a segfault. - Trying to build an atomic R vector from a Python object that has a length, but it not a sequence nor an iterator was causing a segfault
32 lines
915 B
Makefile
32 lines
915 B
Makefile
# $NetBSD: Makefile,v 1.42 2017/10/18 16:17:12 adam Exp $
|
|
|
|
DISTNAME= rpy2-2.9.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/rpy2/rpy/}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rpy2/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://rpy.sourceforge.net/
|
|
COMMENT= R interface for Python
|
|
LICENSE= mpl-1.1 OR gnu-gpl-v2 OR gnu-lgpl-v2.1
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
|
|
USE_LANGUAGES+= c fortran77
|
|
|
|
BUILDLINK_API_DEPENDS.R+= R>=3.3.0
|
|
|
|
LDFLAGS.SunOS+= -mimpure-text
|
|
|
|
REPLACE_PYTHON= rpy/tests.py
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../math/R/buildlink3.mk"
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|