Changes

Jump to: navigation, search

Debian

1,127 bytes added, 11:07, 12 February 2014
m
webapp package
#dh_auto_install
python setup.py --server install --root=debian/python-gramps-webapp --install-layout=deb
 
# Make css style sheets and templates non-executable
override_dh_fixperms:
dh_fixperms
chmod a-x $(CURDIR)/debian/python-gramps-webapp/usr/share/gramps/css/Web_*.css
chmod a-x $(CURDIR)/debian/python-gramps-webapp/usr/share/gramps/templates/*.html
 
# Avoid compressing COPYING file so that it can appear in the "About" dialog
override_dh_compress:
#dh_compress -X COPYING
 
* python 3
 
Control:
 
Package: python3-gramps-webapp
Architecture: all
Depends:
python3-django,
python3-sqlite,
${misc:Depends},
${python3:Depends}
 
Rules:
 
#!/usr/bin/make -f
 
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS=-v
 
%:
dh [email protected] --with python3
 
# Override auto test because upstream do not use the standard unittest discover
override_dh_auto_test:
 
# Override of auto_build
override_dh_auto_build:
python3 setup.py --server build
 
# Override of auto_install to remove information from package
override_dh_auto_install:
#dh_auto_install
python3 setup.py --server install --root=debian/python-gramps-webapp --install-layout=deb
# Make css style sheets and templates non-executable

Navigation menu