debianize for dh_python2 support

svn: r21821
This commit is contained in:
Jérôme Rapinat 2013-03-31 17:07:21 +00:00
parent 85300edd61
commit 49ed4e0f53
3 changed files with 10 additions and 28 deletions

13
debian/control vendored
View File

@ -1,20 +1,15 @@
Source: gramps
Maintainer: Gramps Development Team <benny.malengier@gmail.com>
Maintainer: Gramps Development Team
Section: python
Priority: optional
Build-Depends-Indep: libxml-parser-perl, gettext, intltool
Build-Depends: debhelper (>= 7), python-support (>= 0.8.4)
Standards-Version: 3.8.4
Build-Depends: python-all (>= 2.7.0), debhelper (>= 7.4.3)
Standards-Version: 3.9.1
Homepage: http://www.gramps-project.org/
XS-Python-Version: current
Package: python-gramps
Package: gramps
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-gobject (>= 3.3.2)
Recommends: python-pyicu, python-osmgpsmap, graphviz, xdg-utils
Suggests: ttf-freefont, python-enchant, python-gtkspell, gexiv2
XB-Python-Version: ${python:Versions}
Provides: ${python:Provides}
Description: Gramps (Genealogical Research and Analysis Management
Programming System) is a full featured genealogy program supporting
a Python based plugin system.

View File

@ -6,9 +6,9 @@ set -e
# pycentral does not remove normally remove its symlinks on an
# upgrade. Since we're using python-support, however, those symlinks
# will be broken. This tells python-central to clean up any symlinks.
if [ -e /var/lib/dpkg/info/python-gramps.list ] && which pycentral >/dev/null 2>&1
if [ -e /var/lib/dpkg/info/gramps.list ] && which pycentral >/dev/null 2>&1
then
pycentral pkgremove python-gramps
pycentral pkgremove gramps
fi
#DEBHELPER#

19
debian/rules vendored
View File

@ -1,22 +1,9 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.6.0 at
# Wed, 27 Mar 2013 14:11:45 +0100
# Unset the environment variables set by dpkg-buildpackage. (This is
# necessary because distutils is brittle with compiler/linker flags
# set. Specifically, packages using f2py will break without this.)
unexport CPPFLAGS
unexport CFLAGS
unexport CXXFLAGS
unexport FFLAGS
unexport LDFLAGS
#exports specified using stdeb Setup-Env-Vars:
export DH_OPTIONS=--buildsystem=python_distutils
# This file was automatically generated by stdeb 0.6.0+git at
# Sun, 31 Mar 2013 16:54:38 +0200
%:
dh $@
dh $@ --with python2 --buildsystem=python_distutils