[Python-modules-commits] r34462 - in packages/pyfits/trunk/debian (changelog control rules)

aurel32 at users.alioth.debian.org aurel32 at users.alioth.debian.org
Sat Oct 3 10:05:35 UTC 2015


    Date: Saturday, October 3, 2015 @ 10:05:34
  Author: aurel32
Revision: 34462

Build depends on stsci.distutils (>= 0.3.7-2) and export
SOURCE_DATE_EPOCH in debian/rules to have identical version.py files in
python3.x builds. That way dh_python3 can merge them into
/usr/lib/python3/dist-packages.

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	2015-10-03 08:44:02 UTC (rev 34461)
+++ packages/pyfits/trunk/debian/changelog	2015-10-03 10:05:34 UTC (rev 34462)
@@ -5,6 +5,10 @@
   * Add patches/04-replace-inspect-by-funcsigs.diff to use funcsigs
     instead of inspect.getargspec which is deprecated in Python 3.5.
     Closes: #800683.
+  * Build depends on stsci.distutils (>= 0.3.7-2) and export
+    SOURCE_DATE_EPOCH in debian/rules to have identical version.py files in
+    python3.x builds. That way dh_python3 can merge them into
+    /usr/lib/python3/dist-packages.
 
  -- Aurelien Jarno <aurel32 at debian.org>  Sat, 03 Oct 2015 10:22:20 +0200
 

Modified: packages/pyfits/trunk/debian/control
===================================================================
--- packages/pyfits/trunk/debian/control	2015-10-03 08:44:02 UTC (rev 34461)
+++ packages/pyfits/trunk/debian/control	2015-10-03 10:05:34 UTC (rev 34462)
@@ -3,7 +3,7 @@
 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 (>= 9), libcfitsio-dev, dh-python, python-all-dev (>= 2.6.6-3~), python-setuptools, python-d2to1, python-stsci.distutils, python-numpy, python-funcsigs, python-nose, python3-all-dev (>= 3.1.2-6~), python3-setuptools, python3-d2to1, python3-stsci.distutils, python3-numpy, python3-funcsigs, python3-nose
+Build-Depends: debhelper (>= 9), libcfitsio-dev, dh-python, python-all-dev (>= 2.6.6-3~), python-setuptools, python-d2to1, python-stsci.distutils (>= 0.3.7-2), python-numpy, python-funcsigs, python-nose, python3-all-dev (>= 3.1.2-6~), python3-setuptools, python3-d2to1, python3-stsci.distutils (>= 0.3.7-2), python3-numpy, python3-funcsigs, python3-nose
 X-Python-Version: >= 2.5
 X-Python3-Version: >= 3.0
 Standards-Version: 3.9.6

Modified: packages/pyfits/trunk/debian/rules
===================================================================
--- packages/pyfits/trunk/debian/rules	2015-10-03 08:44:02 UTC (rev 34461)
+++ packages/pyfits/trunk/debian/rules	2015-10-03 10:05:34 UTC (rev 34462)
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%s)
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild --parallel 
 




More information about the Python-modules-commits mailing list