27 lines
896 B
Bash
27 lines
896 B
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Morten Linderud <foxboron@archlinux.org>
|
|
# Contributor: Jonathan Kotta <jpkotta AT gmail DOT com>
|
|
|
|
pkgname=python-sqlparse
|
|
pkgver=0.5.1
|
|
pkgrel=1
|
|
pkgdesc='Non-validating SQL parser for Python'
|
|
arch=(any)
|
|
url=https://github.com/andialbrecht/sqlparse
|
|
license=('BSD')
|
|
depends=('python')
|
|
makedepends=('python-setuptools' 'python-flit-core' 'python-build' 'python-installer' 'python-wheel' 'python-hatchling')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/$pkgver.tar.gz")
|
|
sha256sums=('a9f1a42ca749a019aa98d996b58e917f4c9e1b9ff164610355f35248733767bb')
|
|
|
|
build() {
|
|
cd sqlparse-$pkgver
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd sqlparse-$pkgver
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|