diff options
| author | Crucible <crucible@localhost> | 2026-10-14 03:05:04 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-14 03:05:04 -0500 |
| commit | f2908082da3eb11b2ab459032e0b91aaf4433ff2 (patch) | |
| tree | 828f763b839660180630c3dd8b7ce3d36403fe88 /dev-python/faust-cchardet | |
| parent | 08c02fb1d2b7ed86dd6ab8a3cd5d189ddceaae30 (diff) | |
| download | srcux-f2908082da3eb11b2ab459032e0b91aaf4433ff2.tar.gz srcux-f2908082da3eb11b2ab459032e0b91aaf4433ff2.tar.xz srcux-f2908082da3eb11b2ab459032e0b91aaf4433ff2.zip | |
Diffstat (limited to 'dev-python/faust-cchardet')
8 files changed, 0 insertions, 230 deletions
diff --git a/dev-python/faust-cchardet/Manifest b/dev-python/faust-cchardet/Manifest deleted file mode 100644 index 41d63da7ee82..000000000000 --- a/dev-python/faust-cchardet/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST faust-cchardet-2.1.19.tar.gz 678871 BLAKE2B e87389ef602bc5e69ae2037aff1000b9caacfd91a44c5eb8fb2084d4ac33772eb8e480b05109ff83ebfcb2b9a57e215b4bc9cc5558f4f7e1a19b58dd1dfca8b5 SHA512 bd75ddf8b2e9891fe6ecdfd687a6903342a24b93f35a3d9a1b20da9abc77684e73840db73da97689636e3412e33da25b68cfafad114186681d0dec98880ffe95 -DIST faust_cchardet-2.1.20.tar.gz 695215 BLAKE2B b57d8980298cd7992eff00b13db745cceba3459e16f6f2e28ddedea959868142bb62632f20f09b21d6f628399dbfc0dd0f89272e47ff059ec3d1e551f50c574f SHA512 c2513955dc19541a55cb1b745a4b2d58ea0a0e525797a4e205a3c95c80743ace37ce77bbd4df0a2828d1a5c733c9b1d71b04e05ae760e3a95aec1af3873d85c5 -DIST faust_cchardet-2.2.1.tar.gz 642133 BLAKE2B ca1afa718f74c859ba53a1b668b95b162aad977cfd2df92d1a9156c1e145579de9509479a9aa99ea726038f8b3c9228c0266c45cb968e0ecd28ca819fbd2a94e SHA512 20b22d52cb1d3da17e70c9ec2854ef69ddfbdbb49903c00e92b9b921826ed4b13060ea4ee2cd9748fc17852cb0591eeeff21f96ceda866f0acbda480ddbe3b84 -DIST faust_cchardet-3.0.0.tar.gz 785788 BLAKE2B 204410fe550dcd79b37e8aa61447585df686367e3e91a4792451bb752e87c3d3ec03a58980c06a38f83829ad24f5a95d286710bb2871528904297e1af5409624 SHA512 682ebaed4bf749c613ce7ee821a76b1f6ae4f67d274685c5c7365629d579e32e216918db1bd20dcde6e144a38a92037c6c3f6158ddf0938d5142478cb48e7cba diff --git a/dev-python/faust-cchardet/faust-cchardet-2.1.19.ebuild b/dev-python/faust-cchardet/faust-cchardet-2.1.19.ebuild deleted file mode 100644 index de3bc471f889..000000000000 --- a/dev-python/faust-cchardet/faust-cchardet-2.1.19.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="High speed universal character encoding detector" -HOMEPAGE=" - https://github.com/faust-streaming/cChardet/ - https://pypi.org/project/faust-cchardet/ -" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/faust-cchardet/faust-cchardet-2.1.20.ebuild b/dev-python/faust-cchardet/faust-cchardet-2.1.20.ebuild deleted file mode 100644 index f7c72f8f0d04..000000000000 --- a/dev-python/faust-cchardet/faust-cchardet-2.1.20.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="High speed universal character encoding detector" -HOMEPAGE=" - https://github.com/faust-streaming/cChardet/ - https://pypi.org/project/faust-cchardet/ -" - -LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -BDEPEND=" - >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/faust-cchardet/faust-cchardet-2.2.1.ebuild b/dev-python/faust-cchardet/faust-cchardet-2.2.1.ebuild deleted file mode 100644 index 2bee8aa6cb1a..000000000000 --- a/dev-python/faust-cchardet/faust-cchardet-2.2.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="High speed universal character encoding detector" -HOMEPAGE=" - https://github.com/faust-streaming/cChardet/ - https://pypi.org/project/faust-cchardet/ -" - -LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -BDEPEND=" - >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/faust-cchardet/faust-cchardet-3.0.0-r1.ebuild b/dev-python/faust-cchardet/faust-cchardet-3.0.0-r1.ebuild deleted file mode 100644 index 71b7558b61a1..000000000000 --- a/dev-python/faust-cchardet/faust-cchardet-3.0.0-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="High speed universal character encoding detector" -HOMEPAGE=" - https://github.com/faust-streaming/cChardet/ - https://pypi.org/project/faust-cchardet/ -" - -LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -DEPEND=" - >=app-i18n/uchardet-0.0.8_p20250825:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${P}-system-uchardet.patch" -) - -DISTUTILS_ARGS=( - -Dsystem-uchardet=true -) diff --git a/dev-python/faust-cchardet/faust-cchardet-3.0.0.ebuild b/dev-python/faust-cchardet/faust-cchardet-3.0.0.ebuild deleted file mode 100644 index 2bee8aa6cb1a..000000000000 --- a/dev-python/faust-cchardet/faust-cchardet-3.0.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="High speed universal character encoding detector" -HOMEPAGE=" - https://github.com/faust-streaming/cChardet/ - https://pypi.org/project/faust-cchardet/ -" - -LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -BDEPEND=" - >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/faust-cchardet/files/faust-cchardet-3.0.0-system-uchardet.patch b/dev-python/faust-cchardet/files/faust-cchardet-3.0.0-system-uchardet.patch deleted file mode 100644 index 9d69c9b33847..000000000000 --- a/dev-python/faust-cchardet/files/faust-cchardet-3.0.0-system-uchardet.patch +++ /dev/null @@ -1,64 +0,0 @@ -From d89a156ea76185295e380f4ecd30b6f0c25846bc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Tue, 21 Jul 2026 11:55:29 +0200 -Subject: [PATCH] Support building against a system uchardet library -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add a `system-uchardet` option to build against the system installed -`uchardet` library instead of building a bundled copy. This requires -a git version of `uchardet` right now, and upstream did not increment -the version yet, so the code is explicitly checking whether -`uchardet_get_n_candidates` is available. - -Signed-off-by: Michał Górny <mgorny@gentoo.org> ---- - meson.options | 2 ++ - src/cchardet/meson.build | 17 +++++++++++++++-- - 2 files changed, 17 insertions(+), 2 deletions(-) - create mode 100644 meson.options - -diff --git a/meson.options b/meson.options -new file mode 100644 -index 0000000..c46ecab ---- /dev/null -+++ b/meson.options -@@ -0,0 +1,2 @@ -+option('system-uchardet', type: 'boolean', value: false, -+ description: 'Build against the system uchardet library (requires chardet from git)') -diff --git a/src/cchardet/meson.build b/src/cchardet/meson.build -index 58bc3aa..4562211 100644 ---- a/src/cchardet/meson.build -+++ b/src/cchardet/meson.build -@@ -67,15 +67,28 @@ uchardet_sources = files( - - uchardet_inc = include_directories('../ext/uchardet/src') - -+if get_option('system-uchardet') -+ uchardet = dependency('uchardet') -+ # TODO: replace with a version constraint once new uchardet is released -+ cpp = meson.get_compiler('cpp') -+ if not cpp.has_function('uchardet_get_n_candidates', dependencies: [uchardet]) -+ error('system-uchardet requires git version of uchardet from https://gitlab.freedesktop.org/uchardet/uchardet.git') -+ endif -+else -+ uchardet = declare_dependency( -+ sources: uchardet_sources, -+ include_directories: uchardet_inc, -+ ) -+endif -+ - py.extension_module( - '_cchardet', - '_cchardet.pyx', -- uchardet_sources, -+ dependencies: [uchardet], - # Build the Cython output as C++ (the module wraps a C++ library). Meson then - # links the C++ runtime that matches the active compiler (libstdc++ or - # libc++), so no manual `-lstdc++` is needed. - override_options: ['cython_language=cpp'], -- include_directories: uchardet_inc, - install: true, - subdir: 'cchardet', - ) diff --git a/dev-python/faust-cchardet/metadata.xml b/dev-python/faust-cchardet/metadata.xml deleted file mode 100644 index f36de363f17a..000000000000 --- a/dev-python/faust-cchardet/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://srcux.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>zmedico@gentoo.org</email> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <origin>srcux</origin> -</pkgmetadata> |
