summaryrefslogtreecommitdiff
path: root/python-freeipa/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'python-freeipa/debian/rules')
-rwxr-xr-xpython-freeipa/debian/rules16
1 files changed, 16 insertions, 0 deletions
diff --git a/python-freeipa/debian/rules b/python-freeipa/debian/rules
new file mode 100755
index 0000000..81201ef
--- /dev/null
+++ b/python-freeipa/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export PYBUILD_NAME=freeipa
+export PYBUILD_DISABLE=test
+
+build3vers := $(shell py3versions -sv)
+
+%:
+ dh $@ --with python3 --buildsystem pybuild
+
+override_dh_auto_configure:
+ dh_auto_configure
+
+override_dh_auto_clean:
+ -rm -rf src/python_freeipa.egg-info/
+ dh_auto_clean
bgstack15