File: rules

package info (click to toggle)
libcloud 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 26,564 kB
  • sloc: python: 137,887; xml: 44,713; sh: 14; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 614 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=libcloud
export PYBUILD_BEFORE_TEST=ln -s {dir}/libcloud/test/secrets.py-dist {build_dir}/libcloud/test/secrets.py
export PYBUILD_AFTER_TEST=rm -f {build_dir}/libcloud/test/secrets.py

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

override_dh_auto_install:
	dh_installchangelogs CHANGES.rst
	dh_auto_install

override_dh_fixperms:
	dh_fixperms
	chmod 644 debian/python3-libcloud/usr/lib/python3/dist-packages/libcloud/test/loadbalancer/fixtures/nttcis/*.key
	chmod 644 debian/python3-libcloud/usr/lib/python3/dist-packages/libcloud/test/loadbalancer/fixtures/nttcis/*.crt