Skip to content
Snippets Groups Projects
Commit 7fbd0a69 authored by omni's avatar omni Committed by alice
Browse files

community/py3-sqlglot: new aport

parent 83d75914
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38517community/mycli: upgrade to 1.26.1
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=py3-sqlglot
_pkgname=sqlglot
pkgver=6.0.4
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 --prefix=/usr --root="$pkgdir"
}
sha512sums="
4f90e0c26138ae1eae84b92c420f70dd6d63e2e3cfdc26ef3df8a80577fdd1dad24034be50cb2a4075769530a013f1de52c8fdfdf110a97aee15f1c3c06abc90 sqlglot-6.0.4.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment