openbsd-ports/devel/py-simplejson/Makefile
2010-11-15 19:45:56 +00:00

37 lines
797 B
Makefile

# $OpenBSD: Makefile,v 1.14 2010/11/15 19:46:08 espie Exp $
COMMENT = JSON encoder/decoder
MODPY_EGG_VERSION = 2.0.9
DISTNAME = simplejson-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 1
CATEGORIES = devel
HOMEPAGE = http://undefined.org/python/\#simplejson
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=s/simplejson/}
MODULES = lang/python
REGRESS_DEPENDS = devel/py-nose
MODPY_SETUPTOOLS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-simplejson
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests
.include <bsd.port.mk>