src/PEAR/PackageFile/Parser/v1.php
function fromV2($packagefile)
    {
        $info = $packagefile->getArray(true);
        $ret = new PEAR_PackageFile_v1;
        $ret->fromArray($info['old']);
    }
function fromV2($packagefile)
    {
        $info = $packagefile->getArray(true);
        $ret = new PEAR_PackageFile_v1;
        $ret->fromArray($info['old']);
    }
BC hack to allow PEAR_Common::infoFromString() to sort of
work with the version 2.0 format - there's no filelist though
@param PEAR_PackageFile_v2