Revision: 710
          http://rpy.svn.sourceforge.net/rpy/?rev=710&view=rev
Author:   eddelbuettel
Date:     2008-12-03 03:07:58 +0000 (Wed, 03 Dec 2008)

Log Message:
-----------
added debian/ support for the to-be-uploaded package

Added Paths:
-----------
    rpy2/trunk/debian/
    rpy2/trunk/debian/changelog
    rpy2/trunk/debian/compat
    rpy2/trunk/debian/control
    rpy2/trunk/debian/copyright
    rpy2/trunk/debian/pycompat
    rpy2/trunk/debian/python-rpy2.lintian-overrides
    rpy2/trunk/debian/rules
    rpy2/trunk/debian/watch

Added: rpy2/trunk/debian/changelog
===================================================================
--- rpy2/trunk/debian/changelog                         (rev 0)
+++ rpy2/trunk/debian/changelog 2008-12-03 03:07:58 UTC (rev 710)
@@ -0,0 +1,7 @@
+rpy2 (2.0.0-1) unstable; urgency=low
+
+  [ not YET uploaded to Debian ]
+  * Initial Debianisation                              (Closes: #507622)
+
+ -- Dirk Eddelbuettel <[EMAIL PROTECTED]>  Tue, 02 Dec 2008 19:43:00 -0600
+

Added: rpy2/trunk/debian/compat
===================================================================
--- rpy2/trunk/debian/compat                            (rev 0)
+++ rpy2/trunk/debian/compat    2008-12-03 03:07:58 UTC (rev 710)
@@ -0,0 +1 @@
+5

Added: rpy2/trunk/debian/control
===================================================================
--- rpy2/trunk/debian/control                           (rev 0)
+++ rpy2/trunk/debian/control   2008-12-03 03:07:58 UTC (rev 710)
@@ -0,0 +1,21 @@
+Source: rpy2
+Section: python
+Priority: optional
+Maintainer: Dirk Eddelbuettel <[EMAIL PROTECTED]>
+Standards-Version: 3.8.0
+XS-Python-Version: all
+Build-Depends: debhelper (>= 7), r-base-dev (>= 2.8.0), python-all-dev (>= 
2.3.5-10), python-numpy, python-numpy-dev, python-central (>= 0.5)
+Homepage: http://rpy.sourceforge.net/ 
+
+Package: python-rpy2
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-numpy, r-base-core (>= 
2.8.0)
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Suggests: python-rpy-docs
+Description: Python interface to the GNU R language and environment
+ This Debian package provides RPy2, a very simple yet robust Python interface
+ to the GNU R Programming Language. It can manage different types of R objects,
+ and can execute arbitrary R functions, including graphic functions.
+ Rpy2 is a rewrite and extension of the older RPy interface.
+

Added: rpy2/trunk/debian/copyright
===================================================================
--- rpy2/trunk/debian/copyright                         (rev 0)
+++ rpy2/trunk/debian/copyright 2008-12-03 03:07:58 UTC (rev 710)
@@ -0,0 +1,18 @@
+This is the Debian GNU/Linux python-rpy2 package of RPy2, a package
+providing an interface between the R and the Python languages and
+environments. RPy (v1) was initially written by Walter Moreira, and is
+now maintained by Gregory R. Warnes. RPy (v2) was written by Laurent
+Gautier.
+
+This package was created by Dirk Eddelbuettel <[EMAIL PROTECTED]>.
+The sources where downloaded from a sourceforge mirror website at 
+       http://umn.dl.sourceforge.net/sourceforge/rpy2/
+
+Copyright (C) 2002 - 2003 Walter Moreira
+Copyright (C) 2003 - 2008 Gregory R. Warnes
+Copyright (C) 2008 Laurent Gautier    
+
+License: MPL | GPL | LGPL
+
+On a Debian GNU/Linux system, the LGPL, GPL and MPL licenses are 
+included in the directory /usr/share/common-licenses/.

Added: rpy2/trunk/debian/pycompat
===================================================================
--- rpy2/trunk/debian/pycompat                          (rev 0)
+++ rpy2/trunk/debian/pycompat  2008-12-03 03:07:58 UTC (rev 710)
@@ -0,0 +1 @@
+2

Added: rpy2/trunk/debian/python-rpy2.lintian-overrides
===================================================================
--- rpy2/trunk/debian/python-rpy2.lintian-overrides                             
(rev 0)
+++ rpy2/trunk/debian/python-rpy2.lintian-overrides     2008-12-03 03:07:58 UTC 
(rev 710)
@@ -0,0 +1,4 @@
+python-rpy2: binary-or-shlib-defines-rpath 
./usr/lib/python2.4/site-packages/rpy2/rinterface/rinterface.so /usr/lib/R/lib
+python-rpy2: binary-or-shlib-defines-rpath 
./usr/lib/python2.4/site-packages/rpy2/rinterface/rinterface.so 
/usr/lib/R/modules
+python-rpy2: binary-or-shlib-defines-rpath 
./usr/lib/python2.5/site-packages/rpy2/rinterface/rinterface.so /usr/lib/R/lib
+python-rpy2: binary-or-shlib-defines-rpath 
./usr/lib/python2.5/site-packages/rpy2/rinterface/rinterface.so 
/usr/lib/R/modules

Added: rpy2/trunk/debian/rules
===================================================================
--- rpy2/trunk/debian/rules                             (rev 0)
+++ rpy2/trunk/debian/rules     2008-12-03 03:07:58 UTC (rev 710)
@@ -0,0 +1,112 @@
+#!/usr/bin/make -f
+# debian/rules file for the Debian GNU/Linux python-rpy2 package
+# Copyright 2004 - 2008 by Dirk Eddelbuettel <[EMAIL PROTECTED]>
+
+project                := rpy2
+package                := python-$(project)
+debbase                := $(CURDIR)/debian
+#debtmp                := $(debbase)/$(package)
+#debdoc                := debian/python-rpy-doc/usr/share/doc/python-rpy-doc
+#lintiandir    := $(debtmp)/usr/share/lintian/overrides
+
+PYVERS         := $(shell pyversions -r debian/control)
+
+compilerflags  = -O2 -Wall
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+version := $(shell head -1 debian/changelog | perl -nle 'm/\((.*)-\d\)/ && 
print $$1')
+
+showversion:
+       @echo "Version is ${version}"
+
+tarball:
+       (cd .. && \
+               tar czf tarballs/$(project)_${version}.orig.tar.gz ./$(project) 
\
+                       --exclude=.svn --exclude=debian/)
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+       dh_testdir
+       for python in $(PYVERS); \
+               do CFLAGS="$(compilerflags)" $$python setup.py build \
+                       build_ext --include-dirs=/usr/share/R/include ; \
+       done
+#      (cd doc && make all)
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+       [ ! -f Makefile ] || $(MAKE) distclean
+       (cd doc/ && make clean && rm -vf manual.pdf manual.info manual.dvi \
+               && rm -vfr manual_html manual_html.tgz)
+       for python in $(PYVERS); \
+               do $$python setup.py clean; \
+       done
+       -rm -f `find . -name "*~"`
+       -rm -rf debian/tmp debian/files* core debian/substvars
+       -rm -f doc/html/function.html doc/html/packages.html
+       -rm -f doc/rpy.dvi doc/rpy.pdf doc/rpy_html.tgz
+       -rm -f config.cache config.status
+       -rm -rf build/*
+       -rm -rf rpy_version.pyc rpy_tools.pyc
+       -rm -rf doc/rpy_html/*.html doc/rpy.info 
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       for python in $(PYVERS); \
+               do $$python setup.py install --root=debian/$(package); \
+       done
+
+# Build architecture-independent files here.
+binary-indep: build install
+       dh_testdir -i
+       dh_testroot -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir -a
+       dh_testroot -a
+#      dh_installdebconf -a
+       dh_installdocs -a       README NEWS     
+       dh_installexamples -a   demos
+#      dh_installmenu -a
+#      dh_installemacsen -a
+#      dh_installpam -a
+#      dh_installmime -a
+#      dh_installinit -a
+#      dh_installcron -a
+#      dh_installmanpages -a
+#      dh_installinfo -a
+#      dh_undocumented -a
+       dh_lintian -a 
+       dh_installchangelogs -a
+       dh_strip -a
+       dh_link -a
+       dh_compress -a
+       dh_fixperms -a
+#      dh_suidregister -a
+#      dh_makeshlibs -a
+#      dh_perl -a
+       dh_pycentral -a
+       dh_shlibdeps -a
+       dh_installdeb -a
+       dh_gencontrol -a
+       dh_md5sums -a
+       dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: rpy2/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: rpy2/trunk/debian/watch
===================================================================
--- rpy2/trunk/debian/watch                             (rev 0)
+++ rpy2/trunk/debian/watch     2008-12-03 03:07:58 UTC (rev 710)
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv
 \
+http://sf.net/rpy/rpy2-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian 
uupdate


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to