diff options
-rw-r--r-- | checkpkgist.json | 29 | ||||
-rwxr-xr-x | checkpkgist.php | 6 |
2 files changed, 8 insertions, 27 deletions
diff --git a/checkpkgist.json b/checkpkgist.json index 2de09a0..c0694b5 100644 --- a/checkpkgist.json +++ b/checkpkgist.json @@ -34,7 +34,6 @@ "php-clue-http-proxy-react": "clue\/http-proxy-react", "php-clue-socks-react": "clue\/socks-react", "php-clue-reactphp-ssh-proxy": "clue\/reactphp-ssh-proxy", - "php-phpseclib3": "phpseclib\/phpseclib", "php-egulias-email-validator3": "egulias\/email-validator", "php-doctrine-cache2": "doctrine\/cache", "php-laminas-cli": "laminas\/laminas-cli", @@ -53,31 +52,13 @@ "php-doctrine-instantiator2": "doctrine\/instantiator", "php-sabre-uri3": "sabre\/uri", "php-sabre-xml4": "sabre\/xml", - "php-sebastian-exporter6": "sebastian\/exporter", - "php-sebastian-comparator6": "sebastian\/comparator", - "php-phpunit-php-code-coverage11": "phpunit\/php-code-coverage", - "phpunit11": "phpunit\/phpunit", + "php-sabre-event6": "sabre\/event", + "php-sabre-http7": "sabre\/http", "php-solidworx-aspect": "solidworx\/aspect", "php-pecl-jsonpath": "supermetrics\/jsonpath", "php-pecl-xpass": "remi\/xpass", - "php-sebastian-version6": "sebastian\/version", - "php-phpunit-php-file-iterator6": "phpunit\/php-file-iterator", - "php-phpunit-php-text-template5": "phpunit\/php-text-template", - "php-sebastian-complexity5": "sebastian\/complexity", - "php-sebastian-environment8": "sebastian\/environment", - "php-sebastian-lines-of-code4": "sebastian\/lines-of-code", - "php-phpunit-php-code-coverage12": "phpunit\/php-code-coverage", - "php-phpunit-php-invoker6": "phpunit\/php-invoker", - "php-phpunit-php-timer8": "phpunit\/php-timer", - "php-sebastian-cli-parser4": "sebastian\/cli-parser", - "php-sebastian-diff7": "sebastian\/diff", - "php-sebastian-recursion-context7": "sebastian\/recursion-context", - "php-sebastian-exporter7": "sebastian\/exporter", - "php-sebastian-comparator7": "sebastian\/comparator", - "php-sebastian-object-reflector5": "sebastian\/object-reflector", - "php-sebastian-global-state8": "sebastian\/global-state", - "php-sebastian-object-enumerator7": "sebastian\/object-enumerator", - "php-sebastian-type6": "sebastian\/type", - "phpunit12": "phpunit\/phpunit", + "php-snappy": "kjdev\/snappy", + "php-kjdev-bzip3": "kjdev\/bzip3", + "php-pecl-imagick-im7": "imagick\/imagick", "phinx": "robmorgan\/phinx" }
\ No newline at end of file diff --git a/checkpkgist.php b/checkpkgist.php index b7b1712..a57ab25 100755 --- a/checkpkgist.php +++ b/checkpkgist.php @@ -70,7 +70,7 @@ class PkgClient { } } -function getMax($name, $rpm) { +function getMax($name, $rpm, $verrpm) { static $vers = NULL; global $pkgs; @@ -83,7 +83,7 @@ function getMax($name, $rpm) { } $rpms = array_keys($pkgs, $name); - $crt = 0; + $crt = (int)$verrpm; $max = 9999; if (isset($vers[$rpm])) { @@ -119,7 +119,6 @@ function run($name, $rpm) { $name = strtolower($name); $len = 50; - $limit = getMax($name, $rpm); if (in_array($name, ['znerol/php-stringprep', 'psr/http-message-implementation'])) { return; @@ -150,6 +149,7 @@ function run($name, $rpm) { $rpminfo['Providename'] = ["php-composer($name)"]; $rpminfo['Provideversion'] =[$rpmmainver]; } + $limit = getMax($name, $rpm, $rpmmainver); $cpt = 0; foreach($rpminfo['Providename'] as $i => $n) { if (preg_match('/^php-composer\((.*)\)/', $n, $res)) { |