| 1 |
|
| 2 |
|
| 3 |
UPSTREAM_GITscip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/UPSTREAM_GIT. := https://github.com/gabrielfalcao/sure.git |
| 4 |
include /usr/share/openstack-pkg-tools/pkgos.make |
| 5 |
|
| 6 |
%scip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/`%`().: |
| 7 |
dh $@ --buildsystem=pybuild --with python3 |
| 8 |
|
| 9 |
override_dh_auto_cleanscip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/override_dh_auto_clean().: |
| 10 |
rm -rf build |
| 11 |
find . -iname '*.pyc' -delete |
| 12 |
for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done |
| 13 |
rm -f .coverage |
| 14 |
|
| 15 |
override_dh_auto_buildscip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/override_dh_auto_build().: |
| 16 |
echo "Do nothing..." |
| 17 |
|
| 18 |
override_dh_auto_installscip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/override_dh_auto_install().: |
| 19 |
pkgos-dh_auto_installscip-debian debian debhelper . dh_auto_install(). --no-py2 |
| 20 |
|
| 21 |
override_dh_auto_testscip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/override_dh_auto_test().: |
| 22 |
ifeq (,$(findstringscip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/findstring. nocheck, $(DEB_BUILD_OPTIONSscip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/DEB_BUILD_OPTIONS.))) |
| 23 |
set -x ; set -e ; for i in $(PYTHON3S) ; do \ |
| 24 |
python$$i -m pytest -v tests -k "not test_context_is_not_optional and not test_depends_on_failing_due_nothing_found and not test_depends_on_failing_due_not_calling_a_previous_action" ; \ |
| 25 |
done |
| 26 |
endif |
| 27 |
|
| 28 |
override_dh_python3scip-debian debian python-sure 2.0.1+git.2023.02.06.3aef950b7c-5 python-sure/rules/override_dh_python3().: |
| 29 |
dh_python3scip-debian debian debhelper . dh_python3(). --shebang=/usr/bin/python3 |