update DEBIAN section for matching python3

This commit is contained in:
Jérôme Rapinat 2015-05-28 19:36:24 +02:00
parent aad2aea73d
commit ae227084d1
2 changed files with 14 additions and 14 deletions

10
debian/control vendored
View File

@ -15,27 +15,27 @@ Standards-Version: 3.9.5
Vcs-Git: git://anonscm.debian.org/collab-maint/gramps.git Vcs-Git: git://anonscm.debian.org/collab-maint/gramps.git
Vcs-browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gramps.git Vcs-browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gramps.git
Homepage: http://www.gramps-project.org/ Homepage: http://www.gramps-project.org/
X-Python-Version: >= 2.7 X-Python-Version: >= 3.0
Package: python-gramps Package: python-gramps
Architecture: all Architecture: all
Depends: Depends:
gir1.2-gtk-3.0, gir1.2-gtk-3.0,
librsvg2-2, librsvg2-2,
python-gi, python3-gi,
python-gi-cairo, python3-gi-cairo,
xdg-utils, xdg-utils,
${misc:Depends}, ${misc:Depends},
${python:Depends} ${python:Depends}
Recommends: Recommends:
graphviz, graphviz,
libosmgpsmap-1.0-0-dev, libosmgpsmap-1.0-0-dev,
python-pyicu python3-pyicu
Suggests: Suggests:
fonts-freefont-ttf, fonts-freefont-ttf,
gir1.2-gexiv2-0.4, gir1.2-gexiv2-0.4,
gir1.2-gtk-gtkspell3-3.0, gir1.2-gtk-gtkspell3-3.0,
python-pil, python3-pil,
rcs rcs
Description: Genealogical research program Description: Genealogical research program
GRAMPS is an Open Source genealogy program written in Python, using GRAMPS is an Open Source genealogy program written in Python, using

18
debian/rules vendored
View File

@ -5,32 +5,32 @@ export DH_VERBOSE=1
export DH_OPTIONS=-v export DH_OPTIONS=-v
%: %:
dh $@ --with python2 dh $@ --with python3
# Override auto test because upstream do not use the standard unittest discover # Override auto test because upstream do not use the standard unittest discover
override_dh_auto_test: override_dh_auto_test:
# Override of auto_build # Override of auto_build
override_dh_auto_build: override_dh_auto_build:
python setup.py build python3 setup.py build
# Override of auto_install to remove information from package # Override of auto_install to remove information from package
override_dh_auto_install: override_dh_auto_install:
#dh_auto_install #dh_auto_install
# Remove duplicate copyright information # Remove duplicate copyright information
#rm $(CURDIR)/debian/python-gramps/usr/share/doc/gramps/COPYING #rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/COPYING
# Remove install file as it is not needed by package users # Remove install file as it is not needed by package users
#rm $(CURDIR)/debian/python-gramps/usr/share/doc/gramps/INSTALL #rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/INSTALL
# Remove duplicate license information # Remove duplicate license information
#rm $(CURDIR)/debian/python-gramps/usr/share/doc/gramps/LICENSE #rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/LICENSE
python setup.py install --root=debian/python-gramps --install-layout=deb python3 setup.py install --root=debian/python3-gramps --install-layout=deb
# Make css style sheets and png icons non-executable # Make css style sheets and png icons non-executable
override_dh_fixperms: override_dh_fixperms:
dh_fixperms dh_fixperms
chmod a-x $(CURDIR)/debian/python-gramps/usr/share/gramps/css/Web_*.css chmod a-x $(CURDIR)/debian/python3-gramps/usr/share/gramps/css/Web_*.css
chmod a-x $(CURDIR)/debian/python-gramps/usr/share/gramps/images/22x22/gramps*.png chmod a-x $(CURDIR)/debian/python3-gramps/usr/share/gramps/images/22x22/gramps*.png
chmod a-x $(CURDIR)/debian/python-gramps/usr/share/gramps/images/16x16/gramps*.png chmod a-x $(CURDIR)/debian/python3-gramps/usr/share/gramps/images/16x16/gramps*.png
# Avoid compressing COPYING file so that it can appear in the "About" dialog # Avoid compressing COPYING file so that it can appear in the "About" dialog
override_dh_compress: override_dh_compress: