Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
0cb8cdfaa6
!31 Revert "update version 1.3.0"
From: @Venland 
Reviewed-by: @dillon_chen, @t_feng 
Signed-off-by: @dillon_chen
2024-03-01 00:25:18 +00:00
lwg
144d356fdd Revert "update version 1.3.0"
This reverts commit fbdd653ceb948aaac7aeb5eb078e4a818da4ad91.
2024-02-27 15:52:13 +08:00
openeuler-ci-bot
97c4eee429
!30 upgrade version to 1.3.0
From: @zhangkea 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-01-17 04:05:36 +00:00
ut001695
fbdd653ceb update version 1.3.0 2024-01-15 14:22:56 +08:00
openeuler-ci-bot
abb18b0a18
!26 enable check
From: @Wangjunqi123 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-02-22 05:58:28 +00:00
Wangjunqi123
34fb08f12b enable check 2023-02-15 17:07:51 +08:00
openeuler-ci-bot
6f5138bdb9
!24 Update package
From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl, @dillon_chen 
Signed-off-by: @dillon_chen, @yangzhao_kl
2023-01-30 02:15:12 +00:00
Wangjunqi123
a431d3a13c update version to 1.2.4 2022-11-22 10:53:10 +08:00
openeuler-ci-bot
d1542a922c
!22 update to 1.2.2
From: @dillon_chen 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-09-22 09:07:33 +00:00
dillon_chen
1f3d424946 update to 1.2.2 2022-09-21 14:23:41 +08:00
3 changed files with 59 additions and 30 deletions

Binary file not shown.

BIN
Mako-1.2.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,18 +1,18 @@
%bcond_with test
%global _empty_manifest_terminate_build 0
%bcond_without test
Name: python-mako
Version: 1.1.4
Release: 4
Summary: Mako template library for Python
License: MIT
Group: Development/Languages
URL: http://www.makotemplates.org/
Source0: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
BuildArch: noarch
Name: python-mako
Version: 1.2.4
Release: 2
Summary: Mako template library for Python
License: MIT
Group: Development/Languages
URL: http://www.makotemplates.org/
Source0: https://files.pythonhosted.org/packages/05/5f/2ba6e026d33a0e6ddc1dddf9958677f76f5f80c236bd65309d280b166d3e/Mako-1.2.4.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-markupsafe python3-mock
BuildRequires: python3-pytest
Requires: python3-markupsafe
Requires: python3-mako = %{version}-%{release}
%description
Python-mako is a template library for Python. It provides a familiar, non-XML
@ -21,18 +21,18 @@ and API borrows from the best ideas of many others, including Django templates,
Cheetah, Myghty, and Genshi.
%package -n python3-mako
Summary: Mako library for Python 3
Requires: python3-markupsafe
Recommends: python3-beaker
Summary: Mako library for Python 3
Provides: python-mako = %{version}-%{release}
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-markupsafe python3-mock
BuildRequires: python3-pytest
%{?python_provide:%python_provide python3-mako}
%description -n python3-mako
%description -n python3-mako
Mako library for Python 3.
%package help
Summary: Help file of Mako library for Python
Requires: python3-mako = %{version}-%{release}
Summary: Help file of Mako library for Python
Provides: python3-mako-doc
%description help
Help file of Mako library for Python in text and HTML formats.
@ -45,22 +45,51 @@ Help file of Mako library for Python in text and HTML formats.
%install
%py3_install
mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/python3-mako-render
rm -rf doc/build
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
%{__python3} -m pytest -v
%files -n python3-mako
%license LICENSE AUTHORS
%doc CHANGES README.* examples
%{_bindir}/python3-mako-render
%{python3_sitelib}/*
%files -n python3-mako -f filelist.lst
%dir %{python3_sitelib}/*
%files help
%doc doc
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Wed Feb 15 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.2.4-2
- enable check
* Fri Nov 18 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.2.4-1
- Update package to version 1.2.4
* Wed Sep 21 2022 dillon chen <dilon.chen@gmal.com> 1.2.2-1
- update to 1.2.2
* Wed Mar 30 2022 wangjiang <wangjiang37@h-partners.com> 1.1.4-4
- remove python-nose build required