[Python-modules-commits] [python-cryptography] 04/06: Remove some workarounds from rules that should no longer be necessary.

Tristan Seligmann mithrandi at moszumanska.debian.org
Fri Jun 3 14:06:30 UTC 2016


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

mithrandi pushed a commit to branch master
in repository python-cryptography.

commit 3a1f59a18fae56a1dd2b67e7922bffaf802b6380
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Fri Jun 3 15:21:14 2016 +0200

    Remove some workarounds from rules that should no longer be necessary.
---
 debian/changelog |  1 +
 debian/rules     | 17 -----------------
 2 files changed, 1 insertion(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e29f88f..ea654cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 python-cryptography (1.3.4-1) unstable; urgency=medium
 
   * New upstream release.
+  * Remove some workarounds from rules that should no longer be necessary.
 
  -- Tristan Seligmann <mithrandi at debian.org>  Fri, 03 Jun 2016 15:20:10 +0200
 
diff --git a/debian/rules b/debian/rules
index 6c89379..3f0a517 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,23 +24,6 @@ override_dh_auto_clean:
 	       cryptography/hazmat/primitives/__pycache__
 
 
-override_dh_python2:
-	dh_python2
-	# Remove "cffi" from requires after dh_python has seen it (so that the
-	# pydist file takes effect), because it is not actually needed at
-	# runtime.
-	sed -i '/^cffi/d' \
-	    debian/python-cryptography/usr/lib/python*/dist-packages/cryptography*.egg-info/requires.txt
-
-
-override_dh_python3:
-	dh_python3
-	rm -rf debian/python3-cryptography/usr/lib/python3.?
-	# See comment in override_dh_python2
-	sed -i '/^cffi/d' \
-	    debian/python3-cryptography/usr/lib/python3/dist-packages/cryptography*.egg-info/requires.txt
-
-
 ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
 override_dh_auto_build:
 	dh_auto_build

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



More information about the Python-modules-commits mailing list