diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:12:20 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:12:20 +0000 |
commit | 2a1c917a55780f16934db34f8c9e1e95c75a2803 (patch) | |
tree | d309b54bdd42421d6e16a864c36b678eae2cc048 | |
parent | 0b230be0ce6434301ce1390b7d7c54f8a0075b07 (diff) |
automatic import of python-sphinx-theme-builder
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sphinx-theme-builder.spec | 214 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 216 insertions, 0 deletions
@@ -0,0 +1 @@ +/sphinx-theme-builder-0.2.0b2.tar.gz diff --git a/python-sphinx-theme-builder.spec b/python-sphinx-theme-builder.spec new file mode 100644 index 0000000..6ad1e44 --- /dev/null +++ b/python-sphinx-theme-builder.spec @@ -0,0 +1,214 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sphinx-theme-builder +Version: 0.2.0b2 +Release: 1 +Summary: A tool for authoring Sphinx themes with a simple (opinionated) workflow. +License: MIT License +URL: https://pypi.org/project/sphinx-theme-builder/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/95/5f/a9651c42b6a44633ef900d765e4235533e08d0ea1f1aa844f50a34e1537c/sphinx-theme-builder-0.2.0b2.tar.gz +BuildArch: noarch + +Requires: python3-pyproject-metadata +Requires: python3-packaging +Requires: python3-rich +Requires: python3-nodeenv +Requires: python3-setuptools +Requires: python3-tomli +Requires: python3-typing_extensions +Requires: python3-build +Requires: python3-click +Requires: python3-sphinx-autobuild + +%description +# Sphinx Theme Builder + +<!-- start-elevator-pitch --> + +Streamline the Sphinx theme development workflow, by building upon existing +standardised tools. + +- simplified packaging experience +- simplified JavaScript tooling setup +- development server, with rebuild-on-save and automagical browser reloading +- consistent repository structure across themes + +<!-- end-elevator-pitch --> + +## Installation + +<!-- start-installation --> + +This project is available on +[PyPI](https://pypi.org/project/sphinx-theme-builder/), and can be installed +using `pip`: + +``` +pip install "sphinx-theme-builder[cli]" +``` + +This project requires modern versions of CPython (>= 3.7). + +<!-- end-installation --> + +## Usage + +Find more details on how to use this project in the [documentation]. + +## Contributing + +`stb` is a volunteer maintained open source project, and we welcome +contributions of all forms. Please take a look at the [Development +Documentation] for more information. + +[documentation]: https://sphinx-theme-builder.rtfd.io/ +[development documentation]: + https://sphinx-theme-builder.rtfd.io/en/latest/development/ + + + +%package -n python3-sphinx-theme-builder +Summary: A tool for authoring Sphinx themes with a simple (opinionated) workflow. +Provides: python-sphinx-theme-builder +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sphinx-theme-builder +# Sphinx Theme Builder + +<!-- start-elevator-pitch --> + +Streamline the Sphinx theme development workflow, by building upon existing +standardised tools. + +- simplified packaging experience +- simplified JavaScript tooling setup +- development server, with rebuild-on-save and automagical browser reloading +- consistent repository structure across themes + +<!-- end-elevator-pitch --> + +## Installation + +<!-- start-installation --> + +This project is available on +[PyPI](https://pypi.org/project/sphinx-theme-builder/), and can be installed +using `pip`: + +``` +pip install "sphinx-theme-builder[cli]" +``` + +This project requires modern versions of CPython (>= 3.7). + +<!-- end-installation --> + +## Usage + +Find more details on how to use this project in the [documentation]. + +## Contributing + +`stb` is a volunteer maintained open source project, and we welcome +contributions of all forms. Please take a look at the [Development +Documentation] for more information. + +[documentation]: https://sphinx-theme-builder.rtfd.io/ +[development documentation]: + https://sphinx-theme-builder.rtfd.io/en/latest/development/ + + + +%package help +Summary: Development documents and examples for sphinx-theme-builder +Provides: python3-sphinx-theme-builder-doc +%description help +# Sphinx Theme Builder + +<!-- start-elevator-pitch --> + +Streamline the Sphinx theme development workflow, by building upon existing +standardised tools. + +- simplified packaging experience +- simplified JavaScript tooling setup +- development server, with rebuild-on-save and automagical browser reloading +- consistent repository structure across themes + +<!-- end-elevator-pitch --> + +## Installation + +<!-- start-installation --> + +This project is available on +[PyPI](https://pypi.org/project/sphinx-theme-builder/), and can be installed +using `pip`: + +``` +pip install "sphinx-theme-builder[cli]" +``` + +This project requires modern versions of CPython (>= 3.7). + +<!-- end-installation --> + +## Usage + +Find more details on how to use this project in the [documentation]. + +## Contributing + +`stb` is a volunteer maintained open source project, and we welcome +contributions of all forms. Please take a look at the [Development +Documentation] for more information. + +[documentation]: https://sphinx-theme-builder.rtfd.io/ +[development documentation]: + https://sphinx-theme-builder.rtfd.io/en/latest/development/ + + + +%prep +%autosetup -n sphinx-theme-builder-0.2.0b2 + +%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-sphinx-theme-builder -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0b2-1 +- Package Spec generated @@ -0,0 +1 @@ +e72c219c88f6f6afdba5ff96e9a7c7f1 sphinx-theme-builder-0.2.0b2.tar.gz |