[Python-modules-commits] [safe] 03/08: Initial release (Closes: #850088)

Carl Suster arcresu-guest at moszumanska.debian.org
Sat Jan 7 07:15:08 UTC 2017


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

arcresu-guest pushed a commit to branch master
in repository safe.

commit 734b3bc6e8ee8ef0a45cd47b104cd4332920871c
Author: Carl Suster <carl at contraflo.ws>
Date:   Sat Jan 7 17:40:41 2017 +1100

    Initial release (Closes: #850088)
---
 debian/changelog      |  5 +++++
 debian/clean          |  1 +
 debian/compat         |  1 +
 debian/control        | 30 ++++++++++++++++++++++++++++++
 debian/copyright      | 36 ++++++++++++++++++++++++++++++++++++
 debian/rules          |  8 ++++++++
 debian/source/options |  1 +
 debian/watch          |  3 +++
 8 files changed, 85 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cfa9fc2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+safe (0.4-1) unstable; urgency=medium
+
+  * Initial release (Closes: #850088)
+
+ -- Carl Suster <carl at contraflo.ws>  Sat, 07 Jan 2017 17:28:00 +1100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..45149aa
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+*.egg-info/*
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5bb42a8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: safe
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Carl Suster <carl at contraflo.ws>
+Build-Depends:
+ debhelper (>= 10),
+ dh-python,
+ python3-all,
+Standards-Version: 3.9.8
+Homepage: https://github.com/lepture/safe
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/safe.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/safe.git
+X-Python3-Version: >= 3.3
+
+Package: python3-safe
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: password strength checking library for Python
+ Safe provides a small library to check a proposed password against some
+ obviously insecure patterns, and also against a dictionary of 10k common
+ passwords. It also checks for the presence of mixed case characters, numbers
+ and symbols. Usage is as simple as:
+ .
+ import safe
+ strength = safe.check('x*V-92Ba')
+ strength.strength #=> 'strong'
+ bool(strength)    #=> True
+ .
+ This package provides the Python 3 module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e3d629c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: safe
+Source: https://github.com/lepture/safe
+
+Files: *
+Copyright: 2014, Hsiaoming Yang <me at lepture.com>
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2017 Carl Suster <carl at contraflo.ws>
+License: BSD-3-Clause
+
+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. Neither the name of the University nor the names of its contributors
+    may 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 HOLDERS 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/rules b/debian/rules
new file mode 100755
index 0000000..92acee5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=safe
+
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b2b7b88
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8fe9ddd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+
+https://pypi.debian.net/Safe/Safe-(.+)\.(?: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/safe.git



More information about the Python-modules-commits mailing list