summaryrefslogtreecommitdiff
path: root/pactest/util.py
diff options
context:
space:
mode:
authorJeff Mickey <jeff@archlinux.org>2007-11-02 18:26:31 -0400
committerDan McGee <dan@archlinux.org>2007-11-04 09:48:24 -0600
commitbcb5465b21f6cafbd044d9aa3b6418dbac909638 (patch)
treec0914beeefa752077d8775a9a77b755a9a9c6e88 /pactest/util.py
parentccdf29ffa8436d3cd5409b0d02287207716cf397 (diff)
downloadpacman-bcb5465b21f6cafbd044d9aa3b6418dbac909638.tar.xz
Added optdepends support to pactest
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/util.py')
-rwxr-xr-xpactest/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pactest/util.py b/pactest/util.py
index d3203428..ae203747 100755
--- a/pactest/util.py
+++ b/pactest/util.py
@@ -149,6 +149,8 @@ def mkdescfile(filename, pkg):
data.append("replaces = %s" % i)
for i in pkg.depends:
data.append("depend = %s" % i)
+ for i in pkg.optdepends:
+ data.append("optdepend = %s" % i)
for i in pkg.conflicts:
data.append("conflict = %s" % i)
for i in pkg.provides: