Date: Wed, 23 Aug 2006 18:54:36 GMT From: Gerrit Beine <gerrit.beine@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/102443: Update port: devel/simpletest Message-ID: <200608231854.k7NIsaaO081621@www.freebsd.org> Resent-Message-ID: <200608231900.k7NJ0X7D053614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102443 >Category: ports >Synopsis: Update port: devel/simpletest >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 23 19:00:33 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 6.1-RELEASE >Organization: >Environment: FreeBSD freebsd61.vmware 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This patch make the following changes: * Update to stable version 1.0 * Take maintainership * There's no longer a PEAR version of simpletest, so it's no longer in the PEAR directory >How-To-Repeat: >Fix: diff -Nur /usr/ports/devel/simpletest/Makefile simpletest/Makefile --- /usr/ports/devel/simpletest/Makefile Mon Jan 23 10:48:39 2006 +++ simpletest/Makefile Tue Aug 22 16:35:49 2006 @@ -5,104 +5,38 @@ # $FreeBSD: ports/devel/simpletest/Makefile,v 1.6 2006/01/23 09:48:39 linimon Exp $ # -PORTNAME= SimpleTest -PORTVERSION= 1.0.r1 +PORTNAME= simpletest +PORTVERSION= 1.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME:L}/ -DISTNAME= php_simple_test_1.0RC1 +DISTNAME= ${PORTNAME:L}_${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gerrit.beine@gmx.de COMMENT= Unit testing, mock objects and web testing framework for PHP USE_PHP= pcre USE_PHP_BUILD= yes NO_BUILD= yes -SIMPLETESTS?= unit +WRKSRC= ${WRKDIR}/${PORTNAME} -.include <bsd.port.pre.mk> - -PHP_CONFIG?= ${LOCALBASE}/bin/php-config - -.if !defined(PEARDIR) && exists(${PHP_CONFIG}) -_PEARPREFIX!= ${PHP_CONFIG} --prefix -_PEARDIR= share/pear -PEARDIR= ${_PEARPREFIX}/${_PEARDIR} -.endif -WRKSRC= ${WRKDIR}/${PORTNAME:L} -PLIST_SUB+= PEARDIR="${_PEARDIR}" .if !defined(NOPORTDOCS) -DOCS= HELP_MY_TESTS_DONT_WORK_ANYMORE LICENSE README VERSION \ - docs/expectation_documentation.html \ - docs/form_testing_documentation.html \ - docs/group_test_documentation.html \ - docs/index.html \ - docs/mock_objects_documentation.html \ - docs/overview.html \ - docs/partial_mocks_documentation.html \ - docs/reporter_documentation.html \ - docs/server_stubs_documentation.html \ - docs/unit_test_documentation.html \ - docs/web_tester_documentation.html +PORTDOCS= * +DOCS= docs/en/* \ + HELP_MY_TESTS_DONT_WORK_ANYMORE LICENSE README VERSION .endif -TESTS= test/acceptance_test.php \ - test/adapter_test.php \ - test/all_tests.php \ - test/authentication_test.php \ - test/browser_test.php \ - test/dumper_test.php \ - test/errors_test.php \ - test/expectation_test.php \ - test/form_test.php \ - test/frames_test.php \ - test/http_test.php \ - test/live_test.php \ - test/options_test.php \ - test/page_test.php \ - test/parser_test.php \ - test/real_sites_test.php \ - test/remote_test.php \ - test/shell_test.php \ - test/shell_tester_test.php \ - test/simple_mock_test.php \ - test/socket_test.php \ - test/tag_test.php \ - test/unit_tests.php \ - test/url_test.php \ - test/user_agent_test.php \ - test/visual_test.php \ - test/web_tester_test.php \ - test/xml_test.php - -CLASSES= authentication.php browser.php dumper.php errors.php \ - expectation.php extensions/pear_test_case.php \ - extensions/phpunit_test_case.php form.php frames.php http.php \ - mock_objects.php options.php page.php parser.php remote.php \ - reporter.php scorer.php shell_tester.php simple_test.php \ - socket.php tag.php unit_tester.php url.php user_agent.php \ - web_tester.php xml.php - -pre-patch: - ${CP} -r ${WRKSRC}/test ${WRKSRC}/test.beforeinstall - -#do-build: -# cd ${WRKSRC}/test.beforeinstall && \ -# ${LOCALBASE}/bin/php -f ${SIMPLETESTS}_tests.php - do-install: ${MKDIR} ${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.php ${DATADIR} + ${MKDIR} ${DATADIR}/extensions + ${INSTALL_DATA} ${WRKSRC}/extensions/*.php ${DATADIR}/extensions ${MKDIR} ${DATADIR}/test -.for f in ${TESTS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f} -.endfor - ${MKDIR} ${PEARDIR}/simpletest/extensions -.for f in ${CLASSES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PEARDIR}/simpletest/${f} -.endfor + ${INSTALL_DATA} ${WRKSRC}/test/*.php ${DATADIR}/test -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -Nur /usr/ports/devel/simpletest/distinfo simpletest/distinfo --- /usr/ports/devel/simpletest/distinfo Sun Jan 22 09:30:03 2006 +++ simpletest/distinfo Tue Aug 22 15:08:22 2006 @@ -1,3 +1,3 @@ -MD5 (php_simple_test_1.0RC1.tar.gz) = 00ec0a4c94e5480c15550039886248c1 -SHA256 (php_simple_test_1.0RC1.tar.gz) = 0890a10c7b0a51c675af9d6b9164d008c3e3e4c168c9472877e75fdb3fb61ebd -SIZE (php_simple_test_1.0RC1.tar.gz) = 155315 +MD5 (simpletest_1.0.tar.gz) = 043457189beef64eaa7c3a2735a36b5d +SHA256 (simpletest_1.0.tar.gz) = 905ecccf3a3505a3f676bb386665e4070cffb53f31fbf5eaa6b98816580e7a4d +SIZE (simpletest_1.0.tar.gz) = 218460 diff -Nur /usr/ports/devel/simpletest/pkg-descr simpletest/pkg-descr --- /usr/ports/devel/simpletest/pkg-descr Wed Dec 22 00:12:33 2004 +++ simpletest/pkg-descr Tue Aug 22 15:08:13 2006 @@ -3,4 +3,4 @@ will need no explanation. It also adds JWebUnit style testing including cookies, authentication and form handling -WWW: http://sourceforge.net/projects/simpletest/ +WWW: http://www.lastcraft.com/simple_test.php diff -Nur /usr/ports/devel/simpletest/pkg-plist simpletest/pkg-plist --- /usr/ports/devel/simpletest/pkg-plist Sun Jan 22 02:48:34 2006 +++ simpletest/pkg-plist Tue Aug 22 16:35:16 2006 @@ -1,50 +1,38 @@ -%%PEARDIR%%/simpletest/authentication.php -%%PEARDIR%%/simpletest/browser.php -%%PEARDIR%%/simpletest/dumper.php -%%PEARDIR%%/simpletest/errors.php -%%PEARDIR%%/simpletest/expectation.php -%%PEARDIR%%/simpletest/extensions/pear_test_case.php -%%PEARDIR%%/simpletest/extensions/phpunit_test_case.php -%%PEARDIR%%/simpletest/form.php -%%PEARDIR%%/simpletest/frames.php -%%PEARDIR%%/simpletest/http.php -%%PEARDIR%%/simpletest/mock_objects.php -%%PEARDIR%%/simpletest/options.php -%%PEARDIR%%/simpletest/page.php -%%PEARDIR%%/simpletest/parser.php -%%PEARDIR%%/simpletest/remote.php -%%PEARDIR%%/simpletest/reporter.php -%%PEARDIR%%/simpletest/scorer.php -%%PEARDIR%%/simpletest/shell_tester.php -%%PEARDIR%%/simpletest/simple_test.php -%%PEARDIR%%/simpletest/socket.php -%%PEARDIR%%/simpletest/tag.php -%%PEARDIR%%/simpletest/unit_tester.php -%%PEARDIR%%/simpletest/url.php -%%PEARDIR%%/simpletest/user_agent.php -%%PEARDIR%%/simpletest/web_tester.php -%%PEARDIR%%/simpletest/xml.php -%%PORTDOCS%%%%DOCSDIR%%/HELP_MY_TESTS_DONT_WORK_ANYMORE -%%PORTDOCS%%%%DOCSDIR%%/LICENSE -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/VERSION -%%PORTDOCS%%%%DOCSDIR%%/expectation_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/form_testing_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/group_test_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/mock_objects_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/overview.html -%%PORTDOCS%%%%DOCSDIR%%/partial_mocks_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/reporter_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/server_stubs_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/unit_test_documentation.html -%%PORTDOCS%%%%DOCSDIR%%/web_tester_documentation.html +%%DATADIR%%/authentication.php +%%DATADIR%%/browser.php +%%DATADIR%%/dumper.php +%%DATADIR%%/encoding.php +%%DATADIR%%/errors.php +%%DATADIR%%/expectation.php +%%DATADIR%%/form.php +%%DATADIR%%/frames.php +%%DATADIR%%/http.php +%%DATADIR%%/mock_objects.php +%%DATADIR%%/options.php +%%DATADIR%%/page.php +%%DATADIR%%/parser.php +%%DATADIR%%/remote.php +%%DATADIR%%/reporter.php +%%DATADIR%%/runner.php +%%DATADIR%%/scorer.php +%%DATADIR%%/shell_tester.php +%%DATADIR%%/simple_test.php +%%DATADIR%%/socket.php +%%DATADIR%%/tag.php +%%DATADIR%%/unit_tester.php +%%DATADIR%%/url.php +%%DATADIR%%/user_agent.php +%%DATADIR%%/web_tester.php +%%DATADIR%%/xml.php +%%DATADIR%%/extensions/pear_test_case.php +%%DATADIR%%/extensions/phpunit_test_case.php %%DATADIR%%/test/acceptance_test.php %%DATADIR%%/test/adapter_test.php %%DATADIR%%/test/all_tests.php %%DATADIR%%/test/authentication_test.php %%DATADIR%%/test/browser_test.php %%DATADIR%%/test/dumper_test.php +%%DATADIR%%/test/encoding_test.php %%DATADIR%%/test/errors_test.php %%DATADIR%%/test/expectation_test.php %%DATADIR%%/test/form_test.php @@ -53,6 +41,7 @@ %%DATADIR%%/test/live_test.php %%DATADIR%%/test/options_test.php %%DATADIR%%/test/page_test.php +%%DATADIR%%/test/parse_error_test.php %%DATADIR%%/test/parser_test.php %%DATADIR%%/test/real_sites_test.php %%DATADIR%%/test/remote_test.php @@ -61,15 +50,14 @@ %%DATADIR%%/test/simple_mock_test.php %%DATADIR%%/test/socket_test.php %%DATADIR%%/test/tag_test.php +%%DATADIR%%/test/test_with_parse_error.php +%%DATADIR%%/test/unit_tester_test.php %%DATADIR%%/test/unit_tests.php %%DATADIR%%/test/url_test.php %%DATADIR%%/test/user_agent_test.php %%DATADIR%%/test/visual_test.php %%DATADIR%%/test/web_tester_test.php %%DATADIR%%/test/xml_test.php -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/test +@dirrm %%DATADIR%%/extensions @dirrm %%DATADIR%% -@dirrm %%PEARDIR%%/simpletest/extensions -@dirrm %%PEARDIR%%/simpletest -@dirrmtry %%PEARDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608231854.k7NIsaaO081621>