mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 01:11:33 +02:00
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
# 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="python"
|
|
makedepends="python-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"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python 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"
|