summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2015-10-17 16:15:32 -0500
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2015-10-17 16:15:32 -0500
commit10d3506afbedff19db90225924d74e608821cd0d (patch)
tree9cde90a3d5ebfdb300d25de15b80213c5efc5ae3
parentde210160a9f54b143b0b3f4c743600b7858f42ec (diff)
downloadapkkit-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.py5
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"""