File: rules

package info (click to toggle)
turbojson 0.9.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 52 kB
  • ctags: 41
  • sloc: python: 104; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 735 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM := pysupport

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

DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed --install-lib usr/share/python-support/python-turbojson --install-data usr/share/doc/python-turbojson

binary-post-install/python-turbojson::
	mv debian/python-turbojson/usr/share/python-support/python-turbojson/TurboJson-${DEB_UPSTREAM_VERSION}dev-py*.egg-info \
	   debian/python-turbojson/usr/share/python-support/python-turbojson/TurboJson-${DEB_UPSTREAM_VERSION}dev.egg-info
	-rm -rf debian/python-turbojson/usr/lib/