Bump to python3-mako 1.2.1 52/277852/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_base_dev sandbox/dh0128.kwak/python3-mako-1.2.1-20220714 tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/7.0/base/20221116.025959 accepted/tizen/7.0/base/hotfix/20221116.055408 accepted/tizen/base/20220718.041500 accepted/tizen/base/20221115.103833 accepted/tizen/base/dev/20230602.080923 submit/tizen_base/20220714.063816 tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 14 Jul 2022 06:10:18 +0000 (15:10 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 14 Jul 2022 06:10:34 +0000 (15:10 +0900)
Change-Id: Ib894db6ff70569c9b31c64e8ebdd6c318f95c141

packaging/python3-mako.manifest [new file with mode: 0644]
packaging/python3-mako.spec [new file with mode: 0644]

diff --git a/packaging/python3-mako.manifest b/packaging/python3-mako.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python3-mako.spec b/packaging/python3-mako.spec
new file mode 100644 (file)
index 0000000..2cde3bc
--- /dev/null
@@ -0,0 +1,56 @@
+Name:           python3-mako
+Version:        1.2.1
+Release:        0
+Summary:        A super-fast Python templating language
+License:        MIT
+Group:          Development/Languages/Python
+Url:            http://www.makotemplates.org/
+Source:         %{name}-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  python3-MarkupSafe
+BuildRequires:  python3-devel
+BuildRequires:  python3-mock
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-nose
+
+Suggests:       python3-Beaker >= 1.1
+Requires:       python3-MarkupSafe
+
+Provides:       python3-mako = %{version}
+Obsoletes:      python3-mako < %{version}
+
+%description
+Mako is a template library written in Python. It provides a familiar, non-XML
+syntax which compiles into Python modules for maximum performance. Mako's
+syntax and API borrows from the best ideas of many others, including Django
+templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
+Python (i.e. Python Server Page) language, which refines the familiar ideas
+of componentized layout and inheritance to produce one of the most
+straightforward and flexible models available, while also maintaining close
+ties to Python calling and scoping semantics.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%check
+#python3 setup.py test || exit 0
+
+%remove_docs
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_bindir}/mako-render
+%{python3_sitelib}/mako/
+%{python3_sitelib}/Mako-%{version}-py%{python3_version}.egg-info
+
+%changelog
+