[Python-modules-commits] [pycryptodome] 04/04: Add hardening and fix tests

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Wed Jun 7 07:14:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

mans0954 pushed a commit to branch master
in repository pycryptodome.

commit 076f269ec8e7da8619575f1e399ade9f9004f0ff
Author: Christopher Hoskin <mans0954 at debian.org>
Date:   Wed Jun 7 07:59:57 2017 +0100

    Add hardening and fix tests
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2937048..747b13a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,15 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 # This file was automatically generated by stdeb 0.8.5 at
 # Tue, 06 Jun 2017 15:17:02 +0100
 export PYBUILD_NAME=pycryptodome
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+        PYBUILD_TEST_ARGS="python{version} -m Crypto.SelfTest {build_dir}/" dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pycryptodome.git



More information about the Python-modules-commits mailing list