forked from pool/python-sphinx-theme-builder
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
python-sphinx-theme-builder-0.2.0b1.tar.gz
Normal file
3
python-sphinx-theme-builder-0.2.0b1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b009bfe4883c4bbcc333eb6471a732bbf90292f6dec24096fd931691095c5885
|
||||||
|
size 40614
|
4
python-sphinx-theme-builder.changes
Normal file
4
python-sphinx-theme-builder.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 6 12:49:12 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Initial package (0.2.0b1)
|
89
python-sphinx-theme-builder.spec
Normal file
89
python-sphinx-theme-builder.spec
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
#
|
||||||
|
# spec file for package specRPM_CREATION_NAME
|
||||||
|
#
|
||||||
|
# Copyright (c) specCURRENT_YEAR SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-sphinx-theme-builder
|
||||||
|
Version: 0.2.0b1
|
||||||
|
Release: 0
|
||||||
|
Summary: A tool for authoring Sphinx themes with a simple (opinionated) workflow
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Url: https://github.com/pradyunsg/sphinx-theme-builder
|
||||||
|
Source: https://github.com/pradyunsg/sphinx-theme-builder/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module flit-core}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module click}
|
||||||
|
BuildRequires: %{python_module rich}
|
||||||
|
BuildRequires: %{python_module pyproject-metadata}
|
||||||
|
BuildRequires: %{python_module packaging}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module sphinx-autobuild}
|
||||||
|
BuildRequires: %{python_module tomli >= 1.0.0 if %python-base < 3.11}
|
||||||
|
Requires: (python-tomli if python-base < 3.11)
|
||||||
|
Requires: python-rich
|
||||||
|
Requires: python-click
|
||||||
|
Requires: python-pyproject-metadata
|
||||||
|
Requires: python-packaging
|
||||||
|
Requires: python-setuptools
|
||||||
|
Requires: python-nodeenv
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun):update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
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
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n sphinx-theme-builder-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/stb
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative stb
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative stb
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%python_alternative %{_bindir}/stb
|
||||||
|
%{python_sitelib}/sphinx_theme_builder
|
||||||
|
%{python_sitelib}/sphinx_theme_builder-%{version}*-info
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user