[arch-commits] Commit in python2-migrate/repos/community-any (5 files)

Balló György bgyorgy at nymeria.archlinux.org
Mon Jan 13 12:09:39 UTC 2014


    Date: Monday, January 13, 2014 @ 13:09:39
  Author: bgyorgy
Revision: 103892

archrelease: copy trunk to community-any

Added:
  python2-migrate/repos/community-any/PKGBUILD
    (from rev 103891, python2-migrate/trunk/PKGBUILD)
  python2-migrate/repos/community-any/fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch
    (from rev 103891, python2-migrate/trunk/fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch)
  python2-migrate/repos/community-any/fix_exceptions_import_for_sqlalchemy_0.8.patch
    (from rev 103891, python2-migrate/trunk/fix_exceptions_import_for_sqlalchemy_0.8.patch)
Deleted:
  python2-migrate/repos/community-any/PKGBUILD
  python2-migrate/repos/community-any/fix_exceptions_import_for_sqlalchemy_0.8.patch

---------------------------------------------------+
 PKGBUILD                                          |  103 ++++++++++----------
 fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch |   12 ++
 fix_exceptions_import_for_sqlalchemy_0.8.patch    |   24 ++--
 3 files changed, 79 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-13 12:09:34 UTC (rev 103891)
+++ PKGBUILD	2014-01-13 12:09:39 UTC (rev 103892)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-pkgname=python2-migrate
-pkgver=0.7.2
-pkgrel=5
-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
-
-  install -dm0755 $pkgdir/usr/share/licenses/$pkgname/
-  cat >$pkgdir/usr/share/licenses/$pkgname/LICENSE <<EOF
-The MIT License (MIT)
-
-Copyright (c) 2011 Jan Dittberner <jan at dittberner.info>
-
-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.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-EOF
-}

Copied: python2-migrate/repos/community-any/PKGBUILD (from rev 103891, python2-migrate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-01-13 12:09:39 UTC (rev 103892)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgname=python2-migrate
+pkgver=0.7.2
+pkgrel=6
+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
+        fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch)
+md5sums=('10382fda16f056491e671b5307dd6713'
+         'f0e7a642736d0451709cf2d0684bc8e9'
+         '8957d0b768e8fc70ce8f187758e09109')
+
+prepare() {
+  cd $srcdir/sqlalchemy-migrate-$pkgver
+  patch -p1 <$srcdir/fix_exceptions_import_for_sqlalchemy_0.8.patch
+  patch -p1 <$srcdir/fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch
+}
+
+package() {
+  cd $srcdir/sqlalchemy-migrate-$pkgver
+  python2 setup.py install --root=$pkgdir
+
+  install -dm0755 $pkgdir/usr/share/licenses/$pkgname/
+  cat >$pkgdir/usr/share/licenses/$pkgname/LICENSE <<EOF
+The MIT License (MIT)
+
+Copyright (c) 2011 Jan Dittberner <jan at dittberner.info>
+
+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.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+EOF
+}

Copied: python2-migrate/repos/community-any/fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch (from rev 103891, python2-migrate/trunk/fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch)
===================================================================
--- fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch	                        (rev 0)
+++ fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch	2014-01-13 12:09:39 UTC (rev 103892)
@@ -0,0 +1,12 @@
+diff -ruNa sqlalchemy-migrate-0.7.2.orig/migrate/changeset/ansisql.py sqlalchemy-migrate-0.7.2/migrate/changeset/ansisql.py
+--- sqlalchemy-migrate-0.7.2.orig/migrate/changeset/ansisql.py	2011-10-28 17:11:43.000000000 +0200
++++ sqlalchemy-migrate-0.7.2/migrate/changeset/ansisql.py	2014-01-13 13:02:08.456043268 +0100
+@@ -7,7 +7,7 @@
+ import StringIO
+ 
+ import sqlalchemy as sa
+-from sqlalchemy.schema import SchemaVisitor
++from sqlalchemy.sql.base import SchemaVisitor
+ from sqlalchemy.engine.default import DefaultDialect
+ from sqlalchemy.sql import ClauseElement
+ from sqlalchemy.schema import (ForeignKeyConstraint,

Deleted: fix_exceptions_import_for_sqlalchemy_0.8.patch
===================================================================
--- fix_exceptions_import_for_sqlalchemy_0.8.patch	2014-01-13 12:09:34 UTC (rev 103891)
+++ fix_exceptions_import_for_sqlalchemy_0.8.patch	2014-01-13 12:09:39 UTC (rev 103892)
@@ -1,12 +0,0 @@
-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

Copied: python2-migrate/repos/community-any/fix_exceptions_import_for_sqlalchemy_0.8.patch (from rev 103891, 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	2014-01-13 12:09:39 UTC (rev 103892)
@@ -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




More information about the arch-commits mailing list