aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-03-29 13:26:14 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-03-29 13:26:14 +0000
commit8447c4a32a662787427d7dbc886079f2b2ea1e7b (patch)
tree45e2c8501ea202ceaa22da5d8e9a3ca05ec39f3e /benchmarks
parent1d4237a84fd6bce2688519e17028687101e531fc (diff)
downloadports-8447c4a32a662787427d7dbc886079f2b2ea1e7b.tar.gz
ports-8447c4a32a662787427d7dbc886079f2b2ea1e7b.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/pybench/Makefile34
-rw-r--r--benchmarks/pybench/distinfo1
-rw-r--r--benchmarks/pybench/pkg-comment1
-rw-r--r--benchmarks/pybench/pkg-descr3
-rw-r--r--benchmarks/pybench/pkg-plist56
6 files changed, 96 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 7ccc901ff538..50dd289cd984 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -13,6 +13,7 @@
SUBDIR += netpipe
SUBDIR += polygraph
SUBDIR += postmark
+ SUBDIR += pybench
SUBDIR += rawio
SUBDIR += tcpblast
SUBDIR += tmetric
diff --git a/benchmarks/pybench/Makefile b/benchmarks/pybench/Makefile
new file mode 100644
index 000000000000..2f6de786ffae
--- /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 000000000000..d643e9d0853d
--- /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 000000000000..f714b49436c5
--- /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 000000000000..cc70bb00dd08
--- /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 000000000000..33cebcb845f2
--- /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