- Update to 1.9.1

This commit is contained in:
Li-Wen Hsu 2008-06-15 21:40:12 +00:00
parent cd5f0925eb
commit 98b9eb608b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214920
3 changed files with 10 additions and 33 deletions

View file

@ -6,46 +6,25 @@
#
PORTNAME= simplejson
PORTVERSION= 1.7.3
PORTVERSION= 1.9.1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MASTER_SITE_SUBDIR= source/s/${PORTNAME}
MAINTAINER= python@FreeBSD.org
COMMENT= Simplejson is a simple, fast, extensible JSON encoder/decoder
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_ARCHDEP= yes
PYDISTUTILS_NOEGGINFO= yes # XXX use bsd.python.mk's
PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-${OSINFOS}.egg
OSINFOS= ${OPSYS:L}-${OSRELEASE}-${ARCH}
PLIST_SUB+= PYSIMPLEJSON_EGG=${PYSIMPLEJSON_EGG}
.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
.endif
pre-build:
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-platlib -s lib.${OSINFOS}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-temp -s temp.${OSINFOS}-${PYTHON_VER}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o plat-name -s ${OSINFOS}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o plat-name -s ${OSINFOS}
post-install:
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
OSRELEASE!= uname -r
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (simplejson-1.7.3.tar.gz) = 03935eda1211f29d6856481baf6cba59
SHA256 (simplejson-1.7.3.tar.gz) = 748bc8b9105580bc175f36390a10c9fcff774162fb8267e151b0c8e2c1ce077f
SIZE (simplejson-1.7.3.tar.gz) = 59899
MD5 (simplejson-1.9.1.tar.gz) = d2ee608bdf6397b82a7cd53c8602b29e
SHA256 (simplejson-1.9.1.tar.gz) = a1151de1d6cb409556ad8a6860ba3b89b10e8b719396276fae4fc06749844453
SIZE (simplejson-1.9.1.tar.gz) = 70457

View file

@ -1,4 +1,2 @@
@comment $FreeBSD$
@unexec easy_install -q -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYSIMPLEJSON_EGG%%
%%PYTHON_SITELIBDIR%%/%%PYSIMPLEJSON_EGG%%
@exec easy_install -N %D/%%PYTHON_SITELIBDIR%%/%%PYSIMPLEJSON_EGG%%
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%