1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Added easy_install commands to add/remove simplejson's entry

to/from ${PYTHON_SITELIBDIR}/easy-install.pth (it failed
  original MD5 checksum)
- Added variable PYSIMPLEJSON_EGG
- Bumped PORTREVISION

PR:		ports/108353
Submitted by:	Nicola Vitale <nivit at email.it>
Approved by:	alexbl (mentor, implicit)
This commit is contained in:
Nicola Vitale 2007-01-27 00:35:01 +00:00
parent 0be312969f
commit 04e8a70dda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183373
2 changed files with 10 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= simplejson
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://cheeseshop.python.org/packages/source/s/simplejson/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -20,4 +21,9 @@ RUN_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
PLIST_SUB+= PYSIMPLEJSON_EGG=${PYSIMPLEJSON_EGG} \
EGG_VER="${PORTNAME}==${PORTVERSION}"
.include <bsd.port.mk>

View File

@ -1 +1,4 @@
%%PYTHON_SITELIBDIR%%/simplejson-1.4-py2.4.egg
@comment $FreeBSD$
@unexec easy_install -q -m -S %D/%%PYTHON_SITELIBDIR%% %%EGG_VER%%
%%PYTHON_SITELIBDIR%%/%%PYSIMPLEJSON_EGG%%
@exec easy_install -q -N -S %D/%%PYTHON_SITELIBDIR%% %%EGG_VER%%