[arch-commits] Commit in python2-migrate/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu Dec 5 14:35:35 UTC 2013


    Date: Thursday, December 5, 2013 @ 15:35:35
  Author: spupykin
Revision: 102124

upgpkg: python2-migrate 0.7.2-5

upd

Modified:
  python2-migrate/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-05 14:32:44 UTC (rev 102123)
+++ PKGBUILD	2013-12-05 14:35:35 UTC (rev 102124)
@@ -4,7 +4,7 @@
 
 pkgname=python2-migrate
 pkgver=0.7.2
-pkgrel=4
+pkgrel=5
 pkgdesc="provides a way to deal with database schema changes in SQLAlchemy projects"
 arch=(any)
 url="http://sqlalchemy-migrate.googlecode.com/"
@@ -20,4 +20,29 @@
   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
 }




More information about the arch-commits mailing list