From 2a1c917a55780f16934db34f8c9e1e95c75a2803 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 09:12:20 +0000 Subject: automatic import of python-sphinx-theme-builder --- .gitignore | 1 + python-sphinx-theme-builder.spec | 214 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 216 insertions(+) create mode 100644 python-sphinx-theme-builder.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..baa3718 100644 --- a/.gitignore +++ b/.gitignore @@ -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 + + + +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 + + + +## 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). + + + +## 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 + + + +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 + + + +## 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). + + + +## 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 + + + +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 + + + +## 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). + + + +## 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 - 0.2.0b2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..69d678d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +e72c219c88f6f6afdba5ff96e9a7c7f1 sphinx-theme-builder-0.2.0b2.tar.gz -- cgit v1.2.3