[arch-commits] Commit in python-sqlalchemy-migrate/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Mon Dec 24 14:39:13 UTC 2018
Date: Monday, December 24, 2018 @ 14:39:12
Author: yan12125
Revision: 417827
upgpkg: python-sqlalchemy-migrate 0.11.0-4
Add a patch to fix incompatibility with SQLite 3.26. This is necessary for
the test suite of buildbot.
Upstream-Bug: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1807262
Modified:
python-sqlalchemy-migrate/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-24 14:02:10 UTC (rev 417826)
+++ PKGBUILD 2018-12-24 14:39:12 UTC (rev 417827)
@@ -3,7 +3,7 @@
pkgbase=python-sqlalchemy-migrate
pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate)
pkgver=0.11.0
-pkgrel=3
+pkgrel=4
pkgdesc="Database schema migration for SQLAlchemy"
arch=('any')
url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"
@@ -15,10 +15,16 @@
'python-scripttest' 'python2-scripttest' 'python-ibm-db-sa' 'python2-ibm-db-sa'
'mysql-python' 'python2-psycopg2')
options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/sqlalchemy-migrate/archive/$pkgver.tar.gz")
-sha512sums=('07c18d2f197f2bda2caa41672f7e3e278397f3b30d3cf3297200df89a051e9e46147dc1c95e20398ed575e7f3c1dd4c56f9e525ab47a960344f51d276e70639f')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/sqlalchemy-migrate/archive/$pkgver.tar.gz"
+ fix-compatibility-with-sqlite-3.26.patch::https://git.openstack.org/cgit/openstack/sqlalchemy-migrate/patch/?id=4a7f9c46cb2b4d500713e099b73b5fe4137158b2)
+sha512sums=('07c18d2f197f2bda2caa41672f7e3e278397f3b30d3cf3297200df89a051e9e46147dc1c95e20398ed575e7f3c1dd4c56f9e525ab47a960344f51d276e70639f'
+ 'd4c2b58de39166706edbf6b1e5dceea8518b5b582f76733e5e3058e3e21390ac19e4e9edebc3fb655ee6ca5c26c38982efd4c3d5f20813468761e55ea6d0fa85')
prepare() {
+ pushd sqlalchemy-migrate-$pkgver
+ patch -Np1 -i ../fix-compatibility-with-sqlite-3.26.patch
+ popd
+
cp -a sqlalchemy-migrate-$pkgver{,-py2}
export PBR_VERSION=$pkgver
More information about the arch-commits
mailing list