File: rules

package info (click to toggle)
pyorbital 1.7.3-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 628 kB
  • sloc: python: 3,901; makefile: 123; sh: 8
file content (34 lines) | stat: -rwxr-xr-x 782 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
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1


export PYBUILD_NAME=pyorbital


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


override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. python3 -m sphinx -N -bhtml doc/source/ doc/build/html # HTML generator
endif


override_dh_auto_install:
	dh_auto_install --buildsystem=pybuild
	mv debian/python3-pyorbital/usr/bin/fetch_tles.py debian/python3-pyorbital/usr/bin/fetch_tles


override_dh_python3:
	dh_python3 -ppython3-pyorbital


override_dh_numpy3:
	dh_numpy3 -ppython3-pyorbital