Created attachment 179423 [details] Patch poudriere build fine for: 10.3 amd + i386 11.0 amd + i386 12-current amd + i386 (r310257) portlint -AC is also fine. Cheers jochen
Created attachment 180388 [details] Patch Update this port to Version 6.0.7 make test is fine. poudriere build fine for: 9.3 amd + i386 10.3 amd + i386 12-current amd + i386 (r313761) portlint is also fine. Cheers jochen
I updated phpunit to 5.7.14, the latest stable release. For phpunit 6.x i would like to create a new port. It only supports PHP 7, which could be a problem since PHP 5.6.x is still our default php version. Or we lift our default PHP version. Do you want to find out how this is done? ;) Greetings, Torsten
Created attachment 180425 [details] patch Hi Torsten, Here is the first design for the new port. I called him phpunit6. He should use php7. Can you look at it, and give me a feedback what needs to be improved? Thank you! :-) I tested with poudriere and "make test". Cheers Jochen
A new Version is available: 4.7.1 I will check it.
(In reply to Jochen Neumeister from comment #4) args .... wrong PR
Currently 6.0.10 is the most recent version. o.O As a first comment: you're tabs can't decide how far the should go. :D I often do a "cat Makefile" because many editors do not render tabs correctly. The rest seems straightforward and good. +# $FreeBSD$ + +PORTNAME= phpunit +PORTVERSION= 6.0.7 +CATEGORIES= devel www +MASTER_SITES= https://phar.phpunit.de/ +EXTRACT_SUFX= .phar + +MAINTAINER= joneum@bsdproject.de +COMMENT= Testing framework for unit tests +
Created attachment 181004 [details] Patch Hi, here is a new Patch for PHPUnit6 with ignore PHP Version 56. Modified Makefile devel/phpunit (Ignored PHP7 and Portscout)
Created attachment 181311 [details] Patch
A commit references this bug: Author: tz Date: Thu Mar 30 14:07:29 UTC 2017 New revision: 437295 URL: https://svnweb.freebsd.org/changeset/ports/437295 Log: New port: devel/phpunit6 PHPUnit is a regression testing framework used by the developer who implements unit tests in PHP. WWW: http://www.phpunit.de This port needs PHP 7.0 or newer, while the old one devel/phpunit will still work at our current default PHP 5.6. PR: 216600 Submitted by: Jochen Neumeister <joneum@bsdproject.de> Changes: head/devel/Makefile head/devel/phpunit6/ head/devel/phpunit6/Makefile head/devel/phpunit6/distinfo head/devel/phpunit6/pkg-descr
Aloha Jochen, do get the PR closed i refactored it myself. The tab usage in the Makefile wasn't good. ;) Just do a "cat Makefile" and look if most of it adjust. There is no need for orienting at outstanding lines, if they are exceptions. Also for new ports please create a shar and not a diff. I now you can do it, so i just converted it myself to save us time. :) Thanks for the new port! :) Greetings, Torsten
Oh, forgot to mention: i removed the CONFLICT line, since there is no port left matching this name. :)
(In reply to Torsten Zuehlsdorff from comment #11) thank you for the tipps. I will consider them next time. About devel/phpunit: This Port doesn't build with PHP7. Is not it sensible to write that into the makefile?