| 1 |
|
| 2 |
|
| 3 |
export PYBUILD_NAME=python-dotenv |
| 4 |
export DH_VERBOSE=1 |
| 5 |
export LC_ALL=C.UTF-8 |
| 6 |
export LANG=C.UTF-8 |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
export PYBUILD_TEST_ARGS=-k 'not test_get_default_path and not test_run and not test_run_with_none_value and not test_run_with_other_env' |
| 11 |
|
| 12 |
include /usr/share/dpkg/pkg-info.mk |
| 13 |
|
| 14 |
%: |
| 15 |
dh $@ --with python3 --buildsystem=pybuild |
| 16 |
|
| 17 |
override_dh_auto_clean: |
| 18 |
dh_auto_clean |
| 19 |
rm debian/python-dotenv.1 .cache -rf |
| 20 |
|
| 21 |
override_dh_auto_install: |
| 22 |
find . -name '.nx_file' -delete |
| 23 |
dh_auto_install |
| 24 |
mv debian/python3-dotenv/usr/bin/dotenv debian/python3-dotenv/usr/bin/python-dotenv |
| 25 |
|
| 26 |
override_dh_installman: |
| 27 |
PYTHONPATH=src \ |
| 28 |
help2man -N -L C.UTF-8 \ |
| 29 |
-n ".env file manipulator" \ |
| 30 |
--no-info --version-string="${DEB_VERSION}" \ |
| 31 |
-o debian/python-dotenv.1 \ |
| 32 |
./debian/python3-dotenv/usr/bin/python-dotenv |
| 33 |
dh_installman ./debian/python-dotenv.1 |
| 34 |
|
| 35 |
override_dh_installchangelogs: |
| 36 |
dh_installchangelogs CHANGELOG.md |