--- pythondialog-2.7.orig/debian/docs +++ pythondialog-2.7/debian/docs @@ -0,0 +1,3 @@ +README +TODO +DEBUGGING --- pythondialog-2.7.orig/debian/copyright +++ pythondialog-2.7/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Adam Cécile (Le_Vert) on +Sun, 10 Dec 2006 16:30:10 +0100. + +It was downloaded from http://pythondialog.sourceforge.net/ + +Upstream Author: Peter Astrand + Robb Shecter + Sultanbek Tezadov + Florent Rougon + +Copyright: (C) 2000 Robb Shecter, Sultanbek Tezadov + (C) 2002, 2003, 2004 Florent Rougon + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + +The Debian packaging is (C) 2006, Adam Cécile (Le_Vert) +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pythondialog-2.7.orig/debian/compat +++ pythondialog-2.7/debian/compat @@ -0,0 +1 @@ +5 --- pythondialog-2.7.orig/debian/control +++ pythondialog-2.7/debian/control @@ -0,0 +1,19 @@ +Source: pythondialog +Section: python +Priority: optional +Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5.0.37.2) +Build-Depends-Indep: python-all-dev, python-all, python-support (>= 0.4) +Standards-Version: 3.7.2 + +Package: python-dialog +Architecture: all +Depends: ${python:Depends}, dialog +Provides: ${python:Provides} +Description: Python module for making simple Text/Console-mode user interfaces + This is a Python module for doing console-mode user interaction. + . + It wraps the dialog/Xdialog program, and provides a nice, object-oriented + programming model. + . + Homepage: http://pythondialog.sourceforge.net/ --- pythondialog-2.7.orig/debian/rules +++ pythondialog-2.7/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DESTDIR = $(CURDIR)/debian/python-dialog +PATHTOMODULE = /usr/share/python-support/python-dialog/dialog.py + +build: + +clean: + dh_testdir + dh_testroot + find . -name \*.pyc | xargs rm -f + rm -rf build/ dialog.html + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + python setup.py install --root=$(DESTDIR) --prefix=/usr + # generate python documentation + pydoc -w dialog + # Fix path to sources + sed -i 's!.*!$(PATHTOMODULE)!' dialog.html + # Install it + install -D dialog.html $(DESTDIR)/usr/share/doc/python-dialog/pydoc.html + +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i + dh_installexamples -i + dh_pysupport -i + dh_link -i + dh_compress -i -Xdemo.py -Xpydoc.html + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- pythondialog-2.7.orig/debian/pyversions +++ pythondialog-2.7/debian/pyversions @@ -0,0 +1 @@ +2.3- --- pythondialog-2.7.orig/debian/changelog +++ pythondialog-2.7/debian/changelog @@ -0,0 +1,5 @@ +pythondialog (2.7-1) unstable; urgency=low + + * Initial release (Closes: #402453). + + -- Adam Cécile (Le_Vert) Sun, 10 Dec 2006 16:30:10 +0100 --- pythondialog-2.7.orig/debian/examples +++ pythondialog-2.7/debian/examples @@ -0,0 +1 @@ +demo.py