From 10d3506afbedff19db90225924d74e608821cd0d Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Sat, 17 Oct 2015 16:15:32 -0500 Subject: Package: add missing fields to template --- apkkit/base/package.py | 5 +++++ 1 file changed, 5 insertions(+) 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""" -- cgit v1.2.3-70-g09d2