- Added devel/py-ruledispatch, devel/py-simplejson and
databases/py-sqlobject as RUN_DEPENDS - Updated to 1.0 - Use the new variable PYTHON_VER inside PYTURBOJSON_EGG (style fix) Approved by: alexbl (mentor, implicit)
This commit is contained in:
parent
a9f55050ea
commit
f00f5d140d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183295
6 changed files with 18 additions and 14 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= TurboJson
|
||||
PORTVERSION= 0.9.9
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://files.turbogears.org/eggs/ \
|
||||
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
||||
|
@ -19,8 +19,9 @@ COMMENT= Python template plugin for TurboGears that supports json
|
|||
|
||||
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
FETCH_CMD= ${DESTDIR}/usr/bin/fetch -pRr
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYRULEDISPATCH_EGG}:${PORTSDIR}/devel/py-ruledispatch \
|
||||
${PYTHON_SITELIBDIR}/${PYSQLOBJECT_EGG}/sqlobject/__init__.py:${PORTSDIR}/databases/py-sqlobject \
|
||||
${PYTHON_SITELIBDIR}/simplejson-1.4.egg:${PORTSDIR}/devel/py-simplejson
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
|
@ -35,7 +36,7 @@ SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
|
|||
EASY_INSTALL= ${LOCALBASE}/bin/easy_install
|
||||
EASY_INSTALL_ARGS= -N -b ${WRKSRC} -d ${PYTHON_SITELIBDIR} -s ${PREFIX}/bin
|
||||
|
||||
PYTURBOJSON_EGG= ${PORTNAME}-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg
|
||||
PYTURBOJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (TurboJson-0.9.9-py2.4.egg) = d8053e4b4e7920305bb6a96bfba23164
|
||||
SHA256 (TurboJson-0.9.9-py2.4.egg) = c6a5345972e07eb143eae180485a759e7cb193d17f85c17183c55db533894881
|
||||
SIZE (TurboJson-0.9.9-py2.4.egg) = 6619
|
||||
MD5 (TurboJson-1.0-py2.4.egg) = 97b67f60f13c18e42289b45dede2e618
|
||||
SHA256 (TurboJson-1.0-py2.4.egg) = e02e45e5106ea5d86c653ad221db48852c626263ffc87c1d3e808332a4e38f49
|
||||
SIZE (TurboJson-1.0-py2.4.egg) = 6858
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/entry_points.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.pyc
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= TurboJson
|
||||
PORTVERSION= 0.9.9
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://files.turbogears.org/eggs/ \
|
||||
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
||||
|
@ -19,8 +19,9 @@ COMMENT= Python template plugin for TurboGears that supports json
|
|||
|
||||
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
FETCH_CMD= ${DESTDIR}/usr/bin/fetch -pRr
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYRULEDISPATCH_EGG}:${PORTSDIR}/devel/py-ruledispatch \
|
||||
${PYTHON_SITELIBDIR}/${PYSQLOBJECT_EGG}/sqlobject/__init__.py:${PORTSDIR}/databases/py-sqlobject \
|
||||
${PYTHON_SITELIBDIR}/simplejson-1.4.egg:${PORTSDIR}/devel/py-simplejson
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
|
@ -35,7 +36,7 @@ SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
|
|||
EASY_INSTALL= ${LOCALBASE}/bin/easy_install
|
||||
EASY_INSTALL_ARGS= -N -b ${WRKSRC} -d ${PYTHON_SITELIBDIR} -s ${PREFIX}/bin
|
||||
|
||||
PYTURBOJSON_EGG= ${PORTNAME}-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg
|
||||
PYTURBOJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (TurboJson-0.9.9-py2.4.egg) = d8053e4b4e7920305bb6a96bfba23164
|
||||
SHA256 (TurboJson-0.9.9-py2.4.egg) = c6a5345972e07eb143eae180485a759e7cb193d17f85c17183c55db533894881
|
||||
SIZE (TurboJson-0.9.9-py2.4.egg) = 6619
|
||||
MD5 (TurboJson-1.0-py2.4.egg) = 97b67f60f13c18e42289b45dede2e618
|
||||
SHA256 (TurboJson-1.0-py2.4.egg) = e02e45e5106ea5d86c653ad221db48852c626263ffc87c1d3e808332a4e38f49
|
||||
SIZE (TurboJson-1.0-py2.4.egg) = 6858
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/entry_points.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.pyc
|
||||
|
|
Loading…
Reference in a new issue