[Python-modules-commits] r16992 - in packages/python-crypto/trunk (17 files)

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Mon May 9 09:44:07 UTC 2011


    Date: Monday, May 9, 2011 @ 09:44:03
  Author: sramacher-guest
Revision: 16992

[svn-inject] Applying Debian modifications (2.3-1) to trunk

Added:
  packages/python-crypto/trunk/debian/
  packages/python-crypto/trunk/debian/changelog
  packages/python-crypto/trunk/debian/clean
  packages/python-crypto/trunk/debian/compat
  packages/python-crypto/trunk/debian/control
  packages/python-crypto/trunk/debian/copyright
  packages/python-crypto/trunk/debian/patches/
  packages/python-crypto/trunk/debian/patches/epydoc-exclude-introspect.patch
  packages/python-crypto/trunk/debian/patches/no-usr-local.patch
  packages/python-crypto/trunk/debian/patches/series
  packages/python-crypto/trunk/debian/python-crypto-doc.doc-base
  packages/python-crypto/trunk/debian/python-crypto-doc.docs
  packages/python-crypto/trunk/debian/python-crypto.docs
  packages/python-crypto/trunk/debian/rules
  packages/python-crypto/trunk/debian/source/
  packages/python-crypto/trunk/debian/source/format
  packages/python-crypto/trunk/debian/watch


Property changes on: packages/python-crypto/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-crypto/trunk/debian/changelog
===================================================================
--- packages/python-crypto/trunk/debian/changelog	                        (rev 0)
+++ packages/python-crypto/trunk/debian/changelog	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,302 @@
+python-crypto (2.3-1) UNRELEASED; urgency=low
+
+  * New maintainer (Closes: #532121).
+  * New upstream release (Closes: #625238).
+  * Switch format to 3.0 (quilt).
+  * Use dh instead of cdbs:
+    - Switch to dh_python2 (Closes: #617001).
+    - Drop Build-Depends on quilt, cdbs, ed, python-central.
+    - Raise required debhelper version to 8.1.0.
+    - Drop XB-Python-Version and depend on python:Depends.
+    - Replace XS-Python-Version by X-Python-Version.
+    - Drop Depends on python-dbg in python-crypto-dbg as dh_python2 will add
+      these dependencies anyway.
+    - Remove unused files patch-mangle.sh and pycompat.
+  * Build-Depend on libgmp-dev.
+  * Build-Depend on python-docutils since the documentation uses reST.
+  * Ship documentation in extra package to satisfy lintian
+    (arch-dep-package-has-big-usr-share).
+  * Bump Standards-Version to 3.9.2.
+  * Convert patches to DEP3.
+  * Remove unused patch m68k-no-O3.patch and doc.patch.
+  * Add patch epydoc-exclude-introspect.patch to update the exclude-introspect
+    field in epydoc to the new module locations.
+  * Convert changelog to DEP5.
+  * Run upstream's test suite.
+  * Add DPMT to Uploaders.
+
+ -- Sebastian Ramacher <s.ramacher at gmx.at>  Sun, 08 May 2011 23:14:36 +0200
+
+python-crypto (2.1.0-2) unstable; urgency=low
+
+  * Added missing .install file (closes: #576478)
+  * Added myself to Uploaders.
+
+ -- Andreas Rottmann <rotty at debian.org>  Wed, 07 Apr 2010 17:24:11 +0200
+
+python-crypto (2.1.0-1) unstable; urgency=low
+
+  * New upstream version. (closes: #561306).
+    - 2.1.0 includes fix for 160-bit DSS key issue (closes: #433563).
+    - The following patches have been obsoleted (fixed by upstream):
+      errata-2.0.1.patch
+      dfsg-adjust.patch
+      aes256-55bytes.patch
+      arc2-buffer-overflow.patch
+      run-tests.patch
+    - The following patches have been updated:
+      no-usr-local.patch:
+        Remove #!/usr/local/bin/python shebang line.
+  * New patches:
+    - doc.patch:
+        Build doc with local source directory.
+
+ -- James Cook <zealcook at gmail.com>  Sun, 28 Feb 2010 10:17:19 +0800
+
+python-crypto (2.0.1+dfsg1-5) unstable; urgency=low
+
+  * Added python-old-doctools to Build-Depends (closes: #568047).
+  * Bumped Standards-Version to 3.8.4 (no changes).
+  
+ -- Andreas Rottmann <rotty at debian.org>  Thu, 11 Feb 2010 00:45:34 +0100
+
+python-crypto (2.0.1+dfsg1-4) unstable; urgency=low
+
+  * Switched to quilt patches:
+    - errata-2.0.1.patch: 
+        Syncs the source tree to the actually released 2.0.1 tarball.
+    - dfsg-adjust.patch:
+        Adjusts the build system to the DFSGified source, to deal with 
+        the removed files.
+    - aes256-55bytes.patch:
+        Fixes the AES256 padding bug (Bug#474177).
+    - arc2-buffer-overflow.patch:
+        Fixes the ARC2 buffer overflow (Bug#516660).
+    - m68k-no-O3.patch: 
+        Workaround GCC 4.0.1 ICE regarding -O3 on m68k. This patch is 
+        deactived -- hopefully this is fixed in recent GCC.
+  * New patches:
+    - run-tests.patch:
+        Non-Debian part of the patch by Kees Cook <kees at debian.org> 
+        to run test suite during build (closes: #518202).
+    - no-usr-local.patch:
+        Remove #!/usr/local/bin/python shebang line from Util/RFC1751.py.
+  * Run test suite during build.
+  * Added ${misc:Depends}.
+  * Added ${shlib:Depends} to python-crypto.
+  * Restored old changelog entries, which seem to got cut off between 2.
+    0.1+dfsg1-2.1 and 2.0.1+dfsg1-2.3 (by Matthias?).
+  * Typo fix for python-crypto-dbg description: python -> Python.
+  * Use ${binary:Version} instead of ${Source-Version}.
+  * Added debian/watch.
+  * Bump Standards-Version to 3.8.1:
+    - Added Homepage field to debian/control.
+  * Adjust copyright line in debian/copyright.
+  * Move python-crypto-dbg to section 'debug'.
+  * Add XB-Python-Version to python-crypto-dbg.
+
+ -- Andreas Rottmann <rotty at debian.org>  Fri, 20 Mar 2009 20:16:38 +0100
+
+python-crypto (2.0.1+dfsg1-3) unstable; urgency=low
+
+  * Acknowlege NMUs.
+  * Apply fix for CVE-2009-0544 (Buffer overflow in the ARC2 module), and
+    a stand-alone version of the associated testcase (see
+    http://www.openwall.com/lists/oss-security/2009/02/07/1). 
+    Closes: #516660.
+
+ -- Andreas Rottmann <rotty at debian.org>  Fri, 20 Mar 2009 17:10:55 +0100
+
+python-crypto (2.0.1+dfsg1-2.3) unstable; urgency=low
+
+  * NMU.
+  * Fix build failure introduced in previous upload; add build dependency
+    on texlive-fonts-recommended.
+
+ -- Matthias Klose <doko at debian.org>  Tue, 15 Jul 2008 18:10:57 +0200
+
+python-crypto (2.0.1+dfsg1-2.2) unstable; urgency=low
+
+  * NMU.
+  * Fix padding bug in SHA256; this resulted in bad digests whenever 	
+    (the number of bytes hashed) mod 64 == 55. Closes: #474177. LP: #191683.
+  * Build-depend on texlive-latex-recommended instead of tetex.
+
+ -- Matthias Klose <doko at debian.org>  Sat, 12 Jul 2008 12:44:34 +0200
+
+python-crypto (2.0.1+dfsg1-2.1) unstable; urgency=low
+
+  * Non-Maintainer upload.
+  * Build the python-crypto-dbg binary package (patch from Matthias Klose).
+    (Closes: #437808)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Tue, 04 Sep 2007 20:42:37 +0200
+
+python-crypto (2.0.1+dfsg1-2ubuntu1) gutsy; urgency=low
+
+  * Merge from Debian unstable.
+  * Remaining Ubuntu changes:
+    - Add -dbg package.
+    - Bump debhelper compat level to 5.
+    - Set Ubuntu maintainer address.
+
+ -- Steve Kowalik <stevenk at ubuntu.com>  Tue, 29 May 2007 19:41:45 +1000
+
+python-crypto (2.0.1+dfsg1-2) unstable; urgency=low
+
+  * Acknowledge NMUs (closes: #374807, #373524, #313349).
+
+ -- Andreas Rottmann <rotty at debian.org>  Wed, 23 May 2007 14:43:13 +0200
+
+python-crypto (2.0.1+dfsg1-1.2ubuntu1) feisty; urgency=low
+
+  * Build the extension for the python debug interpreter.
+  * Bump debhelper to v5.
+  * Set Ubuntu maintainer address.
+
+ -- Matthias Klose <doko at ubuntu.com>  Sat, 17 Feb 2007 02:58:24 +0100
+
+python-crypto (2.0.1+dfsg1-1.2build1) edgy; urgency=low
+
+  * Rebuild to add support for python2.5.
+
+ -- Matthias Klose <doko at ubuntu.com>  Fri,  8 Sep 2006 13:33:18 +0000
+
+python-crypto (2.0.1+dfsg1-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add missing Provides: ${python:Provides} to debian/control, completing
+    fix for #373524 from the previous NMU.
+
+ -- Adeodato Simó <dato at net.com.org.es>  Mon, 19 Jun 2006 03:06:37 +0200
+
+python-crypto (2.0.1+dfsg1-1.1) unstable; urgency=low
+
+  * Convert to the updated Python policy using python-central.
+    Closes: #373524.
+  * Support for python2.4 is provided. Closes: #313349.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 16 Jun 2006 01:28:51 +0000
+
+python-crypto (2.0.1+dfsg1-1) unstable; urgency=low
+
+  * Acknowlegde NMUs (closes: #318055, #318012).
+  * Packaged new upstream version (closes: #325517).
+    - 2.0.1 includes fix for AMD64, presumingly also closes: #297516.
+
+ -- Andreas Rottmann <rotty at debian.org>  Tue,  4 Oct 2005 00:10:40 +0200
+
+python-crypto (2.0+dp1-2.3) unstable; urgency=low
+
+  * NMU.
+  * Add python2.4-crypto package, drop python2.1 and python2.2 packages
+    (closes: #313349).
+
+ -- Matthias Klose <doko at debian.org>  Mon, 29 Aug 2005 07:18:38 +0000
+
+python-crypto (2.0+dp1-2.2) unstable; urgency=low
+
+  * NMU to fix build failures on some architectures
+  * Remove -O3 gcc option on m68k architecture to fix FTBFS due to an
+    internal compiler error
+  * Standards version 3.6.2 (no changes required)
+  * Relax the versioned build dependency of libgmp3-dev to 4.1.4-8
+    instead of -9. Some architectures only have -8 at this point
+    which is sufficient.
+
+ -- Bastian Kleineidam <calvin at debian.org>  Fri, 12 Aug 2005 11:04:21 +0200
+
+python-crypto (2.0+dp1-2.1) unstable; urgency=low
+
+  * NMU to make package installable again
+  * Added missing build dependency on (versioned) libgmp3-dev, otherwise
+    the _fastmath module won't be compiled.
+  * Recompile against libgmp3c2 (Closes: #318055)
+
+ -- Bastian Kleineidam <calvin at debian.org>  Tue,  9 Aug 2005 10:54:41 +0200
+
+python-crypto (2.0+dp1-2) unstable; urgency=medium
+
+  * Added missing build-dependency on tetex-bin and tetex-extra (closes:
+    #288602).
+
+ -- Andreas Rottmann <rotty at debian.org>  Tue,  4 Jan 2005 17:47:27 +0100
+
+python-crypto (2.0+dp1-1) unstable; urgency=medium
+
+  * Again remove problematic code from orig tarball, which the NMU did
+    miss (not to mention that the orig tarball from the NMU wasn't
+    pristine and contained .pyc files). Urgency medium, so sarge won't end
+    up with problematic code.
+  * Include the manual in binary packages (closes: #273622).
+  * Switch to CDBS.
+  * Lowercase description synopsis, as suggested by lintian/developer's
+    reference.
+  * Advertice the newly-included (since 2.0) SHA256 module in the
+    description.
+
+ -- Andreas Rottmann <rotty at debian.org>  Sat,  1 Jan 2005 14:47:12 +0100
+
+python-crypto (2.0-1) unstable; urgency=medium
+
+  * NMU.
+  * New upstream version.
+
+ -- Matthias Klose <doko at debian.org>  Tue, 17 Aug 2004 23:44:24 +0200
+
+python-crypto (1.9a6+dp2-1) unstable; urgency=low
+
+  * Transitioned to Python 2.3.
+  * Removed accidential junk form .orig.tar.gz.
+  
+ -- Andreas Rottmann <rotty at debian.org>  Sat,  9 Aug 2003 12:41:23 +0200
+
+python-crypto (1.9a6+dp1-2) unstable; urgency=low
+
+  * Fixed Section (python instead of interpreters).
+
+ -- Andreas Rottmann <rotty at debian.org>  Sun, 20 Jul 2003 15:21:37 +0200
+
+python-crypto (1.9a6+dp1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump Standards-Version to 3.6.0 (no changes).
+
+ -- Andreas Rottmann <rotty at debian.org>  Sun, 13 Jul 2003 18:26:54 +0200
+
+python-crypto (1.9a4+dp1-4) unstable; urgency=low
+
+  * Use dh_python.
+      + Build-depend on debhelper >= 4.1.29.
+      + Build-depend on python.
+  * Bump Standards-Version to 3.5.8.
+  
+ -- Andreas Rottmann <rotty at debian.org>  Thu, 20 Feb 2003 14:55:12 +0100
+
+python-crypto (1.9a4+dp1-3) unstable; urgency=low
+
+  * Cipher/__init__.py: Remove 'RC5' and 'IDEA' from __all__.
+
+ -- Andreas Rottmann <rotty at debian.org>  Fri, 14 Feb 2003 01:10:26 +0100
+
+python-crypto (1.9a4+dp1-2) unstable; urgency=low
+
+  * debian/control: Added python2.x dependencies to binary packages.
+  * debian/control: Fixed 'Cryptpgraphic' typo (closes: #162884).
+
+ -- Andreas Rottmann <rotty at debian.org>  Thu,  7 Nov 2002 22:05:27 +0100
+
+python-crypto (1.9a4+dp1-1) unstable; urgency=low
+
+  * Removed problematic algorithms from source code.
+      + Added README.Debian with details.
+      + Updated package descriptions.
+  * Include docs in all pythonX.Y-crypto packages.
+
+ -- Andreas Rottmann <rotty at debian.org>  Wed, 11 Sep 2002 13:15:45 +0200
+
+python-crypto (1.9a4-1) unstable; urgency=low
+
+  * Initial Release (closes: #159717)
+
+ -- Andreas Rottmann <rotty at debian.org>  Thu,  5 Sep 2002 14:53:33 +0200


Property changes on: packages/python-crypto/trunk/debian/changelog
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/clean
===================================================================
--- packages/python-crypto/trunk/debian/clean	                        (rev 0)
+++ packages/python-crypto/trunk/debian/clean	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1 @@
+Doc/apidoc/*


Property changes on: packages/python-crypto/trunk/debian/clean
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/compat
===================================================================
--- packages/python-crypto/trunk/debian/compat	                        (rev 0)
+++ packages/python-crypto/trunk/debian/compat	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1 @@
+8


Property changes on: packages/python-crypto/trunk/debian/compat
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/control
===================================================================
--- packages/python-crypto/trunk/debian/control	                        (rev 0)
+++ packages/python-crypto/trunk/debian/control	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,55 @@
+Source: python-crypto
+Section: python
+Priority: optional
+Maintainer: Sebastian Ramacher <s.ramacher at gmx.at>
+Uploaders: Andreas Rottmann <rotty at debian.org>,
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 8.1.0~), python-all-dev (>= 2.6.6-3~),
+ python-all-dbg, libgmp-dev, python-epydoc, python-docutils
+X-Python-Version: >= 2.1
+Standards-Version: 3.9.2
+Homepage: http://www.pycrypto.org/
+
+Package: python-crypto
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Conflicts: python2.3-crypto, python2.4-crypto
+Replaces: python2.3-crypto, python2.4-crypto
+Provides: ${python:Provides}
+Suggests: python-crypto-dbg, python-crypto-doc
+Description: cryptographic algorithms and protocols for Python
+ A collection of cryptographic algorithms and protocols, implemented
+ for use from Python. Among the contents of the package:
+ .
+  * Hash functions: HMAC, MD2, MD4, MD5, RIPEMD160, SHA, SHA256.
+  * Block encryption algorithms: AES, ARC2, Blowfish, CAST, DES, Triple-DES.
+  * Stream encryption algorithms: ARC4, simple XOR.
+  * Public-key algorithms: RSA, DSA, ElGamal, qNEW.
+  * Protocols: All-or-nothing transforms, chaffing/winnowing.
+  * Miscellaneous: RFC1751 module for converting 128-key keys 
+    into a set of English words, primality testing, random number gereration.
+
+Package: python-crypto-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: python-crypto (= ${binary:Version}), ${shlibs:Depends},
+ ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+Description: cryptographic algorithms and protocols for Python (debug extension)
+ A collection of cryptographic algorithms and protocols, implemented
+ for use from Python.
+ .
+ This package contains the extensions built for the Python debug interpreter.
+
+Package: python-crypto-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: python-crypto (<< 2.3)
+Replaces: python-crypto (<< 2.3)
+Description: cryptographic algorithms and protocols for Python (documentation)
+ A collection of cryptographic algorithms and protocols, implemented
+ for use from Python.
+ .
+ This package contains technical documentation.


Property changes on: packages/python-crypto/trunk/debian/control
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/copyright
===================================================================
--- packages/python-crypto/trunk/debian/copyright	                        (rev 0)
+++ packages/python-crypto/trunk/debian/copyright	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,74 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166
+Upstream-Name: pycrypto
+Upstream-Contact: Dwayne C. Litzenberger <dlitz at dlitz.net>
+Source: http://www.dlitz.net/software/pycrypto/
+
+Files: *
+Copyright: public-domain
+License: public-domain
+ Copyright and licensing of the Python Cryptography Toolkit ("PyCrypto"):
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ To the best of our knowledge, with the exceptions noted below or
+ within the files themselves, the files that constitute PyCrypto are in
+ the public domain. Most are distributed with the following notice:
+ .
+   The contents of this file are dedicated to the public domain. To
+   the extent that dedication to the public domain is not available,
+   everyone is granted a worldwide, perpetual, royalty-free,
+   non-exclusive license to exercise all rights associated with the
+   contents of this file for any purpose whatsoever.
+   No rights are reserved.
+ .
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+   BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+   SOFTWARE.
+ .
+ Exception:
+ .
+  - Portions of HMAC.py and setup.py are derived from Python 2.2, and
+    are therefore Copyright (c) 2001, 2002, 2003 Python Software
+    Foundation (All Rights Reserved). They are licensed by the PSF
+    under the terms of the Python 2.2 license. (See the file
+    LEGAL/copy/LICENSE.python-2.2 for details.)
+ .
+ EXPORT RESTRICTIONS:
+ .
+ Note that the export or re-export of cryptographic software and/or
+ source code may be subject to regulation in your jurisdiction.
+
+Files: debian/*
+Copyright: 2011 Sebastian Ramacher <s.ramacher at gmx.at>
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Comment:
+ The original packaging is by:
+ * 2002-2010 Andreas Rottmann <rotty at debian.org> and
+ * 2010 James Cook <zealcook at gmail.com>
+ But only parts of debian/control, debian/watch and
+ debian/python-crypto-doc.doc-base remain from the old packaging. Everything
+ else has been rewritten.


Property changes on: packages/python-crypto/trunk/debian/copyright
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/patches/epydoc-exclude-introspect.patch
===================================================================
--- packages/python-crypto/trunk/debian/patches/epydoc-exclude-introspect.patch	                        (rev 0)
+++ packages/python-crypto/trunk/debian/patches/epydoc-exclude-introspect.patch	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,13 @@
+Description: update exclude-introspect in epydoc.config to match the new module
+ locations.
+Origin: Sebastian Ramacher <s.ramacher at gmx.at>
+Last-Update: 2011-04-09
+
+--- python-crypto-2.3.orig/Doc/epydoc-config
++++ python-crypto-2.3/Doc/epydoc-config
+@@ -15,4 +15,4 @@ link: <a href="http://www.pycrypto.org/"
+ 
+ # The documentation is usually built on a Linux machine; nt.py tries to
+ # import the winrandom module.
+-exclude-introspect: ^Crypto\.Util\.osentropy\.nt$
++exclude-introspect: ^Crypto\.Random\.OSRNG\.nt|Crypto\.Util\.winrandom$


Property changes on: packages/python-crypto/trunk/debian/patches/epydoc-exclude-introspect.patch
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/patches/no-usr-local.patch
===================================================================
--- packages/python-crypto/trunk/debian/patches/no-usr-local.patch	                        (rev 0)
+++ packages/python-crypto/trunk/debian/patches/no-usr-local.patch	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,13 @@
+Description: Remove #!/usr/local/bin/python shebang line.
+Author: James Cook <zealcook at gmail.com>
+Last-Update: 2011-03-18
+
+Index: pycrypto-2.1.0/lib/Crypto/Util/RFC1751.py
+===================================================================
+--- pycrypto-2.1.0.orig/lib/Crypto/Util/RFC1751.py	2010-02-28 11:01:06.000000000 +0800
++++ pycrypto-2.1.0/lib/Crypto/Util/RFC1751.py	2010-02-28 11:01:16.000000000 +0800
+@@ -1,4 +1,3 @@
+-#!/usr/local/bin/python
+ # rfc1751.py : Converts between 128-bit strings and a human-readable
+ # sequence of words, as defined in RFC1751: "A Convention for
+ # Human-Readable 128-bit Keys", by Daniel L. McDonald.


Property changes on: packages/python-crypto/trunk/debian/patches/no-usr-local.patch
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/patches/series
===================================================================
--- packages/python-crypto/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-crypto/trunk/debian/patches/series	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,2 @@
+no-usr-local.patch
+epydoc-exclude-introspect.patch


Property changes on: packages/python-crypto/trunk/debian/patches/series
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/python-crypto-doc.doc-base
===================================================================
--- packages/python-crypto/trunk/debian/python-crypto-doc.doc-base	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python-crypto-doc.doc-base	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,12 @@
+Document: python-crypto
+Title: PyCrypto API Documentation
+Author: Dwayne C. Litzenberger
+Abstract: 
+ Python Crypto is a collection of cryptographic algorithms and
+ protocols, implemented for use from Python. This is the API documentation
+ for it.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-crypto-doc/toc.html
+Files: /usr/share/doc/python-crypto-doc/*.html


Property changes on: packages/python-crypto/trunk/debian/python-crypto-doc.doc-base
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/python-crypto-doc.docs
===================================================================
--- packages/python-crypto/trunk/debian/python-crypto-doc.docs	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python-crypto-doc.docs	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1 @@
+Doc/apidoc/*.html


Property changes on: packages/python-crypto/trunk/debian/python-crypto-doc.docs
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/python-crypto.docs
===================================================================
--- packages/python-crypto/trunk/debian/python-crypto.docs	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python-crypto.docs	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,2 @@
+README
+TODO


Property changes on: packages/python-crypto/trunk/debian/python-crypto.docs
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/rules
===================================================================
--- packages/python-crypto/trunk/debian/rules	                        (rev 0)
+++ packages/python-crypto/trunk/debian/rules	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+
+# Get the supported Python versions
+PYVERS = $(shell pyversions -r -v)
+# Get the default Python version
+PYVERSION = $(shell pyversions -d -v)
+
+# Callable functions to determine the correct PYTHONPATH
+pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1))
+pythonpath_dbg = $$(ls -d $(CURDIR)/build/lib_d.*-$(1) 2>/dev/null || ls -d $(CURDIR)/build/lib.*$(1)-pydebug)
+
+%:
+	dh $@ --with=python2
+
+override_dh_clean:
+	# Keep LEGAL/copy/LICENSE.orig
+	dh_clean -XLEGAL/copy/LICENSE.orig
+
+override_dh_installdocs:
+	# Build documentation
+	PYTHONPATH=$(call pythonpath,${PYVERSION}) epydoc --config Doc/epydoc-config
+	dh_installdocs
+
+override_dh_install:
+	# Install everything excluding the *_d.so debug extensions to python-foo
+	dh_install -X"*_d.so" "debian/tmp/*" -p python-crypto
+	# Install the debug extensions to python-foo-dbg
+	find debian/tmp -name "*_d.so" -exec dh_install '{}' -p python-crypto-dbg \;
+	# Continue with regular dh_install
+	dh_install
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+		set -e -x; \
+		for py in $(PYVERS); do \
+			PYTHONPATH=$(call pythonpath,$$py) python$$py setup.py test ;\
+			PYTHONPATH=$(call pythonpath_dbg,$$py) python$$py-dbg setup.py test ;\
+		done
+endif
+
+override_dh_strip:
+# ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_strip --dbg-package=python-crypto-dbg
+#	cd debian/*-dbg/usr/lib/debug/usr/lib && mv pyshared pymodules
+# endif


Property changes on: packages/python-crypto/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/source/format
===================================================================
--- packages/python-crypto/trunk/debian/source/format	                        (rev 0)
+++ packages/python-crypto/trunk/debian/source/format	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1 @@
+3.0 (quilt)


Property changes on: packages/python-crypto/trunk/debian/source/format
___________________________________________________________________
Added: svn:keywords
   + Id

Added: packages/python-crypto/trunk/debian/watch
===================================================================
--- packages/python-crypto/trunk/debian/watch	                        (rev 0)
+++ packages/python-crypto/trunk/debian/watch	2011-05-09 09:44:03 UTC (rev 16992)
@@ -0,0 +1,3 @@
+version=3
+#
+http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-(.*)\.tar\.gz


Property changes on: packages/python-crypto/trunk/debian/watch
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the Python-modules-commits mailing list