diff options
author | CoprDistGit <infra@openeuler.org> | 2023-08-26 03:40:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-08-26 03:40:45 +0000 |
commit | f87ef0fdfb6d99c5da4b7a99ce22dbb06f316f75 (patch) | |
tree | 8b2e72dd77fb049187d2968e507d556f53c2059c | |
parent | 60b994f85eccc2e1d8d76abda77966ff15e4fb79 (diff) |
automatic import of python-mkdocsopeneuler23.03
-rw-r--r-- | python-mkdocs.spec | 365 |
1 files changed, 307 insertions, 58 deletions
diff --git a/python-mkdocs.spec b/python-mkdocs.spec index 6250258..ec613b4 100644 --- a/python-mkdocs.spec +++ b/python-mkdocs.spec @@ -1,92 +1,341 @@ -%global pypi_name mkdocs +%global _empty_manifest_terminate_build 0 +Name: python-mkdocs +Version: 1.5.2 +Release: 1 +Summary: Project documentation with Markdown. +License: None +URL: https://pypi.org/project/mkdocs/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/35/6a/63612e19d9c903a608caf91fd2c1f07ccbb9610de4ddb6f187aec1cce197/mkdocs-1.5.2.tar.gz +BuildArch: noarch +Requires: (python3-click>=7.0) +Requires: (python3-colorama>=0.4) +Requires: (python3-ghp-import>=1.0) +Requires: (python3-importlib-metadata>=4.3) +Requires: (python3-jinja2>=2.11.1) +Requires: (python3-markdown>=3.2.1) +Requires: (python3-markupsafe>=2.0.1) +Requires: (python3-mergedeep>=1.3.4) +Requires: (python3-packaging>=20.5) +Requires: (python3-pathspec>=0.11.1) +Requires: (python3-platformdirs>=2.2.0) +Requires: (python3-pyyaml-env-tag>=0.1) +Requires: (python3-pyyaml>=5.1) +Requires: (python3-typing-extensions>=3.10) +Requires: (python3-watchdog>=2.0) +Requires: (python3-babel>=2.9.0) +Requires: (python3-babel==2.9.0) +Requires: (python3-click==7.0) +Requires: (python3-colorama==0.4) +Requires: (python3-ghp-import==1.0) +Requires: (python3-importlib-metadata==4.3) +Requires: (python3-jinja2==2.11.1) +Requires: (python3-markdown==3.2.1) +Requires: (python3-markupsafe==2.0.1) +Requires: (python3-mergedeep==1.3.4) +Requires: (python3-packaging==20.5) +Requires: (python3-pathspec==0.11.1) +Requires: (python3-platformdirs==2.2.0) +Requires: (python3-pyyaml-env-tag==0.1) +Requires: (python3-pyyaml==5.1) +Requires: (python3-typing-extensions==3.10) +Requires: (python3-watchdog==2.0) -Name: python-%{pypi_name} -Version: 1.5.2 -Release: 1 -Summary: Project documentation with Markdown +%description +# MkDocs -License: BSD -URL: https://www.mkdocs.org -Source0: https://files.pythonhosted.org/packages/35/6a/63612e19d9c903a608caf91fd2c1f07ccbb9610de4ddb6f187aec1cce197/mkdocs-1.5.2.tar.gz -BuildArch: noarch +> *Project documentation with Markdown* +[![PyPI Version][pypi-v-image]][pypi-v-link] +[![Build Status][GHAction-image]][GHAction-link] +[![Coverage Status][codecov-image]][codecov-link] -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-wheel -BuildRequires: python3-editables -BuildRequires: python3-hatch-vcs -BuildRequires: python3-hatchling -BuildRequires: python3-babel +MkDocs is a **fast**, **simple** and **downright gorgeous** static site +generator that's geared towards building project documentation. Documentation +source files are written in Markdown, and configured with a single YAML +configuration file. It is designed to be easy to use and can be extended with +third-party themes, plugins, and Markdown extensions. -%description -MkDocs is a fast and simple way to create a website from source files written -in Markdown, and configured with a YAML configuration file, the documentation -can be hosted anywhere, even in free hosting services like Read the Docs and -GitHub Pages. -MkDocs is Python powered, this package is built with Python 3. +Please see the [Documentation][mkdocs] for an introductory tutorial and a full +user guide. + +## Features + +- Build static HTML files from Markdown files. +- Use Plugins and Markdown Extensions to enhance MkDocs. +- Use the built-in themes, third party themes or create your own. +- Publish your documentation anywhere that static files can be served. +- Much more! + +## Support + +If you need help with MkDocs, do not hesitate to get in contact with us! + +- For questions and high-level discussions, use **[Discussions]** on GitHub. + - For small questions, a good alternative is the **[Chat room]** on + Gitter/Matrix. +- To report a bug or make a feature request, open an **[Issue]** on GitHub. + +Please note that we may only provide +support for problems/questions regarding core features of MkDocs. Any +questions or bug reports about features of third-party themes, plugins, +extensions or similar should be made to their respective projects. +But, such questions are *not* banned from the [chat room]. + +Make sure to stick around to answer some questions as well! + +## Links + +- [Official Documentation][mkdocs] +- [Latest Release Notes][release-notes] +- [Catalog of third-party plugins, themes and recipes][catalog] + +## Contributing to MkDocs + +The MkDocs project welcomes, and depends on, contributions from developers and +users in the open source community. Please see the [Contributing Guide] for +information on how you can help. + +## Code of Conduct + +Everyone interacting in the MkDocs project's codebases, issue trackers, and +discussion forums is expected to follow the [PyPA Code of Conduct]. + +<!-- Badges --> +[codecov-image]: https://codecov.io/github/mkdocs/mkdocs/coverage.svg?branch=master +[codecov-link]: https://codecov.io/github/mkdocs/mkdocs?branch=master +[pypi-v-image]: https://img.shields.io/pypi/v/mkdocs.svg +[pypi-v-link]: https://pypi.org/project/mkdocs/ +[GHAction-image]: https://github.com/mkdocs/mkdocs/workflows/CI/badge.svg?branch=master&event=push +[GHAction-link]: https://github.com/mkdocs/mkdocs/actions?query=event%3Apush+branch%3Amaster +<!-- Links --> +[mkdocs]: https://www.mkdocs.org +[Issue]: https://github.com/mkdocs/mkdocs/issues +[Discussions]: https://github.com/mkdocs/mkdocs/discussions +[Chat room]: https://gitter.im/mkdocs/community +[release-notes]: https://www.mkdocs.org/about/release-notes/ +[Contributing Guide]: https://www.mkdocs.org/about/contributing/ +[PyPA Code of Conduct]: https://www.pypa.io/en/latest/code-of-conduct/ +[catalog]: https://github.com/mkdocs/catalog + +## License + +[BSD-2-Clause](https://github.com/mkdocs/mkdocs/blob/master/LICENSE) + + +%package -n python3-mkdocs +Summary: Project documentation with Markdown. +Provides: python-mkdocs +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mkdocs +# MkDocs + +> *Project documentation with Markdown* + +[![PyPI Version][pypi-v-image]][pypi-v-link] +[![Build Status][GHAction-image]][GHAction-link] +[![Coverage Status][codecov-image]][codecov-link] + +MkDocs is a **fast**, **simple** and **downright gorgeous** static site +generator that's geared towards building project documentation. Documentation +source files are written in Markdown, and configured with a single YAML +configuration file. It is designed to be easy to use and can be extended with +third-party themes, plugins, and Markdown extensions. + +Please see the [Documentation][mkdocs] for an introductory tutorial and a full +user guide. + +## Features + +- Build static HTML files from Markdown files. +- Use Plugins and Markdown Extensions to enhance MkDocs. +- Use the built-in themes, third party themes or create your own. +- Publish your documentation anywhere that static files can be served. +- Much more! + +## Support + +If you need help with MkDocs, do not hesitate to get in contact with us! + +- For questions and high-level discussions, use **[Discussions]** on GitHub. + - For small questions, a good alternative is the **[Chat room]** on + Gitter/Matrix. +- To report a bug or make a feature request, open an **[Issue]** on GitHub. + +Please note that we may only provide +support for problems/questions regarding core features of MkDocs. Any +questions or bug reports about features of third-party themes, plugins, +extensions or similar should be made to their respective projects. +But, such questions are *not* banned from the [chat room]. + +Make sure to stick around to answer some questions as well! + +## Links + +- [Official Documentation][mkdocs] +- [Latest Release Notes][release-notes] +- [Catalog of third-party plugins, themes and recipes][catalog] + +## Contributing to MkDocs + +The MkDocs project welcomes, and depends on, contributions from developers and +users in the open source community. Please see the [Contributing Guide] for +information on how you can help. + +## Code of Conduct + +Everyone interacting in the MkDocs project's codebases, issue trackers, and +discussion forums is expected to follow the [PyPA Code of Conduct]. + +<!-- Badges --> +[codecov-image]: https://codecov.io/github/mkdocs/mkdocs/coverage.svg?branch=master +[codecov-link]: https://codecov.io/github/mkdocs/mkdocs?branch=master +[pypi-v-image]: https://img.shields.io/pypi/v/mkdocs.svg +[pypi-v-link]: https://pypi.org/project/mkdocs/ +[GHAction-image]: https://github.com/mkdocs/mkdocs/workflows/CI/badge.svg?branch=master&event=push +[GHAction-link]: https://github.com/mkdocs/mkdocs/actions?query=event%3Apush+branch%3Amaster +<!-- Links --> +[mkdocs]: https://www.mkdocs.org +[Issue]: https://github.com/mkdocs/mkdocs/issues +[Discussions]: https://github.com/mkdocs/mkdocs/discussions +[Chat room]: https://gitter.im/mkdocs/community +[release-notes]: https://www.mkdocs.org/about/release-notes/ +[Contributing Guide]: https://www.mkdocs.org/about/contributing/ +[PyPA Code of Conduct]: https://www.pypa.io/en/latest/code-of-conduct/ +[catalog]: https://github.com/mkdocs/catalog + +## License + +[BSD-2-Clause](https://github.com/mkdocs/mkdocs/blob/master/LICENSE) -%package -n python3-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} %package help -Summary: %{summary} -Provides: python3-%{pypi_name}-doc +Summary: Development documents and examples for mkdocs +Provides: python3-mkdocs-doc %description help -MkDocs is a fast and simple way to create a website from source files written -in Markdown, and configured with a YAML configuration file, the documentation -can be hosted anywhere, even in free hosting services like Read the Docs and -GitHub Pages. -MkDocs is Python powered, this package is built with Python 3. +# MkDocs -%description -n python3-%{pypi_name} -MkDocs is a fast and simple way to create a website from source files written -in Markdown, and configured with a YAML configuration file, the documentation -can be hosted anywhere, even in free hosting services like Read the Docs and -GitHub Pages. -MkDocs is Python powered, this package is built with Python 3. +> *Project documentation with Markdown* +[![PyPI Version][pypi-v-image]][pypi-v-link] +[![Build Status][GHAction-image]][GHAction-link] +[![Coverage Status][codecov-image]][codecov-link] -%prep -%autosetup -n %{pypi_name}-%{version} +MkDocs is a **fast**, **simple** and **downright gorgeous** static site +generator that's geared towards building project documentation. Documentation +source files are written in Markdown, and configured with a single YAML +configuration file. It is designed to be easy to use and can be extended with +third-party themes, plugins, and Markdown extensions. + +Please see the [Documentation][mkdocs] for an introductory tutorial and a full +user guide. + +## Features + +- Build static HTML files from Markdown files. +- Use Plugins and Markdown Extensions to enhance MkDocs. +- Use the built-in themes, third party themes or create your own. +- Publish your documentation anywhere that static files can be served. +- Much more! + +## Support + +If you need help with MkDocs, do not hesitate to get in contact with us! + +- For questions and high-level discussions, use **[Discussions]** on GitHub. + - For small questions, a good alternative is the **[Chat room]** on + Gitter/Matrix. +- To report a bug or make a feature request, open an **[Issue]** on GitHub. + +Please note that we may only provide +support for problems/questions regarding core features of MkDocs. Any +questions or bug reports about features of third-party themes, plugins, +extensions or similar should be made to their respective projects. +But, such questions are *not* banned from the [chat room]. + +Make sure to stick around to answer some questions as well! + +## Links +- [Official Documentation][mkdocs] +- [Latest Release Notes][release-notes] +- [Catalog of third-party plugins, themes and recipes][catalog] + +## Contributing to MkDocs + +The MkDocs project welcomes, and depends on, contributions from developers and +users in the open source community. Please see the [Contributing Guide] for +information on how you can help. + +## Code of Conduct + +Everyone interacting in the MkDocs project's codebases, issue trackers, and +discussion forums is expected to follow the [PyPA Code of Conduct]. + +<!-- Badges --> +[codecov-image]: https://codecov.io/github/mkdocs/mkdocs/coverage.svg?branch=master +[codecov-link]: https://codecov.io/github/mkdocs/mkdocs?branch=master +[pypi-v-image]: https://img.shields.io/pypi/v/mkdocs.svg +[pypi-v-link]: https://pypi.org/project/mkdocs/ +[GHAction-image]: https://github.com/mkdocs/mkdocs/workflows/CI/badge.svg?branch=master&event=push +[GHAction-link]: https://github.com/mkdocs/mkdocs/actions?query=event%3Apush+branch%3Amaster +<!-- Links --> +[mkdocs]: https://www.mkdocs.org +[Issue]: https://github.com/mkdocs/mkdocs/issues +[Discussions]: https://github.com/mkdocs/mkdocs/discussions +[Chat room]: https://gitter.im/mkdocs/community +[release-notes]: https://www.mkdocs.org/about/release-notes/ +[Contributing Guide]: https://www.mkdocs.org/about/contributing/ +[PyPA Code of Conduct]: https://www.pypa.io/en/latest/code-of-conduct/ +[catalog]: https://github.com/mkdocs/catalog + +## License + +[BSD-2-Clause](https://github.com/mkdocs/mkdocs/blob/master/LICENSE) + + +%prep +%autosetup -n mkdocs-1.5.2 %build -%pyproject_build +%py3_build %install -%pyproject_install +%py3_install 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 + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd +mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-%{pypi_name} -%license LICENSE -%doc README.md -%{_bindir}/mkdocs -%{python3_sitelib}/%{pypi_name}* +%files -n python3-mkdocs -f filelist.lst +%dir %{python3_sitelib}/* -%files help +%files help -f doclist.lst %{_docdir}/* %changelog -* Fri Aug 25 2023 luolu12 <luluoc@isoftstone.com> - 1.5.2-1 -- update package of version 1.5.2. - -* Mon Jun 26 2023 luolu12 <luluoc@isoftstone.com> - 1.4.3-1 -- update package of version 1.4.3. - -* Thu Jun 15 2023 luolu12 <luluoc@isoftstone.com> - 1.3.1-1 -- Initial package. +* Sat Aug 26 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.2-1 +- Package Spec generated |