diff options
author | Tomas Touceda <chiiph@gentoo.org> | 2011-06-22 08:00:10 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@gentoo.org> | 2011-06-22 08:00:10 -0300 |
commit | 4cd2e18baa88939e0879148a7bff296ada727d94 (patch) | |
tree | 610a025c72c8dbb16acbb96943ca846536b66c60 /lib/thandy/formats.py | |
parent | 2ca16b64ac00ce6375e3828d334979e5b7abf098 (diff) |
Creates the thp file
Adds two parameters to makethppackage: thpPath and scriptsDir.
thpPath: where to save the finished thp file.
scriptsDir: where the scripts specified in the configuration file are.
Diffstat (limited to 'lib/thandy/formats.py')
-rw-r--r-- | lib/thandy/formats.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thandy/formats.py b/lib/thandy/formats.py index 438b045..cd7cb0a 100644 --- a/lib/thandy/formats.py +++ b/lib/thandy/formats.py @@ -579,7 +579,8 @@ THP_PACKAGE_SCHEMA = S.Obj( platform=S.Opt(S.DictOf(S.AnyStr(), S.AnyStr())), require_features=S.Opt(S.ListOf(S.AnyStr())), require_packages=S.Opt(S.ListOf(S.ListOf(S.AnyStr()))), - scripts=S.Opt(S.DictOf(S.AnyStr(), S.AnyStr()))) + scripts=S.Opt(S.DictOf(S.AnyStr(), + S.ListOf(S.Struct([S.AnyStr(), S.ListOf(S.AnyStr())]))))) PACKAGE_SCHEMA = S.Func(checkPackageFormatConsistency, PACKAGE_SCHEMA) |