mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
31 lines
877 B
Plaintext
31 lines
877 B
Plaintext
# Contributor: omni <omni+alpine@hack.org>
|
|
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=py3-sqlglot
|
|
_pkgname=sqlglot
|
|
pkgver=12.1.0
|
|
pkgrel=1
|
|
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
|
|
subpackages="$pkgname-pyc"
|
|
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="
|
|
2567c246768cc1bfe184508f9d442d6e84a484ca314cca11707a4591fc7964d5eb907ae8257f9323bf4aaa757aa4979b8a122ae3db0aa54834e9c3d83a60ad5e sqlglot-12.1.0.tar.gz
|
|
"
|