File: rules

package info (click to toggle)
python-pyface 4.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 9,512 kB
  • ctags: 6,310
  • sloc: python: 30,944; makefile: 82; sh: 5
file content (18 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_COMPRESS_EXCLUDE		:= .py
DEB_PYTHON_INSTALL_ARGS_ALL 	+= --single-version-externally-managed
PYSHARED			 = $(DEB_DESTDIR)/usr/share/pyshared
PYLIBS               = $(DEB_DESTDIR)/usr/lib/python*

install/python-pyface::
	find $(DEB_DESTDIR) -name 'image_LICENSE.txt' -delete

binary-predeb/python-pyface::
	find $(PYLIBS) -type f | xargs chmod 644

get-orig-source:
	-uscan --force-download --rename