1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
# Don't compress .py files
DEB_COMPRESS_EXCLUDE := .py
DEB_DESTDIR=debian/python-pysnmp4
binary-install/python-pysnmp4::
rm -f debian/python-pysnmp4/$(cdbs_python_support_path)/pysnmp/__init__.py
binary-install/python-pysnmp-common::
dh_pysupport -ppython-pysnmp-common
dh_python -ppython-pysnmp-common
|