[Python-modules-commits] r24723 - in packages/pyfits/tags (9 files)
aurel32 at users.alioth.debian.org
aurel32 at users.alioth.debian.org
Mon Jun 10 23:04:59 UTC 2013
Date: Monday, June 10, 2013 @ 23:04:57
Author: aurel32
Revision: 24723
Tag pyfits 1:3.1.2-1
Added:
packages/pyfits/tags/1:3.1.2-1/
packages/pyfits/tags/1:3.1.2-1/debian/changelog
(from rev 24722, packages/pyfits/trunk/debian/changelog)
packages/pyfits/tags/1:3.1.2-1/debian/patches/01-zlib.diff
(from rev 24722, packages/pyfits/trunk/debian/patches/01-zlib.diff)
packages/pyfits/tags/1:3.1.2-1/debian/rules
(from rev 24722, packages/pyfits/trunk/debian/rules)
packages/pyfits/tags/1:3.1.2-1/debian/watch
(from rev 24722, packages/pyfits/trunk/debian/watch)
Deleted:
packages/pyfits/tags/1:3.1.2-1/debian/changelog
packages/pyfits/tags/1:3.1.2-1/debian/patches/01-zlib.diff
packages/pyfits/tags/1:3.1.2-1/debian/rules
packages/pyfits/tags/1:3.1.2-1/debian/watch
Deleted: packages/pyfits/tags/1:3.1.2-1/debian/changelog
===================================================================
--- packages/pyfits/trunk/debian/changelog 2013-06-10 22:01:12 UTC (rev 24721)
+++ packages/pyfits/tags/1:3.1.2-1/debian/changelog 2013-06-10 23:04:57 UTC (rev 24723)
@@ -1,200 +0,0 @@
-pyfits (1:3.1-2) UNRELEASED; urgency=low
-
- * Use canonical URIs for Vcs-* fields.
-
- -- Jakub Wilk <jwilk at debian.org> Sun, 05 May 2013 16:01:43 +0200
-
-pyfits (1:3.1-1) unstable; urgency=low
-
- * New upstream version.
- - Refreshed 01-zlib.diff.
- - Added 02-disable-version-setup-hook.diff to prevent version.py to
- be regenerated with a timestamp at clean time.
- * Compress source and .deb with xz.
- * Bump Standards-Version to 3.9.4.0 (no changes).
-
- -- Aurelien Jarno <aurel32 at debian.org> Sun, 30 Dec 2012 15:03:07 +0100
-
-pyfits (1:3.0.8-2) unstable; urgency=low
-
- * Build fitscheck in the binary-indep target instead of the binary-arch
- one.
-
- -- Aurelien Jarno <aurel32 at debian.org> Wed, 13 Jun 2012 23:10:49 +0200
-
-pyfits (1:3.0.8-1) unstable; urgency=low
-
- * New upstream version.
- * Fix the compression library.
-
- -- Aurelien Jarno <aurel32 at debian.org> Thu, 07 Jun 2012 21:39:08 +0200
-
-pyfits (1:3.0.7-2) unstable; urgency=medium
-
- * Add a Python3 package.
- * Split-out /usr/bin/fitscheck in a separate package.
-
- -- Aurelien Jarno <aurel32 at debian.org> Tue, 05 Jun 2012 08:07:30 +0200
-
-pyfits (1:3.0.7-1) unstable; urgency=low
-
- * New upstream version (Closes: #645203).
- * Bump Standards-Version to 3.9.3 (no changes).
- * Correctly pass CFLAGS, CPPFLAGS and LDFLAGS to build with hardening
- support.
- * Add build-arch and build-indep targets.
-
- -- Aurelien Jarno <aurel32 at debian.org> Tue, 05 Jun 2012 00:14:12 +0200
-
-pyfits (1:2.4.0-1) unstable; urgency=low
-
- * New upstream version.
- * Switch to 3.0 (quilt) format.
- * Bump Standards-Version to 3.9.1 (no changes).
-
- -- Aurelien Jarno <aurel32 at debian.org> Mon, 07 Mar 2011 15:24:41 +0100
-
-pyfits (1:2.3.1-1) unstable; urgency=low
-
- * New upstream version.
- * Update debian/copyright.
- * Link with system zlib instead of using embedded one.
-
- -- Aurelien Jarno <aurel32 at debian.org> Tue, 08 Jun 2010 16:41:07 +0200
-
-pyfits (1:2.3-1) unstable; urgency=low
-
- * New upstream version.
-
- -- Aurelien Jarno <aurel32 at debian.org> Thu, 13 May 2010 15:08:29 +0200
-
-pyfits (1:2.2.2-1) unstable; urgency=low
-
- * New upstream version (Closes: #572698).
- * Bump Standards-Version to 3.8.4 (no changes).
- * Switch python-pyfits package to arch any:
- - Move Build-Depends-indep packages to Build-Depends.
- - Build-depends on python-all-dev.
- - Build for all version of pythons.
- * Remove python-pyfits-doc package.
-
- -- Aurelien Jarno <aurel32 at debian.org> Sat, 06 Mar 2010 12:50:46 +0100
-
-pyfits (1:1.3-3) unstable; urgency=low
-
- [ Sandro Tosi ]
- * debian/control
- - switch Vcs-Browser field to viewsvn
-
- [ Aurelien Jarno ]
- * debian/control
- - s/tetex-bin/texlive/ (Closes: #562341).
- - Bump Standards-Version to 3.8.3 (no changes).
-
- -- Aurelien Jarno <aurel32 at debian.org> Sun, 03 Jan 2010 20:41:40 +0100
-
-pyfits (1:1.3-2) unstable; urgency=low
-
- [ Sandro Tosi ]
- * debian/rules
- - removed bashism on clean target (Closes: #478618)
- * debian/control
- - removed Depends on python-numarray (Closes: #478448)
-
- -- Aurelien Jarno <aurel32 at debian.org> Sat, 10 May 2008 12:16:45 +0200
-
-pyfits (1:1.3-1) unstable; urgency=low
-
- [ Aurelien Jarno ]
- * New upstream version.
- * Bump Standards-Version to 3.7.3 (no changes).
-
- [ Jan Michael Alonzo ]
- * Vcs-Browser, Vcs-Svn, Homepage fields added (Piotr Ożarowski
- <piotr at debian.org>)
- * Watch file added
-
- [ Sandro Tosi ]
- * debian/control
- - uniforming Vcs-Browser field
-
- -- Aurelien Jarno <aurel32 at debian.org> Sun, 06 Apr 2008 19:00:43 +0200
-
-pyfits (1:1.1-1) unstable; urgency=low
-
- * New upstream version.
-
- -- Aurelien Jarno <aurel32 at debian.org> Sat, 14 Jul 2007 09:44:32 +0200
-
-pyfits (1.1rc1-1) experimental; urgency=low
-
- * New upstream version.
-
- -- Aurelien Jarno <aurel32 at debian.org> Thu, 12 Apr 2007 16:32:45 +0200
-
-pyfits (1.1b3-1) experimental; urgency=low
-
- * New upstream version.
-
- -- Aurelien Jarno <aurel32 at debian.org> Sun, 10 Dec 2006 20:15:31 +0100
-
-pyfits (1.1b2-3) experimental; urgency=low
-
- * Fix a fixed path in debian/rules causing a FTBFS.
-
- -- Aurelien Jarno <aurel32 at debian.org> Tue, 29 Aug 2006 22:44:18 +0200
-
-pyfits (1.1b2-2) experimental; urgency=low
-
- * Correctly use dh_pysupport.
-
- -- Aurelien Jarno <aurel32 at debian.org> Sun, 23 Jul 2006 14:39:39 +0200
-
-pyfits (1.1b2-1) experimental; urgency=low
-
- * Upload to experimental.
- * New beta version supporting both numpy and numarray.
-
- -- Aurelien Jarno <aurel32 at debian.org> Sat, 22 Jul 2006 23:04:53 +0200
-
-pyfits (1.0.1-6) unstable; urgency=low
-
- * python-pyfits: don't depends on python-support twice.
-
- -- Aurelien Jarno <aurel32 at debian.org> Sat, 22 Jul 2006 22:56:15 +0200
-
-pyfits (1.0.1-5) unstable; urgency=low
-
- * Update to the new Python policy (Closes: #373490).
-
- -- Aurelien Jarno <aurel32 at debian.org> Thu, 22 Jun 2006 01:53:48 +0200
-
-pyfits (1.0.1-4) unstable; urgency=low
-
- * Build-depends on tetex-bin as pdflatex is used during the build
- (Closes: bug#373205).
-
- -- Aurelien Jarno <aurel32 at debian.org> Wed, 14 Jun 2006 05:05:18 +0200
-
-pyfits (1.0.1-3) unstable; urgency=low
-
- * Move the CHANGES file from lib/ to debian/, so that there is nothing
- outside of the debian/ directory in the .diff.gz file.
- * Drop python2.3-pyfits and python2.4-pyfits, use python-support
- instead.
-
- -- Aurelien Jarno <aurel32 at debian.org> Tue, 16 May 2006 01:34:46 +0200
-
-pyfits (1.0.1-2) unstable; urgency=low
-
- * Changed the maintainer to Debian Python Modules Team
- <python-modules-team at lists.alioth.debian.org>
-
- -- Aurelien Jarno <aurel32 at debian.org> Mon, 15 May 2006 01:40:30 +0200
-
-pyfits (1.0.1-1) unstable; urgency=low
-
- * Initial Release (Closes: #366684)
-
- -- Aurelien Jarno <aurel32 at debian.org> Fri, 5 May 2006 20:05:48 +0200
-
Copied: packages/pyfits/tags/1:3.1.2-1/debian/changelog (from rev 24722, packages/pyfits/trunk/debian/changelog)
===================================================================
--- packages/pyfits/tags/1:3.1.2-1/debian/changelog (rev 0)
+++ packages/pyfits/tags/1:3.1.2-1/debian/changelog 2013-06-10 23:04:57 UTC (rev 24723)
@@ -0,0 +1,205 @@
+pyfits (1:3.1.2-1) unstable; urgency=low
+
+ [ Aurelien Jarno ]
+ * New upstream version.
+ * Update watch file.
+
+ [ Jakub Wilk ]
+ * Use canonical URIs for Vcs-* fields.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 11 Jun 2013 01:02:02 +0200
+
+pyfits (1:3.1-1) unstable; urgency=low
+
+ * New upstream version.
+ - Refreshed 01-zlib.diff.
+ - Added 02-disable-version-setup-hook.diff to prevent version.py to
+ be regenerated with a timestamp at clean time.
+ * Compress source and .deb with xz.
+ * Bump Standards-Version to 3.9.4.0 (no changes).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 30 Dec 2012 15:03:07 +0100
+
+pyfits (1:3.0.8-2) unstable; urgency=low
+
+ * Build fitscheck in the binary-indep target instead of the binary-arch
+ one.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Wed, 13 Jun 2012 23:10:49 +0200
+
+pyfits (1:3.0.8-1) unstable; urgency=low
+
+ * New upstream version.
+ * Fix the compression library.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Thu, 07 Jun 2012 21:39:08 +0200
+
+pyfits (1:3.0.7-2) unstable; urgency=medium
+
+ * Add a Python3 package.
+ * Split-out /usr/bin/fitscheck in a separate package.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 05 Jun 2012 08:07:30 +0200
+
+pyfits (1:3.0.7-1) unstable; urgency=low
+
+ * New upstream version (Closes: #645203).
+ * Bump Standards-Version to 3.9.3 (no changes).
+ * Correctly pass CFLAGS, CPPFLAGS and LDFLAGS to build with hardening
+ support.
+ * Add build-arch and build-indep targets.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 05 Jun 2012 00:14:12 +0200
+
+pyfits (1:2.4.0-1) unstable; urgency=low
+
+ * New upstream version.
+ * Switch to 3.0 (quilt) format.
+ * Bump Standards-Version to 3.9.1 (no changes).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 07 Mar 2011 15:24:41 +0100
+
+pyfits (1:2.3.1-1) unstable; urgency=low
+
+ * New upstream version.
+ * Update debian/copyright.
+ * Link with system zlib instead of using embedded one.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 08 Jun 2010 16:41:07 +0200
+
+pyfits (1:2.3-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Thu, 13 May 2010 15:08:29 +0200
+
+pyfits (1:2.2.2-1) unstable; urgency=low
+
+ * New upstream version (Closes: #572698).
+ * Bump Standards-Version to 3.8.4 (no changes).
+ * Switch python-pyfits package to arch any:
+ - Move Build-Depends-indep packages to Build-Depends.
+ - Build-depends on python-all-dev.
+ - Build for all version of pythons.
+ * Remove python-pyfits-doc package.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 06 Mar 2010 12:50:46 +0100
+
+pyfits (1:1.3-3) unstable; urgency=low
+
+ [ Sandro Tosi ]
+ * debian/control
+ - switch Vcs-Browser field to viewsvn
+
+ [ Aurelien Jarno ]
+ * debian/control
+ - s/tetex-bin/texlive/ (Closes: #562341).
+ - Bump Standards-Version to 3.8.3 (no changes).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 03 Jan 2010 20:41:40 +0100
+
+pyfits (1:1.3-2) unstable; urgency=low
+
+ [ Sandro Tosi ]
+ * debian/rules
+ - removed bashism on clean target (Closes: #478618)
+ * debian/control
+ - removed Depends on python-numarray (Closes: #478448)
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 10 May 2008 12:16:45 +0200
+
+pyfits (1:1.3-1) unstable; urgency=low
+
+ [ Aurelien Jarno ]
+ * New upstream version.
+ * Bump Standards-Version to 3.7.3 (no changes).
+
+ [ Jan Michael Alonzo ]
+ * Vcs-Browser, Vcs-Svn, Homepage fields added (Piotr Ożarowski
+ <piotr at debian.org>)
+ * Watch file added
+
+ [ Sandro Tosi ]
+ * debian/control
+ - uniforming Vcs-Browser field
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 06 Apr 2008 19:00:43 +0200
+
+pyfits (1:1.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 14 Jul 2007 09:44:32 +0200
+
+pyfits (1.1rc1-1) experimental; urgency=low
+
+ * New upstream version.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Thu, 12 Apr 2007 16:32:45 +0200
+
+pyfits (1.1b3-1) experimental; urgency=low
+
+ * New upstream version.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 10 Dec 2006 20:15:31 +0100
+
+pyfits (1.1b2-3) experimental; urgency=low
+
+ * Fix a fixed path in debian/rules causing a FTBFS.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 29 Aug 2006 22:44:18 +0200
+
+pyfits (1.1b2-2) experimental; urgency=low
+
+ * Correctly use dh_pysupport.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sun, 23 Jul 2006 14:39:39 +0200
+
+pyfits (1.1b2-1) experimental; urgency=low
+
+ * Upload to experimental.
+ * New beta version supporting both numpy and numarray.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 22 Jul 2006 23:04:53 +0200
+
+pyfits (1.0.1-6) unstable; urgency=low
+
+ * python-pyfits: don't depends on python-support twice.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Sat, 22 Jul 2006 22:56:15 +0200
+
+pyfits (1.0.1-5) unstable; urgency=low
+
+ * Update to the new Python policy (Closes: #373490).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Thu, 22 Jun 2006 01:53:48 +0200
+
+pyfits (1.0.1-4) unstable; urgency=low
+
+ * Build-depends on tetex-bin as pdflatex is used during the build
+ (Closes: bug#373205).
+
+ -- Aurelien Jarno <aurel32 at debian.org> Wed, 14 Jun 2006 05:05:18 +0200
+
+pyfits (1.0.1-3) unstable; urgency=low
+
+ * Move the CHANGES file from lib/ to debian/, so that there is nothing
+ outside of the debian/ directory in the .diff.gz file.
+ * Drop python2.3-pyfits and python2.4-pyfits, use python-support
+ instead.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 16 May 2006 01:34:46 +0200
+
+pyfits (1.0.1-2) unstable; urgency=low
+
+ * Changed the maintainer to Debian Python Modules Team
+ <python-modules-team at lists.alioth.debian.org>
+
+ -- Aurelien Jarno <aurel32 at debian.org> Mon, 15 May 2006 01:40:30 +0200
+
+pyfits (1.0.1-1) unstable; urgency=low
+
+ * Initial Release (Closes: #366684)
+
+ -- Aurelien Jarno <aurel32 at debian.org> Fri, 5 May 2006 20:05:48 +0200
+
Deleted: packages/pyfits/tags/1:3.1.2-1/debian/patches/01-zlib.diff
===================================================================
--- packages/pyfits/trunk/debian/patches/01-zlib.diff 2013-06-10 22:01:12 UTC (rev 24721)
+++ packages/pyfits/tags/1:3.1.2-1/debian/patches/01-zlib.diff 2013-06-10 23:04:57 UTC (rev 24723)
@@ -1,70 +0,0 @@
----
- setup.cfg | 5 +----
- src/compress.c | 10 +++++-----
- 2 files changed, 6 insertions(+), 9 deletions(-)
-
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -43,14 +43,11 @@
- src/compressionmodule.c
- src/quantize.c
- src/ricecomp.c
-- src/zlib.c
-- src/inffast.c
-- src/inftrees.c
-- src/trees.c
- include_dirs = numpy
- extra_compile_args =
- -Wno-unused-function
- -Wno-strict-prototypes
-+libraries = z
-
- [build_ext]
- pre-hook.numpy-extension-hook = stsci.distutils.hooks.numpy_extension_hook
---- a/src/compress.c
-+++ b/src/compress.c
-@@ -106,7 +106,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include "zlib.h"
-+#include <zlib.h>
-
- int _pyfits_uncompress2mem_from_mem(
- char *inmemptr,
-@@ -182,7 +182,7 @@
- d_stream.next_out = uncompr;
- d_stream.avail_out = uncomprLen;
-
-- err = _pyfits_inflate(&d_stream, Z_NO_FLUSH);
-+ err = inflate(&d_stream, Z_NO_FLUSH);
-
- if (err != Z_OK && err != Z_STREAM_END)
- {
-@@ -217,7 +217,7 @@
- *filesize = d_stream.total_out;
-
- /* End the decompression */
-- err = _pyfits_inflateEnd(&d_stream);
-+ err = inflateEnd(&d_stream);
-
- /* free temporary output data buffer */
- free(uncompr);
-@@ -285,7 +285,7 @@
- c_stream.next_out = compr;
- c_stream.avail_out = comprLen;
-
-- err = _pyfits_deflate(&c_stream, Z_FINISH);
-+ err = deflate(&c_stream, Z_FINISH);
-
- if (err != Z_OK && err != Z_STREAM_END)
- {
-@@ -320,7 +320,7 @@
- *filesize = c_stream.total_out;
-
- /* End the compression */
-- err = _pyfits_deflateEnd(&c_stream);
-+ err = deflateEnd(&c_stream);
-
- /* free temporary output data buffer */
- free(compr);
Copied: packages/pyfits/tags/1:3.1.2-1/debian/patches/01-zlib.diff (from rev 24722, packages/pyfits/trunk/debian/patches/01-zlib.diff)
===================================================================
--- packages/pyfits/tags/1:3.1.2-1/debian/patches/01-zlib.diff (rev 0)
+++ packages/pyfits/tags/1:3.1.2-1/debian/patches/01-zlib.diff 2013-06-10 23:04:57 UTC (rev 24723)
@@ -0,0 +1,70 @@
+---
+ setup.cfg | 5 +----
+ src/compress.c | 10 +++++-----
+ 2 files changed, 6 insertions(+), 9 deletions(-)
+
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -44,14 +44,11 @@
+ src/compressionmodule.c
+ src/quantize.c
+ src/ricecomp.c
+- src/zlib.c
+- src/inffast.c
+- src/inftrees.c
+- src/trees.c
+ include_dirs = numpy
+ extra_compile_args =
+ -Wno-unused-function
+ -Wno-strict-prototypes
++libraries = z
+ optional = True
+ fail_message =
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+--- a/src/compress.c
++++ b/src/compress.c
+@@ -106,7 +106,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include "zlib.h"
++#include <zlib.h>
+
+ int _pyfits_uncompress2mem_from_mem(
+ char *inmemptr,
+@@ -182,7 +182,7 @@
+ d_stream.next_out = uncompr;
+ d_stream.avail_out = uncomprLen;
+
+- err = _pyfits_inflate(&d_stream, Z_NO_FLUSH);
++ err = inflate(&d_stream, Z_NO_FLUSH);
+
+ if (err != Z_OK && err != Z_STREAM_END)
+ {
+@@ -217,7 +217,7 @@
+ *filesize = d_stream.total_out;
+
+ /* End the decompression */
+- err = _pyfits_inflateEnd(&d_stream);
++ err = inflateEnd(&d_stream);
+
+ /* free temporary output data buffer */
+ free(uncompr);
+@@ -285,7 +285,7 @@
+ c_stream.next_out = compr;
+ c_stream.avail_out = comprLen;
+
+- err = _pyfits_deflate(&c_stream, Z_FINISH);
++ err = deflate(&c_stream, Z_FINISH);
+
+ if (err != Z_OK && err != Z_STREAM_END)
+ {
+@@ -320,7 +320,7 @@
+ *filesize = c_stream.total_out;
+
+ /* End the compression */
+- err = _pyfits_deflateEnd(&c_stream);
++ err = deflateEnd(&c_stream);
+
+ /* free temporary output data buffer */
+ free(compr);
Deleted: packages/pyfits/tags/1:3.1.2-1/debian/rules
===================================================================
--- packages/pyfits/trunk/debian/rules 2013-06-10 22:01:12 UTC (rev 24721)
+++ packages/pyfits/tags/1:3.1.2-1/debian/rules 2013-06-10 23:04:57 UTC (rev 24723)
@@ -1,119 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# Get flags from dpkg-buildflags
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-
-PYVERS := $(shell pyversions -r)
-PY3VERS := $(shell py3versions -r)
-
-clean:
- dh_testdir
- dh_testroot
-
- for py in $(PYVERS) $(PY3VERS); do \
- $$py setup.py clean --all ; \
- done
- rm -f *.pyc
- rm -f lib/svn_version.py
- rm -rf lib/pyfits.egg-info
-
- rm -f *-stamp
- dh_clean
-
-build: build-arch build-indep
-
-build-arch: build-arch-stamp
-build-arch-stamp:
- dh_testdir
-
- set -e; \
- for py in $(PYVERS) $(PY3VERS); do \
- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
- $$py setup.py build ; \
- done
-
- touch $@
-
-# We have nothing to do by default.
-build-indep:
-
-install: install-stamp
-install-stamp: build-arch
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Python2 version
- set -e; \
- for py in $(PYVERS); do \
- $$py setup.py install --prefix=/usr \
- --root=$(CURDIR)/debian/python-pyfits \
- --install-layout=deb ; \
- rm -rf $(CURDIR)/debian/python-pyfits/usr/bin ; \
- done
-
- # Python3 version
- set -e; \
- for py in $(PY3VERS); do \
- $$py setup.py install --prefix=/usr \
- --root=$(CURDIR)/debian/python3-pyfits \
- --install-layout=deb ; \
- rm -rf $(CURDIR)/debian/python3-pyfits/usr/bin ; \
- done
-
- # Install fitscheck
- install -m 755 -d $(CURDIR)/debian/fitscheck/usr/bin
- install -m 644 $(CURDIR)/scripts/fitscheck $(CURDIR)/debian/fitscheck/usr/bin
- install -m 755 -d $(CURDIR)/debian/fitscheck/usr/share/man/man1
- install -m 644 $(CURDIR)/debian/fitscheck.1 $(CURDIR)/debian/fitscheck/usr/share/man/man1
-
- touch $@
-
-# Build architecture-independent files here.
-binary-indep: build-indep install
- dh_testdir
- dh_testroot
- dh_installdocs -i
- dh_installexamples -i
- dh_installchangelogs -i debian/CHANGES
- dh_python2 -i
- dh_numpy -i
- dh_link -i
- dh_strip -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i -- -Zxz
-
-# Build architecture-dependent files here.
-binary-arch: build-arch install
- dh_testdir
- dh_testroot
- dh_installdocs -a
- dh_installexamples -a
- dh_installchangelogs -a debian/CHANGES
- dh_python2 -a
- dh_numpy -a
- dh_python3 -a
- dh_numpy3 -a
- dh_link -a
- dh_strip -a
- dh_compress -a -X.py
- dh_fixperms -a
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a -- -Zxz
-
-binary: binary-indep binary-arch
-.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install
-
Copied: packages/pyfits/tags/1:3.1.2-1/debian/rules (from rev 24722, packages/pyfits/trunk/debian/rules)
===================================================================
--- packages/pyfits/tags/1:3.1.2-1/debian/rules (rev 0)
+++ packages/pyfits/tags/1:3.1.2-1/debian/rules 2013-06-10 23:04:57 UTC (rev 24723)
@@ -0,0 +1,119 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Get flags from dpkg-buildflags
+CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+
+PYVERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py setup.py clean --all ; \
+ done
+ rm -f *.pyc
+ rm -f lib/pyfits/version.py
+ rm -rf lib/pyfits.egg-info
+
+ rm -f *-stamp
+ dh_clean
+
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp:
+ dh_testdir
+
+ set -e; \
+ for py in $(PYVERS) $(PY3VERS); do \
+ LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
+ $$py setup.py build ; \
+ done
+
+ touch $@
+
+# We have nothing to do by default.
+build-indep:
+
+install: install-stamp
+install-stamp: build-arch
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Python2 version
+ set -e; \
+ for py in $(PYVERS); do \
+ $$py setup.py install --prefix=/usr \
+ --root=$(CURDIR)/debian/python-pyfits \
+ --install-layout=deb ; \
+ rm -rf $(CURDIR)/debian/python-pyfits/usr/bin ; \
+ done
+
+ # Python3 version
+ set -e; \
+ for py in $(PY3VERS); do \
+ $$py setup.py install --prefix=/usr \
+ --root=$(CURDIR)/debian/python3-pyfits \
+ --install-layout=deb ; \
+ rm -rf $(CURDIR)/debian/python3-pyfits/usr/bin ; \
+ done
+
+ # Install fitscheck
+ install -m 755 -d $(CURDIR)/debian/fitscheck/usr/bin
+ install -m 644 $(CURDIR)/scripts/fitscheck $(CURDIR)/debian/fitscheck/usr/bin
+ install -m 755 -d $(CURDIR)/debian/fitscheck/usr/share/man/man1
+ install -m 644 $(CURDIR)/debian/fitscheck.1 $(CURDIR)/debian/fitscheck/usr/share/man/man1
+
+ touch $@
+
+# Build architecture-independent files here.
+binary-indep: build-indep install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -i
+ dh_installexamples -i
+ dh_installchangelogs -i debian/CHANGES
+ dh_python2 -i
+ dh_numpy -i
+ dh_link -i
+ dh_strip -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i -- -Zxz
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -a
+ dh_installexamples -a
+ dh_installchangelogs -a debian/CHANGES
+ dh_python2 -a
+ dh_numpy -a
+ dh_python3 -a
+ dh_numpy3 -a
+ dh_link -a
+ dh_strip -a
+ dh_compress -a -X.py
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a -- -Zxz
+
+binary: binary-indep binary-arch
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install
+
Deleted: packages/pyfits/tags/1:3.1.2-1/debian/watch
===================================================================
--- packages/pyfits/trunk/debian/watch 2013-06-10 22:01:12 UTC (rev 24721)
+++ packages/pyfits/tags/1:3.1.2-1/debian/watch 2013-06-10 23:04:57 UTC (rev 24723)
@@ -1,3 +0,0 @@
-version=3
-http://www.stsci.edu/resources/software_hardware/pyfits/Download \
- http://www.stsci.edu/resources/software_hardware/pyfits/pyfits-([\d\.]+)\.tar\.gz
Copied: packages/pyfits/tags/1:3.1.2-1/debian/watch (from rev 24722, packages/pyfits/trunk/debian/watch)
===================================================================
--- packages/pyfits/tags/1:3.1.2-1/debian/watch (rev 0)
+++ packages/pyfits/tags/1:3.1.2-1/debian/watch 2013-06-10 23:04:57 UTC (rev 24723)
@@ -0,0 +1,3 @@
+version=3
+http://www.stsci.edu/institute/software_hardware/pyfits/Download .*/pyfits-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))
+# Bart Martens <bartm at debian.org> Thu, 22 Nov 2012 13:21:27 +0000
More information about the Python-modules-commits
mailing list