From a919c54de1b32e3c9f73d642896663b913589f40 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Sun, 16 Dec 2001 16:21:35 +0000 Subject: [PATCH] added support for and tags --- pear/PEAR/Common.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index 663124cae7..1b1a9261c7 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -180,6 +180,14 @@ class PEAR_Common extends PEAR $this->current_release =& $this->pkginfo['changelog'][$this->c_i]; } break; + case 'deps': + $this->pkginfo['release_deps'] = array(); + break; + case 'dep': + // dependencies array index + $this->d_i = (isset($this->d_i)) ? $this->d_i + 1 : 0; + $this->pkginfo['release_deps'][$this->d_i] = $attribs; + break; } } @@ -318,6 +326,11 @@ class PEAR_Common extends PEAR case 'sources': $this->lib_sources[] = trim($data); break; + case 'dep': + if ($data = trim($data)) { + $this->pkginfo['release_deps'][$this->d_i]['name'] = $data; + } + break; } } -- 2.50.1