[packages/python3-pallets-sphinx-themes] - python-pallets-sphinx-themes.spec updated to 2.0.2 for python 3.6+

qboosh qboosh at pld-linux.org
Sun Mar 13 18:15:30 CET 2022


commit b55ee50f771daece53b9ffb76df1f12d0b826db0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 13 18:17:36 2022 +0100

    - python-pallets-sphinx-themes.spec updated to 2.0.2 for python 3.6+

 python-pallets-sphinx-themes.spec  | 93 --------------------------------------
 python3-pallets-sphinx-themes.spec | 45 ++++++++++++++++++
 2 files changed, 45 insertions(+), 93 deletions(-)
---
diff --git a/python-pallets-sphinx-themes.spec b/python-pallets-sphinx-themes.spec
deleted file mode 100644
index 10a0c76..0000000
--- a/python-pallets-sphinx-themes.spec
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Conditional build:
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
-
-Summary:	Sphinx themes for Pallets Project documentation
-Summary(pl.UTF-8):	Motywy Sphinksa do dokumentacji z projektu Pallets
-Name:		python-pallets-sphinx-themes
-Version:	1.2.3
-Release:	2
-License:	BSD
-Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
-Source0:	https://files.pythonhosted.org/packages/source/p/pallets-sphinx-themes/Pallets-Sphinx-Themes-%{version}.tar.gz
-# Source0-md5:	05f25718e2319a6dfd7a3a7d6aee9c19
-URL:		https://palletsprojects.com/
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.5
-BuildRequires:	python3-setuptools
-%endif
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.7
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This package contains Sphinx themes for Pallets related projects.
-
-%description -l pl.UTF-8
-Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
-Pallets.
-
-%package -n python3-pallets-sphinx-themes
-Summary:	Sphinx themes for Pallets Project documentation
-Summary(pl.UTF-8):	Motywy Sphinksa do dokumentacji z projektu Pallets
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.5
-
-%description -n python3-pallets-sphinx-themes
-This package contains Sphinx themes for Pallets related projects.
-
-%description -n python3-pallets-sphinx-themes -l pl.UTF-8
-Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
-Pallets.
-
-%prep
-%setup -q -n Pallets-Sphinx-Themes-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc README.rst CHANGES.rst
-%{py_sitescriptdir}/pallets_sphinx_themes
-%{py_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-pallets-sphinx-themes
-%defattr(644,root,root,755)
-%doc README.rst CHANGES.rst
-%{py3_sitescriptdir}/pallets_sphinx_themes
-%{py3_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
-%endif
diff --git a/python3-pallets-sphinx-themes.spec b/python3-pallets-sphinx-themes.spec
new file mode 100644
index 0000000..622b230
--- /dev/null
+++ b/python3-pallets-sphinx-themes.spec
@@ -0,0 +1,45 @@
+Summary:	Sphinx themes for Pallets Project documentation
+Summary(pl.UTF-8):	Motywy Sphinksa do dokumentacji z projektu Pallets
+Name:		python3-pallets-sphinx-themes
+Version:	2.0.2
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
+Source0:	https://files.pythonhosted.org/packages/source/p/pallets-sphinx-themes/Pallets-Sphinx-Themes-%{version}.tar.gz
+# Source0-md5:	898246b2cf5ee6f9826f40a31bc3a9ba
+URL:		https://palletsprojects.com/
+BuildRequires:	python3-modules >= 1:3.6
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.6
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains Sphinx themes for Pallets related projects.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
+Pallets.
+
+%prep
+%setup -q -n Pallets-Sphinx-Themes-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES.rst LICENSE.rst README.rst
+%{py3_sitescriptdir}/pallets_sphinx_themes
+%{py3_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pallets-sphinx-themes.git/commitdiff/b55ee50f771daece53b9ffb76df1f12d0b826db0



More information about the pld-cvs-commit mailing list