Projects
openEuler:24.03:SP1:Everything
python-sphinxcontrib-htmlhelp
_service:tar_scm:python-sphinxcontrib-htmlhelp....
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:python-sphinxcontrib-htmlhelp.spec of Package python-sphinxcontrib-htmlhelp
%global pypi_name sphinxcontrib-htmlhelp %bcond_without check Name: python-%{pypi_name} Version: 2.0.5 Release: 1 Summary: Sphinx extension for HTML help files License: BSD-2-Clause URL: http://sphinx-doc.org/ 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 BuildRequires: python3-sphinx BuildRequires: python3-html5lib %endif %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}} %description -n python3-%{pypi_name} sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. %prep %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 %pyproject_build %install %pyproject_install # Move language files to /usr/share pushd %{buildroot}%{python3_sitelib} for lang in `find sphinxcontrib/htmlhelp/locales -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`; do test $lang == __pycache__ && continue install -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES mv sphinxcontrib/htmlhelp/locales/$lang/LC_MESSAGES/*.mo %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/ done 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}/* %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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2