void-packages/srcpkgs/python3-sqlparse/template

21 lines
637 B
Bash

# Template file for 'python3-sqlparse'
pkgname=python3-sqlparse
version=0.4.4
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core"
depends="python3"
checkdepends="python3-pytest"
short_desc="Non-validating SQL parser for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/andialbrecht/sqlparse"
distfiles="${PYPI_SITE}/s/sqlparse/sqlparse-${version}.tar.gz"
checksum=d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c
alternatives="sqlparse:sqlformat:/usr/bin/sqlformat3"
post_install() {
mv ${DESTDIR}/usr/bin/sqlformat{,3}
vlicense LICENSE
}