blob: 7ce7b85ceea638c47b9f3d976dd318db3fb7e463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py-sqlparse
_pkgname=sqlparse
pkgver=0.1.19
pkgrel=0
pkgdesc="A non-validating SQL parser module for Python"
url="https://pypi.python.org/pypi/sqlparse"
arch="noarch"
license="BSD"
depends="python2"
makedepends="python2-dev py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="f200d8dea67b58bc15575bfa76e4e9dc py-sqlparse-0.1.19.tar.gz"
sha256sums="d896be1a1c7f24bffe08d7a64e6f0176b260e281c5f3685afe7826f8bada4ee8 py-sqlparse-0.1.19.tar.gz"
sha512sums="805e737c004eec721bc1fbdea0b89516de7172cb4431736817a2b5b44e2a1f0e5e23a09b07bcd9455679db9bf586f0baf9e3f0c50c389c4b80f116b662d407ed py-sqlparse-0.1.19.tar.gz"
|