aboutsummaryrefslogtreecommitdiff
path: root/ipsutils/tpl
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2013-04-22 11:17:44 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2013-04-22 11:19:34 -0400
commitf2288e48380a5557a49151fc95ee121baff65b56 (patch)
tree0592592bcb1f90ccc713c1c8ecf8d25ed93f1d15 /ipsutils/tpl
parent2027d81c8662e616f5255a83242dc62cae1cc50a (diff)
downloadipsutils-f2288e48380a5557a49151fc95ee121baff65b56.tar.gz
Rename ips to ipsutils
Diffstat (limited to 'ipsutils/tpl')
-rw-r--r--ipsutils/tpl/__init__.py20
-rw-r--r--ipsutils/tpl/metadata.tpl7
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="{}"