[Python-modules-commits] r34317 - in packages/flask-wtf/trunk/debian (12 files)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Thu Sep 17 20:42:47 UTC 2015


    Date: Thursday, September 17, 2015 @ 20:42:46
  Author: bernat
Revision: 34317

Sponsored new upstream version by Orestis Ioannou

Migration to pybuild and introduction of a new Python 3 package (as
well as a documentation one).

Added:
  packages/flask-wtf/trunk/debian/patches/
  packages/flask-wtf/trunk/debian/patches/doc-index.patch
  packages/flask-wtf/trunk/debian/patches/series
  packages/flask-wtf/trunk/debian/python-flaskext.wtf-doc.docs
Modified:
  packages/flask-wtf/trunk/debian/changelog
  packages/flask-wtf/trunk/debian/control
  packages/flask-wtf/trunk/debian/copyright
  packages/flask-wtf/trunk/debian/rules
  packages/flask-wtf/trunk/debian/source/format
  packages/flask-wtf/trunk/debian/watch
Deleted:
  packages/flask-wtf/trunk/debian/docs
  packages/flask-wtf/trunk/debian/links

Modified: packages/flask-wtf/trunk/debian/changelog
===================================================================
--- packages/flask-wtf/trunk/debian/changelog	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/changelog	2015-09-17 20:42:46 UTC (rev 34317)
@@ -1,3 +1,19 @@
+flask-wtf (0.12-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release
+  * Add python3 package. Closes: #782920, #764959
+  * Switched to DEP5 copyright format
+  * Switched to 3.0 quilt patches format
+  * Switched to pybuild
+  * Switch to pypi redirector for d/watch
+  * Moved to Standards-Version: 3.9.6
+  * Add separate documentation package
+  * Simplify Build-Depends
+  * Add patch to remove external resources from documentation
+ 
+ -- Orestis Ioannou <orestis at oioannou.com>  Mon, 07 Sep 2015 10:00:50 +0200
+
 flask-wtf (0.10.2-1) unstable; urgency=medium
 
   * New upstream version. 

Modified: packages/flask-wtf/trunk/debian/control
===================================================================
--- packages/flask-wtf/trunk/debian/control	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/control	2015-09-17 20:42:46 UTC (rev 34317)
@@ -3,23 +3,58 @@
 Uploaders: Bernd Zeimetz <bzed at debian.org>
 Section: python
 Priority: optional
-Build-Depends: python (>= 2.6.6-6), python-setuptools (>= 0.6b3), debhelper (>= 7.0.50~)
-Build-Depends-Indep: python-sphinx (>= 0.6), python-flask, python-wtforms
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 9),
+               python-all,
+               python-setuptools,
+               python-sphinx (>= 0.6),
+               python-flask,
+               python-wtforms,
+               python-nose,
+               python3-all,
+               python3-setuptools,
+               python3-sphinx,
+               python3-flask,
+               python3-wtforms,
+               python3-nose
+Standards-Version: 3.9.6
 Homepage: http://packages.python.org/Flask-WTF/
-X-Python-Version: >= 2.5
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/flask-wtf/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/flask-wtf/trunk/
 
 Package: python-flaskext.wtf
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python-flask (>= 0.6.1-2), python-werkzeug (>= 0.9.5), python-wtforms (>= 1.0.5), python-jinja2 (>= 2.4), python (>= 2.5.4-5~) | python-simplejson
+Depends: ${misc:Depends}, ${python:Depends}
 Recommends: libjs-jquery
 Suggests: python-flaskext.babel
-XB-Python-Version: ${python:Versions}
 Provides: ${python:Provides}
 Conflicts: python-flaskext-wtf
 Replaces: python-flaskext-wtf
-Description: Simple integration of Flask and WTForms
+Description: Simple integration of Flask and WTForms (Python 2)
  Flask-WTF is an extension for Flask, providing a simple integration
  of WTForms. It includes optional CSRF handling and Recaptcha support.
+ .
+ This is a Python 2 package
+
+Package: python3-flaskext.wtf
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: libjs-jquery
+Suggests: python3-flaskext.babel
+Provides: ${python:Provides}
+Description: Simple integration of Flask and WTForms (Python 3)
+ Flask-WTF is an extension for Flask, providing a simple integration
+ of WTForms. It includes optional CSRF handling and Recaptcha support.
+ .
+ This is a Python 3 package
+
+Package: python-flaskext.wtf-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Recommends: libjs-jquery
+Description: Simple integration of Flask and WTForms (doc)
+ Documentation for Flask-WTF: an extension for Flask, providing a
+ simple integration of WTForms. It includes optional CSRF handling
+ and Recaptcha support.

Modified: packages/flask-wtf/trunk/debian/copyright
===================================================================
--- packages/flask-wtf/trunk/debian/copyright	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/copyright	2015-09-17 20:42:46 UTC (rev 34317)
@@ -1,35 +1,28 @@
-This package was debianized by Bernd Zeimetz <bzed at debian.org> on
-Wed Oct 20 11:25:41 CEST 2010
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/  
+Upstream-Name: flask-wtf     
+Source: https://pypi.python.org/pypi/Flask-WTF
+   
+Files: *   
+Copyright: 2010 by Dan Jacob <danjac354 at gmail.com>    
+License: BSD-3
+  
+Files: debian/*
+Copyright: 2010 Bernd Zeimetz <bzed at debian.org> 
+License: BSD-3
 
-It was downloaded from http://pypi.python.org/pypi/Flask-WTF
-
-Upstream Author:
-
-    Dan Jacob <danjac354 at gmail.com>
-
-
-License and Copyright information:
-
-    Copyright (c) 2010 by Dan Jacob.
-    
-    Some rights reserved.
-    
+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.
-    
+    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.
-    
+    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.
-    
+    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
@@ -41,8 +34,3 @@
     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.
-
-
-The Debian packaging is Copyright (C) 2010 Bernd Zeimetz <bzed at debian.org> and
-licensed under the same license as Flask-WTF, see above.
-

Deleted: packages/flask-wtf/trunk/debian/docs
===================================================================
--- packages/flask-wtf/trunk/debian/docs	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/docs	2015-09-17 20:42:46 UTC (rev 34317)
@@ -1 +0,0 @@
-docs/_build/html

Deleted: packages/flask-wtf/trunk/debian/links
===================================================================
--- packages/flask-wtf/trunk/debian/links	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/links	2015-09-17 20:42:46 UTC (rev 34317)
@@ -1,2 +0,0 @@
-/usr/share/javascript/jquery/jquery.js usr/share/doc/python-flaskext-wtf/html/_static/jquery.js
-/usr/share/javascript/underscore/underscore.js usr/share/doc/python-flaskext-wtf/html/_static/underscore.js

Added: packages/flask-wtf/trunk/debian/patches/doc-index.patch
===================================================================
--- packages/flask-wtf/trunk/debian/patches/doc-index.patch	                        (rev 0)
+++ packages/flask-wtf/trunk/debian/patches/doc-index.patch	2015-09-17 20:42:46 UTC (rev 34317)
@@ -0,0 +1,25 @@
+Description: Remove external files from index
+ This package creates a potential privacy breach by fetching data from an external website at runtime. 
+ This patch avoids privacy-breach-generic lintian triggering
+Author: Orestis Ioannou
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: flask-wtf-0.12/docs/index.rst
+===================================================================
+--- flask-wtf-0.12.orig/docs/index.rst
++++ flask-wtf-0.12/docs/index.rst
+@@ -5,14 +5,6 @@ Flask-WTF
+ 
+ .. _WTForms: http://wtforms.simplecodes.com/docs/
+ 
+-.. image:: https://pypip.in/wheel/flask-wtf/badge.svg?style=flat
+-   :target: https://pypi.python.org/pypi/Flask-WTF/
+-   :alt: Wheel Status
+-.. image:: https://pypip.in/version/flask-wtf/badge.svg?style=flat
+-   :target: https://pypi.python.org/pypi/Flask-WTF/
+-   :alt: Latest Version
+-
+-
+ Features
+ --------
+ 

Added: packages/flask-wtf/trunk/debian/patches/series
===================================================================
--- packages/flask-wtf/trunk/debian/patches/series	                        (rev 0)
+++ packages/flask-wtf/trunk/debian/patches/series	2015-09-17 20:42:46 UTC (rev 34317)
@@ -0,0 +1 @@
+doc-index.patch

Added: packages/flask-wtf/trunk/debian/python-flaskext.wtf-doc.docs
===================================================================
--- packages/flask-wtf/trunk/debian/python-flaskext.wtf-doc.docs	                        (rev 0)
+++ packages/flask-wtf/trunk/debian/python-flaskext.wtf-doc.docs	2015-09-17 20:42:46 UTC (rev 34317)
@@ -0,0 +1 @@
+docs/_build/html

Modified: packages/flask-wtf/trunk/debian/rules
===================================================================
--- packages/flask-wtf/trunk/debian/rules	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/rules	2015-09-17 20:42:46 UTC (rev 34317)
@@ -5,20 +5,17 @@
 # but they require flask-testing, which is not packaged yet.
 # So skip them for now.
 
+export PYBUILD_NAME=flaskext.wtf
 
 %:
-	dh --buildsystem=python_distutils --with python2 $@
+	dh $@ --with sphinxdoc,python2,python3 --buildsystem=pybuild $@
 
-build:
-	dh --buildsystem=python_distutils $@
-
+override_dh_auto_build:
+	dh_auto_build
+	cd docs && rm license.rst
 	cd docs && PYTHONPATH=$(CURDIR)/ make html
-	rm docs/_build/html/_static/jquery.js
-	rm docs/_build/html/_static/underscore.js
 
-clean:
-	dh --buildsystem=python_distutils $@
-	rm -rf docs/_build
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf Flask_WTF.egg-info
 
-override_dh_compress:
-	dh_compress -X/html/

Modified: packages/flask-wtf/trunk/debian/source/format
===================================================================
--- packages/flask-wtf/trunk/debian/source/format	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/source/format	2015-09-17 20:42:46 UTC (rev 34317)
@@ -1 +1 @@
-1.0
+3.0 (quilt)

Modified: packages/flask-wtf/trunk/debian/watch
===================================================================
--- packages/flask-wtf/trunk/debian/watch	2015-09-17 20:36:59 UTC (rev 34316)
+++ packages/flask-wtf/trunk/debian/watch	2015-09-17 20:42:46 UTC (rev 34317)
@@ -1,3 +1,5 @@
 version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/Flask-WTF/Flask-WTF-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
 
-http://pypi.python.org/packages/source/F/Flask-WTF/ Flask-WTF-([0-9.]+)\.tar\.gz
+




More information about the Python-modules-commits mailing list