cubicweb/skeleton/debian/rules.tmpl
author Jérémy Bobbio <jeremy.bobbio@irq7.fr>
Wed, 10 Jul 2019 14:57:58 +0200
branch3.26
changeset 12689 376168d1b14a
child 12709 280c9db41038
permissions -rw-r--r--
[skeleton] Update Debian packaging template Here are multiple updates to the Debian packaging template provided when running `cubicweb-ctl newcube`: * Switch to source format 3.0 (quilt). * Switch to debhelper 9. * Switch to dh-python. * Add Python 3 packages. * Name the binary packages `python-cubicweb-CUBENAME` and `python3-cubicweb-CUBENAME` instead of just `cubicweb-CUBENAME` (which is still the source package). * Populate Depends using dh_python{2,3} support for Python requirements. * Run test suite at build time using pytest. * Add autopkgtest to run test suite against the installed package. * Bump Standards-Version to 4.3.0.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12689
376168d1b14a [skeleton] Update Debian packaging template
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     1
#!/usr/bin/make -f
376168d1b14a [skeleton] Update Debian packaging template
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     2
376168d1b14a [skeleton] Update Debian packaging template
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     3
export PYBUILD_NAME = %(distname)s
376168d1b14a [skeleton] Update Debian packaging template
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     4
export PYBUILD_OPTION = --test-pytest
376168d1b14a [skeleton] Update Debian packaging template
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     5
376168d1b14a [skeleton] Update Debian packaging template
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     6
%%:
376168d1b14a [skeleton] Update Debian packaging template
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     7
	dh $@ --with python2,python3 --buildsystem=pybuild