[Python-modules-commits] r623 - in /packages/pyfits/trunk/debian:
changelog control python-pyfits.postinst python-pyfits.prerm rules
aurel32 at users.alioth.debian.org
aurel32 at users.alioth.debian.org
Mon May 15 23:55:27 UTC 2006
Author: aurel32
Date: Mon May 15 23:55:26 2006
New Revision: 623
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=623
Log:
* Drop python2.3-pyfits and python2.4-pyfits, use python-support
instead.
Added:
packages/pyfits/trunk/debian/python-pyfits.postinst
packages/pyfits/trunk/debian/python-pyfits.prerm
Modified:
packages/pyfits/trunk/debian/changelog
packages/pyfits/trunk/debian/control
packages/pyfits/trunk/debian/rules
Modified: packages/pyfits/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyfits/trunk/debian/changelog?rev=623&op=diff
==============================================================================
--- packages/pyfits/trunk/debian/changelog (original)
+++ packages/pyfits/trunk/debian/changelog Mon May 15 23:55:26 2006
@@ -1,9 +1,11 @@
-pyfits (1.0.1-3) UNRELEASED; urgency=low
+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> Mon, 15 May 2006 02:17:16 +0200
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 16 May 2006 01:34:46 +0200
pyfits (1.0.1-2) unstable; urgency=low
Modified: packages/pyfits/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyfits/trunk/debian/control?rev=623&op=diff
==============================================================================
--- packages/pyfits/trunk/debian/control (original)
+++ packages/pyfits/trunk/debian/control Mon May 15 23:55:26 2006
@@ -3,12 +3,13 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Aurelien Jarno <aurel32 at debian.org>
-Build-Depends-Indep: debhelper (>= 5.0), python-dev, python2.3-dev, python2.4-dev, tetex-bin
+Build-Depends: debhelper (>= 5.0)
+Build-Depends-Indep: python-dev
Standards-Version: 3.7.2
Package: python-pyfits
Architecture: all
-Depends: python2.3-pyfits, python (>= 2.3), python (<< 2.4)
+Depends: python (>= 2.3), python-support
Description: Python module for reading, writing, and manipulating FITS files
FITS (Flexible Image Transport System) is a data format most used in
astronomy. PyFITS is a Python module for reading, writing, and manipulating
@@ -16,43 +17,12 @@
easy, and efficient access to FITS files. The use of Python's array syntax
enables immediate access to any FITS extension, header cards, or data items.
.
- This is a void package. It only depends on the real one, compiled
- against Debian's default Python version.
- .
- Homepage: http://www.stsci.edu/resources/software_hardware/pyfits
-
-Package: python2.3-pyfits
-Architecture: all
-Depends: python2.3, python2.3-numarray
-Description: Python module for reading, writing, and manipulating FITS files
- FITS (Flexible Image Transport System) is a data format most used in
- astronomy. PyFITS is a Python module for reading, writing, and manipulating
- FITS files. The module uses Python's object-oriented features to provide quick,
- easy, and efficient access to FITS files. The use of Python's array syntax
- enables immediate access to any FITS extension, header cards, or data items.
- .
- Module for Python 2.3.
- .
- Homepage: http://www.stsci.edu/resources/software_hardware/pyfits
-
-Package: python2.4-pyfits
-Architecture: all
-Depends: python2.4, python2.4-numarray
-Description: Python module for reading, writing, and manipulating FITS files
- FITS (Flexible Image Transport System) is a data format most used in
- astronomy. PyFITS is a Python module for reading, writing, and manipulating
- FITS files. The module uses Python's object-oriented features to provide quick,
- easy, and efficient access to FITS files. The use of Python's array syntax
- enables immediate access to any FITS extension, header cards, or data items.
- .
- Module for Python 2.4.
- .
Homepage: http://www.stsci.edu/resources/software_hardware/pyfits
Package: python-pyfits-doc
Section: doc
Architecture: all
-Suggests: python-pyfits, python2.3-pyfits, python2.4-pyfits
+Suggests: python-pyfits
Description: Documentation for PyFITS
FITS (Flexible Image Transport System) is a data format most used in
astronomy. PyFITS is a Python module for reading, writing, and manipulating
Added: packages/pyfits/trunk/debian/python-pyfits.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/pyfits/trunk/debian/python-pyfits.postinst?rev=623&op=file
==============================================================================
--- packages/pyfits/trunk/debian/python-pyfits.postinst (added)
+++ packages/pyfits/trunk/debian/python-pyfits.postinst Mon May 15 23:55:26 2006
@@ -1,0 +1,7 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+update-python-modules -i /usr/share/python-support/python-pyfits
+
+exit 0
Added: packages/pyfits/trunk/debian/python-pyfits.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/pyfits/trunk/debian/python-pyfits.prerm?rev=623&op=file
==============================================================================
--- packages/pyfits/trunk/debian/python-pyfits.prerm (added)
+++ packages/pyfits/trunk/debian/python-pyfits.prerm Mon May 15 23:55:26 2006
@@ -1,0 +1,7 @@
+#!/bin/sh -e
+
+update-python-modules -c -i /usr/share/python-support/python-pyfits
+
+#DEBHELPER#
+
+exit 0
Modified: packages/pyfits/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyfits/trunk/debian/rules?rev=623&op=diff
==============================================================================
--- packages/pyfits/trunk/debian/rules (original)
+++ packages/pyfits/trunk/debian/rules Mon May 15 23:55:26 2006
@@ -6,9 +6,6 @@
clean:
dh_testdir
dh_testroot
-
- /usr/bin/python2.3 setup.py clean --all
- /usr/bin/python2.4 setup.py clean --all
rm -f docs/PyFITS.{pdf,aux,log}
@@ -28,10 +25,11 @@
dh_testdir
dh_testroot
dh_clean -k
+ dh_installdirs
- /usr/bin/python2.3 setup.py install --root=$(CURDIR)/debian/python2.3-pyfits --no-compile
- /usr/bin/python2.4 setup.py install --root=$(CURDIR)/debian/python2.4-pyfits --no-compile
-
+ install -m 755 -d $(CURDIR)/debian/python-pyfits/usr/share/python-support/python-pyfits/
+ install -m 755 $(CURDIR)/lib/pyfits.py $(CURDIR)/debian/python-pyfits/usr/share/python-support/python-pyfits/
+
find $(CURDIR)/debian/python*-pyfits/ -name "*.py" -exec chmod +x {} \;
dh_installdocs
More information about the Python-modules-commits
mailing list