[packages/python3-sphinx_nefertiti] - new

qboosh qboosh at pld-linux.org
Thu Nov 13 20:44:31 CET 2025


commit 1a5f1c5ca17413cd0f6ca3c2d0ab64e8f7004eae
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Nov 13 20:44:21 2025 +0100

    - new

 python3-sphinx_nefertiti.spec | 91 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 91 insertions(+)
---
diff --git a/python3-sphinx_nefertiti.spec b/python3-sphinx_nefertiti.spec
new file mode 100644
index 0000000..7d03dcd
--- /dev/null
+++ b/python3-sphinx_nefertiti.spec
@@ -0,0 +1,91 @@
+#
+# Conditional build:
+%bcond_with	doc	# API documentation (missing in sdist)
+%bcond_with	tests	# unit tests (files missing in sdist)
+
+Summary:	Nefertiti theme for Sphinx
+Summary(pl.UTF-8):	Motyw Nefertiti dla Sphinksa
+Name:		python3-sphinx_nefertiti
+Version:	0.8.10
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/sphinx-nefertiti/
+Source0:	https://files.pythonhosted.org/packages/source/s/sphinx-nefertiti/sphinx_nefertiti-%{version}.tar.gz
+# Source0-md5:	c5c32dcfa826d97d94c890845c41877d
+URL:		https://pypi.org/project/sphinx-nefertiti/
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-setuptools
+%if %{with tests}
+BuildRequires:	python3-Sphinx >= 6
+BuildRequires:	python3-pytest >= 8.3.3
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Nefertiti is a theme for Sphinx that features:
+- Responsive design, based on Bootstrap 5.3.
+- Text input field to filter the index.
+- Font configuration compliant with EU's GDPR (<https://gdpr.eu/>).
+- Different fonts can be used for different elements.
+- Light and dark color schemes, for normal text and code highlighted
+  with Pygments styles.
+- Images that switch between color schemes. Released as
+  sphinx-colorschemed-images.
+- Diverse color sets are available: blue, indigo, purple, pink, red,
+  orange, yellow, ...
+- Header and footer links. Header links can be grouped in dropdown
+  elements.
+- Optional highlighting of the project repository in the header.
+- Optional project version selector in the header.
+- Back-to-top button.
+
+%description -l pl.UTF-8
+Nefertiti to motyw dla Sphinksa, który charakteryzują:
+- responsywny projekt, oparty na Bootstrap 5.3
+- tekstowe pole wejściowe do filtrowania indeksu
+- konfiguracja fontów zgodna z GDPR UE (<https://gdpr.eu/>)
+- możliwość używania różnych fontów dla różnych elementów
+- jasne i ciemne schematy kolorów, dla tekstu zwykłego i kodu
+  podświetlanego stylami Pygments
+- przełączanie obrazów między schematami kolorów - wydane jako
+  sphinx-colorschemed-images
+- dostępność różnych zbiorów kolorów: blue, indigo, purple, pink, red,
+  orange, yellow...
+- odnośniki w nagłówku i stopce - te w nagłówku mogą być zgrupowane w
+  rozwijane elementy
+- opcjonalne podświetlanie repozytorium projektu w nagłówku
+- opcjonalny wybór wersji projektu w nagłówku
+- przycisk powrotu do góry
+
+%prep
+%setup -q -n sphinx_nefertiti-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.txt README.md
+%attr(755,root,root) %{_bindir}/nftt
+%{py3_sitescriptdir}/sphinx_nefertiti
+%{py3_sitescriptdir}/sphinx_nefertiti-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_nefertiti.git/commitdiff/1a5f1c5ca17413cd0f6ca3c2d0ab64e8f7004eae



More information about the pld-cvs-commit mailing list