[Pkg-octave-commit] [SCM] Debian packaging for octave-dataframe branch, master, updated. ce8fbaa67ab48b06fe9f02715ac221caaa9e99e9

Rafael Laboissiere rafael at laboissiere.net
Thu Mar 22 17:19:01 UTC 2012


The following commit has been merged in the master branch:
commit ce8fbaa67ab48b06fe9f02715ac221caaa9e99e9
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Thu Mar 22 18:18:53 2012 +0100

    Add Debian packaging files
    
    Git-Dch: Ignore

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..daad5a5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+octave-dataframe (0.9.1-1) unstable; urgency=low
+
+  * Initial release (closes: #XXXXXX)
+
+ -- Rafael Laboissiere <rafael at laboissiere.net>  Mon, 19 Mar 2012 08:07:56 +0000
diff --git a/debian/check.m b/debian/check.m
new file mode 100644
index 0000000..1061249
--- /dev/null
+++ b/debian/check.m
@@ -0,0 +1,3 @@
+disp ("[dataframe]");
+cd inst
+test dataframe
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f11c82a
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
\ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..75cf6ee
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: octave-dataframe
+Section: math
+Priority: optional
+Maintainer: Debian Octave Group <pkg-octave-devel at lists.alioth.debian.org>
+Uploaders: Thomas Weber <tweber at debian.org>,
+          Sébastien Villemot <sebastien.villemot at ens.fr>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 9), cdbs, octave-pkg-dev (>= 1.0.1)
+Standards-Version: 3.9.3
+Homepage: http://octave.sourceforge.net/dataframe/
+Vcs-Git: git://git.debian.org/git/pkg-octave/octave-dataframe.git
+Vcs-Browser: http://git.debian.org/?p=pkg-octave/octave-dataframe.git
+
+Package: octave-dataframe
+Architecture: all
+Depends: ${misc:Depends}, ${octave:Depends}
+Description: manipulate data in Octave in a similar to R data.frame
+ In the R language, a dataframe object is a way to group tabular data.  The
+ functions in this package allow the manipulation of data in a similar way
+ in Octave.  Dataframe objects in Octave can be created in a variety of
+ ways (from other objects or from tabular data in a file) and then can be
+ accessed either as matrix or by column name.
+ .
+ This Octave add-on package is part of the Octave-Forge project.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c63a078
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Data manipulation toolbox similar to R data.frame
+Upstream-Contact: The Octave Community <octave-dev at lists.sf.net>
+Source: http://octave.sourceforge.net/dataframe/
+
+Files: inst/@dataframe/*.m
+Copyright: 2009-2012, Pascal Dupuis <Pascal.Dupuis at uclouvain.be>
+License: GPL-2+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2,
+ or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License, version 2, can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+Files: debian/*
+Copyright: 2012 Rafael Laboissiere <rafael at laboissiere.net>
+License: GPL-3+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License, version 3, can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/patches/path-to-test-csv-file.patch b/debian/patches/path-to-test-csv-file.patch
new file mode 100644
index 0000000..a6d7e4f
--- /dev/null
+++ b/debian/patches/path-to-test-csv-file.patch
@@ -0,0 +1,15 @@
+Description: Fix path of CSV file needed in the unit testing
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2012-03-22
+
+--- octave-dataframe-0.9.1.orig/inst/dataframe
++++ octave-dataframe-0.9.1/inst/dataframe
+@@ -10,7 +10,7 @@
+ %!assert(isempty(x.rowidx), false);
+ %! x.types(2) ='single';
+ %!assert(class(x.array(1, 2)), 'single')
+-%! x=dataframe('octave_frame/data_test.csv');
++%! x=dataframe('data_test.csv');
+ %!assert(isna(x.array(9, 4)))
+ %! # remove rownames
+ %! x.rownames = [];
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9369b6c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+path-to-test-csv-file.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e820fcd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/cdbs/1/class/octave-pkg.mk
+
+pkg = octave-dataframe
+
+install/$(pkg)::
+	chmod -x $$(find debian -name df_name2idx.m)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2e40e2c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://octave.sourceforge.net/packages.php \
+    http://downloads\.sourceforge\.net/octave/dataframe-([\d.]+)\.tar\.gz\?download

-- 
Debian packaging for octave-dataframe



More information about the Pkg-octave-commit mailing list