20 lines
615 B
Bash
20 lines
615 B
Bash
# Template file for 'python-sqlparse'
|
|
pkgname=python-sqlparse
|
|
version=0.3.0
|
|
revision=6
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-setuptools"
|
|
short_desc="Non-validating SQL parser for Python2"
|
|
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=7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873
|
|
alternatives="sqlparse:sqlformat:/usr/bin/sqlformat2"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/sqlformat{,2}
|
|
vlicense LICENSE
|
|
}
|