python-sqlparse: Update to 0.3.0

This commit is contained in:
Alexey Pavlov
2019-10-25 00:00:23 +03:00
parent 8c4c074bc5
commit 3910231faa

View File

@@ -3,8 +3,8 @@
_realname=sqlparse
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.2.4
pkgrel=2
pkgver=0.3.0
pkgrel=1
pkgdesc="Non-validating SQL parser for Python (mingw-w64)"
arch=('any')
url='https://github.com/andialbrecht/sqlparse'
@@ -14,15 +14,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2"
"${MINGW_PACKAGE_PREFIX}-python3-setuptools"
"${MINGW_PACKAGE_PREFIX}-python2-setuptools")
options=('staticlibs' 'strip' '!debug')
source=("${_realname}-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/$pkgver.tar.gz")
sha256sums=('7087a2bd385c06ac1a5cf343e2e5ea7ce2bb6386849e59ef214e02af68f73fb4')
source=("${_realname}-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/${pkgver}.tar.gz")
sha256sums=('a75fddae009fba1d66786203c9dd3a842aa4415475c466d15484139117108474')
# Helper macros to help make tasks easier #
apply_patch_with_msg() {
for _patch in "$@"
do
msg2 "Applying $_patch"
patch -Nbp1 -i "${srcdir}/$_patch"
msg2 "Applying ${_patch}"
patch -Nbp1 -i "${srcdir}/${_patch}"
done
}