1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add py-funkload 1.6.0, funkLoad is a functional and load web tester.

PR:		ports/109779
Submitted by:	Li-Wen Hsu <lwhsu at lwhsu.org>
This commit is contained in:
Cheng-Lung Sung 2007-03-08 02:22:52 +00:00
parent c7eac2b3c2
commit 3d53d06305
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186870
6 changed files with 123 additions and 0 deletions

View File

@ -952,6 +952,7 @@
SUBDIR += py-flup
SUBDIR += py-forgethtml
SUBDIR += py-formencode
SUBDIR += py-funkload
SUBDIR += py-htmltestcase
SUBDIR += py-imdbpy
SUBDIR += py-jonpy

54
www/py-funkload/Makefile Normal file
View File

@ -0,0 +1,54 @@
# New ports collection makefile for: py-funkload
# Date created: Mar. 03, 2007
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#
PORTNAME= funkload
PORTVERSION= 1.6.0
CATEGORIES= www python
MASTER_SITES= http://funkload.nuxeo.org/ \
http://cheeseshop.python.org/packages/source/f/funkload/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@lwhsu.org
COMMENT= FunkLoad is a functional and load web tester
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
${PYTHON_SITELIBDIR}/docutils/__init__.py:${PORTSDIR}/textproc/py-docutils \
${PYTHON_SITELIBDIR}/gdchart.so:${PORTSDIR}/graphics/py-gdchart \
${PYTHON_SITELIBDIR}/webunit/__init__.py:${PORTSDIR}/www/py-webunit \
${PYXML} \
tcpwatch.py:${PORTSDIR}/net/tcpwatch
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
PYDISTUTILS_BUILD_TARGET= bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYFUNKLOAD_EGG}
PYFUNKLOAD_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PYFUNKLOAD_EGG=${PYFUNKLOAD_EGG} \
PYFUNKLOAD_EGG_VER="${PORTNAME}==${PORTVERSION}"
.if !defined(NOPORTDOCS)
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/funkload/demo ${EXAMPLESDIR}
.include <bsd.port.mk>

3
www/py-funkload/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (funkload-1.6.0.tar.gz) = dbc4e568db2f20a1c1bca918a450e153
SHA256 (funkload-1.6.0.tar.gz) = dca7bffd990fe83144c651e7a623cb685cf11513a67d4a05b3a98c6f6c192509
SIZE (funkload-1.6.0.tar.gz) = 96725

View File

@ -0,0 +1,11 @@
--- setup.py.orig Sat Mar 3 12:15:17 2007
+++ setup.py Sat Mar 3 12:15:24 2007
@@ -135,8 +135,6 @@
'Topic :: System :: Monitoring',
],
# setuptools specific keywords
- install_requires = ['webunit == 1.3.8',
- 'docutils >= 0.3.7'],
zip_safe=True,
package_data={'funkload': ['data/*',
'demo/simple/*', 'demo/zope/*',

15
www/py-funkload/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
FunkLoad is a functional and load web tester, written in Python,
whose main use cases are:
* Functional testing of web projects, and thus regression testing as well.
* Performance testing: by loading the web application and monitoring your
servers it helps you to pinpoint bottlenecks, giving a detailed report of
performance measurement.
* Load testing tool to expose bugs that do not surface in cursory testing,
like volume testing or longevity testing.
* Stress testing tool to overwhelm the web application resources and test the
application recoverability.
* Writing web agents by scripting any web repetitive task, like checking if
a site is alive.
WWW: http://funkload.nuxeo.org/

39
www/py-funkload/pkg-plist Normal file
View File

@ -0,0 +1,39 @@
@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PYFUNKLOAD_EGG_VER%%
%%PYTHON_SITELIBDIR%%/%%PYFUNKLOAD_EGG%%
@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PYFUNKLOAD_EGG_VER%%
bin/fl-build-report
bin/fl-credential-ctl
bin/fl-import-from-tm-recorder
bin/fl-install-demo
bin/fl-monitor-ctl
bin/fl-record
bin/fl-run-bench
bin/fl-run-test
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%EXAMPLESDIR%%/demo/README.txt
%%EXAMPLESDIR%%/demo/cmf/Cmf.conf
%%EXAMPLESDIR%%/demo/cmf/README.txt
%%EXAMPLESDIR%%/demo/cmf/credential.conf
%%EXAMPLESDIR%%/demo/cmf/groups.txt
%%EXAMPLESDIR%%/demo/cmf/passwords.txt
%%EXAMPLESDIR%%/demo/cmf/test_Cmf.py
%%EXAMPLESDIR%%/demo/simple/README.txt
%%EXAMPLESDIR%%/demo/simple/Simple.conf
%%EXAMPLESDIR%%/demo/simple/monitor.conf
%%EXAMPLESDIR%%/demo/simple/test_Simple.py
%%EXAMPLESDIR%%/demo/xmlrpc/Credential.conf
%%EXAMPLESDIR%%/demo/xmlrpc/Makefile
%%EXAMPLESDIR%%/demo/xmlrpc/README.txt
%%EXAMPLESDIR%%/demo/xmlrpc/cred.conf
%%EXAMPLESDIR%%/demo/xmlrpc/monitor.conf
%%EXAMPLESDIR%%/demo/xmlrpc/test_Credential.py
%%EXAMPLESDIR%%/demo/zope/README.txt
%%EXAMPLESDIR%%/demo/zope/Zope.conf
%%EXAMPLESDIR%%/demo/zope/test_Zope.py
@dirrm %%EXAMPLESDIR%%/demo/zope
@dirrm %%EXAMPLESDIR%%/demo/xmlrpc
@dirrm %%EXAMPLESDIR%%/demo/simple
@dirrm %%EXAMPLESDIR%%/demo/cmf
@dirrm %%EXAMPLESDIR%%/demo
@dirrm %%EXAMPLESDIR%%