Unverified Commit 05527db7 authored by Maxim Baz's avatar Maxim Baz
Browse files

Make 'makedepends' and 'checkdepends' fields common per pkgbase

parent 5a1bb85b
...@@ -99,7 +99,6 @@ def build_pkgmeta(pkgpath, pkginfo, pkgfiles): ...@@ -99,7 +99,6 @@ def build_pkgmeta(pkgpath, pkginfo, pkgfiles):
"packager": pkginfo["packager"][0], "packager": pkginfo["packager"][0],
"depends": pkginfo.get("depend"), "depends": pkginfo.get("depend"),
"optdepends": pkginfo.get("optdepend"), "optdepends": pkginfo.get("optdepend"),
"makedepends": pkginfo.get("makedepend"),
"replaces": pkginfo.get("replace"), "replaces": pkginfo.get("replace"),
"conflicts": pkginfo.get("conflict"), "conflicts": pkginfo.get("conflict"),
"provides": pkginfo.get("provides"), "provides": pkginfo.get("provides"),
...@@ -142,6 +141,8 @@ async def main() -> int: ...@@ -142,6 +141,8 @@ async def main() -> int:
if pkgbase not in pkgbases[repo]: if pkgbase not in pkgbases[repo]:
pkgbases[repo][pkgbase] = { pkgbases[repo][pkgbase] = {
"version": pkginfo["pkgver"][0], "version": pkginfo["pkgver"][0],
"makedepends": pkginfo.get("makedepend"),
"checkdepends": pkginfo.get("checkdepend"),
"packages": [], "packages": [],
} }
pkgbases[repo][pkgbase]["packages"].append( pkgbases[repo][pkgbase]["packages"].append(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment