mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
29 lines
850 B
Text
29 lines
850 B
Text
# Contributor: omni <omni+alpine@hack.org>
|
|
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=py3-sqlglot
|
|
_pkgname=sqlglot
|
|
pkgver=10.6.3
|
|
pkgrel=0
|
|
pkgdesc="Python SQL Parser and Transpiler"
|
|
url="https://github.com/tobymao/sqlglot"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
options="!check"
|
|
# tests are included in the github release tarball but seem to require
|
|
# additional aports to be added, see requirements.txt
|
|
source="https://files.pythonhosted.org/packages/source/s/sqlglot/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
0a720a16ad1629f03eca4c30dcf4686f5cd8b1e5fc7f09047dc38d59d4c52b6da66245e4324b22c046a34c40f3dd2abb3b72b85ca0db80b6c4ce326b49727490 sqlglot-10.6.3.tar.gz
|
|
"
|