Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
92dffc2c5b
!12 Update package to version 2.0.5
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2024-03-21 09:39:55 +00:00
jxy_git
73adaae9e7 Update package to version 2.0.5 2024-03-21 16:48:08 +08:00
openeuler-ci-bot
46658fbd4a
!11 Upgrade to 2.0.1
From: @wu-leilei 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2023-05-05 07:51:35 +00:00
wu-leilei
74cdf34e46 Update to 2.0.1 2023-05-05 15:16:24 +08:00
openeuler-ci-bot
de5240ca31
!8 License compliance rectification
From: @penelope_y 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-05-16 09:22:53 +00:00
penelope
fc09c44a5b License compliance rectification 2022-05-10 16:18:54 +08:00
openeuler-ci-bot
ddc942f596 !5 update version to 2.0.0
Merge pull request !5 from 桐小哥/master
2021-12-18 03:47:02 +00:00
shixuantong
bec2986033 update version to 2.0.0 2021-12-10 15:52:39 +08:00
openeuler-ci-bot
50d63b17e8 !2 Modify Source0 and remove %{?dist} in release tag
Merge pull request !2 from 桐小哥/master
2020-08-01 17:21:47 +08:00
sxt1001
bae6b7ab34 Modify Source0 and remove %{?dist} in release tag 2020-08-01 11:48:43 +08:00
3 changed files with 27 additions and 19 deletions

View File

@ -3,18 +3,20 @@
%bcond_without check
Name: python-%{pypi_name}
Version: 1.0.3
Release: 1%{?dist}
Version: 2.0.5
Release: 1
Summary: Sphinx extension for HTML help files
License: BSD
License: BSD-2-Clause
URL: http://sphinx-doc.org/
Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version
}.tar.gz
Source0: https://files.pythonhosted.org/packages/8a/03/2f9d699fbfdf03ecb3b6d0e2a268a8998d009f2a9f699c2dcc936899257d/sphinxcontrib_htmlhelp-2.0.5.tar.gz
BuildArch: noarch
BuildRequires: gettext
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-flit-core
%if %{with check}
BuildRequires: python3-pytest
@ -25,7 +27,6 @@ BuildRequires: python3-html5lib
%description
sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
@ -33,21 +34,18 @@ Summary: %{summary}
%description -n python3-%{pypi_name}
sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n sphinxcontrib_htmlhelp-%{version}
find -name '*.mo' -delete
%build
for po in $(find -name '*.po'); do
msgfmt --output-file=${po%.po}.mo ${po}
done
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
# Move language files to /usr/share
pushd %{buildroot}%{python3_sitelib}
@ -61,24 +59,34 @@ rm -rf sphinxcontrib/htmlhelp/locales
ln -s %{_datadir}/locale sphinxcontrib/htmlhelp/locales
popd
%find_lang sphinxcontrib.htmlhelp
%if %{with check}
%check
%{__python3} tests/conftest.py
%endif
%files -n python3-%{pypi_name} -f sphinxcontrib.htmlhelp.lang
%license LICENSE
%doc README.rst
%{python3_sitelib}/sphinxcontrib/
%{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}-*.pth
%{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}.egg-info/
%{python3_sitelib}/*
%changelog
* Thu Mar 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 2.0.5-1
- Update package to version 2.0.5
- Allow external roles to reference object types
* Thu May 04 2023 wulei <wu_lei@hoperun.com> - 2.0.1-1
- Update to 2.0.1
* Tue May 10 2022 yangping <yangping69@h-partners> - 2.0.0-2
- License compliance rectification
* Fri Dec 10 2021 shixuantong <shixuantong@huawei.com> - 2.0.0-1
- update version to 2.0.0
* Sat Aug 1 2020 shixuantong <shixuantong@huawei.com> - 1.03-2
- Modify Source0 and remove %{?dist} in release tag
* Fri Jul 31 2020 tianwei <tianwei12@huawei.com> - 1.0.3-1
- Package Init

Binary file not shown.

Binary file not shown.