[Python-apps-commits] r13591 - in packages/gui-ufw/trunk/debian (changelog control rules)

dfiloni-guest at users.alioth.debian.org dfiloni-guest at users.alioth.debian.org
Mon Sep 5 14:47:39 UTC 2016


    Date: Monday, September 5, 2016 @ 14:47:37
  Author: dfiloni-guest
Revision: 13591

New upstream release, port package to dh_python3

Modified:
  packages/gui-ufw/trunk/debian/changelog
  packages/gui-ufw/trunk/debian/control
  packages/gui-ufw/trunk/debian/rules

Modified: packages/gui-ufw/trunk/debian/changelog
===================================================================
--- packages/gui-ufw/trunk/debian/changelog	2016-09-05 08:44:26 UTC (rev 13590)
+++ packages/gui-ufw/trunk/debian/changelog	2016-09-05 14:47:37 UTC (rev 13591)
@@ -1,3 +1,28 @@
+gui-ufw (16.10.0-1) unstable; urgency=medium
+
+  * New upstream release, upstream changelog:
+    - Migrate to python3
+    - Migrate to webkit2
+    - Added mumble server
+    - Update translations
+  * debian/control: remove python-netifaces from Depends field
+  * debian/control: replace python (>= 2.6.6-3~) with python3 and
+    python-distutils-extra with python3-distutils-extra in
+    Build-Depends field
+  * debian/control: replace gir1.2-webkit-3.0 with gir1.2-webkit2-4.0,
+    python-gi with python3-gi and ${python:Depends} with
+    ${python3:Depends} in Depends field
+  * debian/control: drop X-Python-Version field
+  * debian/control: drop XB-Python-Version field
+  * debian/control: add dh-python to Build-Depends field, thanks to
+    Jeremy Bicha for this!
+  * debian/rules: use dh --with python3 --buildsystem=pybuild instead of
+    python2 and fix override_dh_auto_install target according
+  * debian/rules: create a copy of po/gufw.pot before build as it is changed
+    by setup.py during build.
+
+ -- Devid Antonio Filoni <d.filoni at ubuntu.com>  Sun, 04 Sep 2016 19:45:47 +0200
+
 gui-ufw (16.04.1-1) unstable; urgency=low
 
   * New upstream release (Closes: #782351, #704634, #681315, #833258)

Modified: packages/gui-ufw/trunk/debian/control
===================================================================
--- packages/gui-ufw/trunk/debian/control	2016-09-05 08:44:26 UTC (rev 13590)
+++ packages/gui-ufw/trunk/debian/control	2016-09-05 14:47:37 UTC (rev 13591)
@@ -4,19 +4,17 @@
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Uploaders: Devid Antonio Filoni <d.filoni at ubuntu.com>,
            Miriam Ruiz <miriam at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-distutils-extra,
-               python (>= 2.6.6-3~)
+Build-Depends: debhelper (>= 7.0.50~), dh-python, python3-distutils-extra,
+               python3
 Standards-Version: 3.9.8
 Homepage: http://gufw.org/
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/gui-ufw/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/gui-ufw/trunk/
-X-Python-Version: >= 2.6
 
 Package: gufw
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, ufw (>= 0.34~rc), gir1.2-gtk-3.0,
- policykit-1, python-netifaces, gir1.2-webkit-3.0, python-gi
-XB-Python-Version: ${python:Versions}
+Depends: ${python3:Depends}, ${misc:Depends}, ufw (>= 0.34~rc), gir1.2-gtk-3.0,
+ policykit-1, gir1.2-webkit2-4.0, python3-gi
 Description: graphical user interface for ufw
  gufw is an easy and intuitive way to manage your Linux firewall. It supports
  common tasks such as allowing or blocking pre-configured, common p2p, or

Modified: packages/gui-ufw/trunk/debian/rules
===================================================================
--- packages/gui-ufw/trunk/debian/rules	2016-09-05 08:44:26 UTC (rev 13590)
+++ packages/gui-ufw/trunk/debian/rules	2016-09-05 14:47:37 UTC (rev 13591)
@@ -1,8 +1,19 @@
 #!/usr/bin/make -f
 
 %:
-	dh --with python2 $@
+	dh --with python3 --buildsystem=pybuild $@
 
+override_dh_auto_clean:
+	dh_auto_clean --with python3 --buildsystem=pybuild
+	if [ -f "debian/gufw.pot" ]; then \
+		mv debian/gufw.pot po/gufw.pot; \
+	fi
+
+override_dh_auto_build:
+	# create a copy of po/gufw.pot before build as it is changed by setup.py
+	cp po/gufw.pot debian/gufw.pot
+	dh_auto_build --with python3 --buildsystem=pybuild
+
 override_dh_auto_install:
-	dh_auto_install -- --install-lib=usr/share/gufw\
-		--install-scripts=usr/bin
+	dh_auto_install -- --install-args='--install-lib=usr/share/gufw\
+		--install-scripts=usr/bin'




More information about the Python-apps-commits mailing list