File: rules

package info (click to toggle)
cached-property 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 172 kB
  • sloc: python: 388; makefile: 11; sh: 10
file content (17 lines) | stat: -rwxr-xr-x 429 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 := cached-property

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

override_dh_auto_clean:
	rm -rf $(PACKAGE_NAME).egg-info
	rm -rf PKG-INFO
	dh_auto_clean

override_dh_install:
	dh_install
	# Copy the test suite to a decent location
	mkdir -p debian/python3-cached-property/usr/share/python3-cached-property
	cp -r tests/ debian/python3-cached-property/usr/share/python3-cached-property