[Python-modules-commits] r22062 - in packages/pyfits/trunk/debian (changelog control rules)
aurel32 at users.alioth.debian.org
aurel32 at users.alioth.debian.org
Mon Jun 4 22:45:48 UTC 2012
Date: Monday, June 4, 2012 @ 22:45:46
Author: aurel32
Revision: 22062
* Add a Python3 package.
* Split-out /usr/bin/fitscheck in a separate package.
Modified:
packages/pyfits/trunk/debian/changelog
packages/pyfits/trunk/debian/control
packages/pyfits/trunk/debian/rules
Modified: packages/pyfits/trunk/debian/changelog
===================================================================
--- packages/pyfits/trunk/debian/changelog 2012-06-04 22:16:08 UTC (rev 22061)
+++ packages/pyfits/trunk/debian/changelog 2012-06-04 22:45:46 UTC (rev 22062)
@@ -1,3 +1,10 @@
+pyfits (1:3.0.7-2) UNRELEASED; urgency=low
+
+ * Add a Python3 package.
+ * Split-out /usr/bin/fitscheck in a separate package.
+
+ -- Aurelien Jarno <aurel32 at debian.org> Tue, 05 Jun 2012 00:23:35 +0200
+
pyfits (1:3.0.7-1) unstable; urgency=low
* New upstream version (Closes: #645203).
Modified: packages/pyfits/trunk/debian/control
===================================================================
--- packages/pyfits/trunk/debian/control 2012-06-04 22:16:08 UTC (rev 22061)
+++ packages/pyfits/trunk/debian/control 2012-06-04 22:45:46 UTC (rev 22062)
@@ -3,8 +3,9 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Aurelien Jarno <aurel32 at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), zlib1g-dev, python-all-dev (>= 2.6.6-3~), python-setuptools, python-d2to1, python-stsci.distutils, python-numpy
+Build-Depends: debhelper (>= 7.0.50~), zlib1g-dev, python-all-dev (>= 2.6.6-3~), python-setuptools, python-d2to1, python-stsci.distutils, python-numpy, python3-all-dev (>= 3.1.2-6~), python3-setuptools, python3-d2to1, python3-stsci.distutils, python3-numpy
X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.0
Standards-Version: 3.9.3
Homepage: http://www.stsci.edu/resources/software_hardware/pyfits
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyfits/trunk/
@@ -21,3 +22,37 @@
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.
+ .
+ This package provides PyFITS on the Python 2 module path. It is complemented
+ by python3-pyfits.
+
+Package: python3-pyfits
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Suggests: fitscheck
+Description: Python3 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.
+ .
+ This package provides PyFITS on the Python 3 module path. It is complemented
+ by python-pyfits.
+
+Package: fitscheck
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-pyfits
+Breaks: python-pyfits (<< 1:3.0.7-2~)
+Replaces: python-pyfits (<< 1:3.0.7-2~)
+Description: script to detect and fix FITS standards violations
+ 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.
+ .
+ This package provides a script a command line script based on pyfits for
+ verifying and updating the CHECKSUM and DATASUM keywords of FITS files.
+ It can also detect and often fix other FITS standards violations.
Modified: packages/pyfits/trunk/debian/rules
===================================================================
--- packages/pyfits/trunk/debian/rules 2012-06-04 22:16:08 UTC (rev 22061)
+++ packages/pyfits/trunk/debian/rules 2012-06-04 22:45:46 UTC (rev 22062)
@@ -9,6 +9,7 @@
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
PYVERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
clean:
dh_testdir
@@ -57,11 +58,20 @@
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/python-pyfits/usr/bin
- install -m 644 $(CURDIR)/scripts/fitscheck $(CURDIR)/debian/python-pyfits/usr/bin
- install -m 755 -d $(CURDIR)/debian/python-pyfits/usr/share/man/man1
- install -m 644 $(CURDIR)/debian/fitscheck.1 $(CURDIR)/debian/python-pyfits/usr/share/man/man1
+ 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 $@
@@ -78,6 +88,8 @@
dh_installchangelogs debian/CHANGES
dh_python2
dh_numpy
+ dh_python3
+ dh_numpy3
dh_link
dh_strip
dh_compress -X.py
More information about the Python-modules-commits
mailing list