Date: Monday, August 19, 2013 @ 12:13:08
Author: angvp
Revision: 96011
archrelease: copy trunk to community-testing-any
Added:
python2-migrate/repos/community-testing-any/
python2-migrate/repos/community-testing-any/PKGBUILD
(from rev 96010, python2-migrate/trunk/PKGBUILD)
python2-migrate/repos/community-testing-any/fix_exceptions_import_for_sqlalchemy_0.8.patch
(from rev 96010,
python2-migrate/trunk/fix_exceptions_import_for_sqlalchemy_0.8.patch)
------------------------------------------------+
PKGBUILD | 23 +++++++++++++++++++++++
fix_exceptions_import_for_sqlalchemy_0.8.patch | 12 ++++++++++++
2 files changed, 35 insertions(+)
Copied: python2-migrate/repos/community-testing-any/PKGBUILD (from rev 96010,
python2-migrate/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2013-08-19 10:13:08 UTC (rev 96011)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: Roberto Alsina <[email protected]>
+
+pkgname=python2-migrate
+pkgver=0.7.2
+pkgrel=4
+pkgdesc="provides a way to deal with database schema changes in SQLAlchemy
projects"
+arch=(any)
+url="http://sqlalchemy-migrate.googlecode.com/"
+depends=('python2' 'python2-sqlalchemy' 'python2-decorator' 'python2-tempita')
+makedepends=('python2-setuptools')
+license=('MIT')
+source=(http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-migrate-$pkgver.tar.gz
+ fix_exceptions_import_for_sqlalchemy_0.8.patch)
+md5sums=('10382fda16f056491e671b5307dd6713'
+ 'f0e7a642736d0451709cf2d0684bc8e9')
+
+package() {
+ cd $srcdir/sqlalchemy-migrate-$pkgver
+ patch -p1 <$srcdir/fix_exceptions_import_for_sqlalchemy_0.8.patch
+ python2 setup.py install --root=$pkgdir
+}
Copied:
python2-migrate/repos/community-testing-any/fix_exceptions_import_for_sqlalchemy_0.8.patch
(from rev 96010,
python2-migrate/trunk/fix_exceptions_import_for_sqlalchemy_0.8.patch)
===================================================================
--- community-testing-any/fix_exceptions_import_for_sqlalchemy_0.8.patch
(rev 0)
+++ community-testing-any/fix_exceptions_import_for_sqlalchemy_0.8.patch
2013-08-19 10:13:08 UTC (rev 96011)
@@ -0,0 +1,12 @@
+diff -ruNa a/migrate/versioning/schema.py b/migrate/versioning/schema.py
+--- a/migrate/versioning/schema.py
++++ b/migrate/versioning/schema.py
+@@ -7,7 +7,7 @@
+ 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