2019-11-06 19:50:40 +08:00
|
|
|
Name: python-tempita
|
|
|
|
|
Version: 0.5.1
|
2020-10-29 16:10:31 +08:00
|
|
|
Release: 22
|
2019-11-06 19:50:40 +08:00
|
|
|
Summary: A small templating language for text substitution
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://pypi.org/project/Tempita/0.5.1/#description
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/3f/70/d22ffcf0c1aa88077260de058845d0ef00b4b3044da7c10fc39068801a03/Tempita-0.5.1.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global common_description %{expand:Tempita is a small templating language for text substitution.
|
|
|
|
|
This isn't meant to be the Next Big Thing in templating; it is just a handy little templating
|
|
|
|
|
language for when your project outgrows string.Template or % substitution. It is small, it
|
|
|
|
|
embeds Python in strings, and it does not do much else.}
|
|
|
|
|
|
2020-10-29 16:10:31 +08:00
|
|
|
BuildRequires:python3-devel python3-setuptools python3-nose
|
2019-11-06 19:50:40 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
%package -n python3-tempita
|
|
|
|
|
Summary: A small templating language for text substitution
|
|
|
|
|
%{?python_provide:%python_provide python3-tempita}
|
|
|
|
|
|
|
|
|
|
%description -n python3-tempita
|
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n Tempita-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|
|
%files -n python3-tempita
|
|
|
|
|
%{python3_sitelib}/tempita/
|
|
|
|
|
%{python3_sitelib}/*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-10-29 16:10:31 +08:00
|
|
|
* Thu Oct 29 2020 tianwei <tianwei12@huawei.com> - 0.5.1-22
|
|
|
|
|
- delete python2
|
|
|
|
|
|
2019-11-06 19:50:40 +08:00
|
|
|
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.5.1-21
|
|
|
|
|
- Package init
|