File: rules

package info (click to toggle)
py7zr 1.0.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,352 kB
  • sloc: python: 9,009; sh: 360; makefile: 197; ansic: 35
file content (24 lines) | stat: -rwxr-xr-x 955 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /usr/bin/make -f

export PYBUILD_NAME=py7zr

# test_compress_* require tests/data/lib, which we removed due to missing copyright
# test_concurrent_futures tries to access internet
# test_bcj_* uses binary files removed dues to missing copyright
# test_cli, test_archive_already_exist, test_volume_creation_wrong_volume_unit uses importlib_metadata which requires an egg-info dir, which we cant build (bdist_egg) because setuptools_scm cant detect a version
export PYBUILD_TEST_ARGS=-k "not test_compress_arm64 \
			  and not test_compress_ppc \
			  and not test_compress_ia64 \
			  and not test_compress_sparc \
			  and not test_compress_armt \
			  and not test_concurrent_futures \
			  and not test_bcj_encode \
			  and not test_bcj_decode \
			  and not test_cli_no_subcommand \
			  and not test_cli_info \
			  and not test_archive_already_exist \
			  and not test_volume_creation_wrong_volume_unit \
			  "

%:
	dh $@ --buildsystem=pybuild