Date: Friday, April 19, 2013 @ 19:05:30
Author: spupykin
Revision: 88550
archrelease: copy trunk to community-any
Added:
python2-migrate/repos/community-any/PKGBUILD
(from rev 88549, python2-migrate/trunk/PKGBUILD)
python2-migrate/repos/community-any/fix_exceptions_import_for_sqlalchemy_0.8.patch
(from rev 88549,
python2-migrate/trunk/fix_exceptions_import_for_sqlalchemy_0.8.patch)
Deleted:
python2-migrate/repos/community-any/PKGBUILD
------------------------------------------------+
PKGBUILD | 43 ++++++++++++-----------
fix_exceptions_import_for_sqlalchemy_0.8.patch | 12 ++++++
2 files changed, 35 insertions(+), 20 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-19 17:05:21 UTC (rev 88549)
+++ PKGBUILD 2013-04-19 17:05:30 UTC (rev 88550)
@@ -1,20 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <[email protected]>
-# Contributor: Roberto Alsina <[email protected]>
-
-pkgname=python2-migrate
-pkgver=0.7.2
-pkgrel=2
-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-distribute')
-license=('MIT')
-source=(http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-migrate-$pkgver.tar.gz)
-md5sums=('10382fda16f056491e671b5307dd6713')
-
-package() {
- cd $srcdir/sqlalchemy-migrate-$pkgver
- python2 setup.py install --root=$pkgdir
-}
Copied: python2-migrate/repos/community-any/PKGBUILD (from rev 88549,
python2-migrate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-04-19 17:05:30 UTC (rev 88550)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: Roberto Alsina <[email protected]>
+
+pkgname=python2-migrate
+pkgver=0.7.2
+pkgrel=3
+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-distribute')
+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-any/fix_exceptions_import_for_sqlalchemy_0.8.patch
(from rev 88549,
python2-migrate/trunk/fix_exceptions_import_for_sqlalchemy_0.8.patch)
===================================================================
--- fix_exceptions_import_for_sqlalchemy_0.8.patch
(rev 0)
+++ fix_exceptions_import_for_sqlalchemy_0.8.patch 2013-04-19 17:05:30 UTC
(rev 88550)
@@ -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