diff options
author | nivit <nivit@FreeBSD.org> | 2007-01-07 10:13:56 +0000 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-01-07 10:13:56 +0000 |
commit | d3dc0fec64cecacc63050c0ed24cbf6f5609ed19 (patch) | |
tree | 586a2606d98db7b2460f18ca34bdf63f69c80698 | |
parent | 716ca7004eed605ecb61610e1574ce8040bad04d (diff) | |
download | FreeBSD-ports-d3dc0fec64cecacc63050c0ed24cbf6f5609ed19.zip FreeBSD-ports-d3dc0fec64cecacc63050c0ed24cbf6f5609ed19.tar.gz |
Approved by: alexbl (mentor)
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-turbojson/Makefile | 46 | ||||
-rw-r--r-- | devel/py-turbojson/distinfo | 3 | ||||
-rw-r--r-- | devel/py-turbojson/files/pkg-deinstall.in | 17 | ||||
-rw-r--r-- | devel/py-turbojson/files/pkg-install.in | 16 | ||||
-rw-r--r-- | devel/py-turbojson/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-turbojson/pkg-plist | 21 | ||||
-rw-r--r-- | devel/py-turbojson11/Makefile | 46 | ||||
-rw-r--r-- | devel/py-turbojson11/distinfo | 3 | ||||
-rw-r--r-- | devel/py-turbojson11/files/pkg-deinstall.in | 17 | ||||
-rw-r--r-- | devel/py-turbojson11/files/pkg-install.in | 16 | ||||
-rw-r--r-- | devel/py-turbojson11/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-turbojson11/pkg-plist | 21 |
13 files changed, 215 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9f474d0..c0140d0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1794,6 +1794,7 @@ SUBDIR += py-testgears SUBDIR += py-tconfpy SUBDIR += py-testoob + SUBDIR += py-turbojson SUBDIR += py-twisted SUBDIR += py-twistedCore SUBDIR += py-twistedFlow diff --git a/devel/py-turbojson/Makefile b/devel/py-turbojson/Makefile new file mode 100644 index 0000000..553738a --- /dev/null +++ b/devel/py-turbojson/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: py-turbojson +# Date created: 2006-12-02 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= TurboJson +PORTVERSION= 0.9.9 +CATEGORIES= devel python +MASTER_SITES= http://files.turbogears.org/eggs/ \ + http://nivi.interfree.it/distfiles/${PORTNAME}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PYTURBOJSON_EGG} +EXTRACT_SUFX= + +MAINTAINER= nivit@FreeBSD.org +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 + +NO_BUILD= yes + +USE_PYTHON= 2.4 + +PLIST_SUB+= PYTURBOJSON_EGG=${PYTURBOJSON_EGG} + +SUB_FILES+= pkg-deinstall pkg-install +SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ + EGG="${PORTNAME}==${PORTVERSION}" + +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 + +do-extract: + ${MKDIR} ${WRKSRC} + +do-install: + ${EASY_INSTALL} ${EASY_INSTALL_ARGS} ${DISTDIR}/${DISTFILES} + +.include <bsd.port.mk> diff --git a/devel/py-turbojson/distinfo b/devel/py-turbojson/distinfo new file mode 100644 index 0000000..07d344a --- /dev/null +++ b/devel/py-turbojson/distinfo @@ -0,0 +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 diff --git a/devel/py-turbojson/files/pkg-deinstall.in b/devel/py-turbojson/files/pkg-deinstall.in new file mode 100644 index 0000000..c2a4012 --- /dev/null +++ b/devel/py-turbojson/files/pkg-deinstall.in @@ -0,0 +1,17 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + DEINSTALL) + easy_install -q -N -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + POST-DEINSTALL) + exit 0 + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/devel/py-turbojson/files/pkg-install.in b/devel/py-turbojson/files/pkg-install.in new file mode 100644 index 0000000..9cddbe2 --- /dev/null +++ b/devel/py-turbojson/files/pkg-install.in @@ -0,0 +1,16 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + POST-INSTALL) + easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + PRE-INSTALL) + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/devel/py-turbojson/pkg-descr b/devel/py-turbojson/pkg-descr new file mode 100644 index 0000000..8c863a6 --- /dev/null +++ b/devel/py-turbojson/pkg-descr @@ -0,0 +1,4 @@ +Python template plugin for TurboGears that supports json + +Author: Elvelind Grandin +WWW: http://www.turbogears.org/docs/plugins/template.html diff --git a/devel/py-turbojson/pkg-plist b/devel/py-turbojson/pkg-plist new file mode 100644 index 0000000..6c03346 --- /dev/null +++ b/devel/py-turbojson/pkg-plist @@ -0,0 +1,21 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/SOURCES.txt +%%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/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonify.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonify.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonsupport.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonsupport.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/test_jsonify.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/test_jsonify.pyc +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%% diff --git a/devel/py-turbojson11/Makefile b/devel/py-turbojson11/Makefile new file mode 100644 index 0000000..553738a --- /dev/null +++ b/devel/py-turbojson11/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: py-turbojson +# Date created: 2006-12-02 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= TurboJson +PORTVERSION= 0.9.9 +CATEGORIES= devel python +MASTER_SITES= http://files.turbogears.org/eggs/ \ + http://nivi.interfree.it/distfiles/${PORTNAME}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PYTURBOJSON_EGG} +EXTRACT_SUFX= + +MAINTAINER= nivit@FreeBSD.org +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 + +NO_BUILD= yes + +USE_PYTHON= 2.4 + +PLIST_SUB+= PYTURBOJSON_EGG=${PYTURBOJSON_EGG} + +SUB_FILES+= pkg-deinstall pkg-install +SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ + EGG="${PORTNAME}==${PORTVERSION}" + +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 + +do-extract: + ${MKDIR} ${WRKSRC} + +do-install: + ${EASY_INSTALL} ${EASY_INSTALL_ARGS} ${DISTDIR}/${DISTFILES} + +.include <bsd.port.mk> diff --git a/devel/py-turbojson11/distinfo b/devel/py-turbojson11/distinfo new file mode 100644 index 0000000..07d344a --- /dev/null +++ b/devel/py-turbojson11/distinfo @@ -0,0 +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 diff --git a/devel/py-turbojson11/files/pkg-deinstall.in b/devel/py-turbojson11/files/pkg-deinstall.in new file mode 100644 index 0000000..c2a4012 --- /dev/null +++ b/devel/py-turbojson11/files/pkg-deinstall.in @@ -0,0 +1,17 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + DEINSTALL) + easy_install -q -N -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + POST-DEINSTALL) + exit 0 + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/devel/py-turbojson11/files/pkg-install.in b/devel/py-turbojson11/files/pkg-install.in new file mode 100644 index 0000000..9cddbe2 --- /dev/null +++ b/devel/py-turbojson11/files/pkg-install.in @@ -0,0 +1,16 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + POST-INSTALL) + easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + PRE-INSTALL) + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/devel/py-turbojson11/pkg-descr b/devel/py-turbojson11/pkg-descr new file mode 100644 index 0000000..8c863a6 --- /dev/null +++ b/devel/py-turbojson11/pkg-descr @@ -0,0 +1,4 @@ +Python template plugin for TurboGears that supports json + +Author: Elvelind Grandin +WWW: http://www.turbogears.org/docs/plugins/template.html diff --git a/devel/py-turbojson11/pkg-plist b/devel/py-turbojson11/pkg-plist new file mode 100644 index 0000000..6c03346 --- /dev/null +++ b/devel/py-turbojson11/pkg-plist @@ -0,0 +1,21 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO/SOURCES.txt +%%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/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonify.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonify.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonsupport.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/jsonsupport.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/test_jsonify.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests/test_jsonify.pyc +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson/tests +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/turbojson +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJSON_EGG%% |