[Python-modules-commits] r8160 - in packages/pytables/trunk/debian (6 files)

afayolle at users.alioth.debian.org afayolle at users.alioth.debian.org
Tue Apr 7 09:25:11 UTC 2009


    Date: Tuesday, April 7, 2009 @ 09:25:10
  Author: afayolle
Revision: 8160

updated packaging

Added:
  packages/pytables/trunk/debian/README.sources
  packages/pytables/trunk/debian/rules
Modified:
  packages/pytables/trunk/debian/changelog
  packages/pytables/trunk/debian/control
  packages/pytables/trunk/debian/copyright
  packages/pytables/trunk/debian/ptrepack.1

Added: packages/pytables/trunk/debian/README.sources
===================================================================
--- packages/pytables/trunk/debian/README.sources	                        (rev 0)
+++ packages/pytables/trunk/debian/README.sources	2009-04-07 09:25:10 UTC (rev 8160)
@@ -0,0 +1,4 @@
+The sources for pytables have been repackaged to remove the debian/
+subdirectory shipped by upstream.
+
+ -- Alexandre Fayolle <afayolle at debian.org>, Tue,  7 Apr 2009 11:17:57 +0200

Modified: packages/pytables/trunk/debian/changelog
===================================================================
--- packages/pytables/trunk/debian/changelog	2009-04-07 08:37:48 UTC (rev 8159)
+++ packages/pytables/trunk/debian/changelog	2009-04-07 09:25:10 UTC (rev 8160)
@@ -3,7 +3,9 @@
   * New upstream release
   * New Debian maintainer
   * Use debhelper in version 7 compatibility mode
-  * Bumped up standards to 3.8.0 (no changes required)
+  * Bumped up standards to 3.8.1 (no changes required)
+  * Repackaged upstream tarball to remove debian/ subdirectory
+  * moved maintainership to Debian Python Module Team
 
  -- Alexandre Fayolle <afayolle at debian.org>  Mon, 16 Mar 2009 09:29:19 +0100
 

Modified: packages/pytables/trunk/debian/control
===================================================================
--- packages/pytables/trunk/debian/control	2009-04-07 08:37:48 UTC (rev 8159)
+++ packages/pytables/trunk/debian/control	2009-04-07 09:25:10 UTC (rev 8160)
@@ -1,19 +1,23 @@
 Source: pytables
 Section: python
 Priority: optional
-Maintainer: Alexandre Fayolle <afayolle at debian.org>
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Alexandre Fayolle <afayolle at debian.org>
 Homepage: http://www.pytables.org
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
 XS-Python-Version: >= 2.4
 Build-Depends: debhelper (>= 7), libhdf5-serial-dev (>= 1.6.5),
                python-all-dev, python-central (>= 0.5.6),
                python-numpy (>= 1.0.3), zlib1g-dev, liblzo2-dev, libbz2-dev
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/pytables/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pytables/trunk/
 
 Package: python-tables
 Section: python
 Architecture: any
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, ${shlibs:Depends}, python-numpy
+Provides: ${python:Provides}
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, python-numpy
 Recommends: ${shlibs:Recommends}
 Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}
 Description: hierarchical database for Python based on HDF5

Modified: packages/pytables/trunk/debian/copyright
===================================================================
--- packages/pytables/trunk/debian/copyright	2009-04-07 08:37:48 UTC (rev 8159)
+++ packages/pytables/trunk/debian/copyright	2009-04-07 09:25:10 UTC (rev 8160)
@@ -1,6 +1,10 @@
 This package was debianized by
         Francesc Altet <faltet at carabos.com> on Fri, 15 Jul 2005 18:49:48 +0200
 
+Upstream source was repackaged by Alexandre Fayolle
+<afayolle at debian.org> to remove the debian/ directory shipped by
+upstream.
+
 It was downloaded from  http://www.pytables.org/
 
 Upstream Author: Francesc Altet <faltet at carabos.com>
@@ -11,8 +15,11 @@
 Copyright Notice and Statement for PyTables Software Library and Utilities
 ==========================================================================
 
-Copyright (c) 2002, 2003, 2004  Francesc Altet
-Copyright (c) 2005, 2006, 2007  Carabos Coop. V.
+Copyright Notice and Statement for PyTables Software Library and Utilities:
+
+Copyright (c) 2002-2004 by Francesc Alted
+Copyright (c) 2005-2007 by Carabos Coop. V.
+Copyright (c) 2008 by Francesc Alted
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -27,7 +34,7 @@
    documentation and/or other materials provided with the
    distribution.
 
-c. Neither the name of the Carabos Coop. V. nor the names of its
+c. Neither the name of Francesc Alted nor the names of its
    contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.
 
@@ -51,7 +58,7 @@
 ==========================================================================
 
 HDF5 (Hierarchical Data Format 5) Software Library and Utilities
-Copyright 2006-2007 by The HDF Group (THG).
+Copyright 2006-2008 by The HDF Group (THG).
 
 NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities
 Copyright 1998-2006 by the Board of Trustees of the University of Illinois.

Modified: packages/pytables/trunk/debian/ptrepack.1
===================================================================
--- packages/pytables/trunk/debian/ptrepack.1	2009-04-07 08:37:48 UTC (rev 8159)
+++ packages/pytables/trunk/debian/ptrepack.1	2009-04-07 09:25:10 UTC (rev 8160)
@@ -87,6 +87,11 @@
 if any of \-\-complevel, \-\-complib, \-\-shuffle or \-\-fletcher32
 option is specified.
 .TP
+.BI  \-\-chunkshape=("keep"|"auto"|int|tuple)
+Set a chunkshape.  A value of "auto" computes a sensible value for the
+chunkshape of the leaves copied.  The default is to "keep" the
+original value.
+.TP
 .BI  \-\-upgrade\-flavors
 When repacking PyTables 1.x files, the flavor of leaves will be
 unset. With this, such a leaves will be serialized as objects with the
@@ -95,6 +100,21 @@
 .BI  \-\-dont\-regenerate\-old\-indexes
 Disable regenerating old indexes. The default is to regenerate old
 indexes as they are found.
+.TP
+.BI  \-\-sortby=column
+Do a table copy sorted by the values of \fIcolumn\fR.  This requires
+an existing index in \fIcolumn\fR.  For reversing the order, use a
+negative value in the \fIstep\fR part of \fIRANGE\fR (see \fI\-R\fR
+flag).  Only applies to table objects.
+.TP
+.BI  \-\-forceCSI
+Force the creation of a CSI index in case one is not available for the
+\-\-sortby column (this implies the modification of the \fIsource\fR
+file).  The default is to not create it.
+.TP
+.BI  \-\-propindexes
+Propagate the indexes existing in original tables.  The default is to
+not propagate them.  Only applies to table objects.
 
 .br
 

Added: packages/pytables/trunk/debian/rules
===================================================================
--- packages/pytables/trunk/debian/rules	                        (rev 0)
+++ packages/pytables/trunk/debian/rules	2009-04-07 09:25:10 UTC (rev 8160)
@@ -0,0 +1,91 @@
+#!/usr/bin/make -f
+# -*- mode: makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS:= $(shell pyversions -v --requested debian/control)
+
+build: build-stamp
+
+	gzip -9 < RELEASE_NOTES.txt > changelog.gz
+	gzip -9 < debian/changelog > changelog.Debian.gz
+
+build-stamp: $(PYVERS:%=build-stamp-%)
+	touch $@
+
+build-stamp-%:
+	dh_testdir
+	python$* setup.py build
+	touch $@
+
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp* install-stamp*
+	-rm -rf build
+	-rm -f changelog.gz changelog.Debian.gz
+
+	dh_clean
+	: # Delete some possible dirt
+	-find -name '*.py[co]' | xargs rm -f
+
+install: install-stamp
+install-stamp-%: build-stamp-%
+	dh_testdir
+	dh_testroot
+	python$* setup.py install --prefix=$(CURDIR)/debian/python-tables/usr --no-compile
+	rm -f $(CURDIR)/debian/python-tables/usr/bin/*
+	touch $@
+
+install-stamp: build $(PYVERS:%=install-stamp-%)
+	dh_testdir
+	dh_testroot
+
+# Build architecture-independent files here.
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	: # remove executables from doc package
+	dh_installdocs -ppython-tables-doc -Xmake -Xgenerahtml.sh README.txt changelog.gz changelog.Debian.gz ANNOUNCE.txt doc/usersguide.pdf doc/html bench/ examples/
+	dh_compress -i -X.py -X.h5
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_install -ppython-tables --sourcedir=utils/ ptdump ptrepack /usr/bin
+	gzip -9 < debian/ptdump.1 > /tmp/ptdump.1.gz
+	gzip -9 < debian/ptrepack.1 > /tmp/ptrepack.1.gz
+	dh_installman -ppython-tables /tmp/ptdump.1.gz /tmp/ptrepack.1.gz
+	dh_installdocs -ppython-tables README.txt changelog.gz changelog.Debian.gz ANNOUNCE.txt
+	dh_pycentral -ppython-tables
+
+	dh_strip -a
+	dh_compress -a -X.py -X.h5
+	dh_fixperms -a
+	dh_installdeb -a
+	#dh_shlibdeps -a
+	# In order to automatically add the Depends, Recommends & Suggests
+	# fields automatically.
+	dh_shlibdeps -ppython-tables -X _comp_ -- \
+	    -dRecommends \
+	      debian/python-tables/usr/lib/python*/site-packages/tables/_comp_bzip2.so \
+	      debian/python-tables/usr/lib/python*/site-packages/tables/_comp_lzo.so \
+	    -dDepends
+#	    -dSuggests \
+#	      debian/python-tables/usr/lib/python*/site-packages/tables/_comp_ucl.so \
+
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-arch binary-indep binary install


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




More information about the Python-modules-commits mailing list