diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-12-14 17:12:08 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-12-14 17:12:08 +0000 |
commit | 8cb0ace11119f34c3f5cef239bc9ea3394664d97 (patch) | |
tree | b7060287d3dd2da02b0af8f7c125a1cf6573cc2c /devel | |
parent | 1e0b16c0ed490773c597148991c5543a892f2e0d (diff) | |
download | ports-8cb0ace11119f34c3f5cef239bc9ea3394664d97.tar.gz ports-8cb0ace11119f34c3f5cef239bc9ea3394664d97.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-thrift/Makefile | 26 | ||||
-rw-r--r-- | devel/py-thrift/files/patch-lib-py-setup.py | 21 | ||||
-rw-r--r-- | devel/py-thrift/pkg-descr | 3 | ||||
-rw-r--r-- | devel/py-thrift/pkg-plist | 55 |
5 files changed, 106 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index e19bca52f4ca..448d88105c13 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2000,6 +2000,7 @@ SUBDIR += py-tconfpy SUBDIR += py-testgears SUBDIR += py-testoob + SUBDIR += py-thrift SUBDIR += py-trace2html SUBDIR += py-turbocheetah SUBDIR += py-turbojson diff --git a/devel/py-thrift/Makefile b/devel/py-thrift/Makefile new file mode 100644 index 000000000000..3db4d9e52e14 --- /dev/null +++ b/devel/py-thrift/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: thrift +# Date created: 30 Nov 2007 +# Whom: Jon M. Dugan <jdugan@x1024.net> +# +# $FreeBSD$ +# + +PORTNAME= thrift +PORTVERSION= 20070917 +CATEGORIES= devel +PKGNAMEPREFIX= py- +DISTFILES= + +MAINTAINER= jdugan@x1024.net +COMMENT= Python interface to Thrift + +EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +post-extract: + @${LN} -sfh \ + `cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/py ${WRKSRC} + +.include <bsd.port.mk> diff --git a/devel/py-thrift/files/patch-lib-py-setup.py b/devel/py-thrift/files/patch-lib-py-setup.py new file mode 100644 index 000000000000..3d130b1e987c --- /dev/null +++ b/devel/py-thrift/files/patch-lib-py-setup.py @@ -0,0 +1,21 @@ +*** setup.py.orig Wed Dec 12 16:38:52 2007 +--- setup.py Wed Dec 12 16:39:23 2007 +*************** +*** 12,19 **** + sources = ['src/protocol/fastbinary.c'], + ) + +! setup(name = 'Thrift', +! version = '1.0', + description = 'Thrift Python Libraries', + author = ['Mark Slee'], + author_email = ['mcslee@facebook.com'], +--- 12,19 ---- + sources = ['src/protocol/fastbinary.c'], + ) + +! setup(name = 'thrift', +! version = '20070917', + description = 'Thrift Python Libraries', + author = ['Mark Slee'], + author_email = ['mcslee@facebook.com'], diff --git a/devel/py-thrift/pkg-descr b/devel/py-thrift/pkg-descr new file mode 100644 index 000000000000..6fac38f12742 --- /dev/null +++ b/devel/py-thrift/pkg-descr @@ -0,0 +1,3 @@ +Python interface to Thrift. + +WWW: http://developers.facebook.com/thrift/ diff --git a/devel/py-thrift/pkg-plist b/devel/py-thrift/pkg-plist new file mode 100644 index 000000000000..ceea85c53832 --- /dev/null +++ b/devel/py-thrift/pkg-plist @@ -0,0 +1,55 @@ +%%PYTHON_SITELIBDIR%%/thrift/TSCons.py +%%PYTHON_SITELIBDIR%%/thrift/TSCons.pyc +%%PYTHON_SITELIBDIR%%/thrift/TSCons.pyo +%%PYTHON_SITELIBDIR%%/thrift/Thrift.py +%%PYTHON_SITELIBDIR%%/thrift/Thrift.pyc +%%PYTHON_SITELIBDIR%%/thrift/Thrift.pyo +%%PYTHON_SITELIBDIR%%/thrift/__init__.py +%%PYTHON_SITELIBDIR%%/thrift/__init__.pyc +%%PYTHON_SITELIBDIR%%/thrift/__init__.pyo +%%PYTHON_SITELIBDIR%%/thrift/protocol/TBinaryProtocol.py +%%PYTHON_SITELIBDIR%%/thrift/protocol/TBinaryProtocol.pyc +%%PYTHON_SITELIBDIR%%/thrift/protocol/TBinaryProtocol.pyo +%%PYTHON_SITELIBDIR%%/thrift/protocol/TProtocol.py +%%PYTHON_SITELIBDIR%%/thrift/protocol/TProtocol.pyc +%%PYTHON_SITELIBDIR%%/thrift/protocol/TProtocol.pyo +%%PYTHON_SITELIBDIR%%/thrift/protocol/__init__.py +%%PYTHON_SITELIBDIR%%/thrift/protocol/__init__.pyc +%%PYTHON_SITELIBDIR%%/thrift/protocol/__init__.pyo +%%PYTHON_SITELIBDIR%%/thrift/protocol/fastbinary.so +%%PYTHON_SITELIBDIR%%/thrift/reflection/__init__.py +%%PYTHON_SITELIBDIR%%/thrift/reflection/__init__.pyc +%%PYTHON_SITELIBDIR%%/thrift/reflection/__init__.pyo +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/__init__.py +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/__init__.pyc +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/__init__.pyo +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/constants.py +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/constants.pyc +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/constants.pyo +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/ttypes.py +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/ttypes.pyc +%%PYTHON_SITELIBDIR%%/thrift/reflection/limited/ttypes.pyo +%%PYTHON_SITELIBDIR%%/thrift/server/TServer.py +%%PYTHON_SITELIBDIR%%/thrift/server/TServer.pyc +%%PYTHON_SITELIBDIR%%/thrift/server/TServer.pyo +%%PYTHON_SITELIBDIR%%/thrift/server/__init__.py +%%PYTHON_SITELIBDIR%%/thrift/server/__init__.pyc +%%PYTHON_SITELIBDIR%%/thrift/server/__init__.pyo +%%PYTHON_SITELIBDIR%%/thrift/transport/THttpClient.py +%%PYTHON_SITELIBDIR%%/thrift/transport/THttpClient.pyc +%%PYTHON_SITELIBDIR%%/thrift/transport/THttpClient.pyo +%%PYTHON_SITELIBDIR%%/thrift/transport/TSocket.py +%%PYTHON_SITELIBDIR%%/thrift/transport/TSocket.pyc +%%PYTHON_SITELIBDIR%%/thrift/transport/TSocket.pyo +%%PYTHON_SITELIBDIR%%/thrift/transport/TTransport.py +%%PYTHON_SITELIBDIR%%/thrift/transport/TTransport.pyc +%%PYTHON_SITELIBDIR%%/thrift/transport/TTransport.pyo +%%PYTHON_SITELIBDIR%%/thrift/transport/__init__.py +%%PYTHON_SITELIBDIR%%/thrift/transport/__init__.pyc +%%PYTHON_SITELIBDIR%%/thrift/transport/__init__.pyo +@dirrm %%PYTHON_SITELIBDIR%%/thrift/transport +@dirrm %%PYTHON_SITELIBDIR%%/thrift/server +@dirrm %%PYTHON_SITELIBDIR%%/thrift/reflection/limited +@dirrm %%PYTHON_SITELIBDIR%%/thrift/reflection +@dirrm %%PYTHON_SITELIBDIR%%/thrift/protocol +@dirrm %%PYTHON_SITELIBDIR%%/thrift |