summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasudev Kamath <vasudev@copyninja.info>2017-07-23 19:29:28 +0530
committerVasudev Kamath <vasudev@copyninja.info>2017-07-23 19:29:28 +0530
commitc8c528c92913538e3b0d0b8e2b2a575a0ebc3628 (patch)
tree83e5db87693e2922320fccabfa04d23155a83a85
parent72f0d2cdeaeaff957872a616f23fc3e98a13d737 (diff)
parent02f7a2b8fdc9b741741c36230d55dd79ca2efa0b (diff)
pycryptopp (0.7.1-3) unstable; urgency=medium
* debian/control: + Take over maintenance of package. Closes: bug#859182. Thanks to Ramakrishnan for his contributions. + Mark package as compliant to Debian Policy 4.0.0. + Fix Vcs-* URLs to point to secure versions. + Update homepage field to Tahoe-LAFS project trac. + Make package team maintained and mark myself as uploader. + Build-Depend on python-all-dev and python-pkg-resources. + Drop python-pycryptopp-dbg in favor of automatic -dbgsym package. * Convert debian/rules to use pybuild. * debian/watch: + Covnert watch file format to version 4. + Use Github URL for tracking new version instead of PyPI. * Bump compat level to 9. * debian/copyright file is converted to DEP-5 format. * Add copyright-check script and generate copyright-hints file. * Add lintian-overrides for source with proper documentation. * Add DEP-3 headers to patches. [dgit import unpatched pycryptopp 0.7.1-3]
-rw-r--r--debian/changelog98
-rw-r--r--debian/compat1
-rw-r--r--debian/control30
-rw-r--r--debian/copyright316
-rwxr-xr-xdebian/copyright-check28
-rw-r--r--debian/copyright.old100
-rw-r--r--debian/copyright_hints367
-rw-r--r--debian/gbp.conf8
-rw-r--r--debian/patches/no-version-in-setup.patch30
-rw-r--r--debian/patches/noextraversion.patch40
-rw-r--r--debian/patches/series2
-rw-r--r--debian/python-pycryptopp.dirs1
-rw-r--r--debian/python-pycryptopp.docs1
-rwxr-xr-xdebian/rules13
-rwxr-xr-xdebian/rules.old79
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides8
-rw-r--r--debian/watch3
18 files changed, 1126 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b3f38a6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,98 @@
+pycryptopp (0.7.1-3) unstable; urgency=medium
+
+ * debian/control:
+ + Take over maintenance of package.
+ Closes: bug#859182. Thanks to Ramakrishnan for his contributions.
+ + Mark package as compliant to Debian Policy 4.0.0.
+ + Fix Vcs-* URLs to point to secure versions.
+ + Update homepage field to Tahoe-LAFS project trac.
+ + Make package team maintained and mark myself as uploader.
+ + Build-Depend on python-all-dev and python-pkg-resources.
+ + Drop python-pycryptopp-dbg in favor of automatic -dbgsym package.
+ * Convert debian/rules to use pybuild.
+ * debian/watch:
+ + Covnert watch file format to version 4.
+ + Use Github URL for tracking new version instead of PyPI.
+ * Bump compat level to 9.
+ * debian/copyright file is converted to DEP-5 format.
+ * Add copyright-check script and generate copyright-hints file.
+ * Add lintian-overrides for source with proper documentation.
+ * Add DEP-3 headers to patches.
+
+ -- Vasudev Kamath <vasudev@copyninja.info> Sun, 23 Jul 2017 19:29:28 +0530
+
+pycryptopp (0.7.1-2) unstable; urgency=medium
+
+ * Orphaning the package by setting the maintainer to debian-qa.
+
+ -- Ramakrishnan Muthukrishnan <rkrishnan@debian.org> Fri, 31 Mar 2017 14:28:02 +0530
+
+pycryptopp (0.7.1-1) unstable; urgency=medium
+
+ [Ramakrishnan Muthukrishnan]
+ * New upstream release.
+ * New maintainer (Ramakrishnan Muthukrishnan)
+ * debian/patches/*: regenerate patches. (Closes: #659206)
+ * debian/rules: add build-arch and build-indep.
+
+ -- Ramakrishnan Muthukrishnan <rkrishnan@debian.org> Sat, 12 Nov 2016 21:03:32 +0530
+
+pycryptopp (0.6.0.20120313-1) unstable; urgency=low
+
+ * Update debian/watch
+ * Refresh patches
+ * Import new upstream version
+ * Fix installation of README, renamed to README.rst
+
+ -- Micah Anderson <micah@debian.org> Thu, 22 Aug 2013 16:31:55 -0400
+
+pycryptopp (0.5.29-1) unstable; urgency=low
+
+ [ Micah Anderson ]
+ * Add myself to Uploaders
+ * Set compat to 7 and adjust Build-Dep
+
+ [ Bert Agaz ]
+ * Bump debhelper compatibility.
+ * Update Vcs-* in debian/control.
+ * Bump Standards-Version number.
+ * Fix typo in debian/copyright.
+
+ [ Piotr Ożarowski ]
+ * New upstream release
+ * Use dh_pyton2 instead of dh_pysupport
+ - minimum required python-all build version bymped to 2.6.6-3
+ * Convert source package format to 3.0 (quilt)
+ * Bumped Standards-Version to 3.9.1 (no other changes needed)
+
+ -- Bert Agaz <bertagaz@ptitcanardnoir.org> Tue, 14 Jun 2011 23:12:11 +0200
+
+pycryptopp (0.5.17-1) unstable; urgency=low
+
+ [ Piotr Ożarowski ]
+ * New upstream release
+
+ -- Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> Wed, 30 Sep 2009 22:40:25 +0200
+
+pycryptopp (0.5.15-2) unstable; urgency=low
+
+ [ Piotr Ożarowski ]
+ * Prepare for Python 2.6:
+ - add $(py_setup_install_args) to the install args (LP: #427025)
+
+ -- Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> Thu, 10 Sep 2009 20:18:04 +0200
+
+pycryptopp (0.5.15-1) unstable; urgency=low
+
+ [ Piotr Ożarowski ]
+ * New upstream release
+ * Bumped Standards-Version to 3.8.3
+ - add debian/README.source
+
+ -- Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> Thu, 27 Aug 2009 00:13:48 +0200
+
+pycryptopp (0.5.14-1) unstable; urgency=low
+
+ * Initial release (Closes: #503977).
+
+ -- Zooko O'Whielacronx <zooko@zooko.com> Mon, 22 Jun 2009 22:20:50 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..45cc2ca
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: pycryptopp
+Section: python
+Priority: optional
+Maintainer: Tahoe Packaging Team <tahoe-debian@lists.alioth.debian.org>
+Uploaders: Vasudev Kamath <vasudev@copyninja.info>
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all-dev,
+ python-all-dbg,
+ python-pkg-resources,
+ python-setuptools (>= 0.6b3),
+ libcrypto++-dev
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/tahoe/pycryptopp.git
+Vcs-Browser: https://anonscm.debian.org/cgit/tahoe/pycryptopp.git
+Homepage: https://tahoe-lafs.org/trac/pycryptopp
+
+Package: python-pycryptopp
+Architecture: any
+Depends: ${python:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Breaks: ${python:Breaks}
+Provides: ${python:Provides}
+Recommends: ${python:Recommends}
+Suggests: ${python:Suggests}
+Description: Python wrappers for the Crypto++ library
+ PyCryptopp is a set of Python wrappers for a few of the best crypto algorithms
+ from the Crypto++ library (including SHA-256, AES, RSA signatures and Elliptic
+ Curve DSA signatures).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6fcbd94
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,316 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pycryptopp
+Upstream-Contact: https://github.com/tahoe-lafs/pycryptopp/issues
+ https://tahoe-lafs.org/trac/pycryptopp
+ Tahoe-LAFS development <tahoe-dev@tahoe-lafs.org>
+Source: https://github.com/tahoe-lafs/pycryptopp.git
+
+Files: *
+Copyright: Zooko Wilcox-O'Hearn <zooko@zooko.com>
+License: GPL-2+ with several exceptions or TGPPL1+ or MIT or SPL
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the OpenSSL license (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the OpenSSL license.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Eclipse Public Licence (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the Eclipse Public Licence.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Q Public Licence (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the Q Public Licence.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Apache Licence (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the Apache Licence.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the GNU Lesser General Public License (any version) and
+ distribute the resulting combined work, as long as you follow the requirements
+ of the licences of this work in regard to all of the resulting combined work
+ aside from the work licensed under the GNU Lesser General Public License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Zope Public License (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the Zope Public License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Python Software Foundation License (any version) and
+ distribute the resulting combined work, as long as you follow the requirements
+ of the licences of this work in regard to all of the resulting combined work
+ aside from the work licensed under the Python Software Foundation License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Academic Free License (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the Academic Free License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Apple Public Source License (any version) and
+ distribute the resulting combined work, as long as you follow the requirements
+ of the licences of this work in regard to all of the resulting combined work
+ aside from the work licensed under the Apple Public Source License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the BitTorrent Open Source License (any version) and
+ distribute the resulting combined work, as long as you follow the requirements
+ of the licences of this work in regard to all of the resulting combined work
+ aside from the work licensed under the BitTorrent Open Source License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Lucent Public License (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the Lucent Public License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Jabber Open Source License (any version) and distribute
+ the resulting combined work, as long as you follow the requirements of the
+ licences of this work in regard to all of the resulting combined work aside
+ from the work licensed under the Jabber Open Source License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Common Development and Distribution License (any
+ version) and distribute the resulting combined work, as long as you follow the
+ requirements of the licences of this work in regard to all of the resulting
+ combined work aside from the work licensed under the Common Development and
+ Distribution License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Microsoft Public License (any version) and distribute
+ the resulting combined work, as long as you follow the requirements of the
+ licences of this work in regard to all of the resulting combined work aside
+ from the work licensed under the Microsoft Public License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Microsoft Reciprocal License (any version) and
+ distribute the resulting combined work, as long as you follow the requirements
+ of the licences of this work in regard to all of the resulting combined work
+ aside from the work licensed under the Microsoft Reciprocal License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Sun Industry Standards Source License (any version) and
+ distribute the resulting combined work, as long as you follow the requirements
+ of the licences of this work in regard to all of the resulting combined work
+ aside from the work licensed under the Sun Industry Standards Source License.
+ .
+ This work also comes with the added permission that you may combine it with a
+ work licensed under the Open Software License (any version) and distribute the
+ resulting combined work, as long as you follow the requirements of the licences
+ of this work in regard to all of the resulting combined work aside from the
+ work licensed under the Open Software License.
+
+Files: debian/copyright-check
+Copyright: 2016-2017 Jonas Smedegaard <dr@jones.dk>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2017, Vasudev Kamath <vasudev@copyninja.info>
+License: GPL-2+
+
+License: GPL-2+
+License-Reference: /usr/share/common-licenses/GPL-2
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
+
+License: SPL
+ Permission is hereby granted to any person obtaining a copy of this work to
+ deal in this work without restriction (including the rights to use, modify,
+ distribute, sublicense, and/or sell copies).
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ 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.
+
+License: TGPPL1+
+ You may also opt to use this package under the terms of the Transitive Grace
+ Period Public License, version 1 or, at your option, any later version.
+ .
+ This Transitive Grace Period Public Licence (the "License") applies to any
+ original work of authorship (the "Original Work") whose owner (the "Licensor")
+ has placed the following licensing notice adjacent to the copyright notice for
+ the Original Work:
+ .
+ Licensed under the Transitive Grace Period Public Licence version 1.0
+ .
+ 1. Grant of Copyright License. Licensor grants You a worldwide, royalty-free,
+ non-exclusive, sublicensable license, for the duration of the copyright, to do
+ the following:
+ a. to reproduce the Original Work in copies, either alone or as part
+ of a collective work;
+ b. to translate, adapt, alter, transform, modify, or arrange the
+ Original Work, thereby creating derivative works ("Derivative
+ Works") based upon the Original Work;
+ c. to distribute or communicate copies of the Original Work and
+ Derivative Works to the public, with the proviso that copies of
+ Original Work or Derivative Works that You distribute or
+ communicate shall be licensed under this Transitive Grace Period
+ Public Licence no later than 12 months after You distributed or
+ communicated said copies;
+ d. to perform the Original Work publicly; and
+ e. to display the Original Work publicly.
+ 2. Grant of Patent License. Licensor grants You a worldwide,
+ royalty-free, non-exclusive, sublicensable license, under patent
+ claims owned or controlled by the Licensor that are embodied in the
+ Original Work as furnished by the Licensor, for the duration of the
+ patents, to make, use, sell, offer for sale, have made, and import the
+ Original Work and Derivative Works.
+ 3. Grant of Source Code License. The term "Source Code" means the
+ preferred form of the Original Work for making modifications to it and
+ all available documentation describing how to modify the Original
+ Work. Licensor agrees to provide a machine-readable copy of the Source
+ Code of the Original Work along with each copy of the Original Work
+ that Licensor distributes. Licensor reserves the right to satisfy this
+ obligation by placing a machine-readable copy of the Source Code in an
+ information repository reasonably calculated to permit inexpensive and
+ convenient access by You for as long as Licensor continues to
+ distribute the Original Work.
+ 4. Exclusions From License Grant. Neither the names of Licensor, nor the
+ names of any contributors to the Original Work, nor any of their
+ trademarks or service marks, may be used to endorse or promote
+ products derived from this Original Work without express prior
+ permission of the Licensor. Except as expressly stated herein, nothing
+ in this License grants any license to Licensor's trademarks,
+ copyrights, patents, trade secrets or any other intellectual property.
+ No patent license is granted to make, use, sell, offer for sale, have
+ made, or import embodiments of any patent claims other than the
+ licensed claims defined in Section 2. No license is granted to the
+ trademarks of Licensor even if such marks are included in the Original
+ Work. Nothing in this License shall be interpreted to prohibit
+ Licensor from licensing under terms different from this License any
+ Original Work that Licensor otherwise would have a right to license.
+ 5. External Deployment. The term "External Deployment" means the use,
+ distribution, or communication of the Original Work or Derivative
+ Works in any way such that the Original Work or Derivative Works may
+ be used by anyone other than You, whether those works are distributed
+ or communicated to those persons or made available as an application
+ intended for use over a network. As an express condition for the
+ grants of license hereunder, You must treat any External Deployment by
+ You of the Original Work or a Derivative Work as a distribution under
+ section 1(c).
+ 6. Attribution Rights. You must retain, in the Source Code of any
+ Derivative Works that You create, all copyright, patent, or trademark
+ notices from the Source Code of the Original Work, as well as any
+ notices of licensing and any descriptive text identified therein as an
+ "Attribution Notice." You must cause the Source Code for any
+ Derivative Works that You create to carry a prominent Attribution
+ Notice reasonably calculated to inform recipients that You have
+ modified the Original Work.
+ 7. Warranty of Provenance and Disclaimer of Warranty. Licensor warrants
+ that the copyright in and to the Original Work and the patent rights
+ granted herein by Licensor are owned by the Licensor or are
+ sublicensed to You under the terms of this License with the permission
+ of the contributor(s) of those copyrights and patent rights. Except as
+ expressly stated in the immediately preceding sentence, the Original
+ Work is provided under this License on an "AS IS" BASIS and WITHOUT
+ WARRANTY, either express or implied, including, without limitation,
+ the warranties of non-infringement, merchantability or fitness for a
+ particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL
+ WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential
+ part of this License. No license to the Original Work is granted by
+ this License except under this disclaimer.
+ 8. Limitation of Liability. Under no circumstances and under no legal
+ theory, whether in tort (including negligence), contract, or
+ otherwise, shall the Licensor be liable to anyone for any indirect,
+ special, incidental, or consequential damages of any character arising
+ as a result of this License or the use of the Original Work including,
+ without limitation, damages for loss of goodwill, work stoppage,
+ computer failure or malfunction, or any and all other commercial
+ damages or losses. This limitation of liability shall not apply to the
+ extent applicable law prohibits such limitation.
+ 9. Acceptance and Termination. If, at any time, You expressly assented to
+ this License, that assent indicates your clear and irrevocable
+ acceptance of this License and all of its terms and conditions. If You
+ distribute or communicate copies of the Original Work or a Derivative
+ Work, You must make a reasonable effort under the circumstances to
+ obtain the express assent of recipients to the terms of this License.
+ This License conditions your rights to undertake the activities listed
+ in Section 1, including your right to create Derivative Works based
+ upon the Original Work, and doing so without honoring these terms and
+ conditions is prohibited by copyright law and international treaty.
+ Nothing in this License is intended to affect copyright exceptions and
+ limitations (including 'fair use' or 'fair dealing'). This License
+ shall terminate immediately and You may no longer exercise any of the
+ rights granted to You by this License upon your failure to honor the
+ conditions in Section 1(c).
+ 10. Termination for Patent Action. This License shall terminate
+ automatically and You may no longer exercise any of the rights granted
+ to You by this License as of the date You commence an action,
+ including a cross-claim or counterclaim, against Licensor or any
+ licensee alleging that the Original Work infringes a patent. This
+ termination provision shall not apply for an action alleging patent
+ infringement by combinations of the Original Work with other software
+ or hardware.
+ 11. Jurisdiction, Venue and Governing Law. Any action or suit relating to
+ this License may be brought only in the courts of a jurisdiction
+ wherein the Licensor resides or in which Licensor conducts its primary
+ business, and under the laws of that jurisdiction excluding its
+ conflict-of-law provisions. The application of the United Nations
+ Convention on Contracts for the International Sale of Goods is
+ expressly excluded. Any use of the Original Work outside the scope of
+ this License or after its termination shall be subject to the
+ requirements and penalties of copyright or patent law in the
+ appropriate jurisdiction. This section shall survive the termination
+ of this License.
+ 12. Attorneys' Fees. In any action to enforce the terms of this License or
+ seeking damages relating thereto, the prevailing party shall be
+ entitled to recover its costs and expenses, including, without
+ limitation, reasonable attorneys' fees and costs incurred in
+ connection with such action, including any appeal of such action. This
+ section shall survive the termination of this License.
+ 13. Miscellaneous. If any provision of this License is held to be
+ unenforceable, such provision shall be reformed only to the extent
+ necessary to make it enforceable.
+ 14. Definition of "You" in This License. "You" throughout this License,
+ whether in upper or lower case, means an individual or a legal entity
+ exercising rights under, and complying with all of the terms of, this
+ License. For legal entities, "You" includes any entity that controls,
+ is controlled by, or is under common control with you. For purposes of
+ this definition, "control" means (i) the power, direct or indirect, to
+ cause the direction or management of such entity, whether by contract
+ or otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+ 15. Right to Use. You may use the Original Work in all ways not otherwise
+ restricted or conditioned by this License or by law, and Licensor
+ promises not to interfere with or be responsible for such uses by You.
+ 16. Modification of This License. This License is Copyright (c) 2007 Zooko
+ Wilcox-O'Hearn. Permission is granted to copy, distribute, or
+ communicate this License without modification. Nothing in this License
+ permits You to modify this License as applied to the Original Work or
+ to Derivative Works. However, You may modify the text of this License
+ and copy, distribute or communicate your modified version (the
+ "Modified License") and apply it to other original works of authorship
+ subject to the following conditions: (i) You may not indicate in any
+ way that your Modified License is the "Transitive Grace Period Public
+ Licence" or "TGPPL" and you may not use those names in the name of
+ your Modified License; and (ii) You must replace the notice specified
+ in the first paragraph above with the notice "Licensed under " or with
+ a notice of your own that is not confusingly similar to the notice in
+ this License.
diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000..b1258ea
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,28 @@
+#!/bin/sh
+# Copyright © 2016-2017 Jonas Smedegaard <dr@jones.dk>
+# Description: helper script to update copyright_hints
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+set -eu
+
+# extract metadata from binary media files, except non-metadata formats
+export DEB_COPYRIGHT_EXTRACT_EXTS="gif jpeg jpg png"
+export DEB_COPYRIGHT_CHECK_IGNORE_EXTS="icns"
+
+make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
+make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
+
+# unconditionally merge changes - safe to do with git-tracked package
+[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints
diff --git a/debian/copyright.old b/debian/copyright.old
new file mode 100644
index 0000000..18c4089
--- /dev/null
+++ b/debian/copyright.old
@@ -0,0 +1,100 @@
+This package was debianized by Zooko O'Whielacronx zooko@zooko.com on
+Tue, 16 July 2009 23:30:00 +0000.
+
+It was originally downloaded from http://allmydata.org/trac/pycryptopp
+
+Upstream Author: Zooko O'Whielacronx <zooko@zooko.com>
+
+Copyright:
+
+You may use this package under the GNU General Public License, version
+2 or, at your option, any later version. You may use this package
+under the Transitive Grace Period Public Licence, version 1.0 or, at
+your option, any later version. (You may choose to use this package
+under the terms of either licence, at your option.) See the file
+COPYING.GPL for the terms of the GNU General Public License, version 2.
+See the file COPYING.TGPPL.html for the terms of the Transitive Grace
+Period Public Licence, version 1.0.
+
+The following licensing text applies to a subset of the Crypto++ source code
+which is included in the pycryptopp source tree under the "embeddedcryptopp"
+subdirectory. That embedded subset of the Crypto++ source code is not used
+when pycryptopp is built for Debian -- instead the --disable-embedded-cryptopp
+option to "setup.py build" is used to for pycryptopp to build against the
+system libcryptopp.
+
+---[ License.txt begin ]---
+Compilation Copyright (c) 1995-2009 by Wei Dai. All rights reserved.
+This copyright applies only to this software distribution package
+as a compilation, and does not imply a copyright on any particular
+file in the package.
+
+The following files are copyrighted by their respective original authors,
+and their use is subject to additional licenses included in these files.
+
+mars.cpp - Copyright 1998 Brian Gladman.
+
+All other files in this compilation are placed in the public domain by
+Wei Dai and other contributors.
+
+I would like to thank the following authors for placing their works into
+the public domain:
+
+Joan Daemen - 3way.cpp
+Leonard Janke - cast.cpp, seal.cpp
+Steve Reid - cast.cpp
+Phil Karn - des.cpp
+Andrew M. Kuchling - md2.cpp, md4.cpp
+Colin Plumb - md5.cpp
+Seal Woods - rc6.cpp
+Chris Morgan - rijndael.cpp
+Paulo Baretto - rijndael.cpp, skipjack.cpp, square.cpp
+Richard De Moliner - safer.cpp
+Matthew Skala - twofish.cpp
+Kevin Springle - camellia.cpp, shacal2.cpp, ttmac.cpp, whrlpool.cpp, ripemd.cpp
+
+Permission to use, copy, modify, and distribute this compilation for
+any purpose, including commercial applications, is hereby granted
+without fee, subject to the following restrictions:
+
+1. Any copy or modification of this compilation in any form, except
+in object code form as part of an application software, must include
+the above copyright notice and this license.
+
+2. Users of this software agree that any modification or extension
+they provide to Wei Dai will be considered public domain and not
+copyrighted unless it includes an explicit copyright notice.
+
+3. Wei Dai makes no warranty or representation that the operation of the
+software in this compilation will be error-free, and Wei Dai is under no
+obligation to provide any services, by way of maintenance, update, or
+otherwise. THE SOFTWARE AND ANY DOCUMENTATION ARE PROVIDED "AS IS"
+WITHOUT EXPRESS OR IMPLIED WARRANTY INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. IN NO EVENT WILL WEI DAI OR ANY OTHER CONTRIBUTOR BE LIABLE FOR
+DIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+4. Users will not use Wei Dai or any other contributor's name in any
+publicity or advertising, without prior written consent in each case.
+
+5. Export of this software from the United States may require a
+specific license from the United States Government. It is the
+responsibility of any person or organization contemplating export
+to obtain such a license before exporting.
+
+6. Certain parts of this software may be protected by patents. It
+is the users' responsibility to obtain the appropriate
+licenses before using those parts.
+
+If this compilation is used in object code form in an application
+software, acknowledgement of the author is not required but would be
+appreciated. The contribution of any useful modifications or extensions
+to Wei Dai is not required but would also be appreciated.
+---[ License.txt end ]---
+
+The Debian packaging is © 2009 Zooko O'Whielacronx <zooko@zooko.com> - it is
+licensed under the same terms as the pycryptopp source code itself.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..ea47cea
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,367 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: COPYING.SPL.txt
+ NEWS.rst
+ README.ed25519.rst
+ _doubleloadtester.cpp
+ debian/compat
+ debian/control
+ debian/gbp.conf
+ debian/patches/no-version-in-setup.patch
+ debian/patches/noextraversion.patch
+ debian/patches/series
+ debian/python-pycryptopp.dirs
+ debian/python-pycryptopp.docs
+ debian/rules
+ debian/rules.old
+ debian/source/format
+ debian/watch
+ misc/aside/test-sha256.cpp
+ misc/build_helpers/show-tool-versions.py
+ misc/coding_helpers/python.supp
+ setup.cfg
+ src-cryptopp/Doxyfile
+ src-cryptopp/GNUmakefile
+ src-cryptopp/Readme.txt
+ src-cryptopp/TestVectors/Readme.txt
+ src-cryptopp/TestVectors/aes.txt
+ src-cryptopp/TestVectors/all.txt
+ src-cryptopp/TestVectors/camellia.txt
+ src-cryptopp/TestVectors/ccm.txt
+ src-cryptopp/TestVectors/cmac.txt
+ src-cryptopp/TestVectors/dlies.txt
+ src-cryptopp/TestVectors/dsa.txt
+ src-cryptopp/TestVectors/dsa_1363.txt
+ src-cryptopp/TestVectors/eax.txt
+ src-cryptopp/TestVectors/esign.txt
+ src-cryptopp/TestVectors/gcm.txt
+ src-cryptopp/TestVectors/hmac.txt
+ src-cryptopp/TestVectors/mars.txt
+ src-cryptopp/TestVectors/nr.txt
+ src-cryptopp/TestVectors/panama.txt
+ src-cryptopp/TestVectors/rsa_oaep.txt
+ src-cryptopp/TestVectors/rsa_pkcs1_1_5.txt
+ src-cryptopp/TestVectors/rsa_pss.txt
+ src-cryptopp/TestVectors/rw.txt
+ src-cryptopp/TestVectors/salsa.txt
+ src-cryptopp/TestVectors/seal.txt
+ src-cryptopp/TestVectors/seed.txt
+ src-cryptopp/TestVectors/sha.txt
+ src-cryptopp/TestVectors/shacal2.txt
+ src-cryptopp/TestVectors/sosemanuk.txt
+ src-cryptopp/TestVectors/tea.txt
+ src-cryptopp/TestVectors/ttmac.txt
+ src-cryptopp/TestVectors/vmac.txt
+ src-cryptopp/TestVectors/whrlpool.txt
+ src-cryptopp/adhoc.cpp.proto
+ src-cryptopp/aes.h
+ src-cryptopp/algebra.cpp
+ src-cryptopp/algebra.h
+ src-cryptopp/algparam.cpp
+ src-cryptopp/algparam.h
+ src-cryptopp/argnames.h
+ src-cryptopp/asn.cpp
+ src-cryptopp/asn.h
+ src-cryptopp/authenc.h
+ src-cryptopp/basecode.cpp
+ src-cryptopp/basecode.h
+ src-cryptopp/cbcmac.h
+ src-cryptopp/ccm.h
+ src-cryptopp/channels.h
+ src-cryptopp/cmac.h
+ src-cryptopp/config.h
+ src-cryptopp/cpu.cpp
+ src-cryptopp/cpu.h
+ src-cryptopp/cryptdll.dsp
+ src-cryptopp/cryptdll.vcproj
+ src-cryptopp/cryptest.dsp
+ src-cryptopp/cryptest.dsw
+ src-cryptopp/cryptest.sln
+ src-cryptopp/cryptest.vcproj
+ src-cryptopp/cryptest_bds.bdsgroup
+ src-cryptopp/cryptest_bds.bdsproj
+ src-cryptopp/cryptest_bds.bpf
+ src-cryptopp/cryptlib.cpp
+ src-cryptopp/cryptlib.dsp
+ src-cryptopp/cryptlib.h
+ src-cryptopp/cryptlib.vcproj
+ src-cryptopp/cryptlib_bds.bdsproj
+ src-cryptopp/des.h
+ src-cryptopp/dessp.cpp
+ src-cryptopp/dh.h
+ src-cryptopp/dll.cpp
+ src-cryptopp/dll.h
+ src-cryptopp/dlltest.dsp
+ src-cryptopp/dlltest.vcproj
+ src-cryptopp/dsa.cpp
+ src-cryptopp/dsa.h
+ src-cryptopp/ec2n.cpp
+ src-cryptopp/ec2n.h
+ src-cryptopp/eccrypto.cpp
+ src-cryptopp/eccrypto.h
+ src-cryptopp/ecp.cpp
+ src-cryptopp/ecp.h
+ src-cryptopp/emsa2.h
+ src-cryptopp/eprecomp.cpp
+ src-cryptopp/eprecomp.h
+ src-cryptopp/files.h
+ src-cryptopp/filters.cpp
+ src-cryptopp/filters.h
+ src-cryptopp/fips140.cpp
+ src-cryptopp/fips140.h
+ src-cryptopp/fltrimpl.h
+ src-cryptopp/gcm.h
+ src-cryptopp/gf2n.cpp
+ src-cryptopp/gf2n.h
+ src-cryptopp/gfpcrypt.cpp
+ src-cryptopp/gfpcrypt.h
+ src-cryptopp/hex.cpp
+ src-cryptopp/hex.h
+ src-cryptopp/hmac.cpp
+ src-cryptopp/hmac.h
+ src-cryptopp/integer.cpp
+ src-cryptopp/integer.h
+ src-cryptopp/iterhash.cpp
+ src-cryptopp/iterhash.h
+ src-cryptopp/misc.cpp
+ src-cryptopp/misc.h
+ src-cryptopp/modarith.h
+ src-cryptopp/modes.cpp
+ src-cryptopp/modes.h
+ src-cryptopp/modexppc.h
+ src-cryptopp/mqueue.cpp
+ src-cryptopp/mqueue.h
+ src-cryptopp/mqv.h
+ src-cryptopp/nbtheory.cpp
+ src-cryptopp/nbtheory.h
+ src-cryptopp/oaep.cpp
+ src-cryptopp/oaep.h
+ src-cryptopp/oids.h
+ src-cryptopp/osrng.cpp
+ src-cryptopp/osrng.h
+ src-cryptopp/pch.h
+ src-cryptopp/pkcspad.cpp
+ src-cryptopp/pkcspad.h
+ src-cryptopp/pssr.cpp
+ src-cryptopp/pssr.h
+ src-cryptopp/pubkey.cpp
+ src-cryptopp/pubkey.h
+ src-cryptopp/queue.cpp
+ src-cryptopp/queue.h
+ src-cryptopp/randpool.cpp
+ src-cryptopp/randpool.h
+ src-cryptopp/rdtables.cpp
+ src-cryptopp/rijndael.h
+ src-cryptopp/rng.cpp
+ src-cryptopp/rng.h
+ src-cryptopp/rsa.cpp
+ src-cryptopp/rsa.h
+ src-cryptopp/rw.h
+ src-cryptopp/salsa.cpp
+ src-cryptopp/salsa.h
+ src-cryptopp/secblock.h
+ src-cryptopp/seckey.h
+ src-cryptopp/serpent.cpp
+ src-cryptopp/serpent.h
+ src-cryptopp/serpentp.h
+ src-cryptopp/sha.cpp
+ src-cryptopp/sha.h
+ src-cryptopp/simple.h
+ src-cryptopp/skipjack.h
+ src-cryptopp/smartptr.h
+ src-cryptopp/sosemanuk.cpp
+ src-cryptopp/sosemanuk.h
+ src-cryptopp/stdcpp.h
+ src-cryptopp/strciphr.cpp
+ src-cryptopp/strciphr.h
+ src-cryptopp/tiger.cpp
+ src-cryptopp/tiger.h
+ src-cryptopp/tigertab.cpp
+ src-cryptopp/trdlocal.h
+ src-cryptopp/words.h
+ src-cryptopp/x64dll.asm
+ src-cryptopp/x64masm.asm
+ src-ed25519/glue/ed25519module.c
+ src-ed25519/supercop-ref/Makefile
+ src-ed25519/supercop-ref/api.h
+ src-ed25519/supercop-ref/crypto_int32.h
+ src-ed25519/supercop-ref/crypto_sign.h
+ src-ed25519/supercop-ref/crypto_uint32.h
+ src-ed25519/supercop-ref/crypto_verify_32.h
+ src-ed25519/supercop-ref/ed25519.c
+ src-ed25519/supercop-ref/fe25519.c
+ src-ed25519/supercop-ref/fe25519.h
+ src-ed25519/supercop-ref/ge25519.c
+ src-ed25519/supercop-ref/ge25519.h
+ src-ed25519/supercop-ref/ge25519_base.data
+ src-ed25519/supercop-ref/sc25519.c
+ src-ed25519/supercop-ref/sc25519.h
+ src-ed25519/supercop-ref/sha512-blocks.c
+ src-ed25519/supercop-ref/sha512-hash.c
+ src-ed25519/supercop-ref/sha512.h
+ src-ed25519/supercop-ref/test.c
+ src-ed25519/supercop-ref/verify.c
+ src/pycryptopp/__init__.py
+ src/pycryptopp/_pycryptoppmodule.cpp
+ src/pycryptopp/bench/bench_algs.py
+ src/pycryptopp/bench/bench_ciphers.py
+ src/pycryptopp/bench/bench_hashes.py
+ src/pycryptopp/bench/bench_sigs.py
+ src/pycryptopp/bench/common.py
+ src/pycryptopp/cipher/__init__.py
+ src/pycryptopp/cipher/aes.py
+ src/pycryptopp/cipher/aesmodule.cpp
+ src/pycryptopp/cipher/aesmodule.hpp
+ src/pycryptopp/cipher/xsalsa20.py
+ src/pycryptopp/cipher/xsalsa20module.cpp
+ src/pycryptopp/cipher/xsalsa20module.hpp
+ src/pycryptopp/hash/__init__.py
+ src/pycryptopp/hash/sha256.py
+ src/pycryptopp/hash/sha256module.cpp
+ src/pycryptopp/hash/sha256module.hpp
+ src/pycryptopp/publickey/__init__.py
+ src/pycryptopp/publickey/ecdsa.py
+ src/pycryptopp/publickey/ecdsamodule.cpp
+ src/pycryptopp/publickey/ecdsamodule.hpp
+ src/pycryptopp/publickey/ed25519/__init__.py
+ src/pycryptopp/publickey/ed25519/_version.py
+ src/pycryptopp/publickey/ed25519/keys.py
+ src/pycryptopp/publickey/rsa.py
+ src/pycryptopp/publickey/rsamodule.cpp
+ src/pycryptopp/publickey/rsamodule.hpp
+ src/pycryptopp/test/test_aes.py
+ src/pycryptopp/test/test_ecdsa.py
+ src/pycryptopp/test/test_ed25519.py
+ src/pycryptopp/test/test_ed25519_kat.py
+ src/pycryptopp/test/test_from_Nikratio.py
+ src/pycryptopp/test/test_rsa.py
+ src/pycryptopp/test/test_sha256.py
+ src/pycryptopp/test/test_xsalsa20.py
+ src/pycryptopp/testvectors/KAT_AES/ECBGFSbox128e.txt
+ src/pycryptopp/testvectors/KAT_AES/ECBGFSbox256e.txt
+ src/pycryptopp/testvectors/KAT_AES/ECBKeySbox128e.txt
+ src/pycryptopp/testvectors/KAT_AES/ECBKeySbox256e.txt
+ src/pycryptopp/testvectors/KAT_AES/ECBVarKey128e.txt
+ src/pycryptopp/testvectors/KAT_AES/ECBVarKey256e.txt
+ src/pycryptopp/testvectors/KAT_AES/ECBVarTxt128e.txt
+ src/pycryptopp/testvectors/KAT_AES/ECBVarTxt256e.txt
+ src/pycryptopp/testvectors/SHA256LongMsg.txt
+ src/pycryptopp/testvectors/SHA256Monte.txt
+ src/pycryptopp/testvectors/SHA256ShortMsg.txt
+ src/pycryptopp/testvectors/kat-ed25519-short.txt
+ src/pycryptopp/testvectors/kat-ed25519.txt
+ src/pycryptopp/testvectors/xsalsa20.txt
+ versioneer.py
+Copyright: NONE
+License: UNKNOWN
+ FIXME
+
+Files: src-cryptopp/rijndael.cpp
+Copyright: NONE
+License: BSD~unspecified
+ FIXME
+
+Files: COPYING.GPL
+Copyright: 1989, 1991, Free Software Foundation, Inc.,
+ <year> <name of author>
+ disclaimer" for the program, if
+ ed by the Free
+ ed interfaces, the
+ interest in the program
+ the software, and
+ year name of author
+License: CDDL and/or GPL-2+ and/or LGPL and/or MS-PL and/or MS-RL
+ FIXME
+
+Files: COPYING.TGPPL.rst
+Copyright: 2007, Zooko
+ License.** Licensor grants You a worldwide,
+ exceptions and limitations
+ or patent
+ patent, or trademark
+ s and patent rights. Except as expressly
+ s, patents, trade
+ to do the following:
+License: CDDL and/or LGPL and/or MS-PL and/or MS-RL
+ FIXME
+
+Files: COPYING.MIT.txt
+Copyright: NONE
+License: Expat
+ FIXME
+
+Files: debian/copyright.old
+Copyright: 1995-2009, Wei Dai. /
+ 1998, Brian Gladman.
+ 2009, Zooko O'Whielacronx <zooko@zooko.com> - it is
+ You may use this package under the GNU General Public License, version
+ applies only to this software distribution package
+ ed by their respective original authors,
+ ed unless it includes an explicit copyright notice.
+License: GPL-2
+ FIXME
+
+Files: copyright
+Copyright: 1995-2009, Wei Dai. /
+ 1998, Brian Gladman.
+ 2009, Zooko O'Whielacronx <zooko@zooko.com> - it is
+ You may use this package under the GNU General Public License, version 2 or,
+ applies only to this software distribution package
+ ed by their respective original authors,
+ ed unless it includes an explicit copyright notice.
+License: GPL-2
+ FIXME
+
+Files: README.rst
+Copyright: NONE
+License: GPL-2
+ FIXME
+
+Files: debian/copyright-check
+Copyright: 2016-2017, Jonas Smedegaard <dr@jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: src-cryptopp/License.txt
+Copyright: 1995-2009, Wei Dai.
+ 1998, Brian Gladman.
+ applies only to this software distribution package
+ ed by their respective original authors,
+ ed unless it includes an explicit copyright notice.
+License: UNKNOWN
+ FIXME
+
+Files: src-cryptopp/cryptopp.rc
+Copyright: 1995-2009, Wei Dai"
+License: UNKNOWN
+ FIXME
+
+Files: setup.py
+Copyright: 2009-2013, Zooko Wilcox-O'Hearn
+License: UNKNOWN
+ FIXME
+
+Files: pycryptopp.egg-info/stdeb.cfg
+Copyright: -File: copyright
+License: UNKNOWN
+ FIXME
+
+Files: MANIFEST.in
+Copyright: COPYING.GPL COPYING.TGPPL.rst COPYING.MIT.txt COPYING.SPL.txt NEWS.rst README.rst
+License: UNKNOWN
+ FIXME
+
+Files: misc/dependencies/setuptools-0.6c14dev.egg
+Copyright: ÿL±5nŒGHxF8K­Ï£
+License: UNKNOWN
+ FIXME
+
+Files: src-cryptopp/des.cpp
+Copyright: NONE
+License: public-domain
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..9a1d3bb
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+[DEFAULT]
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[import-orig]
+sign-tags = True
+upstream-vcs-tag = pycryptopp-%(version)s \ No newline at end of file
diff --git a/debian/patches/no-version-in-setup.patch b/debian/patches/no-version-in-setup.patch
new file mode 100644
index 0000000..901feff
--- /dev/null
+++ b/debian/patches/no-version-in-setup.patch
@@ -0,0 +1,30 @@
+Description: Manually enter version number
+ This patch comments out version number generation logic of upstream as it is
+ partially broken due to missing _version.py file.
+ .
+ This patch should be removed once that is fixed.
+Author: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
+Last-Update: 2016-11-12
+Forwaded: not-needed
+diff --git a/setup.py b/setup.py
+index e4fb8b4..813a46b 100644
+--- a/setup.py
++++ b/setup.py
+@@ -341,7 +341,7 @@ class UpdateVersion(object):
+ if mo:
+ return mo.group(1)
+
+-version = UpdateVersion().run()
++#version = UpdateVersion().run()
+
+ class Test(Command):
+ description = "run tests"
+@@ -387,7 +387,7 @@ commands["bench"] = Bench
+
+ def _setup(longdescription):
+ setup(name=PKG,
+- version=version,
++ version="0.7.1",
+ description='Python wrappers for a few algorithms from the Crypto++ library',
+ long_description=longdescription,
+ author='Zooko Wilcox',
diff --git a/debian/patches/noextraversion.patch b/debian/patches/noextraversion.patch
new file mode 100644
index 0000000..85325b5
--- /dev/null
+++ b/debian/patches/noextraversion.patch
@@ -0,0 +1,40 @@
+Description: Comment out version calculating logic
+ Since the required file for this logic is missing this will break the build.
+ This should be dropped once the version logic is fixed upstream.
+Author: Micah Anderson <micah@riseup.net>
+Last-Updated: 2016-11-12
+Forwarded: not-needed
+diff --git a/setup.py b/setup.py
+index e4fb8b4..00ddd18 100644
+--- a/setup.py
++++ b/setup.py
+@@ -266,7 +266,7 @@ def read_version_py(infname):
+ if mo:
+ return mo.group(1)
+
+-EXTRAVERSION_H_FNAME = os.path.join(EMBEDDED_CRYPTOPP_DIR, 'extraversion.h')
++#EXTRAVERSION_H_FNAME = os.path.join(EMBEDDED_CRYPTOPP_DIR, 'extraversion.h')
+
+ VERSION_BODY = '''
+ # This is the version of this tree, as created by %(versiontool)s from the
+@@ -297,13 +297,13 @@ class UpdateVersion(object):
+ # Let's avoid touching the change time (ctime) on the files unless
+ # they actually need to be updated.
+
+- if self.read_extraversion_h(EXTRAVERSION_H_FNAME) != version:
+- self.write_extraversion_h(
+- PKG,
+- version,
+- EXTRAVERSION_H_FNAME,
+- CPP_GIT_VERSION_BODY
+- )
++# if self.read_extraversion_h(EXTRAVERSION_H_FNAME) != version:
++# self.write_extraversion_h(
++# PKG,
++# version,
++# EXTRAVERSION_H_FNAME,
++# CPP_GIT_VERSION_BODY
++# )
+
+ if read_version_py(VERSION_PY_FNAME) != version:
+ self.write_version_py(
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d425220
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+noextraversion.patch
+no-version-in-setup.patch
diff --git a/debian/python-pycryptopp.dirs b/debian/python-pycryptopp.dirs
new file mode 100644
index 0000000..49f3877
--- /dev/null
+++ b/debian/python-pycryptopp.dirs
@@ -0,0 +1 @@
+/usr/share/python-pycryptopp/
diff --git a/debian/python-pycryptopp.docs b/debian/python-pycryptopp.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-pycryptopp.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fbe53bd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#! /usr/bin/make -f
+
+export PYBUILD_BUILD_ARGS=--disable-embedded-cryptopp
+export PYBUILD_INSTALL_ARGS=--skip-build --single-version-externally-managed
+export PYBUILD_NAME=pycryptopp
+%:
+ dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_clean:
+ dh_testdir -O--buildsystem=pybuild
+ rm -rf .pybuild/
+ rm -rf dist build build-*
+ find . -name "*\.pyc" -delete
diff --git a/debian/rules.old b/debian/rules.old
new file mode 100755
index 0000000..bc56c80
--- /dev/null
+++ b/debian/rules.old
@@ -0,0 +1,79 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+include /usr/share/python/python.mk
+
+PYVERS=$(shell pyversions -vr)
+PKGDIR=$(CURDIR)/debian/python-pycryptopp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -rf dist build build-*
+ find . -name '*\.pyc' -delete
+ dh_clean install-stamp build-stamp \
+ $(PYVERS:%=install-python%) $(PYVERS:%=build-python%) \
+ $(PYVERS:%=install-debug-python%) $(PYVERS:%=build-debug-python%)
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp: $(PYVERS:%=build-python%) $(PYVERS:%=build-debug-python%)
+ touch $@
+
+build-python%:
+ python$* setup.py build --disable-embedded-cryptopp
+ touch $@
+
+build-debug-python%:
+ python$*-dbg setup.py build --disable-embedded-cryptopp
+ touch $@
+
+install: $(PYVERS:%=install-python%) $(PYVERS:%=install-debug-python%)
+ # pkg_resources is not used (see patches), no need to require setuptools
+ find $(PKGDIR)/usr/ -type f -name requires.txt -delete
+ # docs are in /usr/share/doc/python-pycryptopp/, remove duplicates
+ rm -rf $(PKGDIR)/usr/share/doc/pycryptopp/
+ rm -rf $(PKGDIR)-dbg/usr/share/doc/pycryptopp/
+
+install-python%: build
+ dh_installdirs
+ python$* setup.py install $(py_setup_install_args) \
+ --skip-build --single-version-externally-managed --root $(PKGDIR)
+ # move test vectors outside site-packages
+ if [ -d $(PKGDIR)/usr/share/python-pycryptopp/testvectors ]; then \
+ rm -rf $(PKGDIR)/$(call py_libdir,$*)/pycryptopp/testvectors; \
+ else mv $(PKGDIR)/$(call py_libdir,$*)/pycryptopp/testvectors $(PKGDIR)/usr/share/python-pycryptopp/; fi
+ touch $@
+
+install-debug-python%: build
+ python$*-dbg setup.py install $(py_setup_install_args) \
+ --skip-build --single-version-externally-managed --root $(PKGDIR)-dbg/
+ find $(PKGDIR)-dbg/usr/lib/python$*/ ! -type d ! -name '*_d\.so' -delete
+ find $(PKGDIR)-dbg/usr/lib/python$*/ -depth -empty -delete
+ touch $@
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_python2
+ dh_makeshlibs
+ dh_strip --dbg-package=python-pycryptopp-dbg
+ rm -rf $(PKGDIR)-dbg/usr/share/doc/python-pycryptopp-dbg
+ ln -s python-pycryptopp $(PKGDIR)-dbg/usr/share/doc/python-pycryptopp-dbg
+ dh_compress -a -X.py
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary-indep:
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..335101d
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,8 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-text-in-dep5-copyright
+
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright
+
+# following license from line 130 is not text for TGPPL1+ its list of exceptions
+dep5-copyright-license-name-not-unique
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..184d03c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+ https://github.com/tahoe-lafs/pycryptopp/releases .*/pycryptopp-@ANY_VERSION@@ARCHIVE_EXT@