Re: [Patch] Optional dependencies
| From: | Xavier Noguer | Date: | Thu, 15 May 2003 21:15:53 +0000 |
| Subject: | Re: [Patch] Optional dependencies | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16329@lists.php.net to get a copy of this message | ||
El Jue 15 May 2003 16:59, Jon Parise escribió:
> On Thu, May 15, 2003 at 09:43:37PM +0200, Martin Jansen wrote:
> > Attached you'll find a patch against the latest CVS version of the PEAR
> > installer, which implements optional dependencies. This kind of
> > dependency is recognized by the attribute optional="yes" in the
> > <dep> tag.
>
what about:
Index: package.dtd
===================================================================
RCS file: /repository/pear/package.dtd,v
retrieving revision 1.3
diff -u -r1.3 package.dtd
--- package.dtd 4 Jan 2003 11:54:42 -0000 1.3
+++ package.dtd 15 May 2003 21:14:10 -0000
@@ -80,4 +80,5 @@
<!ATTLIST dep
type (pkg|ext|php|prog|ldlib|ltlib|os|websrv|sapi) #REQUIRED
rel (has|eq|lt|le|gt|ge) #IMPLIED
+ optional (yes|no) 'no'
version CDATA #IMPLIED>