File:  [cvs.NetBSD.org] / pkgsrc / databases / py-sqlite2 / Makefile
Revision 1.51: download - view: text, annotated - select for diffs
Tue Jul 3 05:03:07 2018 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: HEAD
extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.51 2018/07/03 05:03:07 adam Exp $

DISTNAME=	pysqlite-2.8.3
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/pysqlite/sqlite2/}
PKGREVISION=	1
CATEGORIES=	databases python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/pysqlite/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://github.com/ghaering/pysqlite/
COMMENT=	SQLite database adapter for Python
LICENSE=	mit

PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37 # not yet ported as of 2.6.3

.PHONY: do-postinstall-test
do-postinstall-test:
	cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"

.include "../../lang/python/distutils.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>