Merge pull request #322246 from fabaff/rtfde-bump
python312Packages.rtfde: 0.1.1 -> 0.1.2
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rtfde";
|
||||
version = "0.1.1";
|
||||
version = "0.1.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -21,15 +21,9 @@ buildPythonPackage rec {
|
||||
owner = "seamustuohy";
|
||||
repo = "RTFDE";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ai9JQ3gphY/IievBNdHiblIpc0IPS9wp7CVvBIRzG/4=";
|
||||
hash = "sha256-zmcf9wqlKz55dOIchUC9sgW0PcTCPc52IkbIonOFlmU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/seamustuohy/RTFDE/issues/31
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "==" ">="
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
@@ -44,6 +38,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "RTFDE" ];
|
||||
|
||||
disabledTests = [
|
||||
# Content mismatch
|
||||
"test_bin_data_captured"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for extracting encapsulated HTML and plain text content from the RTF bodies";
|
||||
homepage = "https://github.com/seamustuohy/RTFDE";
|
||||
|
||||
Reference in New Issue
Block a user