From 0ab79a523f4eab671059528faec780d511f4c3efef15ac4a0323f29883cd5571 Mon Sep 17 00:00:00 2001 From: Arjen de Korte Date: Sun, 15 Dec 2019 12:28:25 +0000 Subject: [PATCH] Accepting request 757175 from home:adkorte:branches:server:php:applications - Update package to release 8.5.0 * https://github.com/sebastianbergmann/phpunit/blob/8.5/ChangeLog-8.5.md - Update package to release 8.4.3 * https://github.com/sebastianbergmann/phpunit/blob/8.4.3/ChangeLog-8.4.md - Update package to release 8.3.5 * https://github.com/sebastianbergmann/phpunit/blob/8.3.5/ChangeLog-8.3.md - Update package to release 8.2.5 * https://github.com/sebastianbergmann/phpunit/blob/8.2.5/ChangeLog-8.2.md - Update package to release 8.1.6 * https://github.com/sebastianbergmann/phpunit/blob/8.1.6/ChangeLog-8.1.md OBS-URL: https://build.opensuse.org/request/show/757175 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php7-phpunit8?expand=0&rev=15 --- .gitattributes | 2 +- README.md | 10 ++++++---- php7-phpunit8.changes | 14 ++++++++++++++ php7-phpunit8.rpmlintrc | 5 +++++ php7-phpunit8.spec | 20 +++++++++----------- phpunit-8.0.6.phar | 3 --- phpunit-8.0.6.phar.asc | 16 ---------------- phpunit-8.5.0.phar | 3 +++ phpunit-8.5.0.phar.asc | 17 +++++++++++++++++ 9 files changed, 55 insertions(+), 35 deletions(-) create mode 100644 php7-phpunit8.rpmlintrc delete mode 100644 phpunit-8.0.6.phar delete mode 100644 phpunit-8.0.6.phar.asc create mode 100644 phpunit-8.5.0.phar create mode 100644 phpunit-8.5.0.phar.asc diff --git a/.gitattributes b/.gitattributes index 97cbc28..431a499 100644 --- a/.gitattributes +++ b/.gitattributes @@ -22,4 +22,4 @@ *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text ## Specific LFS patterns -phpunit-8.0.6.phar filter=lfs diff=lfs merge=lfs -text +phpunit-8.5.0.phar filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 63937fa..b15b81d 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,18 @@ PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of [![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit) [![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg?style=flat-square)](https://php.net/) -[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/8.0.svg?style=flat-square)](https://phpunit.de/build-status.html) +[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/8.5.svg?style=flat-square)](https://phpunit.de/build-status.html) +[![CI Status](https://github.com/sebastianbergmann/phpunit/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/phpunit/actions) +[![Type Coverage](https://shepherd.dev/github/sebastianbergmann/phpunit/coverage.svg)](https://shepherd.dev/github/sebastianbergmann/phpunit) ## Installation -We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit 8.0 bundled in a single file: +We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit 8.5 bundled in a single file: ```bash -$ wget https://phar.phpunit.de/phpunit-8.0.phar +$ wget https://phar.phpunit.de/phpunit-8.5.phar -$ php phpunit-8.0.phar --version +$ php phpunit-8.5.phar --version ``` Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the "[Getting Started](https://phpunit.de/getting-started-with-phpunit.html)" guide for details on how to install PHPUnit. diff --git a/php7-phpunit8.changes b/php7-phpunit8.changes index fcd845a..3cad5de 100644 --- a/php7-phpunit8.changes +++ b/php7-phpunit8.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun Dec 15 11:30:33 UTC 2019 - Arjen de Korte + +- Update package to release 8.5.0 + * https://github.com/sebastianbergmann/phpunit/blob/8.5/ChangeLog-8.5.md +- Update package to release 8.4.3 + * https://github.com/sebastianbergmann/phpunit/blob/8.4.3/ChangeLog-8.4.md +- Update package to release 8.3.5 + * https://github.com/sebastianbergmann/phpunit/blob/8.3.5/ChangeLog-8.3.md +- Update package to release 8.2.5 + * https://github.com/sebastianbergmann/phpunit/blob/8.2.5/ChangeLog-8.2.md +- Update package to release 8.1.6 + * https://github.com/sebastianbergmann/phpunit/blob/8.1.6/ChangeLog-8.1.md + ------------------------------------------------------------------- Fri Mar 29 11:44:33 UTC 2019 - suse+build@de-korte.org diff --git a/php7-phpunit8.rpmlintrc b/php7-phpunit8.rpmlintrc new file mode 100644 index 0000000..af94947 --- /dev/null +++ b/php7-phpunit8.rpmlintrc @@ -0,0 +1,5 @@ +# Silence expected warning +addFilter("obsolete-not-provided") +# This can't be fixed without breaking the internal checksums +# in the .phar file +addFilter("env-script-interpreter") diff --git a/php7-phpunit8.spec b/php7-phpunit8.spec index 3283e38..46ca9c2 100644 --- a/php7-phpunit8.spec +++ b/php7-phpunit8.spec @@ -1,7 +1,7 @@ # # spec file for package php7-phpunit8 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: php7-phpunit8 -Version: 8.0.6 +Version: 8.5.0 Release: 0 Summary: Testing framework for PHP License: BSD-2-Clause @@ -29,24 +29,22 @@ Source2: %{name}.keyring Source3: https://raw.githubusercontent.com/sebastianbergmann/phpunit/%{version}/LICENSE Source4: https://raw.githubusercontent.com/sebastianbergmann/phpunit/%{version}/README.md Source5: macros.phpunit -BuildRequires: php7 < 7.5.0 -BuildRequires: php7 >= 7.2.0 -Requires: php7 < 7.5.0 -Requires: php7 >= 7.2.0 -Requires: php7-dom -Requires: php7-phar +Source6: %{name}.rpmlintrc +BuildRequires: php7 > 7.2.0 +Requires: php-dom +Requires: php-phar +Requires: php7 > 7.2.0 Obsoletes: php7-phpunit6 Obsoletes: php7-phpunit7_0 Provides: php-phpunit = %{version} +Obsoletes: php-phpunit < %{version} BuildArch: noarch %description PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. %prep -%setup -q -c -T cp %{SOURCE3} %{SOURCE4} . -cp %{SOURCE0} phpunit %build # empty section @@ -54,7 +52,7 @@ cp %{SOURCE0} phpunit %install # Install compiled phar file install -d -m 0750 %{buildroot}%{_bindir} -install -m 0755 phpunit %{buildroot}%{_bindir}/phpunit +install -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/phpunit # Install macros specific for this version of PHPUnit to be used by other applications install -d -m 0750 %{buildroot}%{_libexecdir}/rpm/macros.d install -m 0644 %{SOURCE5} %{buildroot}%{_libexecdir}/rpm/macros.d/macros.phpunit diff --git a/phpunit-8.0.6.phar b/phpunit-8.0.6.phar deleted file mode 100644 index 7d2e89c..0000000 --- a/phpunit-8.0.6.phar +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89978a6f320bf911615b7bc56601588428e5ead69d43b50a93fc0198180a7442 -size 2797093 diff --git a/phpunit-8.0.6.phar.asc b/phpunit-8.0.6.phar.asc deleted file mode 100644 index 22ba095..0000000 --- a/phpunit-8.0.6.phar.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIcBAABCgAGBQJcmjCSAAoJEEqjlAhjcsIKBpgP/RcGwr/FW6Z0/GsHmZRW0Asi -AtLeQBIsT/WvGMf/HR88WcuiYvVGRyLKsu2HNG1pz+iQu1ZD/SLcMrn/BW+K7CXB -vxawV9Ab62CG6sSYZ+R1FX69ih90TRhJRoEq6JgftaEkcKL4UwqAY5eE1vESCpVo -L8TrcSMLXV/JEkVa8EUFuBDzC2F5o6EA4uKlakrqdQlw1ErIlgP4tCU/u3ynKws7 -qI/eTZAc+S4BSyHtZ6eE+/35hmtHXQIRvbYfLxqKru4vf6ZpSyPSqiC/ziOV9geq -q7RqkXAGvtkin5x9BfBjeD4gY6fCQZYWyOxTpvtaMnkmcHHHsshofKYy2WIA/X7s -w+hRo74Cfan4xPs06bwL6PTFnT4QTShF8eGdDXzUNhw8eSjVGs8i7RYitqP1C9r9 -L3pCAnsiQ3KiD5mRYQLo2lgKvIe/r/rmmgfRvzRw/gXb4itzpUcUPSYBNaXBTJRd -HVFu/agpRIMsc3XT76wcu4rOrqfu0y1VZBV4kMLeEYHpbYue+SkAo/Ygo/L6FA3S -+Qt4lP36QOVd/z3+SWBmOngcO66ov67cXi3z/yZor2ul0Bg2y2TRknPEjHVnAL0H -clzsXosVcdZg6mRZlorUcajqAznek1Oo2pbojL8TrcvlFGKRphkCyBsVuOOL9UQj -f/jBTiI0LjdUtnN81Plg -=zwS4 ------END PGP SIGNATURE----- diff --git a/phpunit-8.5.0.phar b/phpunit-8.5.0.phar new file mode 100644 index 0000000..a3ddec4 --- /dev/null +++ b/phpunit-8.5.0.phar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b12f0348e81d05007720c5cee4df6a1328f6205a3429548c50e5a6e444846678 +size 2911658 diff --git a/phpunit-8.5.0.phar.asc b/phpunit-8.5.0.phar.asc new file mode 100644 index 0000000..cbb9e2c --- /dev/null +++ b/phpunit-8.5.0.phar.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJNBAABCgA3FiEE2EBtDYKUd0cpN3gxSqOUCGNywgoFAl3p6h8ZHHNiQHNlYmFz +dGlhbi1iZXJnbWFubi5kZQAKCRBKo5QIY3LCCqA4EADWQTyjUKiCtrXhsuYYlCdj +8hWIpxmeJ8SaVr6r9Yr/iWZ3+hm/M9pigTVjTqMkl0zB7wFDMfmo0JQjszKPBlvU +OmDjRqL0W/HBZjlSa3Jf3jcGsOSoi0njSq9c9FLemWyt6R81xkyy7RLIpaRFwkMy +Ya4u0nf8t3NEqkVY9vdSRr7QvwEZzhKZM0fIExei9+3u5mApoaMvApVvZV1Zu4+/ +MSlwl0RR5QtFNgTv0pJyeW9ex73Nrni7+0pPtxGGRvIxc8FKT2Xkx6lSSI9QD4R6 +IGlE2V7ZFZcNjV3fWbtUEul0524U2o4KN9Z4Unz/eUsAy315nfdHdAoEtMxBbIj7 +iNTnbw64XW71a0GbHej0FUhMPpy/NU+/t+vGpmuWAEM78lyklNuF6mbU+0T3hArF +ix7MVN8ziwSpUkzLt4d660XgDerlaQFJfJ/v8iE5VOpTpVWmkXG0dZZhFBH6Xb// +6uQYHT/1gf9zhSDzkagGuIb0QhkGe4i1olvzbu1XfVrj34IFgyk2a2jX8D9mUKHp +5EzbQkyJHaueN584hdI4VuymVEa43mU5oIGN9OHBWJf7tpqKdUGT9Dyu5WYyWroH +k+C3/ZXydxXZb20jcwdFs50ActsW+kIhNz3Rqy873lUTraoqWAIab/vwJwCA8+Cq +ZPsDVS7WB+atLnG0L2ApqQ== +=/Wsz +-----END PGP SIGNATURE-----