File: rules

package info (click to toggle)
python-requests-cache 0.9.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,544 kB
  • sloc: python: 4,747; makefile: 12; javascript: 8
file content (22 lines) | stat: -rwxr-xr-x 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export PYBUILD_NAME=requests_cache
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-requests-cache#n43
export PYBUILD_TEST_ARGS=--ignore=tests/integration

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	# $(MAKE) -C docs html

override_dh_installexamples:
	dh_installexamples -ppython-requests-cache-doc examples/*

override_dh_installdocs:
	#dh_installdocs -ppython-requests-cache-doc docs/_build/html
	dh_installdocs -A README.md

override_dh_installchangelogs:
	dh_installchangelogs -A HISTORY.md