Source: wtforms
Version: 1.0.1-1
Severity: wishlist
Tags: patch

hello python team,

the current debian version of wtforms (1.0.1) is insufficient for
flask-admin[1] (let's see if that makes it into an rfp/itp), but the
latest version (1.0.4) is.

the new version can be imported from the watch file. lintian hinted at
an embedded javascript library, which indeed can be replaced with a
symlink to libjs-underscore (see attached patch).

further things that might be relevant when releasing a new debian
version (from going through the changelog):

* python3 is now supported
* the new translations probably introduced new contributors for the
  copyright file
* i saw a warning "### Disabled test 'ext_django.tests', dependency not
  found" while building, even though python-django is installed. there
  was an error in the 1.0.1 test suite as well, i'm not sure whether
  this is a regression

please consider updating wtforms

best regards
chrysn

[1] https://github.com/mrjoes/flask-admin

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom
From d98b733338dd2ba423ae20aea6cd30ad9fabfea7 Mon Sep 17 00:00:00 2001
From: chrysn <[email protected]>
Date: Wed, 12 Feb 2014 19:29:26 +0100
Subject: [PATCH] replace underscore.js with symlink to libjs-underscore

---
 debian/control | 2 +-
 debian/links   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index da3b54b..c2becea 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,7 @@ Package: python-wtforms
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
 Suggests: python-sqlalchemy  (>= 0.5), python-django
-Recommends: python-dateutil, libjs-jquery
+Recommends: python-dateutil, libjs-jquery, libjs-underscore
 Description: flexible forms validation and rendering library for Python
  WTForms is a HTML form field generator which allows full customization
  with templates, using the template engine of your choice. It also allows
diff --git a/debian/links b/debian/links
index bf5d611..fb57797 100644
--- a/debian/links
+++ b/debian/links
@@ -1 +1,2 @@
 /usr/share/javascript/jquery/jquery.js usr/share/doc/python-wtforms/html/_static/jquery.js
+/usr/share/javascript/underscore/underscore.js usr/share/doc/python-wtforms/html/_static/underscore.js
-- 
1.9.0.rc3

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to