diff options
Diffstat (limited to 'ipsutils/tpl')
-rw-r--r-- | ipsutils/tpl/__init__.py | 20 | ||||
-rw-r--r-- | ipsutils/tpl/metadata.tpl | 7 |
2 files changed, 27 insertions, 0 deletions
diff --git a/ipsutils/tpl/__init__.py b/ipsutils/tpl/__init__.py new file mode 100644 index 0000000..ea5bd8e --- /dev/null +++ b/ipsutils/tpl/__init__.py @@ -0,0 +1,20 @@ +# This file is part of ipsutils. + +# ipsutils is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# ipsutils is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with ipsutils. If not, see <http://www.gnu.org/licenses/>. + +# I am not sure if this is proper, but needs to happen for metadata templating +# to function properly +import os +metadata = os.path.normpath(os.path.join(os.path.dirname(__file__), 'metadata.tpl')) +del os diff --git a/ipsutils/tpl/metadata.tpl b/ipsutils/tpl/metadata.tpl new file mode 100644 index 0000000..573fee3 --- /dev/null +++ b/ipsutils/tpl/metadata.tpl @@ -0,0 +1,7 @@ +set name=pkg.fmri value={} +set name=pkg.description value="{}" +set name=pkg.summary value="{}" +set name=variant.arch value={} +set name=info.upstream_url value="{}" +set name=info.source-url value="{}" +set name=info.classification value="{}" |