| 1 |
#! /usr/bin/make -f |
| 2 |
export LC_ALL=C.UTF-8 |
| 3 |
export PYBUILD_NAME=colorspacious |
| 4 |
export PYBUILD_TEST_ARGS=-v colorspacious/*.py |
| 5 |
%: |
| 6 |
dh $@ --buildsystem=pybuild |
| 7 |
|
| 8 |
#override_dh_auto_build-indep: |
| 9 |
#ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 10 |
# cd doc && \ |
| 11 |
# PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \ |
| 12 |
# sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/ |
| 13 |
# rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees |
| 14 |
#endif |
| 15 |
|
| 16 |
before-pybuild-autopkgtest: |
| 17 |
# Pull test items that are otherwise uncaught by pybuild-autodep8. |
| 18 |
mkdir -pv ../../autopkgtest_tmp/build |
| 19 |
cp -rv /usr/lib/python3/dist-packages/colorspacious \ |
| 20 |
../../autopkgtest_tmp/build/colorspacious |