From 956e2677c1ee78491920e386cea791531d736cb3 Mon Sep 17 00:00:00 2001 From: markd Date: Tue, 10 Dec 2002 12:30:58 +0000 Subject: Initial import of py-rpy-0.3. Package provided by Kent Polk in personal email. RPy is a very simple, yet robust, Python interface to the R Programming Language. It can manage all kinds of R objects and can execute arbitrary R functions (including the graphic functions). All the errors from the R language are converted to Python exceptions. Any modules that later were installed on the R system, can easily be used from within Python, without introducing any changes. --- math/py-rpy/DESCR | 6 ++++++ math/py-rpy/Makefile | 19 +++++++++++++++++++ math/py-rpy/PLIST | 6 ++++++ math/py-rpy/distinfo | 5 +++++ math/py-rpy/patches/patch-aa | 12 ++++++++++++ 5 files changed, 48 insertions(+) create mode 100644 math/py-rpy/DESCR create mode 100644 math/py-rpy/Makefile create mode 100644 math/py-rpy/PLIST create mode 100644 math/py-rpy/distinfo create mode 100644 math/py-rpy/patches/patch-aa (limited to 'math/py-rpy') diff --git a/math/py-rpy/DESCR b/math/py-rpy/DESCR new file mode 100644 index 00000000000..0403fd6c484 --- /dev/null +++ b/math/py-rpy/DESCR @@ -0,0 +1,6 @@ +RPy is a very simple, yet robust, Python interface to the R +Programming Language. It can manage all kinds of R objects and can +execute arbitrary R functions (including the graphic functions). +All the errors from the R language are converted to Python exceptions. +Any modules that later were installed on the R system, can easily +be used from within Python, without introducing any changes. diff --git a/math/py-rpy/Makefile b/math/py-rpy/Makefile new file mode 100644 index 00000000000..6351aa0c01e --- /dev/null +++ b/math/py-rpy/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/12/10 12:30:58 markd Exp $ +# + +DISTNAME= rpy-0.3 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rpy/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://rpy.sourceforge.net/ +COMMENT= R interface for Python + +USE_BUILDLINK2= YES +PYDISTUTILSPKG= yes + +.include "../../math/py-Numeric/buildlink2.mk" +.include "../../math/R/buildlink2.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/py-rpy/PLIST b/math/py-rpy/PLIST new file mode 100644 index 00000000000..7fbe5a701c7 --- /dev/null +++ b/math/py-rpy/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/10 12:30:58 markd Exp $ +${PYSITELIB}/rpy.py +${PYSITELIB}/rpy.pyc +${PYSITELIB}/io.py +${PYSITELIB}/io.pyc +${PYSITELIB}/_rpymodule.so diff --git a/math/py-rpy/distinfo b/math/py-rpy/distinfo new file mode 100644 index 00000000000..ea219649d52 --- /dev/null +++ b/math/py-rpy/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/12/10 12:30:58 markd Exp $ + +SHA1 (rpy-0.3.tar.gz) = c1c57b22bc9d309552515946acd28b5c8e82013c +Size (rpy-0.3.tar.gz) = 215545 bytes +SHA1 (patch-aa) = 34ec97c595215c0ac037d8774b29289596bff43f diff --git a/math/py-rpy/patches/patch-aa b/math/py-rpy/patches/patch-aa new file mode 100644 index 00000000000..0e7b14c3be5 --- /dev/null +++ b/math/py-rpy/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/12/10 12:30:58 markd Exp $ + +--- setup.py.orig Sat Dec 7 01:36:39 2002 ++++ setup.py +@@ -59,6 +59,7 @@ + include_dirs=[r_include, "src"], + libraries=["R"], + library_dirs=[r_libs], ++ runtime_library_dirs=[r_libs], + define_macros=DEFINE, + undef_macros=UNDEF, + extra_compile_args=["-shared"])] -- cgit v1.2.3