File: rules

package info (click to toggle)
smart-open 7.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,004 kB
  • sloc: python: 8,046; sh: 90; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 548 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=smart-open
export PYBUILD_TEST_ARGS=--ignore tests/test_gcs.py -k 'not test_gs_uri and not test_scheme'

export http_proxy=127.0.0.1:9
export https_proxy=127.0.0.1:9
export HTTP_PROXY=127.0.0.1:9
export HTTPS_PROXY=127.0.0.1:9

export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1

%:
	dh $@ --buildsystem=pybuild

# FIXME: Remove this once gcs is packaged
execute_before_dh_auto_configure:
	rm -f smart_open/gcs.py
	rm -f smart_open/tests/test_gcs.py

execute_after_dh_auto_install:
	find debian/ -name LICENSE -delete