File: rules

package info (click to toggle)
colorspacious 1.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,084 kB
  • sloc: python: 1,867; javascript: 204; makefile: 152
file content (20 lines) | stat: -rwxr-xr-x 694 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/make -f
export LC_ALL=C.UTF-8
export PYBUILD_NAME=colorspacious
export PYBUILD_TEST_ARGS=-v colorspacious/*.py
%:
	dh $@ --buildsystem=pybuild

#override_dh_auto_build-indep:
#ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
#	cd doc && \
#	PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
#	sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/
#	rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees
#endif

before-pybuild-autopkgtest:
	# Pull test items that are otherwise uncaught by pybuild-autodep8.
	mkdir -pv ../../autopkgtest_tmp/build
	cp -rv /usr/lib/python3/dist-packages/colorspacious \
		../../autopkgtest_tmp/build/colorspacious