[packages/python-blinker] - updated to 1.5

qboosh qboosh at pld-linux.org
Sat Oct 14 10:03:46 CEST 2023


commit 57f41decc28d1f6aeff7a0e6a2d09f2e570a437c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 14 10:05:42 2023 +0200

    - updated to 1.5

 python-blinker.spec | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/python-blinker.spec b/python-blinker.spec
index 5f7e9d2..38cd1bb 100644
--- a/python-blinker.spec
+++ b/python-blinker.spec
@@ -9,25 +9,26 @@
 Summary:	Fast, simple object-to-object and broadcast signaling
 Summary(pl.UTF-8):	Szybkie, proste przesyłanie sygnałów pomiędzy obiektami
 Name:		python-%{module}
-Version:	1.4
-Release:	7
+# keep 1.5 here for python2 support
+Version:	1.5
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/blinker/
 Source0:	https://files.pythonhosted.org/packages/source/b/blinker/%{module}-%{version}.tar.gz
-# Source0-md5:	8b3722381f83c2813c52de3016b68d33
+# Source0-md5:	e1c3eec8e52210f69ef59d299c6cca07
 URL:		https://pythonhosted.org/blinker/
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with python2}
-BuildRequires:	python-modules >= 1:2.5
+BuildRequires:	python-modules >= 1:2.7
 BuildRequires:	python-setuptools
 %if %{with tests}
 BuildRequires:	python-nose
 %endif
 %endif
 %if %{with python3}
-BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-modules >= 1:3.5
 BuildRequires:	python3-setuptools
 %if %{with tests}
 BuildRequires:	python3-nose
@@ -37,7 +38,7 @@ BuildRequires:	python3-nose
 BuildRequires:	python3-flask_sphinx_themes
 BuildRequires:	sphinx-pdg-3
 %endif
-Requires:	python-modules >= 1:2.5
+Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -57,7 +58,7 @@ nadadane przez wszystkich nadawców.
 Summary:	Fast, simple object-to-object and broadcast signaling
 Summary(pl.UTF-8):	Szybkie, proste przesyłanie sygnałów pomiędzy obiektami
 Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.2
+Requires:	python3-modules >= 1:3.5
 
 %description -n python3-%{module}
 Blinker provides a fast dispatching system that allows any number of
@@ -103,7 +104,9 @@ nosetests-%{py3_ver} tests
 %endif
 
 %if %{with doc}
-sphinx-build-3 -b html docs/source docs/html
+PYTHONPATH=$(pwd) \
+%{__make} -C docs html \
+	SPHINXBUILD=sphinx-build-3
 %endif
 
 %install
@@ -125,7 +128,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES README.md LICENSE
+%doc CHANGES.rst LICENSE.rst README.rst
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
@@ -133,7 +136,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES README.md LICENSE
+%doc CHANGES.rst LICENSE.rst README.rst
 %{py3_sitescriptdir}/%{module}
 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
@@ -141,5 +144,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc docs/html/{_static,*.html,*.js}
+%doc docs/_build/html/{_images,_static,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-blinker.git/commitdiff/57f41decc28d1f6aeff7a0e6a2d09f2e570a437c



More information about the pld-cvs-commit mailing list