3
DEB_PYTHON_SYSTEM := pycentral
4
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
6
include /usr/share/cdbs/1/rules/debhelper.mk
7
include /usr/share/cdbs/1/class/python-distutils.mk
8
include /usr/share/cdbs/1/rules/simple-patchsys.mk
9
include /usr/share/cdbs/1/rules/utils.mk
11
install/python-moovida::
12
# Fix upstream issues.
13
rm -f $(DEB_DESTDIR)/usr/lib/python$(cdbs_python_current_version)/site-packages/*.pth
14
touch $(DEB_DESTDIR)/usr/lib/python$(cdbs_python_current_version)/site-packages/elisa/__init__.py
17
# Renaming the executable is still required.
18
mv $(DEB_DESTDIR)/usr/bin/elisa $(DEB_DESTDIR)/usr/bin/moovida
20
# Doesn't seem needed in Debian, should document how long to keep.
22
-find . -name *\.mo -exec rm -fv {} \;