[packages/python3-faust-cchardet] Up to 3.2.0

arekm arekm at pld-linux.org
Fri Aug 28 12:49:16 CEST 2026


commit c296738ff3bf46eed62387e6567cad4ee3ed121d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Aug 28 12:49:03 2026 +0200

    Up to 3.2.0

 python3-faust-cchardet.spec | 44 ++++++++++++++++++++++++++------------------
 1 file changed, 26 insertions(+), 18 deletions(-)
---
diff --git a/python3-faust-cchardet.spec b/python3-faust-cchardet.spec
index 53e4e94..5ce0384 100644
--- a/python3-faust-cchardet.spec
+++ b/python3-faust-cchardet.spec
@@ -1,4 +1,5 @@
-# TODO: system uchardet?
+# meson -Dsystem-uchardet needs uchardet_get_n_candidates which is not
+# available in uchardet
 #
 # Conditional build:
 %bcond_without	tests	# unit tests
@@ -6,25 +7,27 @@
 Summary:	cChardet - high speed universal character encoding detector
 Summary(pl.UTF-8):	cChardet - szybki, uniwersalny wykrywacz kodowania znaków
 Name:		python3-faust-cchardet
-Version:	2.1.19
-Release:	3
-License:	MPL v1.1
+Version:	3.2.0
+Release:	1
+License:	MPL v1.1 or GPL v2+ or LGPL v2.1+
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/faust-cchardet/
-Source0:	https://files.pythonhosted.org/packages/source/f/faust-cchardet/faust-cchardet-%{version}.tar.gz
-# Source0-md5:	f67b9cb0198284535b062992cb47be40
+Source0:	https://files.pythonhosted.org/packages/source/f/faust-cchardet/faust_cchardet-%{version}.tar.gz
+# Source0-md5:	a4cf83582c9503909cc5afccf3829ef8
 URL:		https://pypi.org/project/faust-cchardet/
 BuildRequires:	libstdc++-devel
-BuildRequires:	python3-Cython
-BuildRequires:	python3-devel >= 1:3.6
-BuildRequires:	python3-pkgconfig
-BuildRequires:	python3-setuptools
+BuildRequires:	meson >= 1.2.0
+BuildRequires:	python3-Cython >= 3.1.0
+BuildRequires:	python3-build
+BuildRequires:	python3-devel >= 1:3.10
+BuildRequires:	python3-installer
+BuildRequires:	python3-meson-python >= 0.15
 %if %{with tests}
 BuildRequires:	python3-pytest
 %endif
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.6
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.10
 Obsoletes:	python3-cchardet < 2.1.8
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,32 +40,37 @@ cChardet to szybki, uniwersalny wykrywacz kodowania znaków - wiązanie
 do biblioteki uchardet.
 
 %prep
-%setup -q -n faust-cchardet-%{version}
+%setup -q -n faust_cchardet-%{version}
 
 %build
-%py3_build
+%py3_build_pyproject
 
 %if %{with tests}
+%{__python3} -m zipfile -e build-3/*.whl build-3-test
+
 LC_ALL=C \
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTHONPATH=$(echo $(pwd)/build-3/lib.*) \
+PYTHONPATH=$(pwd)/build-3-test \
 %{__python3} -m pytest src/tests
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES.rst README.rst
+%doc CHANGES.rst README.md
 %attr(755,root,root) %{_bindir}/cchardetect
 %dir %{py3_sitedir}/cchardet
 %{py3_sitedir}/cchardet/*.py
+%{py3_sitedir}/cchardet/*.pyi
+%{py3_sitedir}/cchardet/py.typed
 %attr(755,root,root) %{py3_sitedir}/cchardet/*.so
 %{py3_sitedir}/cchardet/__pycache__
-%{py3_sitedir}/faust_cchardet-%{version}-py*.egg-info
+%{py3_sitedir}/cchardet/cli
+%{py3_sitedir}/faust_cchardet-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-faust-cchardet.git/commitdiff/c296738ff3bf46eed62387e6567cad4ee3ed121d



More information about the pld-cvs-commit mailing list