- update to py-simplejson-2.0.9

- switch to PYPI_SITE
- use pax, nosetests
with, ok fgs@
This commit is contained in:
martynas 2009-03-25 01:32:17 +00:00
parent 2c8f860470
commit 77b69bdeff
2 changed files with 23 additions and 26 deletions

View File

@ -1,38 +1,35 @@
# $OpenBSD: Makefile,v 1.10 2009/03/11 21:47:13 bernd Exp $ # $OpenBSD: Makefile,v 1.11 2009/03/25 01:32:17 martynas Exp $
COMMENT= JSON encoder/decoder COMMENT = JSON encoder/decoder
MODPY_EGG_VERSION= 2.0.7 MODPY_EGG_VERSION = 2.0.9
DISTNAME= simplejson-${MODPY_EGG_VERSION} DISTNAME = simplejson-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}p0 PKGNAME = py-${DISTNAME}
CATEGORIES= devel CATEGORIES = devel
HOMEPAGE= http://undefined.org/python/\#simplejson HOMEPAGE = http://undefined.org/python/\#simplejson
MAINTAINER= Martynas Venckus <martynas@openbsd.org> MAINTAINER = Martynas Venckus <martynas@openbsd.org>
# MIT # MIT
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= http://cheeseshop.python.org/packages/source/s/simplejson/ MASTER_SITES = ${MASTER_SITE_PYPI:=s/simplejson/}
MODULES= lang/python MODULES = lang/python
REGRESS_DEPENDS= ::devel/py-nose REGRESS_DEPENDS = ::devel/py-nose
MODPY_SETUPTOOLS= Yes MODPY_SETUPTOOLS = Yes
post-install: post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson
cd ${WRKSRC}/docs && \ cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-simplejson
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson/{} \; && \
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/py-simplejson/{} \;
do-regress: do-regress:
cd ${WRKSRC} && ${MODPY_BIN} -c \ cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests
'import simplejson.tests; simplejson.tests.main()'
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (simplejson-2.0.7.tar.gz) = nQInP4YVuOP87aiR//8Q0Q== MD5 (simplejson-2.0.9.tar.gz) = r15no5yjQIVjQR01fm1eRw==
RMD160 (simplejson-2.0.7.tar.gz) = IgRj3/MuQMq6DOuswml+2CWhdRI= RMD160 (simplejson-2.0.9.tar.gz) = gUoLeqEaNhul7aC+k+MFBcRECa0=
SHA1 (simplejson-2.0.7.tar.gz) = XDrIgCqkLmPQV7vQJAhlk9wjPc4= SHA1 (simplejson-2.0.9.tar.gz) = tbJgWa2+Z3sGwpm+0wVX/LDH34w=
SHA256 (simplejson-2.0.7.tar.gz) = KzSe1zVA+M5ovfop4I49/52IUCe/oG1qhxoJ/jgd274= SHA256 (simplejson-2.0.9.tar.gz) = q830YHeL7/SLoT+vW1gQzzgD5cjYcrX8UpImqlbsk+4=
SIZE (simplejson-2.0.7.tar.gz) = 114982 SIZE (simplejson-2.0.9.tar.gz) = 115443