v5.3.0
This commit is contained in:
parent
a911cae25a
commit
15e2e86f7f
4 changed files with 54 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
|||
/php-phpdocumentor-reflection-docblock5-5.2.0-3170448.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.2.1-d870572.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.2.2-069a785.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.3.0-622548b.tar.gz
|
||||
|
|
|
|||
42
composer.json
Normal file
42
composer.json
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"name": "phpdocumentor/reflection-docblock",
|
||||
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mike van Riel",
|
||||
"email": "me@mikevanriel.com"
|
||||
},
|
||||
{
|
||||
"name": "Jaap van Otterdijk",
|
||||
"email": "account@ijaap.nl"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.2 || ^8.0",
|
||||
"phpdocumentor/type-resolver": "^1.3",
|
||||
"webmozart/assert": "^1.9.1",
|
||||
"phpdocumentor/reflection-common": "^2.2",
|
||||
"ext-filter": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "~1.3.2",
|
||||
"psalm/phar": "^4.8"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"phpDocumentor\\Reflection\\": "src"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"phpDocumentor\\Reflection\\": ["tests/unit", "tests/integration"]
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "5.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
# Please, preserve the changelog entries
|
||||
#
|
||||
%global gh_commit 069a785b2141f5bcf49f3e353548dc1cce6df556
|
||||
%global gh_commit 622548b623e81ca6d78b721c5e029f4ce664f170
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner phpDocumentor
|
||||
%global gh_project ReflectionDocBlock
|
||||
|
|
@ -16,8 +16,8 @@
|
|||
%bcond_without tests
|
||||
|
||||
Name: php-phpdocumentor-reflection-docblock%{major}
|
||||
Version: 5.2.2
|
||||
Release: 3%{?dist}
|
||||
Version: 5.3.0
|
||||
Release: 1%{?dist}
|
||||
Summary: DocBlock parser
|
||||
|
||||
License: MIT
|
||||
|
|
@ -37,14 +37,10 @@ BuildRequires: (php-composer(phpdocumentor/type-resolver) >= 1.3 with php-
|
|||
BuildRequires: (php-composer(webmozart/assert) >= 1.9.1 with php-composer(webmozart/assert) < 2)
|
||||
BuildRequires: (php-composer(phpdocumentor/reflection-common) >= 2.2 with php-composer(phpdocumentor/reflection-common) < 3)
|
||||
# From composer.json, require-dev
|
||||
# "mockery/mockery": "~1.3.2"
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 9
|
||||
# "mockery/mockery": "~1.3.2",
|
||||
# "psalm/phar": "^4.8"
|
||||
BuildRequires: phpunit9
|
||||
%global phpunit %{_bindir}/phpunit9
|
||||
%else
|
||||
BuildRequires: phpunit8
|
||||
%global phpunit %{_bindir}/phpunit8
|
||||
%endif
|
||||
BuildRequires: (php-composer(mockery/mockery) >= 1.3.2 with php-composer(mockery/mockery) < 2)
|
||||
# From phpcompatinfo report for 5.0.0
|
||||
BuildRequires: php-reflection
|
||||
|
|
@ -122,7 +118,7 @@ sed -e '/autoload.php/d' -i examples/*.php examples/*/*.php
|
|||
phpab \
|
||||
--template fedora \
|
||||
--output bootstrap.php \
|
||||
tests/unit/
|
||||
tests/unit tests/integration
|
||||
|
||||
cat <<BOOTSTRAP | tee -a bootstrap.php
|
||||
|
||||
|
|
@ -133,7 +129,7 @@ cat <<BOOTSTRAP | tee -a bootstrap.php
|
|||
BOOTSTRAP
|
||||
|
||||
RETURN_CODE=0
|
||||
for PHP_EXEC in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do
|
||||
for PHP_EXEC in "php %{phpunit}" php73 php74 php80 php81; do
|
||||
if which $PHP_EXEC; then
|
||||
set $PHP_EXEC
|
||||
$1 -d auto_prepend_file=$PWD/bootstrap.php \
|
||||
|
|
@ -157,6 +153,9 @@ exit $RETURN_CODE
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 20 2021 Remi Collet <remi@remirepo.net> - 5.3.0-1
|
||||
- update to 5.3.0
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpdocumentor-reflection-docblock5-5.2.2-069a785.tar.gz) = c6e0a326b821e09852eaf3e11011aa1fab2a7705b7f1194f9b0453575f59f1aac83d71cc4681c854c4f306fdeb2a3d3c3d67fd46fc5122c10a64a0d5b22a1157
|
||||
SHA512 (php-phpdocumentor-reflection-docblock5-5.3.0-622548b.tar.gz) = 271a65d82506c6fe76dffcff5132f86adcb6843744a734d7ca4d44714af702f24fc545e5786cd3700ca36e6fc1e1d7209a5d1a1bad1a51dcae2850ec39e4c4eb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue