idella4     15/01/14 00:32:22

  Added:                0.7-setup.patch
  Log:
  revbump; re-add pypy support, update and tidy deps, patch (from upstream) to 
correct their own oversight in setup.py re use of enum34, ebuild cross checked 
and tested by Arfrever.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/cryptography/files/0.7-setup.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cryptography/files/0.7-setup.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cryptography/files/0.7-setup.patch?rev=1.1&content-type=text/plain

Index: 0.7-setup.patch
===================================================================
https://github.com/pyca/cryptography/commit/5bea5ca0233be05e09d8c62fdeae86187e73a48e
diff --git a/setup.py b/setup.py
index ead5ec4..32a87ba 100644
--- a/setup.py
+++ b/setup.py
@@ -36,12 +36,14 @@
 
 requirements = [
     CFFI_DEPENDENCY,
-    "enum34",
     "pyasn1",
     SIX_DEPENDENCY,
     SETUPTOOLS_DEPENDENCY
 ]
 
+if sys.version_info < (3, 4):
+    requirements.append("enum34")
+
 # If you add a new dep here you probably need to add it in the tox.ini as well
 test_requirements = [
     "pytest",





Reply via email to