[packages/python-wcwidth] - updated to 0.2.10

qboosh qboosh at pld-linux.org
Tue Nov 14 22:05:26 CET 2023


commit 58a0cd563cd97416a4fa0659bef4e63f599de3a7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 14 21:57:05 2023 +0100

    - updated to 0.2.10

 python-wcwidth.spec | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)
---
diff --git a/python-wcwidth.spec b/python-wcwidth.spec
index ad5ec16..8ef7c64 100644
--- a/python-wcwidth.spec
+++ b/python-wcwidth.spec
@@ -1,7 +1,6 @@
-# TODO: finish doc
 #
 # Conditional build:
-%bcond_with	doc	# Sphinx documentation
+%bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# unit tests
 %bcond_without	python2 # CPython 2.x module
 %bcond_without	python3 # CPython 3.x module
@@ -10,25 +9,26 @@
 Summary:	Measure the number of terminal column cells of wide-character codes
 Summary(pl.UTF-8):	Pomiar liczby kolumn terminala koniecznych do wyświetlenia znaków
 Name:		python-%{module}
-Version:	0.2.5
-Release:	3
+Version:	0.2.10
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://github.com/jquast/wcwidth/releases
 Source0:	https://github.com/jquast/wcwidth/archive/%{version}/%{module}-%{version}.tar.gz
-# Source0-md5:	c82382572afdbba64470f56374502952
+# Source0-md5:	d59eabfbd08845cbb6339c49c5f7833a
 URL:		https://pypi.org/project/wcwidth/
 %if %{with python2}
 BuildRequires:	python-modules >= 1:2.7
 BuildRequires:	python-setuptools
 %if %{with tests}
 BuildRequires:	python-backports.functools_lru_cache >= 1.2.1
+BuildRequires:	python-importlib_metadata
 BuildRequires:	python-pytest
 BuildRequires:	python-pytest-cov
 %endif
 %endif
 %if %{with python3}
-BuildRequires:	python3-modules >= 1:3.4
+BuildRequires:	python3-modules >= 1:3.8
 BuildRequires:	python3-setuptools
 %if %{with tests}
 BuildRequires:	python3-pytest
@@ -38,10 +38,8 @@ BuildRequires:	python3-pytest-cov
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires:	python3-sphinx-paramlinks
 BuildRequires:	python3-sphinx_rtd_theme
-BuildRequires:	python3-sphinxcontrib-manpage
-BuildRequires:	sphinx-pdg-3
+BuildRequires:	sphinx-pdg-3 >= 4.5
 %endif
 Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
@@ -60,7 +58,7 @@ takowy.
 Summary:	Measure the number of terminal column cells of wide-character codes
 Summary(pl.UTF-8):	Pomiar liczby kolumn terminala koniecznych do wyświetlenia znaków
 Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.4
+Requires:	python3-modules >= 1:3.8
 
 %description -n python3-%{module}
 This library is mainly for those implementing a Terminal Emulator, or
@@ -71,6 +69,17 @@ Ta biblioteka przydaje się głównie implementującym emulator terminala
 lub programom uważnie tworzących wyjście do interpretowania przez
 takowy.
 
+%package apidocs
+Summary:	API documentation for Python wcwidth module
+Summary(pl.UTF-8):	Dokumentacja API modułu Pythona wcwidth
+Group:		Documentation
+
+%description apidocs
+API documentation for Python wcwidth module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona wcwidth.
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -133,3 +142,9 @@ rm -rf $RPM_BUILD_ROOT
 %{py3_sitescriptdir}/wcwidth
 %{py3_sitescriptdir}/wcwidth-%{version}-py*.egg-info
 %endif
+
+%if %{with doc}
+%files apidocs
+%defattr(644,root,root,755)
+%doc docs/build/html/{_modules,_static,*.html,*.js}
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-wcwidth.git/commitdiff/58a0cd563cd97416a4fa0659bef4e63f599de3a7



More information about the pld-cvs-commit mailing list