[Python-apps-commits] r11753 - in packages/turnin-ng/trunk/debian (7 files)

rak at users.alioth.debian.org rak at users.alioth.debian.org
Thu Feb 19 03:17:24 UTC 2015


    Date: Thursday, February 19, 2015 @ 03:17:23
  Author: rak
Revision: 11753

Packaging for Turnin-NG 1.3-1

Modified:
  packages/turnin-ng/trunk/debian/changelog
  packages/turnin-ng/trunk/debian/compat
  packages/turnin-ng/trunk/debian/control
  packages/turnin-ng/trunk/debian/copyright
  packages/turnin-ng/trunk/debian/patches/04_manual_info_install.diff
  packages/turnin-ng/trunk/debian/rules
  packages/turnin-ng/trunk/debian/watch

Modified: packages/turnin-ng/trunk/debian/changelog
===================================================================
--- packages/turnin-ng/trunk/debian/changelog	2015-02-18 04:07:10 UTC (rev 11752)
+++ packages/turnin-ng/trunk/debian/changelog	2015-02-19 03:17:23 UTC (rev 11753)
@@ -1,3 +1,19 @@
+turnin-ng (1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Update watch file
+  * Bump copyright years
+  * Bump standards version to 3.9.6
+  * Switch to dh-python
+    + Drop dependencies on python-support
+    + Bump minimum required python version to 2.6.6-3~
+  * Switch to debhelper >= 9 and bump compat level to 9
+  * Make builds reproducible:
+    + Add build dependency on faketime so that documentation generated by
+      pdflatex has a reproducible timestamp
+
+ -- Ryan Kavanagh <rak at debian.org>  Wed, 18 Feb 2015 15:43:14 -0500
+
 turnin-ng (1.2-1) unstable; urgency=low
 
   [ Jakub Wilk ]

Modified: packages/turnin-ng/trunk/debian/compat
===================================================================
--- packages/turnin-ng/trunk/debian/compat	2015-02-18 04:07:10 UTC (rev 11752)
+++ packages/turnin-ng/trunk/debian/compat	2015-02-19 03:17:23 UTC (rev 11753)
@@ -1 +1 @@
-7
+9

Modified: packages/turnin-ng/trunk/debian/control
===================================================================
--- packages/turnin-ng/trunk/debian/control	2015-02-18 04:07:10 UTC (rev 11752)
+++ packages/turnin-ng/trunk/debian/control	2015-02-19 03:17:23 UTC (rev 11753)
@@ -3,12 +3,13 @@
 Priority: optional
 Maintainer: Ryan Kavanagh <rak at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 8),
- python (>= 2.5)
-Build-Depends-Indep: python-support (>= 0.90.5),
- texinfo,
- texlive
-Standards-Version: 3.9.4
+Build-Depends: debhelper (>= 9)
+ , python (>= 2.6.6-3~)
+Build-Depends-Indep: dh-python
+ , texinfo
+ , texlive
+ , faketime
+Standards-Version: 3.9.6
 Homepage: http://github.com/ryanakca/Turnin-NG
 X-Python-Version: >= 2.5
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/turnin-ng/trunk/

Modified: packages/turnin-ng/trunk/debian/copyright
===================================================================
--- packages/turnin-ng/trunk/debian/copyright	2015-02-18 04:07:10 UTC (rev 11752)
+++ packages/turnin-ng/trunk/debian/copyright	2015-02-19 03:17:23 UTC (rev 11753)
@@ -12,7 +12,7 @@
 
 Copyright:
 
-    Copyright (C) 2009-2013 Ryan Kavanagh <rak at debian.org>
+    Copyright (C) 2009-2014 Ryan Kavanagh <rak at debian.org>
 
 License:
 
@@ -36,7 +36,7 @@
 
 The Debian packaging is:
 
-    Copyright (C) 2009-2013, Ryan Kavanagh <rak at debian.org>
+    Copyright (C) 2009-2015, Ryan Kavanagh <rak at debian.org>
 
 and is licensed under the GPL, either version 2 of the License, or (at your
 option) any later version, see above.

Modified: packages/turnin-ng/trunk/debian/patches/04_manual_info_install.diff
===================================================================
--- packages/turnin-ng/trunk/debian/patches/04_manual_info_install.diff	2015-02-18 04:07:10 UTC (rev 11752)
+++ packages/turnin-ng/trunk/debian/patches/04_manual_info_install.diff	2015-02-19 03:17:23 UTC (rev 11753)
@@ -1,10 +1,10 @@
 # 04_manual_info_install.diff by Ryan Kavanagh <ryanakca at kubuntu.org>
 # Description: Manually install info page from packaging instead of from
 # setup.py
-Index: turnin-ng-1.2/setup.py
+Index: turnin-ng-1.3/setup.py
 ===================================================================
---- turnin-ng-1.2.orig/setup.py	2013-08-30 16:18:49.263300282 -0400
-+++ turnin-ng-1.2/setup.py	2013-08-30 16:18:49.259300169 -0400
+--- turnin-ng-1.3.orig/setup.py	2015-02-17 12:39:29.216119508 -0500
++++ turnin-ng-1.3/setup.py	2015-02-17 12:39:29.184118631 -0500
 @@ -211,7 +211,7 @@
              if retcode < 0:
                  raise subprocess.CalledProcessError(retcode, ' '.join(cargs))
@@ -13,7 +13,7 @@
 +# install.sub_commands.append(('install_infopage', None))
  
  setup(name='turnin-ng',
-       version='1.2',
+       version='1.3',
 @@ -225,7 +225,7 @@
        package_dir={'turninng':'src/turninng'},
        data_files=data_files,

Modified: packages/turnin-ng/trunk/debian/rules
===================================================================
--- packages/turnin-ng/trunk/debian/rules	2015-02-18 04:07:10 UTC (rev 11752)
+++ packages/turnin-ng/trunk/debian/rules	2015-02-19 03:17:23 UTC (rev 11753)
@@ -1,4 +1,11 @@
 #!/usr/bin/make -f
 
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+
 %:
-	dh $@ -- --install-lib=usr/share/turnin-ng --install-scripts=usr/share/turnin-ng
+	dh $@ --with=python2 -- --install-lib=usr/share/turnin-ng --install-scripts=usr/share/turnin-ng
+
+override_dh_auto_build:
+	# We generate PDF files with pdftex which feature timestamps; make their
+	# build reproducible.
+	faketime '$(BUILD_DATE)' dh_auto_build

Modified: packages/turnin-ng/trunk/debian/watch
===================================================================
--- packages/turnin-ng/trunk/debian/watch	2015-02-18 04:07:10 UTC (rev 11752)
+++ packages/turnin-ng/trunk/debian/watch	2015-02-19 03:17:23 UTC (rev 11753)
@@ -1,3 +1,3 @@
 version=3
-opts=filenamemangle=s at .*/(.*)@Turnin-NG-$1@ \
-  http://githubredir.debian.net/github/ryanakca/Turnin-NG /(.*).tar.gz
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/turnin-ng-$1\.tar\.gz/ \
+  https://github.com/ryanakca/turnin-ng/tags .*/v?(\d\S*)\.tar\.gz




More information about the Python-apps-commits mailing list