Date: Thursday, August 7, 2014 @ 13:25:45 Author: spupykin Revision: 116978
archrelease: copy trunk to community-any Added: python2-migrate/repos/community-any/PKGBUILD (from rev 116977, python2-migrate/trunk/PKGBUILD) Deleted: python2-migrate/repos/community-any/PKGBUILD python2-migrate/repos/community-any/fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch python2-migrate/repos/community-any/fix_exceptions_import_for_sqlalchemy_0.8.patch ---------------------------------------------------+ PKGBUILD | 79 ++++++-------------- fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch | 12 --- fix_exceptions_import_for_sqlalchemy_0.8.patch | 12 --- 3 files changed, 24 insertions(+), 79 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-08-07 11:25:37 UTC (rev 116977) +++ PKGBUILD 2014-08-07 11:25:45 UTC (rev 116978) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Roberto Alsina <rals...@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 <j...@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 116977, python2-migrate/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-08-07 11:25:45 UTC (rev 116978) @@ -0,0 +1,24 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Roberto Alsina <rals...@kde.org> + +pkgname=python2-migrate +pkgver=0.9.1 +pkgrel=1 +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' 'python2-pip' 'python2-six' 'python2-decorator' + 'python2-pbr') +makedepends=('python2-setuptools' 'git') +license=('MIT') +#source=("$pkgname-$pkgver.tar.gz::https://github.com/stackforge/sqlalchemy-migrate/archive/$pkgver.tar.gz") +source=("$pkgname-$pkgver::git://github.com/stackforge/sqlalchemy-migrate.git#tag=$pkgver") +md5sums=('SKIP') + +package() { + cd $srcdir/python2-migrate-$pkgver + python2 setup.py install --root=$pkgdir + install -Dm0755 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE +} Deleted: fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch =================================================================== --- fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch 2014-08-07 11:25:37 UTC (rev 116977) +++ fix_SchemaVisitor_import_for_sqlalchemy_0.9.patch 2014-08-07 11:25:45 UTC (rev 116978) @@ -1,12 +0,0 @@ -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-08-07 11:25:37 UTC (rev 116977) +++ fix_exceptions_import_for_sqlalchemy_0.8.patch 2014-08-07 11:25:45 UTC (rev 116978) @@ -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