[Python-apps-commits] r9352 - in packages/gaupol/trunk/debian (changelog control rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Jan 6 18:05:54 UTC 2013


    Date: Sunday, January 6, 2013 @ 18:05:51
  Author: piotr
Revision: 9352

* New upstream release
  - ported to Python 3 (dependencies and build process updated)
* python-aeidon binary package replaced with python3-aeidon
* Update debian/watch file to search for tar.xz files

Modified:
  packages/gaupol/trunk/debian/changelog
  packages/gaupol/trunk/debian/control
  packages/gaupol/trunk/debian/rules

Modified: packages/gaupol/trunk/debian/changelog
===================================================================
--- packages/gaupol/trunk/debian/changelog	2013-01-05 16:37:33 UTC (rev 9351)
+++ packages/gaupol/trunk/debian/changelog	2013-01-06 18:05:51 UTC (rev 9352)
@@ -1,3 +1,12 @@
+gaupol (0.21-1) experimental; urgency=low
+
+  * New upstream release
+    - ported to Python 3 (dependencies and build process updated)
+  * python-aeidon binary package replaced with python3-aeidon
+  * Update debian/watch file to search for tar.xz files
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 06 Jan 2013 17:10:10 +0100
+
 gaupol (0.19.2-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/gaupol/trunk/debian/control
===================================================================
--- packages/gaupol/trunk/debian/control	2013-01-05 16:37:33 UTC (rev 9351)
+++ packages/gaupol/trunk/debian/control	2013-01-06 18:05:51 UTC (rev 9352)
@@ -3,19 +3,19 @@
 Priority: optional
 Maintainer: Piotr Ożarowski <piotr at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50), python
-X-Python-Version: >= 2.6
+Build-Depends: debhelper (>= 7.0.50), python3
+X-Python3-Version: >= 3.2
 Build-Depends-Indep: intltool
-Standards-Version: 3.9.2
+Standards-Version: 3.9.4
 Homepage: http://home.gna.org/gaupol/
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/gaupol/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/gaupol/trunk/
 
 Package: gaupol
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-aeidon (>= ${source:Upstream-Version}),
- python-gtk2 (>= 2.16), python-gobject (>= 2.12.3-2+b1)
-Recommends: python-enchant (>= 1.1.5-2), iso-codes, python-chardet, python-gtkspell
+Depends: ${python3:Depends}, ${misc:Depends}, python3-aeidon (>= ${source:Upstream-Version}),
+ python3-gi, gir1.2-gstreamer-1.0
+Recommends: python3-enchant, iso-codes, python3-chardet, python3-gtkspellcheck
 Suggests: vlc | mplayer, python-gst0.10
 Description: subtitle editor for text-based subtitle files
  Text-based subtitles are commonly used with DivX video. Gaupol supports
@@ -35,12 +35,13 @@
  .
  VobSubs (image-based subtitles used in DVDs) are NOT supported.
 
-Package: python-aeidon
+Package: python3-aeidon
 Architecture: all
 Section: python
-Depends: ${python:Depends}, ${misc:Depends}, iso-codes
-Recommends: python-enchant (>= 1.4), python-chardet
-Replaces: gaupol (<< 0.16-1)
+Depends: ${python3:Depends}, ${misc:Depends}, iso-codes
+Recommends: python3-enchant, python3-chardet
+# due to locales (in /usr/share/locale/):
+Conflicts: python-aeidon
 Description: reading, writing and manipulating text-based subtitle files
  aeidon is separate from the gaupol package, which provides a subtitle editor
  application with a GTK+ user interface.

Modified: packages/gaupol/trunk/debian/rules
===================================================================
--- packages/gaupol/trunk/debian/rules	2013-01-05 16:37:33 UTC (rev 9351)
+++ packages/gaupol/trunk/debian/rules	2013-01-06 18:05:51 UTC (rev 9352)
@@ -1,20 +1,28 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python2
+	dh $@ --with python3 --without python-support
 
-#export PYVER=$(shell dpkg --compare-versions `pyversions -vd` gt 2.5 || echo 2.6)
 override_dh_auto_install:
-	python$(PYVER) ./setup.py --without-aeidon --without-iso-codes clean install\
+	python3 ./setup.py --without-aeidon --without-iso-codes clean install\
 	  --root=$(CURDIR)/debian/gaupol --prefix=/usr\
        	  --install-lib=/usr/share/gaupol/
 	# rename the binary instead of using --install-scripts (due to name conflict)
 	mv $(CURDIR)/debian/gaupol/usr/bin/gaupol $(CURDIR)/debian/gaupol/usr/share/gaupol/run
 	dh_link /usr/share/gaupol/run /usr/bin/gaupol
-	python$(PYVER) ./setup.py --with-aeidon --without-gaupol --without-iso-codes\
-	  clean install --prefix=/usr --root=$(CURDIR)/debian/python-aeidon
+	python3 ./setup.py --with-aeidon --without-gaupol --without-iso-codes\
+	  clean install --prefix=/usr --root=$(CURDIR)/debian/python3-aeidon
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
 
 override_dh_auto_build:
+
+override_dh_auto_clean:
+	dh_clean
+	rm -rf build/ locale/
+	find . -name '*.pyc' -delete
+	find data/ -name '*.in' -print | sed -e 's/.in$$//' | xargs rm -f
+
+override_dh_python3:
+	dh_python3 --shebang /usr/bin/python3




More information about the Python-apps-commits mailing list