Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-tools / debian / rules @ de1e0489

History | View | Annotate | Download (596 Bytes)

1
#!/usr/bin/make -f
2

    
3
%:
4
	dh $@ --with python2
5

    
6
package=snf-pithos-tools
7

    
8
override_dh_auto_install:
9
	dh_auto_install
10
	
11
	# this package provides the pithos namespace __init__.py
12
	# because snf-pithos-backend also provides this file
13
	# Replaces setting has been added to control file to avoid
14
	# dpkg existing files errors
15
	for py in $(shell pyversions -vr debian/control); do \
16
		cp pithos/__init__.py debian/$(package)/usr/lib/python$$py/*-packages/pithos/; \
17
	done
18

    
19
	for py in $(shell pyversions -vr debian/control); do \
20
		rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
21
	done
22