Bump to python3-empy 3.3.2
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:47:33 +0000 (14:47 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:47:33 +0000 (14:47 +0900)
packaging/python3-empy.manifest [new file with mode: 0644]
packaging/python3-empy.spec [new file with mode: 0644]

diff --git a/packaging/python3-empy.manifest b/packaging/python3-empy.manifest
new file mode 100644 (file)
index 0000000..86dbb26
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_" />
+    </request>
+</manifest>
diff --git a/packaging/python3-empy.spec b/packaging/python3-empy.spec
new file mode 100644 (file)
index 0000000..eabf6b6
--- /dev/null
@@ -0,0 +1,39 @@
+Name:       python3-empy
+Summary:    A powerful and robust template system for Python
+Version:    3.3.2
+Release:    0
+License:    LGPLv2+
+Group:      Development/Languages
+Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+EmPy is a system for embedding Python expressions and statements in template
+text; it takes an EmPy source file, processes it, and produces output.
+
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%clean
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%{python3_sitelib}/__pycache__/*.cpython-*.pyc
+%{python3_sitelib}/em.py
+%{python3_sitelib}/empy-%{version}-py%{python3_version}.egg-info
+