2019-12-15 12:28:25 +00:00
committed by Git OBS Bridge
parent 1a2001aab1
commit 0ab79a523f
9 changed files with 55 additions and 35 deletions

2
.gitattributes vendored
View File

@@ -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

View File

@@ -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.

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Dec 15 11:30:33 UTC 2019 - Arjen de Korte <suse+build@de-korte.org>
- 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

5
php7-phpunit8.rpmlintrc Normal file
View File

@@ -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")

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89978a6f320bf911615b7bc56601588428e5ead69d43b50a93fc0198180a7442
size 2797093

View File

@@ -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-----

3
phpunit-8.5.0.phar Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b12f0348e81d05007720c5cee4df6a1328f6205a3429548c50e5a6e444846678
size 2911658

17
phpunit-8.5.0.phar.asc Normal file
View File

@@ -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-----