[Python-modules-commits] [flask-bcrypt] 03/09: Initial packaging work

Orestis Ioannou oorestisime-guest at moszumanska.debian.org
Tue Mar 15 19:41:47 UTC 2016


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

oorestisime-guest pushed a commit to branch master
in repository flask-bcrypt.

commit 2284bc95e3272a953ee99e9c121561697bd5c638
Author: Orestis Ioannou <orestis at oioannou.com>
Date:   Fri Mar 11 23:29:52 2016 +0100

    Initial packaging work
---
 debian/changelog                        |  5 +++
 debian/compat                           |  1 +
 debian/control                          | 74 +++++++++++++++++++++++++++++++++
 debian/copyright                        | 40 ++++++++++++++++++
 debian/python-flask-bcrypt-doc.doc-base | 10 +++++
 debian/python-flask-bcrypt-doc.docs     |  1 +
 debian/rules                            | 11 +++++
 debian/watch                            |  3 ++
 8 files changed, 145 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0ccd107
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+flask-bcrypt (0.7.1-1) unstable; urgency=low
+  * Team upload.
+  * Initial release. (Closes: #816692, #817770).
+
+ -- Orestis Ioannou <orestis at oioannou.com>  Fri, 11 Mar 2016 00:05:43 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f11c82a
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
\ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..64ea4da
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,74 @@
+Source: flask-bcrypt
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders:
+ Orestis Ioannou <orestis at oioannou.com>,
+Section: python
+Priority: optional
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-bcrypt,
+ python-flask,
+ python-setuptools,
+ python-sphinx,
+ python3-all,
+ python3-bcrypt,
+ python3-flask,
+ python3-setuptools,
+ python3-sphinx,
+Standards-Version: 3.9.7
+Homepage: http://readthedocs.org/docs/flask-bcrypt/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/flask-bcrypt.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/flask-bcrypt.git
+
+Package: python-flask-bcrypt
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Provides:
+ ${python:Provides},
+Description: Python 2 flask extension that provides bcrypt hashing utilities
+ Due to the recent increased prevelance of powerful hardware,
+ such as modern GPUs, hashes have become increasingly easy to crack.
+ A proactive solution to this is to use a hash that was designed to be
+ "de-optimized". Bcrypt is such a hashing facility; unlike hashing algorithms
+ such as MD5 and SHA1, which are optimized for speed, bcrypt is intentionally
+ structured to be slow.
+ .
+ This is a Python 2 package
+
+Package: python3-flask-bcrypt
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Provides:
+ ${python:Provides},
+Description: Python 3 flask extension that provides bcrypt hashing utilities
+ Due to the recent increased prevelance of powerful hardware,
+ such as modern GPUs, hashes have become increasingly easy to crack.
+ A proactive solution to this is to use a hash that was designed to be
+ "de-optimized". Bcrypt is such a hashing facility; unlike hashing algorithms
+ such as MD5 and SHA1, which are optimized for speed, bcrypt is intentionally
+ structured to be slow.
+ .
+ This is a Python 3 package
+
+Package: python-flask-bcrypt-doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+Section: doc
+Description: Flask extension that provides bcrypt hashing utilities (doc)
+ Due to the recent increased prevelance of powerful hardware,
+ such as modern GPUs, hashes have become increasingly easy to crack.
+ A proactive solution to this is to use a hash that was designed to be
+ "de-optimized". Bcrypt is such a hashing facility; unlike hashing algorithms
+ such as MD5 and SHA1, which are optimized for speed, bcrypt is intentionally
+ structured to be slow.
+ .
+ This package contains the HTML documentation.
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..670f195
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: flask-bcrypt
+Source:  http://readthedocs.org/docs/flask-bcrypt/
+
+Files: *
+Copyright: Copyright (c) 2011 by Max Countryman <maxc at me.com>
+License: BSD-3
+
+Files: docs/_themes/*
+Copyright: Copyright (c) 2010 by Armin Ronacher
+License: BSD-3
+
+Files: debian/*
+Copyright: 2016 by Orestis Ioannou <orestis at oioannou.com>
+License: BSD-3
+
+License: BSD-3
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are
+    met:
+    * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+    * 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.
+    * The names of the contributors may not be used to endorse or
+    promote products derived from this software without specific
+    prior written permission.
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+    "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 COPYRIGHT
+    OWNER OR CONTRIBUTORS 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.
diff --git a/debian/python-flask-bcrypt-doc.doc-base b/debian/python-flask-bcrypt-doc.doc-base
new file mode 100644
index 0000000..f5d162a
--- /dev/null
+++ b/debian/python-flask-bcrypt-doc.doc-base
@@ -0,0 +1,10 @@
+Document: python-flask-bcrypt-doc
+Title: MongoEngine User Documentation
+Author: Harry Marr
+Abstract: Flask extension that provides bcrypt hashing utilities
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-flask-bcrypt-doc/html/index.html
+Files: /usr/share/doc/python-flask-bcrypt-doc/html/*.html
+
diff --git a/debian/python-flask-bcrypt-doc.docs b/debian/python-flask-bcrypt-doc.docs
new file mode 100644
index 0000000..bbc0d2c
--- /dev/null
+++ b/debian/python-flask-bcrypt-doc.docs
@@ -0,0 +1 @@
+docs/_build/html
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5987c06
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=flask-bcrypt
+
+%:
+	dh $@ --with sphinxdoc,python2,python3 --buildsystem=pybuild
+
+override_dh_auto_build:
+	rm docs/docs.zip
+	$(MAKE) -C docs html
+	dh_auto_build
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cf505c2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/Flask-Bcrypt/Flask-Bcrypt-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list