| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
export PYBUILD_NAMEscip-debian debian django-markupfield 2.0.1-3 django-markupfield/rules/PYBUILD_NAME.=django-markupfield |
| 7 |
|
| 8 |
%scip-debian debian django-markupfield 2.0.1-3 django-markupfield/rules/`%`().: |
| 9 |
dh $@ --buildsystem pybuild --without=single-binary |
| 10 |
|
| 11 |
override_dh_auto_buildscip-debian debian django-markupfield 2.0.1-3 django-markupfield/rules/override_dh_auto_build().: |
| 12 |
set -e; \ |
| 13 |
for loc in markupfield/locale/*; do \ |
| 14 |
python3 setup.py compile_catalog --directory markupfield/locale/ --locale $$(basename $$loc) --domain django; \ |
| 15 |
done |
| 16 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). |
| 17 |
|
| 18 |
override_dh_auto_testscip-debian debian django-markupfield 2.0.1-3 django-markupfield/rules/override_dh_auto_test().: |
| 19 |
ifeq (,$(filterscip-debian debian django-markupfield 2.0.1-3 django-markupfield/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian django-markupfield 2.0.1-3 django-markupfield/rules/DEB_BUILD_OPTIONS.))) |
| 20 |
set -e; \ |
| 21 |
for python in $(shell py3versions -r); do \ |
| 22 |
$$python $$(which django-admin) test --settings=markupfield.tests.settings --pythonpath=. ; \ |
| 23 |
done |
| 24 |
endif |