--- epigrass-1.5.1.orig/debian/pycompat +++ epigrass-1.5.1/debian/pycompat @@ -0,0 +1 @@ +2 --- epigrass-1.5.1.orig/debian/manpages +++ epigrass-1.5.1/debian/manpages @@ -0,0 +1 @@ +debian/epigrass.1 --- epigrass-1.5.1.orig/debian/copyright +++ epigrass-1.5.1/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Varun Hiremath on +Mon, 4 Dec 2006 23:54:51 +0530. + +It was downloaded from + +Upstream Author: + Flávio Codeço Coelho + Cláudia Torres Codeço + +Copyright: (c) 2006, Flávio Codeço Coelho + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + On Debian systems, you can find the GPL license in: + /usr/share/common-licenses/GPL + +The Debian packaging is (C) 2006, Varun Hiremath and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- epigrass-1.5.1.orig/debian/watch +++ epigrass-1.5.1/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://heanet.dl.sourceforge.net/sourceforge/epigrass/ epigrass-(.*).tar.gz \ + debian debian/orig-tar.sh + --- epigrass-1.5.1.orig/debian/orig-tar.sh +++ epigrass-1.5.1/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' +DIR=epigrass-$2 + +# clean up the upstream tarball +tar -x -z -f $3 +tar -c -z -f $3 --exclude '*.pdf' $DIR +rm -rf $DIR + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $3 $origDir + echo "moved $3 to $origDir" +fi --- epigrass-1.5.1.orig/debian/rules +++ epigrass-1.5.1/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM := pycentral +DEB_COMPRESS_EXCLUDE := .py .epg .csv + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +LIBDIR := /usr/share/pyshared/ + +binary-predeb/epigrass:: + sed '1s/python.*/python/' $(DEB_DESTDIR)/usr/bin/epigrass.py > \ + $(DEB_DESTDIR)/usr/bin/epigrass + $(RM) $(DEB_DESTDIR)/usr/bin/epigrass.py + chmod +x $(DEB_DESTDIR)/usr/bin/epigrass + find $(DEB_DESTDIR)$(LIBDIR) -type f | xargs sed -i '/^#!/d' + find $(DEB_DESTDIR)$(LIBDIR) -type f | xargs chmod -x + +get-orig-source: + uscan --upstream-version 0 --- epigrass-1.5.1.orig/debian/README.Debian +++ epigrass-1.5.1/debian/README.Debian @@ -0,0 +1,6 @@ +We cannot ship the user guide with the Debian package because we have no +sources for the PDF file and the upstream author does not respond to our +request for publishing the source. But the file is available for download at +http://bollin.googlecode.com/files/epigrass-userguide-1.4.1.pdf . + +Torsten Werner -- Sun May 13 10:45:36 CEST 2007 --- epigrass-1.5.1.orig/debian/control +++ epigrass-1.5.1/debian/control @@ -0,0 +1,27 @@ +Source: epigrass +Section: science +Priority: optional +Maintainer: Debian-Med Packaging Team +Uploaders: Torsten Werner , Varun Hiremath , Charles Plessy +Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.43), python, + python-setuptools, python-central (>= 0.6.0), quilt +Standards-Version: 3.7.3 +XS-Python-Version: current +Homepage: http://epigrass.sourceforge.net/ +Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/epigrass/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/epigrass/trunk/?rev=0&sc=0 + +Package: epigrass +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, + python-sqlobject, python-visual, python-qt3, python-numpy, + python-gdal, python-visual, python-formencode, python-mysqldb, + python-pysqlite2, python-matplotlib +XB-Python-Version: ${python:Versions} +Description: scientific tool for simulations and scenario analysis in network epidemiology + Epigrass is a software for visualizing, analyzing and simulating of + epidemic processes on geo-referenced networks. + . + EpiGrass can interact with the GRASS GIS from which it can obtain + maps and other geo-referenced information. However, EpiGrass does not + require an installation of the GRASS GIS for most of its features. --- epigrass-1.5.1.orig/debian/compat +++ epigrass-1.5.1/debian/compat @@ -0,0 +1 @@ +5 --- epigrass-1.5.1.orig/debian/epigrass.1 +++ epigrass-1.5.1/debian/epigrass.1 @@ -0,0 +1,20 @@ +.TH epigrass 1 "December 4, 2006" +.SH NAME +epigrass - scientific tool for simulations and scenario analysis in network epidemiology +.SH DESCRIPTION +.PP +Epigrass is a software for visualizing, analyzing and simulating of +epidemic processes on geo-referenced networks. + +EpiGrass can interact with the GRASS GIS from which it can obtain +maps and other geo-referenced information. However, EpiGrass does not +require an installation of the GRASS GIS for most of its features. +.PP +.SH DOCUMENTATION +HTML documentation is available here: +http://epigrass.sourceforge.net/userguide/index.html +.SH HOMEPAGE +http://model-builder.sourceforge.net/ +.SH AUTHOR +This manual page was written by Varun Hiremath , +for the Debian project (but may be used by others). --- epigrass-1.5.1.orig/debian/changelog +++ epigrass-1.5.1/debian/changelog @@ -0,0 +1,40 @@ +epigrass (1.5.1-4) unstable; urgency=low + + * debian/control: + - Depends on python-matplotlib (Closes: #509863, LP: #295625). + - Added myself to Uploaders. + + -- Charles Plessy Sun, 28 Dec 2008 13:32:04 +0100 + +epigrass (1.5.1-3) unstable; urgency=low + + * Change Build-Depends: python-central (>= 0.6.0) (Closes: #472034) + * debian/rules: Support new directory structure of python-central + + -- Varun Hiremath Sat, 22 Mar 2008 21:12:49 +0530 + +epigrass (1.5.1-2) unstable; urgency=low + + * Move package to debian-med on alioth + * Set Debian-Med Packaging Team as Maintainer + * Add myself and Torsten to Uploaders + * Set new Vcs-{Svn, Browser} and Homepage headers + * Bump Standards-Version to 3.7.3 + * Add desktop.diff patch to fix upstream desktop file + * Add some missing dependencies + * Cleanup debian/rules + + -- Varun Hiremath Wed, 27 Feb 2008 21:59:52 +0530 + +epigrass (1.5.1-1) unstable; urgency=low + + * new upstream version + + -- Torsten Werner Fri, 05 Oct 2007 21:32:41 +0200 + +epigrass (1.4.7-1) unstable; urgency=low + + * Initial release (Closes: #401577) + + -- Varun Hiremath Mon, 4 Dec 2006 23:54:51 +0530 + --- epigrass-1.5.1.orig/debian/patches/series +++ epigrass-1.5.1/debian/patches/series @@ -0,0 +1,3 @@ +sqlite3.diff +desktop.diff +setup.diff --- epigrass-1.5.1.orig/debian/patches/sqlite3.diff +++ epigrass-1.5.1/debian/patches/sqlite3.diff @@ -0,0 +1,14 @@ +Index: epigrass-1.5.1/Epigrass/manager.py +=================================================================== +--- epigrass-1.5.1.orig/Epigrass/manager.py 2008-02-27 21:45:21.000000000 +0530 ++++ epigrass-1.5.1/Epigrass/manager.py 2008-02-27 21:45:41.000000000 +0530 +@@ -18,7 +18,8 @@ + import encodings.utf_8 + import encodings.latin_1 + import dataObject as DO +-import sqlite3, MySQLdb ++import MySQLdb ++from pysqlite2 import dbapi2 as sqlite3 + #import pycallgraph + + # Import Psyco if available --- epigrass-1.5.1.orig/debian/patches/setup.diff +++ epigrass-1.5.1/debian/patches/setup.diff @@ -0,0 +1,19 @@ +Index: epigrass-1.5.1/setup.py +=================================================================== +--- epigrass-1.5.1.orig/setup.py 2008-02-27 16:21:46.000000000 +0530 ++++ epigrass-1.5.1/setup.py 2008-02-27 16:23:40.000000000 +0530 +@@ -6,7 +6,6 @@ + #from distutils.core import setup + + demos = glob('demos/*') +-demos.remove('demos/CVS') + + setup(name='epigrass', + version='1.5.1', +@@ -24,5 +23,5 @@ + scripts = ['epigrass.py'], + include_package_data = True, + package_data = {'':['INSTALL','README','COPYING','epigrass.desktop']}, +- data_files = [('/usr/share/pixmaps',['egicon.png']),('/usr/share/doc/epigrass/demos',demos),('/usr/share/doc/epigrass/',['docs/userguide.pdf']),('/usr/share/applications',['epigrass.desktop'])] ++ data_files = [('/usr/share/pixmaps',['egicon.png']),('/usr/share/doc/epigrass/demos',demos),('/usr/share/applications',['epigrass.desktop'])] + ) --- epigrass-1.5.1.orig/debian/patches/desktop.diff +++ epigrass-1.5.1/debian/patches/desktop.diff @@ -0,0 +1,16 @@ +Index: epigrass-1.5.1/epigrass.desktop +=================================================================== +--- epigrass-1.5.1.orig/epigrass.desktop 2008-02-27 16:37:00.000000000 +0530 ++++ epigrass-1.5.1/epigrass.desktop 2008-02-27 16:39:12.000000000 +0530 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=Epigrass + Comment=Epidemics Simulator + GenericName=Epidemics Simulator +@@ -8,4 +7,4 @@ + Type=Application + StartupNotify=false + Terminal=false +-Categories=Science ++Categories=Education;Science