diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-03 18:28:31 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-05 20:55:13 -0600 |
commit | e57c3efeaa1713448846604c25d74fe04639cf1a (patch) | |
tree | aae7f9ff55e9d4fcee19a640b3466d6a2bec6f47 | |
parent | c41edf49bead531b334d8a68ab692fa6f3295f63 (diff) |
pactest: remove dead function
Stopped being used after commit fa933df65b9.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rwxr-xr-x | test/pacman/util.py | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/test/pacman/util.py b/test/pacman/util.py index 0044f21b..f77da52b 100755 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -113,56 +113,6 @@ def mkfile(name, data = ""): if setperms: os.chmod(filename, int(perms, 8)) -def mkdescfile(filename, pkg): - """ - """ - - data = [] - - # desc - #data.append("pkgname = %s" % pkg.name) - #data.append("pkgver = %s" % pkg.version) - if pkg.desc: - data.append("pkgdesc = %s" % pkg.desc) - if pkg.url: - data.append("url = %s" % pkg.url) - if pkg.builddate: - data.append("builddate = %s" % pkg.builddate) - if pkg.packager: - data.append("packager = %s" % pkg.packager) - if pkg.size: - data.append("size = %s" % pkg.size) - if pkg.arch: - data.append("arch = %s" % pkg.arch) - for i in pkg.groups: - data.append("group = %s" % i) - for i in pkg.license: - data.append("license = %s" % i) - if pkg.md5sum: - data.append("md5sum = %s" % pkg.md5sum) - - # depends - for i in pkg.replaces: - 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: - data.append("provides = %s" % i) - for i in pkg.backup: - data.append("backup = %s" % i) - if pkg.epoch: - data.append("epoch = %d" % pkg.epoch) - if not pkg.force: - data.append("force = 1") - if pkg.force: - data.append("force = 1") - - mkfile(filename, "\n".join(data)) - def mkinstallfile(filename, install): """ """ |