diff options
author | Andrew Wilcox <AWilcox@Wilcox-Tech.com> | 2015-10-17 16:15:32 -0500 |
---|---|---|
committer | Andrew Wilcox <AWilcox@Wilcox-Tech.com> | 2015-10-17 16:15:32 -0500 |
commit | 10d3506afbedff19db90225924d74e608821cd0d (patch) | |
tree | 9cde90a3d5ebfdb300d25de15b80213c5efc5ae3 | |
parent | de210160a9f54b143b0b3f4c743600b7858f42ec (diff) | |
download | apkkit-10d3506afbedff19db90225924d74e608821cd0d.tar.gz apkkit-10d3506afbedff19db90225924d74e608821cd0d.tar.bz2 apkkit-10d3506afbedff19db90225924d74e608821cd0d.tar.xz apkkit-10d3506afbedff19db90225924d74e608821cd0d.zip |
Package: add missing fields to template
-rw-r--r-- | apkkit/base/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apkkit/base/package.py b/apkkit/base/package.py index f578575..3b7f3dd 100644 --- a/apkkit/base/package.py +++ b/apkkit/base/package.py @@ -15,6 +15,10 @@ pkgname = {{ package.name }} pkgver = {{ package.version }} pkgdesc = {{ package.description }} arch = {{ package.arch }} +size = {{ package.size }} +{%- if package.url %} +url = {{ package.url }} +{%- endif %} {%- if package.provides %}{%- for provided in package.provides %} provides = {{ provided }} {%- endfor %}{%- endif %} @@ -24,6 +28,7 @@ depends = {{ depend }} {%- if package.data_hash %} datahash = {{ package.data_hash }} {%- endif %} + """) """The template used for generating .PKGINFO""" |