From 396fcf9e21f7380893339c6689a5dfa67a35d825 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 06:15:02 +0000 Subject: automatic import of python-documenteer --- python-documenteer.spec | 216 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 python-documenteer.spec (limited to 'python-documenteer.spec') diff --git a/python-documenteer.spec b/python-documenteer.spec new file mode 100644 index 0000000..2f051c5 --- /dev/null +++ b/python-documenteer.spec @@ -0,0 +1,216 @@ +%global _empty_manifest_terminate_build 0 +Name: python-documenteer +Version: 0.7.3 +Release: 1 +Summary: Rubin Observatory / LSST Sphinx documentation tools, extensions, and configurations. +License: The MIT License (MIT) Copyright (c) 2015-2022 Association of Universities for Research in Astronomy, Inc. (AURA) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +URL: https://documenteer.lsst.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/de/c7/d36a8a7137c74e7096c196c4c620662d9ebf81aa9d69ba0bd4512d27db07/documenteer-0.7.3.tar.gz +BuildArch: noarch + +Requires: python3-Sphinx +Requires: python3-PyYAML +Requires: python3-GitPython +Requires: python3-requests +Requires: python3-click +Requires: python3-sphinxcontrib-bibtex +Requires: python3-pydantic +Requires: python3-tomli +Requires: python3-importlib-metadata +Requires: python3-twine +Requires: python3-coverage[toml] +Requires: python3-pytest +Requires: python3-pytest-mock +Requires: python3-lxml +Requires: python3-cssselect +Requires: python3-sphinx-click +Requires: python3-sphinxcontrib-autoprogram +Requires: python3-types-setuptools +Requires: python3-types-requests +Requires: python3-types-PyYAML +Requires: python3-types-docutils +Requires: python3-types-mock +Requires: python3-sphinx-design +Requires: python3-pydata-sphinx-theme +Requires: python3-sphinx-autodoc-typehints +Requires: python3-sphinx-automodapi +Requires: python3-sphinx-copybutton +Requires: python3-sphinx-prompt +Requires: python3-myst-parser +Requires: python3-markdown-it-py[linkify] +Requires: python3-sphinxcontrib-mermaid +Requires: python3-sphinxext-opengraph +Requires: python3-lsst-sphinx-bootstrap-theme +Requires: python3-numpydoc +Requires: python3-sphinx-automodapi +Requires: python3-sphinx-jinja +Requires: python3-sphinxcontrib-autoprogram +Requires: python3-sphinx-prompt +Requires: python3-sphinxcontrib-doxylink +Requires: python3-sphinx-click +Requires: python3-lsst-dd-rtd-theme +Requires: python3-sphinx-prompt + +%description +[![Documentation](https://img.shields.io/badge/documenteer-lsst.io-brightgreen.svg)](https://documentation.lsst.io) +[![PyPI](https://img.shields.io/pypi/v/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![For Python 3.7+](https://img.shields.io/pypi/pyversions/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![MIT license](https://img.shields.io/pypi/l/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![CI](https://github.com/lsst-sqre/documenteer/actions/workflows/ci.yaml/badge.svg)](https://github.com/lsst-sqre/documenteer/actions/workflows/ci.yaml) +[![Weekly CI](https://github.com/lsst-sqre/documenteer/actions/workflows/ci-cron.yaml/badge.svg)](https://github.com/lsst-sqre/documenteer/actions/workflows/ci-cron.yaml) + +# Documenteer + +Documenteer provides tools, extensions, and configurations for Rubin Observatory's Sphinx documentation projects, [user guides](https://documenteer.lsst.io/guides/index.html), [technotes](https://developer.lsst.io/project-docs/technotes.html) and EUPS-packaged stacks (such as the [LSST Science Pipelines](https://pipelines.lsst.io)). + +For more information about Documenteer, see the documentation at https://documenteer.lsst.io. + +Browse the [lsst-doc-engineering](https://github.com/topics/lsst-doc-engineering) GitHub topic for more Rubin Observatory documentation engineering projects. + +## Quick installation: + +For [user guides](https://documenteer.lsst.io/guides/index.html): + +```sh +pip install "documenteer[technote]" +``` + +For [technical note projects](https://documenteer.lsst.io/technotes/index.html): + +```sh +pip install "documenteer[technote]" +``` + +For the [stack projects](https://documenteer.lsst.io/pipelines/index.html) (such as the [LSST Science Pipelines](https://pipelines.lsst.io)): + +```sh +pip install "documenteer[pipelines]" +``` + + +%package -n python3-documenteer +Summary: Rubin Observatory / LSST Sphinx documentation tools, extensions, and configurations. +Provides: python-documenteer +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-documenteer +[![Documentation](https://img.shields.io/badge/documenteer-lsst.io-brightgreen.svg)](https://documentation.lsst.io) +[![PyPI](https://img.shields.io/pypi/v/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![For Python 3.7+](https://img.shields.io/pypi/pyversions/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![MIT license](https://img.shields.io/pypi/l/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![CI](https://github.com/lsst-sqre/documenteer/actions/workflows/ci.yaml/badge.svg)](https://github.com/lsst-sqre/documenteer/actions/workflows/ci.yaml) +[![Weekly CI](https://github.com/lsst-sqre/documenteer/actions/workflows/ci-cron.yaml/badge.svg)](https://github.com/lsst-sqre/documenteer/actions/workflows/ci-cron.yaml) + +# Documenteer + +Documenteer provides tools, extensions, and configurations for Rubin Observatory's Sphinx documentation projects, [user guides](https://documenteer.lsst.io/guides/index.html), [technotes](https://developer.lsst.io/project-docs/technotes.html) and EUPS-packaged stacks (such as the [LSST Science Pipelines](https://pipelines.lsst.io)). + +For more information about Documenteer, see the documentation at https://documenteer.lsst.io. + +Browse the [lsst-doc-engineering](https://github.com/topics/lsst-doc-engineering) GitHub topic for more Rubin Observatory documentation engineering projects. + +## Quick installation: + +For [user guides](https://documenteer.lsst.io/guides/index.html): + +```sh +pip install "documenteer[technote]" +``` + +For [technical note projects](https://documenteer.lsst.io/technotes/index.html): + +```sh +pip install "documenteer[technote]" +``` + +For the [stack projects](https://documenteer.lsst.io/pipelines/index.html) (such as the [LSST Science Pipelines](https://pipelines.lsst.io)): + +```sh +pip install "documenteer[pipelines]" +``` + + +%package help +Summary: Development documents and examples for documenteer +Provides: python3-documenteer-doc +%description help +[![Documentation](https://img.shields.io/badge/documenteer-lsst.io-brightgreen.svg)](https://documentation.lsst.io) +[![PyPI](https://img.shields.io/pypi/v/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![For Python 3.7+](https://img.shields.io/pypi/pyversions/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![MIT license](https://img.shields.io/pypi/l/documenteer.svg?style=flat-square)](https://pypi.python.org/pypi/documenteer) +[![CI](https://github.com/lsst-sqre/documenteer/actions/workflows/ci.yaml/badge.svg)](https://github.com/lsst-sqre/documenteer/actions/workflows/ci.yaml) +[![Weekly CI](https://github.com/lsst-sqre/documenteer/actions/workflows/ci-cron.yaml/badge.svg)](https://github.com/lsst-sqre/documenteer/actions/workflows/ci-cron.yaml) + +# Documenteer + +Documenteer provides tools, extensions, and configurations for Rubin Observatory's Sphinx documentation projects, [user guides](https://documenteer.lsst.io/guides/index.html), [technotes](https://developer.lsst.io/project-docs/technotes.html) and EUPS-packaged stacks (such as the [LSST Science Pipelines](https://pipelines.lsst.io)). + +For more information about Documenteer, see the documentation at https://documenteer.lsst.io. + +Browse the [lsst-doc-engineering](https://github.com/topics/lsst-doc-engineering) GitHub topic for more Rubin Observatory documentation engineering projects. + +## Quick installation: + +For [user guides](https://documenteer.lsst.io/guides/index.html): + +```sh +pip install "documenteer[technote]" +``` + +For [technical note projects](https://documenteer.lsst.io/technotes/index.html): + +```sh +pip install "documenteer[technote]" +``` + +For the [stack projects](https://documenteer.lsst.io/pipelines/index.html) (such as the [LSST Science Pipelines](https://pipelines.lsst.io)): + +```sh +pip install "documenteer[pipelines]" +``` + + +%prep +%autosetup -n documenteer-0.7.3 + +%build +%py3_build + +%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 +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-documenteer -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 0.7.3-1 +- Package Spec generated -- cgit v1.2.3