Jérôme Rapinat 2013-12-04 12:24:30 +01:00
parent a038cc0432
commit 5c8781dc86
3 changed files with 15 additions and 9 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
gramps (4.0.2) precise; urgency=low
* experimental .deb for gramps 4.0.2
-- Jérôme Rapinat <romjerome@yahoo.fr> Wed, 04 Dec 2013 10:23:36 +0100
gramps (4.0.1-2) precise; urgency=low
* bug 6918: make package more compliant according to Debian policy

6
debian/control vendored
View File

@ -2,18 +2,18 @@ Source: gramps
Section: python
Priority: optional
Maintainer: Ross Gammon <rossgammon@mail.dk>
Build-Depends-Indep: libxml-parser-perl, gettext, python, intltool, dh-python, python-setuptools
Build-Depends-Indep: libxml-parser-perl, gettext, python, intltool, python-setuptools
Build-Depends: debhelper (>= 9.0.0)
Standards-Version: 3.9.5
Vcs-Git: git://anonscm.debian.org/collab-maint/gramps.git
Vcs-browser: http://anonscm.debian.org/git/collab-maint/gramps.git
Homepage: http://www.gramps-project.org/
Package: gramps
Package: python-gramps
Architecture: all
Depends: ${python:Depends}, librsvg2-2, xdg-utils, python-gobject (>= 3.3.2), gir1.2-gtk-3.0, python-gi-cairo, python-bsddb3, ${misc:Depends}
Recommends: graphviz, python-pyicu
Suggests: ttf-freefont, python-gtkspell, rcs, python3-pil.imagetk, python-pygoocanvas, python-webkit, gir1.2-gexiv2-0.4
Suggests: ttf-freefont, python-gtkspell, rcs, python-pil.imagetk, python-pygoocanvas, python-webkit, gir1.2-gexiv2-0.4
Description: Genealogical research program
GRAMPS is an Open Source genealogy program written in Python, using
the GTK/GNOME interface. It is an extremely flexible program fitting

12
debian/rules vendored
View File

@ -2,10 +2,10 @@
# Remember to remove verbose option once testing is finished
DH_VERBOSE=1
export PYBUILD_NAME=gramps
export PYBUILD_NAME=python-gramps
%:
dh $@ --with python --buildsystem=pybuild
dh $@ --with python2
# Override auto test because upstream do not use the standard unittest discover
override_dh_auto_test:
@ -16,10 +16,10 @@ override_dh_auto_build:
# Override of auto_install to force python 3
override_dh_auto_install:
python setup.py install --root=debian/gramps --install-layout=deb
python setup.py install --root=debian/python-gramps --install-layout=deb
# Remove duplicate copyright information
rm debian/gramps/usr/share/doc/gramps/COPYING
rm debian/python-gramps/usr/share/doc/gramps/COPYING
# Remove install file as it is not needed by package users
rm debian/gramps/usr/share/doc/gramps/INSTALL
rm debian/python-gramps/usr/share/doc/gramps/INSTALL
# Remove duplicate license information
rm debian/gramps/usr/share/doc/gramps/LICENSE
rm debian/python-gramps/usr/share/doc/gramps/LICENSE