Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Dev

PEAR ebuilds

 

 

Gentoo dev RSS feed   Index | Next | Previous | View Threaded


sb at sebastian-bergmann

Oct 1, 2004, 1:01 AM

Post #1 of 5 (140 views)
Permalink
PEAR ebuilds

Hi,

I want submit an updated PEAR-PHPUnit ebuild as well as one for
PHPUnit2.

However, I noticed that PEAR ebuilds, although I see a dependency on a
virtual/php, want a dev-php/mod_php. It looks like the ebuilds for the
PHP CLI SAPI do not provide that virtual. Is there a reason for this?

Thanks!

--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69


--
gentoo-dev [at] gentoo mailing list


robbat2 at gentoo

Oct 1, 2004, 1:15 AM

Post #2 of 5 (134 views)
Permalink
Re: PEAR ebuilds [In reply to]

On Fri, Oct 01, 2004 at 10:01:25AM +0200, Sebastian Bergmann wrote:
> I want submit an updated PEAR-PHPUnit ebuild as well as one for
> PHPUnit2.
>
> However, I noticed that PEAR ebuilds, although I see a dependency on a
> virtual/php, want a dev-php/mod_php. It looks like the ebuilds for the
> PHP CLI SAPI do not provide that virtual. Is there a reason for this?
Very long story behind it.
The short of it is that the PEAR tool (needed to install properly using
the php-pear eclass), is only with the main dev-php/php ebuild
(abstracted to virtual/php historically).

Ultimately the virtual/php depend will continue to exist as some users
want to indicate that a package works with any PHP distribution.
There is one other PHP virtual: virtual/httpd-php that is meant to be
used to indicate any supported combination of a webserver with PHP.

For your submission, ensure you use the php-pear eclass, it will make
your life much easier.

--
Robin Hugh Johnson
E-Mail : robbat2 [at] orbis-terrarum
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ# : 30269588 or 41961639
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85


sb at sebastian-bergmann

Oct 1, 2004, 1:27 AM

Post #3 of 5 (135 views)
Permalink
Re: PEAR ebuilds [In reply to]

Robin H. Johnson wrote:
> For your submission, ensure you use the php-pear eclass, it will make
> your life much easier.

I am using the php-pear eclass. I currently have dev-php/php-5.0.2
installed. And "emerge -vp PEAR-Log", for instance, wants to emerge
both apache and mod_php.

Apache and mod_php are not needed for SAPI/CLI, PEAR and PEAR::Log to
work.

--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69


--
gentoo-dev [at] gentoo mailing list


robbat2 at gentoo

Oct 1, 2004, 4:11 AM

Post #4 of 5 (134 views)
Permalink
Re: Re: PEAR ebuilds [In reply to]

On Fri, Oct 01, 2004 at 10:27:37AM +0200, Sebastian Bergmann wrote:
> Robin H. Johnson wrote:
> > For your submission, ensure you use the php-pear eclass, it will make
> > your life much easier.
> I am using the php-pear eclass. I currently have dev-php/php-5.0.2
> installed. And "emerge -vp PEAR-Log", for instance, wants to emerge
> both apache and mod_php.
That's definetly not correct. It should only pull in virtual/php, which
should already be satisfied by dev-php/php-5.0.2 on your machine, unless
at some other stage you had one of them installed, and your virtuals
still thinks it is the default.

I'd greatly appreciate it if you could dig and find why is wants
apache+mod_php, then file a bug with all of the relevant information for
the PHP herd.

> Apache and mod_php are not needed for SAPI/CLI, PEAR and PEAR::Log to
> work.
Definetly not.

--
Robin Hugh Johnson
E-Mail : robbat2 [at] orbis-terrarum
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ# : 30269588 or 41961639
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85


sb at sebastian-bergmann

Oct 1, 2004, 7:52 AM

Post #5 of 5 (134 views)
Permalink
Re: PEAR ebuilds [In reply to]

Robin H. Johnson wrote:
> I'd greatly appreciate it if you could dig and find why is wants
> apache+mod_php, then file a bug with all of the relevant information for
> the PHP herd.

Like I said: The dev-php/mod_php-5.0.2 ebuild has

PROVIDE="virtual/php-${PV} virtual/httpd-php-${PV}"

in it while the dev-php/php-5.0.2 does not have

PROVIDE="virtual/php-${PV}"

I opened a bug (#66025) for this.

HTH,
Sebastian

--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69


--
gentoo-dev [at] gentoo mailing list

Gentoo dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.