pkgsrc-Bugs archive

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

pkg/43227: [math/py-rpy] Update to 1.0.3



>Number:         43227
>Category:       pkg
>Synopsis:       [math/py-rpy] Update to 1.0.3
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 29 15:05:00 +0000 2010
>Originator:     Wen Heping
>Release:        NetBSD-5.0.2
>Organization:
Private
>Environment:
NetBSD nb502.wenjing.com 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 
UTC 2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
CHANGES IN RPY 1.0.3 - 2008-05-12
---------------------------------

Bug fixes:

- Correct issue with R 2.7.0. (R 2.7.0 exports the symbol 'Rf_KillAllDevices'
  instead of 'KillAllDevices')



CHANGES IN RPY 1.0.2 - 2008-04-02
---------------------------------

New features:

- The 'Robj' type is now exported.

work/rpy-1.0.3/NEWS 2%CHANGES IN RPY 1.0.3 - 2008-05-12
---------------------------------

Bug fixes:

- Correct issue with R 2.7.0. (R 2.7.0 exports the symbol 'Rf_KillAllDevices'
  instead of 'KillAllDevices')



CHANGES IN RPY 1.0.2 - 2008-04-02
---------------------------------

New features:

- The 'Robj' type is now exported.

- Add simple neural net example.

Bug fixes:

- Stack checking code was incorrectly disabled on all platforms,
  corrected so that it is properly included for R 2.3.0 and later
  everywhere except Win32.

- Fixes for compatibility with Python 2.4 and later.

- Updates to debian install files (Dirk Eddelbuettel)

- Correct simple line plot example in the documentation

- Minor internal changes to code and tests

- Automatic build tool now uses 'tail -n 1' instead of 'tail -1' when
  calling 'R RHOME' to make recent versions of tail happy

- Add startup options to prevent initialization of console
  read/write/showfiles which causes problems with R when run without a
  controlling console.

Other changes:

- Deletion of R's temporary directory now uses R's own internal function
  for this task for R versions after 2.4.0.

CHANGES IN RPY 1.0.1 - 2007-11-29
---------------------------------

Bug Fixes:

  - Correct silent termination on load on MS-Windows (really this time!)

  - Improve detection of installed R versions during build process
    on MS-Windows

CHANGES IN RPY 1.0.0 - 2007-11-15
---------------------------------

New Features:

  - Complete support for NumPy

  - Add new exception types to provide better information on the
    source of the error:

      RPyException: Base exception class for all RPy Exceptions

      RPyTypeConversionException: Error in conversion between R
              and Python

      RPyRException Error raised within R

      (RException is set equal to RPyException for backwards
          compatibility)

Bug Fixes:

  - All Numeric and NumPy data types are either properly handled, or
    an appropriate exception is generated.

  - Properly handle unicode strings.

  - Fix silent failure to start up on Win32

Other:

  - Misc improvments to the test code.

CHANGES IN RPY 1.0 RC 3 - 2007-06-26
------------------------------------

Bug Fixes:

  - Only apply code to fix C Stack Limit error to recent versions of
    R that require the fix.


CHANGES IN RPY 1.0 RC 2 - 2007-05-18
------------------------------------

New Features:

  - Initial work to provide support for NumPy

Bug Fixes:

  - Fix "C stack limit" error produced by R in some contexts

  - Moved some code so no longer necessary to have R/bin in PATH

  - Skip tests for features not supported on Win32

CHANGES in RPY 1.0 RC 1 - 2006-08-08
------------------------------------

Bug Fixes

   - Improve R version parsing to cope with new R startup message



CHANGES IN RPY 0.99.2 - 2006-03-24
----------------------------------

Bug fixes:

  - Windows binaries in 0.99.1 were built without Numeric support.
    Corrected for 0.99.2

CHANGES IN RPY 0.99.1 - 2006-03-24
----------------------------------

New features:

  - RPy is now available under the terms of the Mozilla Public
    License (MPL), the GNU Public License (GPL), or the Library or
    Lesser GNU Public License (LGPL)

Bug fixes:

  - Fix crash on win32 due to omission (was commented out during
    debugging!) of explicit dll load.

>How-To-Repeat:

>Fix:
Important: the patch below is based on R-2.11.0, if you use R-2.10.1, please 
modify the PLIST file with s/2110/2101.


diff -urN py-rpy.orig/Makefile py-rpy/Makefile
--- py-rpy.orig/Makefile        2010-04-30 06:38:30.000000000 +0800
+++ py-rpy/Makefile     2010-04-30 06:52:30.000000000 +0800
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.25 2010/02/15 16:32:20 joerg Exp $
 #

-DISTNAME=      rpy-0.99.0
-PKGREVISION=   3
+DISTNAME=      rpy-1.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=rpy/}
@@ -17,9 +16,9 @@

 BUILDLINK_API_DEPENDS.R+= R>=2.7.0

-BROKEN=                Doesn't support modern R.
+#BROKEN=               Doesn't support modern R.

 .include "../../lang/python/extension.mk"
-.include "../../math/py-Numeric/buildlink3.mk"
+.include "../../math/py-numpy/buildlink3.mk"
 .include "../../math/R/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -urN py-rpy.orig/PLIST py-rpy/PLIST
--- py-rpy.orig/PLIST   2010-04-30 06:38:31.000000000 +0800
+++ py-rpy/PLIST        2010-04-30 06:55:08.000000000 +0800
@@ -1,5 +1,5 @@
 @comment $NetBSD: PLIST,v 1.11 2008/09/19 14:39:00 joerg Exp $
-${PYSITELIB}/_rpy2072.so
+${PYSITELIB}/_rpy2110.so
 ${PYSITELIB}/rpy.py
 ${PYSITELIB}/rpy.pyc
 ${PYSITELIB}/rpy.pyo
diff -urN py-rpy.orig/distinfo py-rpy/distinfo
--- py-rpy.orig/distinfo        2010-04-30 06:38:31.000000000 +0800
+++ py-rpy/distinfo     2010-04-30 06:52:42.000000000 +0800
@@ -1,6 +1,7 @@
 $NetBSD: distinfo,v 1.8 2010/02/15 16:32:20 joerg Exp $

-SHA1 (rpy-0.99.0.tar.gz) = 6b94e20adb555b9dfb914ef89745e75f3e9e4c8b
-RMD160 (rpy-0.99.0.tar.gz) = 9880e9da9d8b8cacccd947df906e643b7457aa44
-Size (rpy-0.99.0.tar.gz) = 79120 bytes
-SHA1 (patch-aa) = e148451a16e1d89bc26b4e86670772c626d24d69
+SHA1 (rpy-1.0.3.tar.gz) = 492be646603be4a2ce1ff37d329df65a5203dabf
+RMD160 (rpy-1.0.3.tar.gz) = 82db02e5f3d704cdb605628d3193806e5be0dfe2
+Size (rpy-1.0.3.tar.gz) = 87009 bytes
+SHA1 (patch-ab) = 001848ffde9808ca9bc3a7f9fcc9453400fed8da
+SHA1 (patch-ac) = 34ef756344ea24e71d7f5bc3ca55771d17cc4226
diff -urN py-rpy.orig/patches/patch-aa py-rpy/patches/patch-aa
--- py-rpy.orig/patches/patch-aa        2010-04-30 06:38:30.000000000 +0800
+++ py-rpy/patches/patch-aa     1970-01-01 07:00:00.000000000 +0700
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2010/02/15 16:32:20 joerg Exp $
-
---- rpy_tools.py.orig  2006-06-20 19:22:37.000000000 +0000
-+++ rpy_tools.py
-@@ -93,7 +93,7 @@ def get_R_VERSION(RHOME=None, force_exec
-     if stat or len(output)<=0:
-       raise RuntimeError("Couldn't execute the R interpreter" +
-                          " `%s'.\n" % rexec )
--    version = re.search("R +([0-9]\.[0-9]\.[0-9])", output)
-+    version = re.search("R version +([0-9]+\.[0-9]+\.[0-9]+)", output)
-     if not version:
-       raise RuntimeError("Couldn't obtain version number from output\n"
-                                "of `R --version'.\n")
diff -urN py-rpy.orig/patches/patch-ab py-rpy/patches/patch-ab
--- py-rpy.orig/patches/patch-ab        1970-01-01 07:00:00.000000000 +0700
+++ py-rpy/patches/patch-ab     2010-04-30 06:42:35.000000000 +0800
@@ -0,0 +1,11 @@
+--- rpy_tools.py.orig  2010-04-30 06:41:25.000000000 +0800
++++ rpy_tools.py       2010-04-30 06:41:58.000000000 +0800
+@@ -98,7 +98,7 @@
+       raise RuntimeError("Couldn't execute the R interpreter" +
+                          " `%s'.\n" % rexec )
+     # edd 05 Apr 2006  version = re.search("R +([0-9]\.[0-9]\.[0-9])", output)
+-    version = re.search(" +([0-9]\.[0-9]\.[0-9])", output)
++    version = re.search(" +([0-9]\.[0-9][0-9]\.[0-9])", output)
+     if not version:
+       raise RuntimeError("Couldn't obtain version number from output\n"
+                                "of `R --version'.\n")
diff -urN py-rpy.orig/patches/patch-ac py-rpy/patches/patch-ac
--- py-rpy.orig/patches/patch-ac        1970-01-01 07:00:00.000000000 +0700
+++ py-rpy/patches/patch-ac     2010-04-30 06:52:14.000000000 +0800
@@ -0,0 +1,11 @@
+--- src/RPy.h.orig     2010-04-30 06:51:06.000000000 +0800
++++ src/RPy.h  2010-04-30 06:51:41.000000000 +0800
+@@ -74,7 +74,7 @@
+ #  endif
+ #endif  /* _WIN32 */
+
+-#include <Rdevices.h> /* must follow Graphics.h */
++#include <Rembedded.h> /* must follow Graphics.h */
+
+
+ /* Missing definitions from Rinterface.h or RStartup.h */



Home | Main Index | Thread Index | Old Index