# $NetBSD: Makefile,v 1.19 2022/01/05 15:41:00 wiz Exp $ DISTNAME= sqlparse-0.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 2 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sqlparse/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/andialbrecht/sqlparse COMMENT= Non-validating SQL parser LICENSE= modified-bsd BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner USE_LANGUAGES= # none USE_PKG_RESOURCES= yes PYSETUPTESTTARGET= pytest post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} sqlformat sqlformat-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"