[Python-modules-commits] r16996 - in packages/python-easygui/trunk/debian (6 files)

cjsmo-guest at users.alioth.debian.org cjsmo-guest at users.alioth.debian.org
Mon May 9 22:10:48 UTC 2011


    Date: Monday, May 9, 2011 @ 22:10:39
  Author: cjsmo-guest
Revision: 16996

added python3 support.

Added:
  packages/python-easygui/trunk/debian/python-easygui.doc-base
  packages/python-easygui/trunk/debian/python3-easygui.doc-base
Modified:
  packages/python-easygui/trunk/debian/changelog
  packages/python-easygui/trunk/debian/control
  packages/python-easygui/trunk/debian/rules
Deleted:
  packages/python-easygui/trunk/debian/doc-base

Modified: packages/python-easygui/trunk/debian/changelog
===================================================================
--- packages/python-easygui/trunk/debian/changelog	2011-05-09 19:23:33 UTC (rev 16995)
+++ packages/python-easygui/trunk/debian/changelog	2011-05-09 22:10:39 UTC (rev 16996)
@@ -1,18 +1,27 @@
 python-easygui (0.96-3) unstable; urgency=low
 
+  [Adreas Noteng]
   * Enable jpeg and png graphics by adding Recommends: python-imaging-tk
 
   [Charlie Smotherman]
   * Update debian/copyright to DEP5-rev173
-  * debian/rules changed to dh $@ --with python2.
+  * debian/rules
+    - changed to dh $@ --with python2,python3.
+    - added rules to build python3 package.
   * debian/control
     - increased min python version to (>=2.6.6-3).
     - changed XS-P-V to X-P-V >=2.6.6-3.
     - removed ${python:Breaks}
     - wrapped text in Description.
     - bumped standards version to 3.9.2, no changes needed.
+    - added python3-all to B-D
+    - increased debhelper to (>= 7.0.50~), this was added to quiet lintian
+      about dh overrides.
+    - added X-Python3-Version: >= 3.0.
+    - added myself to uploaders.
+    - added python3-easygui binary stanza.
 
- -- Andreas Noteng <andreas at noteng.no>  Sun, 08 May 2011 22:07:18 +0200
+ -- Charlie Smotherman <cjsmo at cableone.net>  Mon, 09 May 2011 17:11:18 -0500
 
 python-easygui (0.96-1) unstable; urgency=low
 

Modified: packages/python-easygui/trunk/debian/control
===================================================================
--- packages/python-easygui/trunk/debian/control	2011-05-09 19:23:33 UTC (rev 16995)
+++ packages/python-easygui/trunk/debian/control	2011-05-09 22:10:39 UTC (rev 16996)
@@ -2,10 +2,12 @@
 Section: python
 Priority: optional
 Maintainer: Andreas Noteng <andreas at noteng.no>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3)
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
+ Charlie Smotherman <cjsmo at cableone.net>
+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3), python3-all
 Standards-Version: 3.9.2
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.0
 Homepage: http://easygui.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-easygui/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-easygui/trunk/
@@ -20,3 +22,14 @@
  GUI capabilities that don't require any knowledge of Tkinter, frames,
  widgets, callbacks or lambda. This is what EasyGUI provides. Using EasyGUI,
  all GUI interactions are invoked by simple function calls.
+
+Package: python3-easygui
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-imaging-tk
+Description: module for very simple, very easy GUI programming in Python
+ This package provides the python modules EasyGUI. Experienced Pythonistas
+ need support for quick and dirty GUI features. New Python programmers need
+ GUI capabilities that don't require any knowledge of Tkinter, frames,
+ widgets, callbacks or lambda. This is what EasyGUI provides. Using EasyGUI,
+ all GUI interactions are invoked by simple function calls.

Deleted: packages/python-easygui/trunk/debian/doc-base
===================================================================
--- packages/python-easygui/trunk/debian/doc-base	2011-05-09 19:23:33 UTC (rev 16995)
+++ packages/python-easygui/trunk/debian/doc-base	2011-05-09 22:10:39 UTC (rev 16996)
@@ -1,9 +0,0 @@
-Document: python-easygui
-Title: EasyGUI Manual
-Author: Steve Ferg
-Abstract: This manual describes what EasyGUI is
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-easygui/easygui_pydoc.html
-Files: /usr/share/doc/python-easygui/*.html

Added: packages/python-easygui/trunk/debian/python-easygui.doc-base
===================================================================
--- packages/python-easygui/trunk/debian/python-easygui.doc-base	                        (rev 0)
+++ packages/python-easygui/trunk/debian/python-easygui.doc-base	2011-05-09 22:10:39 UTC (rev 16996)
@@ -0,0 +1,9 @@
+Document: python-easygui
+Title: EasyGUI Manual
+Author: Steve Ferg
+Abstract: This manual describes what EasyGUI is
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-easygui/easygui_pydoc.html
+Files: /usr/share/doc/python-easygui/*.html

Added: packages/python-easygui/trunk/debian/python3-easygui.doc-base
===================================================================
--- packages/python-easygui/trunk/debian/python3-easygui.doc-base	                        (rev 0)
+++ packages/python-easygui/trunk/debian/python3-easygui.doc-base	2011-05-09 22:10:39 UTC (rev 16996)
@@ -0,0 +1,9 @@
+Document: python3-easygui
+Title: EasyGUI Manual
+Author: Steve Ferg
+Abstract: This manual describes what EasyGUI is
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-easygui/easygui_pydoc.html
+Files: /usr/share/doc/python3-easygui/*.html

Modified: packages/python-easygui/trunk/debian/rules
===================================================================
--- packages/python-easygui/trunk/debian/rules	2011-05-09 19:23:33 UTC (rev 16995)
+++ packages/python-easygui/trunk/debian/rules	2011-05-09 22:10:39 UTC (rev 16996)
@@ -1,3 +1,32 @@
 #!/usr/bin/make -f
+
+PYVERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
+
+override_dh_auto_build:
+	set -e; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py build; \
+	done
+
+override_dh_auto_install:
+	set -e; \
+	for py in $(PYVERS); do \
+		$$py setup.py install --skip-build --root debian/python-easygui \
+						--install-layout deb; \
+	done
+	set -e; \
+	for py in $(PY3VERS); do \
+		$$py setup.py install --skip-build --root debian/python3-easygui \
+						--install-layout deb; \
+	done
+
+override_dh_installdocs:
+	cp easygui_pydoc.html easygui_py3doc.html
+	dh_installdocs
+
+override_dh_auto_clean:
+	rm -rf build *.egg.info	




More information about the Python-modules-commits mailing list