File: rules

package info (click to toggle)
poetry-core 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,608 kB
  • sloc: python: 34,630; ansic: 49; makefile: 31; sh: 9
file content (20 lines) | stat: -rwxr-xr-x 585 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
#! /usr/bin/make -f

export PYBUILD_NAME=poetry-core
export PYBUILD_TEST_PYTEST=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# ignore tests that read the source pyproject.toml file
export PYBUILD_TEST_ARGS=-k 'not test_version_is_synced'

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	find debian -type f -name "*LICENSE*" -delete
	find debian -type f -name "*LICENCE*" -delete
	find debian -type f -name "vendor.txt" -delete
	find debian -type f -name "*COPYING*" -delete
	# this is from tests
	#find . -name "*extended*" -type d -exec rm  -rf {} +