File: rules

package info (click to toggle)
python-crossrefapi 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 264 kB
  • sloc: python: 1,321; makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 503 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 = crossrefapi
export PYBUILD_TEST_ARGS = -k 'not test_integration and not test_work_agency_message and not test_work_agency_header'

# These values will intentionally fail with
# 'requests.exceptions.InvalidURL: Proxy URL had no scheme'
# in order not to make any network requests during tests

export http_proxy = 127.0.0.1
export https_proxy = 127.0.0.1

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

execute_after_dh_auto_clean:
	rm -rf crossrefapi.egg-info