skeleton/debian/rules
author Rémi Cardona <remi.cardona@free.fr>
Sun, 27 Jul 2014 14:57:51 +0200
changeset 10313 ae9e23cf8790
parent 10130 ae518e501179
child 10795 839ea43f4d5b
permissions -rwxr-xr-x
[rset] Deprecate the 'encoded' argument to ResultSet.printable_rql() It's hardly used at all, and when used inside CubicWeb, it's only set as false. Better make sure that this function always returns a proper unicode string and let the caller handle conversion on its own.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     1
#!/usr/bin/make -f
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     2
10130
ae518e501179 [skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr>
parents: 10103
diff changeset
     3
export NO_SETUPTOOLS=1
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     4
10130
ae518e501179 [skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr>
parents: 10103
diff changeset
     5
%:
ae518e501179 [skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr>
parents: 10103
diff changeset
     6
	dh $@ --with python2
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     7
10130
ae518e501179 [skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr>
parents: 10103
diff changeset
     8
override_dh_auto_install:
ae518e501179 [skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr>
parents: 10103
diff changeset
     9
	dh_auto_install
1449
7751785c0815 remove .egg-info file in cube's debian/rule template
sylvain.thenault@logilab.fr
parents: 0
diff changeset
    10
	# remove generated .egg-info file
10130
ae518e501179 [skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr>
parents: 10103
diff changeset
    11
	rm -rf debian/*/usr/lib/python*
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    12
10130
ae518e501179 [skeleton] simplify debian rules file
Julien Cristau <julien.cristau@logilab.fr>
parents: 10103
diff changeset
    13
override_dh_python2:
10103
1d648d7f072e [skeleton/debian] use dh_python2 instead of dh_pysupport for new cubes
Julien Cristau <julien.cristau@logilab.fr>
parents: 9271
diff changeset
    14
	dh_python2 -i /usr/share/cubicweb