[Python-modules-commits] [python-scrapy] 07/12: Recreate cert.pem before running the tests to avoid errors with OpenSSL 1.1 because of weak keys (512bit).
Michael Fladischer
fladi at moszumanska.debian.org
Thu Feb 2 14:09:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository python-scrapy.
commit aeeadc4b1a6abc732b98aa3c62fadf0dcc148190
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Sun Jan 29 16:54:20 2017 +0100
Recreate cert.pem before running the tests to avoid errors with
OpenSSL 1.1 because of weak keys (512bit).
---
debian/changelog | 2 ++
debian/clean | 1 +
debian/rules | 1 +
3 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fb3a099..dbcbaef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ python-scrapy (1.3.0-1~exp2) UNRELEASED; urgency=medium
* Remove README.Debian as upstream no longer ships embedded libraries.
* Switch to pybuild and add all packages required to run the tests to
Build-Depends-Indep.
+ * Recreate cert.pem before running the tests to avoid errors with
+ OpenSSL 1.1 because of weak keys (512bit).
-- Michael Fladischer <fladi at debian.org> Wed, 25 Jan 2017 11:19:54 +0100
diff --git a/debian/clean b/debian/clean
index 10a7370..1b1671d 100644
--- a/debian/clean
+++ b/debian/clean
@@ -5,3 +5,4 @@ Scrapy.egg-info/entry_points.txt
Scrapy.egg-info/not-zip-safe
Scrapy.egg-info/requires.txt
Scrapy.egg-info/top_level.txt
+tests/keys/cert.pem
diff --git a/debian/rules b/debian/rules
index a247dd0..c83d82f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
# -*- makefile -*-
export PYBUILD_NAME=scrapy
+export PYBUILD_BEFORE_TEST=cd {dir}/tests/keys; cat example-com.key.pem example-com.cert.pem >cert.pem
export DH_ALWAYS_EXCLUDE=license.txt:_sources/:.buildinfo
LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-scrapy.git
More information about the Python-modules-commits
mailing list