aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-turbojson
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2007-01-26 06:02:13 +0800
committernivit <nivit@FreeBSD.org>2007-01-26 06:02:13 +0800
commit606595180bb5c013a27378a136234ce279677bb7 (patch)
tree70f3ee53cdd6e1028e56529c91193878debf76c0 /devel/py-turbojson
parent7c1046f9b6039ab7a76a560d805e0bcc3d45bdc3 (diff)
downloadfreebsd-ports-gnome-606595180bb5c013a27378a136234ce279677bb7.tar.gz
freebsd-ports-gnome-606595180bb5c013a27378a136234ce279677bb7.tar.zst
freebsd-ports-gnome-606595180bb5c013a27378a136234ce279677bb7.zip
- 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)
Diffstat (limited to 'devel/py-turbojson')
-rw-r--r--devel/py-turbojson/Makefile9
-rw-r--r--devel/py-turbojson/distinfo6
-rw-r--r--devel/py-turbojson/pkg-plist1
3 files changed, 9 insertions, 7 deletions
diff --git a/devel/py-turbojson/Makefile b/devel/py-turbojson/Makefile
index 553738a9cea1..262a7a92acce 100644
--- a/devel/py-turbojson/Makefile
+++ b/devel/py-turbojson/Makefile
@@ -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}
diff --git a/devel/py-turbojson/distinfo b/devel/py-turbojson/distinfo
index 07d344add6a6..0906aa82e908 100644
--- a/devel/py-turbojson/distinfo
+++ b/devel/py-turbojson/distinfo
@@ -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
diff --git a/devel/py-turbojson/pkg-plist b/devel/py-turbojson/pkg-plist
index 6c0334673a99..994e030d0a11 100644
--- a/devel/py-turbojson/pkg-plist
+++ b/devel/py-turbojson/pkg-plist
@@ -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