dev-php/phpdepend: new version 2.3.2 sans bundled dependencies.

Now that we have a framework for installing Composer packages, we
don't need to bundle the Symfony components that phpdepend uses. This
new version switches back to a source distribution and adds the
requisite RDEPENDs.

In addition, we now install phpdepend under /usr/share/phpdepend as
opposed to /usr/share/php/phpdepend. The latter is part of PHP's
"include" search path, and is only meant for library code.

Gentoo-Bug: 573340

Package-Manager: portage-2.3.0
This commit is contained in:
Michael Orlitzky
2017-01-05 16:34:46 -05:00
parent 68d9fafc56
commit d6d393bf2e
3 changed files with 70 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
$vendor_dir = '/usr/share/php';
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
require_once("${vendor_dir}/Fedora/Autoloader/autoload.php");
}
\Fedora\Autoloader\Autoload::addPsr4(
'PDepend\\',
__DIR__ . '/../src/main/php/PDepend'
);
\Fedora\Autoloader\Dependencies::required(
array(
"${vendor_dir}/Symfony/Component/Config/autoload.php",
"${vendor_dir}/Symfony/Component/DependencyInjection/autoload.php",
"${vendor_dir}/Symfony/Component/Filesystem/autoload.php"
)
);