File: rules

package info (click to toggle)
python-repoze.who-plugins 20090913-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,448 kB
  • ctags: 713
  • sloc: python: 2,684; makefile: 180; sh: 11
file content (24 lines) | stat: -rwxr-xr-x 714 bytes parent folder | download
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
DEB_PYTHON_SYSTEM = pysupport
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/dpatch.mk

PKG = python-repoze.who-plugins
UPSTREAMS = \
	repoze.who-friendlyform \
	repoze.who.plugins.ldap \
	repoze.who.plugins.openid \
	repoze.who.plugins.sa \
	repoze.who-testutil \
	$(NULL)
export SUBDIRS = $(UPSTREAMS)

DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed

# avoid installing tests: useless at runtime and prone to name clashes
install/$(PKG)::
	rm -rf debian/$(PKG)/usr/lib/python*/site-packages/tests/
	rm -f debian/$(PKG)/usr/lib/python*/site-packages/*.pth

-include debian/get-orig-source.mk