diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-03-29 13:26:14 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-03-29 13:26:14 +0000 |
commit | a4f4e25ff86f462c0160ab627a0f94154cb2f1fd (patch) | |
tree | a9f18b28d9fe3929e2d6a5300932c05bed81dbb5 /benchmarks/pybench | |
parent | 940b8e8d32b0b3ac7424e2aaef809e36594a1bb1 (diff) | |
download | FreeBSD-ports-a4f4e25ff86f462c0160ab627a0f94154cb2f1fd.zip FreeBSD-ports-a4f4e25ff86f462c0160ab627a0f94154cb2f1fd.tar.gz |
Add pybench 0.8, an extensible benchmark suite for Python.
Diffstat (limited to 'benchmarks/pybench')
-rw-r--r-- | benchmarks/pybench/Makefile | 34 | ||||
-rw-r--r-- | benchmarks/pybench/distinfo | 1 | ||||
-rw-r--r-- | benchmarks/pybench/pkg-comment | 1 | ||||
-rw-r--r-- | benchmarks/pybench/pkg-descr | 3 | ||||
-rw-r--r-- | benchmarks/pybench/pkg-plist | 56 |
5 files changed, 95 insertions, 0 deletions
diff --git a/benchmarks/pybench/Makefile b/benchmarks/pybench/Makefile new file mode 100644 index 0000000..2f6de78 --- /dev/null +++ b/benchmarks/pybench/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: pybench +# Date created: 29 March 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pybench +PORTVERSION= 0.8 +CATEGORIES= benchmarks python +MASTER_SITES= http://www.lemburg.com/files/python/ + +MAINTAINER= sobomax@FreeBSD.org + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_ZIP= yes +USE_PYTHON= yes + +do-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @${MKDIR} ${PREFIX}/share/pybench + @(cd ${WRKSRC} && ${TAR} --exclude README -c -f - .) \ + | (cd ${PREFIX}/share/pybench && ${TAR} --unlink -x -f -) + @printf "#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/pybench/pybench.py\n" \ + > ${WRKDIR}/pybench.sh + @${MKDIR} ${PREFIX}/share/doc/pybench + @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/pybench + @${INSTALL_SCRIPT} ${WRKDIR}/pybench.sh ${PREFIX}/bin/pybench + +.include <bsd.port.mk> diff --git a/benchmarks/pybench/distinfo b/benchmarks/pybench/distinfo new file mode 100644 index 0000000..d643e9d --- /dev/null +++ b/benchmarks/pybench/distinfo @@ -0,0 +1 @@ +MD5 (pybench-0.8.zip) = ebdb17a4f56db088e24ef48666c63a3f diff --git a/benchmarks/pybench/pkg-comment b/benchmarks/pybench/pkg-comment new file mode 100644 index 0000000..f714b49 --- /dev/null +++ b/benchmarks/pybench/pkg-comment @@ -0,0 +1 @@ +An extensible benchmark suite for Python diff --git a/benchmarks/pybench/pkg-descr b/benchmarks/pybench/pkg-descr new file mode 100644 index 0000000..cc70bb0 --- /dev/null +++ b/benchmarks/pybench/pkg-descr @@ -0,0 +1,3 @@ +Pybench is an extensible benchmark suite for Python. + +WWW: http://www.lemburg.com/python/ diff --git a/benchmarks/pybench/pkg-plist b/benchmarks/pybench/pkg-plist new file mode 100644 index 0000000..33cebcb --- /dev/null +++ b/benchmarks/pybench/pkg-plist @@ -0,0 +1,56 @@ +bin/pybench +share/doc/pybench/README +share/pybench/Arithmetic.py +share/pybench/Arithmetic.pyc +share/pybench/Arithmetic.pyo +share/pybench/Calls.py +share/pybench/Calls.pyc +share/pybench/Calls.pyo +share/pybench/CommandLine.py +share/pybench/CommandLine.pyc +share/pybench/CommandLine.pyo +share/pybench/Constructs.py +share/pybench/Constructs.pyc +share/pybench/Constructs.pyo +share/pybench/Dict.py +share/pybench/Dict.pyc +share/pybench/Dict.pyo +share/pybench/Exceptions.py +share/pybench/Exceptions.pyc +share/pybench/Exceptions.pyo +share/pybench/Imports.py +share/pybench/Imports.pyc +share/pybench/Imports.pyo +share/pybench/Instances.py +share/pybench/Instances.pyc +share/pybench/Instances.pyo +share/pybench/Lists.py +share/pybench/Lists.pyc +share/pybench/Lists.pyo +share/pybench/Lookups.py +share/pybench/Lookups.pyc +share/pybench/Lookups.pyo +share/pybench/Setup.py +share/pybench/Setup.pyc +share/pybench/Setup.pyo +share/pybench/Strings.py +share/pybench/Strings.pyc +share/pybench/Strings.pyo +share/pybench/Tuples.py +share/pybench/Tuples.pyc +share/pybench/Tuples.pyo +share/pybench/Unicode.py +share/pybench/Unicode.pyc +share/pybench/Unicode.pyo +share/pybench/package/__init__.py +share/pybench/package/__init__.pyc +share/pybench/package/__init__.pyo +share/pybench/package/submodule.py +share/pybench/package/submodule.pyc +share/pybench/package/submodule.pyo +share/pybench/pybench.py +share/pybench/pybench.pyc +share/pybench/pybench.pyo +@dirrm share/pybench/package +@dirrm share/pybench +@dirrm share/doc/pybench |