[Python-modules-commits] r25119 - in packages/migrate/trunk/debian (5 files)

zigo at users.alioth.debian.org zigo at users.alioth.debian.org
Mon Jul 8 14:48:11 UTC 2013


    Date: Monday, July 8, 2013 @ 14:48:09
  Author: zigo
Revision: 25119

* Version-Depends on python-sqlalchemy >= 0.8 (since lower versions are incompatible).
* debian/copyright in parsable format v1.
* Standards-Version: bump to 3.9.4.
* Adds patch to make python-migrate works with SQLAlchemy >= 0.8. (Closes: #715374)

Added:
  packages/migrate/trunk/debian/patches/Add_compatibility_with_sqlalchemy_0.8.patch
Modified:
  packages/migrate/trunk/debian/changelog
  packages/migrate/trunk/debian/control
  packages/migrate/trunk/debian/copyright
  packages/migrate/trunk/debian/patches/series

Modified: packages/migrate/trunk/debian/changelog
===================================================================
--- packages/migrate/trunk/debian/changelog	2013-07-08 02:31:47 UTC (rev 25118)
+++ packages/migrate/trunk/debian/changelog	2013-07-08 14:48:09 UTC (rev 25119)
@@ -1,9 +1,25 @@
-migrate (0.7.2-4) UNRELEASED; urgency=low
+migrate (0.7.2-6) unstable; urgency=low
 
+  * Version-Depends on python-sqlalchemy >= 0.8 (since lower versions
+    are incompatible).
+  * debian/copyright in parsable format v1.
+  * Standards-Version: bump to 3.9.4.
+
+ -- Thomas Goirand <zigo at debian.org>  Mon, 08 Jul 2013 14:45:17 +0000
+
+migrate (0.7.2-5) unstable; urgency=low
+
+  * Team upload.
+  [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:01:15 +0200
+  [ Thomas Goirand ]
+  * Adds patch to make python-migrate works with SQLAlchemy >= 0.8.
+    Thanks to Pádraig Brady <P at draigBrady.com> for advising and providing the
+    patch. (Closes: #715374)
 
+ -- Thomas Goirand <zigo at debian.org>  Mon, 08 Jul 2013 14:27:56 +0000
+
 migrate (0.7.2-3) unstable; urgency=low
 
   * debian/control:

Modified: packages/migrate/trunk/debian/control
===================================================================
--- packages/migrate/trunk/debian/control	2013-07-08 02:31:47 UTC (rev 25118)
+++ packages/migrate/trunk/debian/control	2013-07-08 14:48:09 UTC (rev 25119)
@@ -5,8 +5,8 @@
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.5~),
  python-setuptools (>= 0.6b3), python-sphinx (>= 1.0.7+dfsg) | python3-sphinx,
- python-sqlalchemy (>= 0.6), python-decorator, python-tempita (>= 0.4)
-Standards-Version: 3.9.3
+ python-sqlalchemy (>= 0.8), python-decorator, python-tempita (>= 0.4)
+Standards-Version: 3.9.4
 Homepage: http://code.google.com/p/sqlalchemy-migrate/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/migrate/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/migrate/trunk/
@@ -14,7 +14,7 @@
 Package: python-migrate
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, ${sphinxdoc:Depends},
- python-sqlalchemy (>= 0.6), python-pkg-resources, python-decorator,
+ python-sqlalchemy (>= 0.8), python-pkg-resources, python-decorator,
  python-tempita (>= 0.4), libjs-sphinxdoc
 Description: Database schema migration for SQLAlchemy
  Inspired by Ruby on Rails' migrations, migrate provides a way to deal

Modified: packages/migrate/trunk/debian/copyright
===================================================================
--- packages/migrate/trunk/debian/copyright	2013-07-08 02:31:47 UTC (rev 25118)
+++ packages/migrate/trunk/debian/copyright	2013-07-08 14:48:09 UTC (rev 25119)
@@ -1,23 +1,27 @@
-This package was debianized by Jan Dittberner <jan at dittberner.info> on
-Mon, 25 Dec 2006 14:50:56 +0100.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sqlalchemy-migrate
+Source: http://code.google.com/p/sqlalchemy-migrate/downloads/list
 
-It was downloaded from
-http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-migrate-0.5.4.tar.gz
+Files: debian/*
+Copyright: (c) 2006-2009, Jan Dittberner <jandd at debian.org>
+           (c) 2013, Thomas Goirand <zigo at debian.org>
+License: GPL-2
 
-Copyright Holder: Evan Rosson <evan.rosson at gmail.com>
+Files: *
+Copyright: (c) 2006, Evan Rosson <evan.rosson at gmail.com>
+           (c) 2007-2009, Jan Dittberner
+           (c) 2007-2009, Christian Simms
+           (c) 2007-2009, Domen Kožar
+License: MIT
 
-This software is Copyright 2006 by Evan Rosson,
-Copyright 2007, 2008, 2009 Jan Dittberner, Christian Simms, Domen Kožar
-
-License: MIT License
-
- 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:
-
+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.
 
@@ -29,8 +33,19 @@
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
 
-The Debian packaging is Copyright 2006-2009, Jan Dittberner
-<jandd at debian.org> and is licensed under the GPL.
-
-On Debian systems, the complete text of the GNU General Public License
-can be found in `/usr/share/common-licenses/GPL-2'.
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.   
+ .
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along with
+ this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
+ St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General Public License v2
+ (GPL) can be found in /usr/share/common-licenses/GPL-2.

Added: packages/migrate/trunk/debian/patches/Add_compatibility_with_sqlalchemy_0.8.patch
===================================================================
--- packages/migrate/trunk/debian/patches/Add_compatibility_with_sqlalchemy_0.8.patch	                        (rev 0)
+++ packages/migrate/trunk/debian/patches/Add_compatibility_with_sqlalchemy_0.8.patch	2013-07-08 14:48:09 UTC (rev 25119)
@@ -0,0 +1,43 @@
+Description: Add compatability for sqlalchemy >= 0.8
+ With SQLAlchemy >= 0.8, using python-migrate causes:
+ from sqlalchemy import exceptions as sa_exceptions
+ ImportError: cannot import name exceptions
+ .
+ This patch fixes it.
+Author: Pádraig Brady <P at draigBrady.com>
+Origin: Fedora, http://pkgs.fedoraproject.org/cgit/python-migrate.git/commit/?id=603ed1d1
+Bug-Debian: http://bugs.debian.org/715374
+Forwarded: no
+Last-Update: 2013-07-08
+
+--- migrate-0.7.2.orig/migrate/tests/changeset/test_changeset.py
++++ migrate-0.7.2/migrate/tests/changeset/test_changeset.py
+@@ -560,7 +560,7 @@ class TestColumnChange(fixture.DB):
+             self.table.drop()
+         try:
+             self.table.create()
+-        except sqlalchemy.exceptions.SQLError, e:
++        except sqlalchemy.exc.SQLError, e:
+             # SQLite: database schema has changed
+             if not self.url.startswith('sqlite://'):
+                 raise
+@@ -569,7 +569,7 @@ class TestColumnChange(fixture.DB):
+         if self.table.exists():
+             try:
+                 self.table.drop(self.engine)
+-            except sqlalchemy.exceptions.SQLError,e:
++            except sqlalchemy.exc.SQLError,e:
+                 # SQLite: database schema has changed
+                 if not self.url.startswith('sqlite://'):
+                     raise
+--- migrate-0.7.2.orig/migrate/versioning/schema.py
++++ migrate-0.7.2/migrate/versioning/schema.py
+@@ -7,7 +7,7 @@ import logging
+ from sqlalchemy import (Table, Column, MetaData, String, Text, Integer,
+     create_engine)
+ from sqlalchemy.sql import and_
+-from sqlalchemy import exceptions as sa_exceptions
++from sqlalchemy import exc as sa_exceptions
+ from sqlalchemy.sql import bindparam
+ 
+ from migrate import exceptions

Modified: packages/migrate/trunk/debian/patches/series
===================================================================
--- packages/migrate/trunk/debian/patches/series	2013-07-08 02:31:47 UTC (rev 25118)
+++ packages/migrate/trunk/debian/patches/series	2013-07-08 14:48:09 UTC (rev 25119)
@@ -1,3 +1,4 @@
 use-local-intersphinx.patch
 keep_empty_modules.patch
 disable_issuetracker.patch
+Add_compatibility_with_sqlalchemy_0.8.patch




More information about the Python-modules-commits mailing list