summaryrefslogtreecommitdiff
path: root/math/py-rpy
diff options
context:
space:
mode:
authormarkd <markd>2002-12-10 12:30:58 +0000
committermarkd <markd>2002-12-10 12:30:58 +0000
commit4f7c885a4fdeff715eb93d4e89fbc8170e397da4 (patch)
tree65be8d2a692c7bdbccb899a17a8cd11abcf41ac0 /math/py-rpy
parent23bb37557d562006eb9bc4e705ad37859babfb0c (diff)
downloadpkgsrc-4f7c885a4fdeff715eb93d4e89fbc8170e397da4.tar.gz
Initial import of py-rpy-0.3.
Package provided by Kent Polk <kent@goathill.org> 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.
Diffstat (limited to 'math/py-rpy')
-rw-r--r--math/py-rpy/DESCR6
-rw-r--r--math/py-rpy/Makefile19
-rw-r--r--math/py-rpy/PLIST6
-rw-r--r--math/py-rpy/distinfo5
-rw-r--r--math/py-rpy/patches/patch-aa12
5 files changed, 48 insertions, 0 deletions
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"])]