Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604954 - dev-php/phing bundles all of its dependencies
Summary: dev-php/phing bundles all of its dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2017-01-07 17:28 UTC by Michael Orlitzky
Modified: 2017-01-09 20:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2017-01-07 17:28:17 UTC
The ebuild for phing downloads the PHAR archive:

  SRC_URI="http://www.phing.info/get/phing-${PV}.phar"

but that archive is simply a zip file of phing and all of its dependencies:

  $ php -r '$phar = new Phar("phing-2.16.0.phar"); $phar->extractTo("./");'
  $ ls vendor
  total 12K
  -rw-rw-rw- 1 mjo mjo  183 2017-01-07 12:26 autoload.php
  drwxr-xr-x 2 mjo mjo 4.0K 2017-01-07 12:26 composer
  drwxr-xr-x 3 mjo mjo 4.0K 2017-01-07 12:26 symfony
Comment 1 Michael Orlitzky gentoo-dev 2017-01-07 19:28:32 UTC
Fixed, maybe. It's hard to tell because with phpDocumentor and phpunit being bundled, nothing really works. I'm using the wrong version of symfony-yaml but I can run simple build targets like creating tarballs and cleaning up. The old version didn't work either, so whatever =)

commit e491aa65a5b0a89dda0c76fdac559d192c96b6ed
Author: Michael Orlitzky <mjo@gentoo.org>
Date:   Sat Jan 7 14:12:59 2017 -0500

    dev-php/phing: new unbundled version 2.16.0.

    This new version is a major overhaul of the ebuild. We start with an
    update to EAPI=6, and then everything else is basically new. The
    previous version installed a single compressed PHAR archive, while now
    we actually install the source, documentation, examples, and
    executables -- all in the correct places.

    Some dependencies were fixed, and there are new USE flags for a couple
    of optional dependencies (eventually there should be more flags,
    rather than rely on USE=minimal). Upstream's metadata was updated,
    too.

    Unfortunately, many features of this package will not work. Since
    phpDocumentor and phpunit are still packaged as PHAR archives, phing
    cannot make use of their libraries. This is not a new problem,
    however, so it is acceptable to allow in in the new version.

    Gentoo-Bug: 604954

    Package-Manager: portage-2.3.0