python312Packages.rtfde: fix build (#351110)

This commit is contained in:
Pol Dellaiera 2024-10-26 05:22:42 +02:00 committed by GitHub
commit 193adc7e11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,8 @@ buildPythonPackage rec {
build-system = [ setuptools ];
pythonRelaxDeps = [ "lark" ];
dependencies = [
lark
oletools
@ -39,15 +41,15 @@ buildPythonPackage rec {
pythonImportsCheck = [ "RTFDE" ];
disabledTests = [
# Content mismatch
"test_bin_data_captured"
# Malformed encapsulated RTF discovered
"test_encoded_bytes_stay_encoded_character"
];
meta = with lib; {
meta = {
changelog = "https://github.com/seamustuohy/RTFDE/releases/tag/${version}";
description = "Library for extracting encapsulated HTML and plain text content from the RTF bodies";
homepage = "https://github.com/seamustuohy/RTFDE";
changelog = "https://github.com/seamustuohy/RTFDE/releases/tag/${version}";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ fab ];
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}