2017-09-28 18:21:21 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2017/09/28 16:21:21 adam Exp $
|
2014-05-03 17:34:22 +02:00
|
|
|
|
2017-09-28 18:21:21 +02:00
|
|
|
DISTNAME= python-cjson-1.2.1
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
|
|
|
|
CATEGORIES= textproc python
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-cjson/}
|
2014-05-03 17:34:22 +02:00
|
|
|
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
2017-09-28 18:21:21 +02:00
|
|
|
HOMEPAGE= https://github.com/AGProjects/python-cjson
|
2014-05-03 17:34:22 +02:00
|
|
|
COMMENT= Fast JSON encoder/decoder for Python
|
|
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
|
2017-09-28 18:21:21 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # Uses old string API.
|
2014-05-03 17:34:22 +02:00
|
|
|
|
|
|
|
do-test:
|
2017-09-28 18:21:21 +02:00
|
|
|
cd ${WRKSRC} && ${PYTHONBIN} jsontest.py
|
2014-05-03 17:34:22 +02:00
|
|
|
|
2017-09-28 18:21:21 +02:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2014-05-03 17:34:22 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|