[Python-modules-commits] r28354 - in packages/python-cryptography/trunk/debian (6 files)

mithrandi at users.alioth.debian.org mithrandi at users.alioth.debian.org
Fri Mar 28 22:57:50 UTC 2014


    Date: Friday, March 28, 2014 @ 22:57:49
  Author: mithrandi
Revision: 28354

* New upstream release.
  - The test vectors are now in a separate top-level package (will be
    packaged in a separate source package, see #742911).
  - Upstream now ships their docs (the previous release was accidentally
    missing the docs); these are placed in a new Debian package
    python-cryptography-doc.

Added:
  packages/python-cryptography/trunk/debian/python-cryptography-doc.docs
Modified:
  packages/python-cryptography/trunk/debian/changelog
  packages/python-cryptography/trunk/debian/control
  packages/python-cryptography/trunk/debian/rules
  packages/python-cryptography/trunk/debian/upstream/signing-key.asc
Deleted:
  packages/python-cryptography/trunk/debian/cffivers.py

Deleted: packages/python-cryptography/trunk/debian/cffivers.py
===================================================================
--- packages/python-cryptography/trunk/debian/cffivers.py	2014-03-28 21:41:34 UTC (rev 28353)
+++ packages/python-cryptography/trunk/debian/cffivers.py	2014-03-28 22:57:49 UTC (rev 28354)
@@ -1,8 +0,0 @@
-import cffi
-import sys
-pkgname = sys.argv[1]
-min = cffi.__version__
-max = min.split('.')
-max[-1] = str(int(max[-1]) + 1)
-max = '.'.join(max)
-print('%s (>= %s), %s (<< %s)' % (pkgname, min, pkgname, max))

Modified: packages/python-cryptography/trunk/debian/changelog
===================================================================
--- packages/python-cryptography/trunk/debian/changelog	2014-03-28 21:41:34 UTC (rev 28353)
+++ packages/python-cryptography/trunk/debian/changelog	2014-03-28 22:57:49 UTC (rev 28354)
@@ -1,3 +1,14 @@
+python-cryptography (0.3-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+    - The test vectors are now in a separate top-level package (will be
+      packaged in a separate source package, see #742911).
+    - Upstream now ships their docs (the previous release was accidentally
+      missing the docs); these are placed in a new Debian package
+      python-cryptography-doc.
+
+ -- Tristan Seligmann <mithrandi at debian.org>  Fri, 28 Mar 2014 23:33:52 +0200
+
 python-cryptography (0.2-1) unstable; urgency=medium
 
   * Initial release. (Closes: #737356)

Modified: packages/python-cryptography/trunk/debian/control
===================================================================
--- packages/python-cryptography/trunk/debian/control	2014-03-28 21:41:34 UTC (rev 28353)
+++ packages/python-cryptography/trunk/debian/control	2014-03-28 22:57:49 UTC (rev 28354)
@@ -21,11 +21,12 @@
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-cryptography/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-cryptography/trunk/
 XS-Python-Version: >= 2.6
-X-Python3-Version: >= 3.2, << 3.4
+X-Python3-Version: >= 3.2
 
 Package: python-cryptography
 Architecture: any
 Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${cffi:Depends}
+Suggests: python-cryptography-doc
 Description: Python library exposing cryptographic recipes and primitives (python 2)
  The cryptography library is designed to be a "one-stop-shop" for
  all your cryptographic needs in Python.
@@ -45,6 +46,7 @@
 Package: python3-cryptography
 Architecture: any
 Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${cffi3:Depends}
+Suggests: python-cryptography-doc
 Description: Python library exposing cryptographic recipes and primitives (python 3)
  The cryptography library is designed to be a "one-stop-shop" for
  all your cryptographic needs in Python.
@@ -62,3 +64,25 @@
   - Extremely error prone APIs, and bad defaults.
  .
  This package contains the Python 3 version of cryptography.
+
+Package: python-cryptography-doc
+Architecture: all
+Depends: ${misc:Depends}
+Section: doc
+Description: Python library exposing cryptographic recipes and primitives (documentation)
+ The cryptography library is designed to be a "one-stop-shop" for
+ all your cryptographic needs in Python.
+ .
+ As an alternative to the libraries that came before it, cryptography
+ tries to address some of the issues with those libraries:
+  - Lack of PyPy and Python 3 support.
+  - Lack of maintenance.
+  - Use of poor implementations of algorithms (i.e. ones with known
+    side-channel attacks).
+  - Lack of high level, "Cryptography for humans", APIs.
+  - Absence of algorithms such as AES-GCM.
+  - Poor introspectability, and thus poor testability.
+  - Extremely error prone APIs, and bad defaults.
+  - Extremely error prone APIs, and bad defaults.
+ .
+ This package contains the documentation for cryptography.

Added: packages/python-cryptography/trunk/debian/python-cryptography-doc.docs
===================================================================
--- packages/python-cryptography/trunk/debian/python-cryptography-doc.docs	                        (rev 0)
+++ packages/python-cryptography/trunk/debian/python-cryptography-doc.docs	2014-03-28 22:57:49 UTC (rev 28354)
@@ -0,0 +1 @@
+docs/

Modified: packages/python-cryptography/trunk/debian/rules
===================================================================
--- packages/python-cryptography/trunk/debian/rules	2014-03-28 21:41:34 UTC (rev 28353)
+++ packages/python-cryptography/trunk/debian/rules	2014-03-28 22:57:49 UTC (rev 28354)
@@ -1,25 +1,23 @@
 #!/usr/bin/make -f
+
 export PYBUILD_NAME=cryptography
 
+# Disable test suite for the moment, because it requires dependencies which are
+# not yet in Debian :(
+export PYBUILD_DISABLE=test
+
+export DH_VERBOSE=1
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
-# This ... awful thing originally borrowed from Vincent Bernat; hopefully there
-# will be a better canonical way to do this in future.
-override_dh_gencontrol:
-	dh_gencontrol -- \
-	    -Vcffi:Depends="$(shell python debian/cffivers.py python-cffi)" \
-	    -Vcffi3:Depends="$(shell python3 debian/cffivers.py python3-cffi)"
 
-
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf cryptography/hazmat/bindings/__pycache__ \
 	       cryptography/hazmat/primitives/__pycache__
 
-# Disable test suite for the moment, because it requires dependencies which are
-# not yet in Debian :(
 
-#override_dh_auto_test:
-#	PYBUILD_SYSTEM=custom \
-#	PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} -m pytest {dir}/tests" dh_auto_test
+override_dh_python3:
+	dh_python3
+	rm -rf debian/python3-cryptography/usr/lib/python3.?

Modified: packages/python-cryptography/trunk/debian/upstream/signing-key.asc
===================================================================
--- packages/python-cryptography/trunk/debian/upstream/signing-key.asc	2014-03-28 21:41:34 UTC (rev 28353)
+++ packages/python-cryptography/trunk/debian/upstream/signing-key.asc	2014-03-28 22:57:49 UTC (rev 28354)
@@ -362,3 +362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1N7XqCz
+gLMFJdHPO60LctbvOHTOx1Scb+AycmymF1HuUFbj1jlYUkwRPOiPvHHWkYQlfeUP
+MPFo/M7Ae5FxKA4PYfJRQl62wsBRNE5k7IwOmstyUUnDZXIxpB+wNvpxQpAvWT8B
+IyAvtlrkrE53frfyd0KUOR0iSHNcWcUL0L6XvsaOYb4i20bP7YE5XoVzzANbXTa1
+wVtz2yNoI7/8BLb2NMIacykUxryYtu6E9cmnwkkAEQEAAYkBHwQYAQIACQUCUiKt
+OwIbDAAKCRAjWuXxKfntmM/yB/91f/17kL4iAS05WgM1xvgmyYJ3FOgP3hyqD5Ur
+YkkmoFoF+r6bfBlW8AeOawYTvXinKdv9sM6q0EmiO+iqAuRRfaXZWCDqZdEpy+lv
+Ev3jhVyuf8O+d8VEILsKia0cmzn6F1UMdp3E9TDgXr1/hMCuABvbfWzEkRQrGHc2
+cWLXXxko3mykZMLkl0MPGjmzEh87RE55hLk5HroXaMtdyz1knfybVnXgOUxMuqc+
++wj499FP1jHvTEEknRopxsMe59+CdsoFBR9xs0Ets7K011P4CMKZZAXVwxF551QL
+xnqe0Tn1t76rxPJKpyvUM+WtakEVPffuQqSkU8dIJgwwXrZo
+=3pQn
+-----END PGP PUBLIC KEY BLOCK-----




More information about the Python-modules-commits mailing list