pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-rpy



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 18 16:17:12 UTC 2017

Modified Files:
        pkgsrc/math/py-rpy: Makefile PLIST distinfo

Log Message:
py-rpy: update to 2.9.0

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


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/math/py-rpy/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/math/py-rpy/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/math/py-rpy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-rpy/Makefile
diff -u pkgsrc/math/py-rpy/Makefile:1.41 pkgsrc/math/py-rpy/Makefile:1.42
--- pkgsrc/math/py-rpy/Makefile:1.41    Mon Oct  3 12:25:36 2016
+++ pkgsrc/math/py-rpy/Makefile Wed Oct 18 16:17:12 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2016/10/03 12:25:36 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2017/10/18 16:17:12 adam Exp $
 
-DISTNAME=      rpy2-2.5.6
+DISTNAME=      rpy2-2.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/rpy2/rpy/}
-PKGREVISION=   2
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rpy2/}
 
@@ -11,28 +10,23 @@ 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>=2.11.0
+BUILDLINK_API_DEPENDS.R+=      R>=3.3.0
 
 LDFLAGS.SunOS+=                -mimpure-text
 
-REPLACE_PYTHON=                        rpy/tests.py
+REPLACE_PYTHON=                rpy/tests.py
 
-.include "../../lang/python/pyversion.mk"
-
-PLIST_VARS=    sd
-.if ${PYPKGPREFIX} == "py27"
-PLIST.sd=      yes
-DEPENDS+=      ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../devel/pcre/buildlink3.mk"
-.include "../../mk/readline.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"

Index: pkgsrc/math/py-rpy/PLIST
diff -u pkgsrc/math/py-rpy/PLIST:1.16 pkgsrc/math/py-rpy/PLIST:1.17
--- pkgsrc/math/py-rpy/PLIST:1.16       Fri Apr 10 08:36:30 2015
+++ pkgsrc/math/py-rpy/PLIST    Wed Oct 18 16:17:12 2017
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.16 2015/04/10 08:36:30 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2017/10/18 16:17:12 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.sd}${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/rpy2/__init__.py
 ${PYSITELIB}/rpy2/__init__.pyc
@@ -120,18 +120,39 @@ ${PYSITELIB}/rpy2/robjects/language.pyo
 ${PYSITELIB}/rpy2/robjects/lib/__init__.py
 ${PYSITELIB}/rpy2/robjects/lib/__init__.pyc
 ${PYSITELIB}/rpy2/robjects/lib/__init__.pyo
+${PYSITELIB}/rpy2/robjects/lib/dbplyr.py
+${PYSITELIB}/rpy2/robjects/lib/dbplyr.pyc
+${PYSITELIB}/rpy2/robjects/lib/dbplyr.pyo
+${PYSITELIB}/rpy2/robjects/lib/dplyr.py
+${PYSITELIB}/rpy2/robjects/lib/dplyr.pyc
+${PYSITELIB}/rpy2/robjects/lib/dplyr.pyo
 ${PYSITELIB}/rpy2/robjects/lib/ggplot2.py
 ${PYSITELIB}/rpy2/robjects/lib/ggplot2.pyc
 ${PYSITELIB}/rpy2/robjects/lib/ggplot2.pyo
+${PYSITELIB}/rpy2/robjects/lib/grdevices.py
+${PYSITELIB}/rpy2/robjects/lib/grdevices.pyc
+${PYSITELIB}/rpy2/robjects/lib/grdevices.pyo
 ${PYSITELIB}/rpy2/robjects/lib/grid.py
 ${PYSITELIB}/rpy2/robjects/lib/grid.pyc
 ${PYSITELIB}/rpy2/robjects/lib/grid.pyo
+${PYSITELIB}/rpy2/robjects/lib/test_dplyr.py
+${PYSITELIB}/rpy2/robjects/lib/test_dplyr.pyc
+${PYSITELIB}/rpy2/robjects/lib/test_dplyr.pyo
 ${PYSITELIB}/rpy2/robjects/lib/tests/__init__.py
 ${PYSITELIB}/rpy2/robjects/lib/tests/__init__.pyc
 ${PYSITELIB}/rpy2/robjects/lib/tests/__init__.pyo
+${PYSITELIB}/rpy2/robjects/lib/tests/test_dplyr.py
+${PYSITELIB}/rpy2/robjects/lib/tests/test_dplyr.pyc
+${PYSITELIB}/rpy2/robjects/lib/tests/test_dplyr.pyo
 ${PYSITELIB}/rpy2/robjects/lib/tests/test_ggplot2.py
 ${PYSITELIB}/rpy2/robjects/lib/tests/test_ggplot2.pyc
 ${PYSITELIB}/rpy2/robjects/lib/tests/test_ggplot2.pyo
+${PYSITELIB}/rpy2/robjects/lib/tests/test_grdevices.py
+${PYSITELIB}/rpy2/robjects/lib/tests/test_grdevices.pyc
+${PYSITELIB}/rpy2/robjects/lib/tests/test_grdevices.pyo
+${PYSITELIB}/rpy2/robjects/lib/tidyr.py
+${PYSITELIB}/rpy2/robjects/lib/tidyr.pyc
+${PYSITELIB}/rpy2/robjects/lib/tidyr.pyo
 ${PYSITELIB}/rpy2/robjects/methods.py
 ${PYSITELIB}/rpy2/robjects/methods.pyc
 ${PYSITELIB}/rpy2/robjects/methods.pyo
@@ -201,6 +222,9 @@ ${PYSITELIB}/rpy2/robjects/vectors.pyo
 ${PYSITELIB}/rpy2/rpy_classic.py
 ${PYSITELIB}/rpy2/rpy_classic.pyc
 ${PYSITELIB}/rpy2/rpy_classic.pyo
+${PYSITELIB}/rpy2/situation.py
+${PYSITELIB}/rpy2/situation.pyc
+${PYSITELIB}/rpy2/situation.pyo
 ${PYSITELIB}/rpy2/tests.py
 ${PYSITELIB}/rpy2/tests.pyc
 ${PYSITELIB}/rpy2/tests.pyo

Index: pkgsrc/math/py-rpy/distinfo
diff -u pkgsrc/math/py-rpy/distinfo:1.13 pkgsrc/math/py-rpy/distinfo:1.14
--- pkgsrc/math/py-rpy/distinfo:1.13    Tue Nov  3 23:33:43 2015
+++ pkgsrc/math/py-rpy/distinfo Wed Oct 18 16:17:12 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 23:33:43 agc Exp $
+$NetBSD: distinfo,v 1.14 2017/10/18 16:17:12 adam Exp $
 
-SHA1 (rpy2-2.5.6.tar.gz) = d4a664b21b61b12608d9ff6714a087b43039e89e
-RMD160 (rpy2-2.5.6.tar.gz) = ea13cf5379c025bbd7f8654c2cad0037196cf7a1
-SHA512 (rpy2-2.5.6.tar.gz) = 27d0b10de0aafc5de166606fb205d1ec49ff573793ba4996732a408d0df33e4dec08d283abdccdfb6d41da757ef4090e10fc4a94d3b064fa9326522062466790
-Size (rpy2-2.5.6.tar.gz) = 165070 bytes
+SHA1 (rpy2-2.9.0.tar.gz) = 6ebe536f24a3a171b939e5a4fe62577a15fe48b5
+RMD160 (rpy2-2.9.0.tar.gz) = 94f55b341b47f2a29e785c72a0596ef6014b7cf2
+SHA512 (rpy2-2.9.0.tar.gz) = 55be876fb7316a08f507f3a332ed29d71b52f733c1986482f141e694d66d0e01a51a9c3f0260f6fe0086d7bfbc1f58b678cda4570665e4f1ffdb120c793ef1b2
+Size (rpy2-2.9.0.tar.gz) = 193062 bytes



Home | Main Index | Thread Index | Old Index