summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-31 15:22:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-31 15:22:43 +0000
commite3a2343f31a92347e630016865ccb6a98740d77d (patch)
tree361ff7631797c81ad0e1b17991ae44d77c4fbf4a
parentAdding upstream version 3.4.2. (diff)
downloadflask-security-e3a2343f31a92347e630016865ccb6a98740d77d.tar.xz
flask-security-e3a2343f31a92347e630016865ccb6a98740d77d.zip
Adding debian version 3.4.2-2.debian/3.4.2-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog53
-rw-r--r--debian/control63
-rw-r--r--debian/copyright32
-rw-r--r--debian/gbp.conf2
-rw-r--r--debian/gitlab-ci.yml6
-rw-r--r--debian/patches/flask-version13
-rw-r--r--debian/patches/series2
-rw-r--r--debian/patches/xenial-pytest-runner11
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
-rw-r--r--debian/watch4
12 files changed, 200 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f566608
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,53 @@
+flask-security (3.4.2-2) unstable; urgency=medium
+
+ * Team upload.
+ * Remove Depends on python-setuptools (Closes: #943002)
+
+ -- Scott Talbert <swt@techie.net> Mon, 06 Jul 2020 14:05:29 -0400
+
+flask-security (3.4.2-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Ondřej Nový ]
+ * d/control: Set Vcs-* to salsa.debian.org
+ * d/control: Add Vcs-* field
+ * d/watch: Use https protocol
+ * Use debhelper-compat instead of debian/compat.
+
+ [ Christoph Berg ]
+ * Switch upstream to Flask-Security-Too.
+ * New ustream version 3.4.2.
+ * Use DH 13.
+ * Add debian/gitlab-ci.yml.
+ * Add twine and wheel to Build-Depends, setup.py wants them.
+ * Add python3-flask-babelex to Build-Depends.
+ * Add python3-speaklater to Depends.
+ * Ignore changes in egg-info files when building source package.
+ * Remove Flask version annotation so we can be installed on stretch and
+ xenial/bionic.
+
+ -- Christoph Berg <myon@debian.org> Tue, 12 May 2020 18:57:33 +0200
+
+flask-security (1.7.5-2) unstable; urgency=medium
+
+ * Team upload.
+ * Put debian/* under MIT.
+ * Disable mongodb build dependencies, needed for tests not yet executed.
+
+ -- Christoph Berg <christoph.berg@credativ.de> Wed, 24 Jan 2018 11:38:20 +0100
+
+flask-security (1.7.5-1) unstable; urgency=low
+
+ * Team upload.
+
+ [ Adrian Vondendriesch ]
+ * Initial package version.
+
+ [ Christoph Berg ]
+ * Package intentionally not updated to version 3.0.0 yet as the new
+ flask-babelex dependency is still under discussion.
+ https://github.com/mattupstate/flask-security/issues/715
+ * Remove .DS_Store files.
+
+ -- Christoph Berg <christoph.berg@credativ.de> Tue, 02 Jan 2018 14:06:47 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ba16909
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,63 @@
+Source: flask-security
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Adrian Vondendriesch <adrian.vondendriesch@credativ.de>
+Section: python
+Priority: optional
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+# mongodb,
+ python3-all,
+ python3-babel,
+ python3-bcrypt,
+ python3-flask-babelex,
+ python3-flask-login,
+ python3-flask-mail,
+# python3-flask-mongoengine,
+ python3-flask-peewee,
+ python3-flask-principal,
+ python3-flask-sqlalchemy,
+ python3-flaskext.wtf,
+ python3-passlib,
+ python3-peewee,
+ python3-pymongo,
+ python3-pytest,
+ python3-pytest-cov,
+ python3-pytest-pep8,
+ python3-pytest-runner,
+ python3-setuptools,
+ python3-wheel,
+ tox,
+ twine,
+Standards-Version: 4.5.0
+Homepage: https://github.com/mattupstate/flask-security
+Vcs-Git: https://salsa.debian.org/python-team/modules/flask-security.git
+Vcs-Browser: https://salsa.debian.org/python-team/modules/flask-security
+
+Package: python3-flask-security
+Architecture: all
+Depends: python3-flask,
+ python3-flask-login,
+ python3-flask-mail,
+ python3-flask-principal,
+ python3-flaskext.wtf,
+ python3-itsdangerous,
+ python3-passlib,
+ python3-speaklater,
+ ${misc:Depends},
+ ${python3:Depends}
+Description: Simple security for Flask apps (Python 3)
+ Flask-Security allows you to quickly add common security mechanisms
+ to your Flask application. They include:
+ .
+ * Session based authentication
+ * Role management
+ * Password encryption
+ * Basic HTTP authentication
+ * Token based authentication
+ * Token based account activation (optional)
+ * Token based password recovery / resetting (optional)
+ * User registration (optional)
+ * Login tracking (optional)
+ * JSON/Ajax Support
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7f608ea
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Flask-Security-Too
+Source: https://github.com/Flask-Middleware/flask-security
+
+Files: *
+Copyright:
+ Copyright (C) 2012 Matt Wright <matt+github@nobien.net>
+ Copyright (C) 2016, 2017 by CERN
+License: MIT
+
+Files: debian/*
+Copyright: Copyright (C) 2017 The Debian Project
+License: MIT
+
+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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..3879982
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+debian-branch=debian/master
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644
index 0000000..cd460cf
--- /dev/null
+++ b/debian/gitlab-ci.yml
@@ -0,0 +1,6 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+
+reprotest:
+ extends: .test-reprotest-diffoscope
diff --git a/debian/patches/flask-version b/debian/patches/flask-version
new file mode 100644
index 0000000..e89c1f9
--- /dev/null
+++ b/debian/patches/flask-version
@@ -0,0 +1,13 @@
+Remove Flask version annotation so we can be installed on stretch and xenial/bionic
+
+--- a/setup.py
++++ b/setup.py
+@@ -57,7 +57,7 @@ for reqs in extras_require.values():
+ setup_requires = ["Babel>=1.3", "pytest-runner>=2.6.2", "twine", "wheel"]
+
+ install_requires = [
+- "Flask>=1.0.2",
++ "Flask",
+ "Flask-Login>=0.4.1",
+ "Flask-Mail>=0.9.1",
+ "Flask-Principal>=0.4.0",
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c22b429
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+flask-version
+#xenial-pytest-runner
diff --git a/debian/patches/xenial-pytest-runner b/debian/patches/xenial-pytest-runner
new file mode 100644
index 0000000..da14f94
--- /dev/null
+++ b/debian/patches/xenial-pytest-runner
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -54,7 +54,7 @@ extras_require["all"] = []
+ for reqs in extras_require.values():
+ extras_require["all"].extend(reqs)
+
+-setup_requires = ["Babel>=1.3", "pytest-runner>=2.6.2", "twine", "wheel"]
++setup_requires = ["Babel>=1.3", "twine", "wheel"]
+
+ install_requires = [
+ "Flask",
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..51ded48
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=flask-security
+%:
+ dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ # Skip for now
+
+override_dh_auto_install:
+ dh_auto_install
+ find debian/python3-flask-security -name .DS_Store -delete
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/options b/debian/source/options
new file mode 100644
index 0000000..f6cf345
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "Flask_Security_Too.egg-info/(PKG-INFO|requires.txt)|.eggs/README.txt"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1f152f6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# please also check https://pypi.debian.net/Flask-Security-Too/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/Flask-Security-Too/Flask-Security-Too-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))