python3Packages.htmldate: 1.10.0 -> 1.11.0

Diff: https://github.com/adbar/htmldate/compare/v1.10.0...v1.11.0
This commit is contained in:
Gaetan Lepage
2026-10-02 18:03:23 +00:00
parent 7196e76e7f
commit d89fca2812

View File

@@ -5,7 +5,6 @@
dateparser,
faust-cchardet,
fetchFromGitHub,
fetchpatch,
lxml,
pytestCheckHook,
python-dateutil,
@@ -15,25 +14,16 @@
buildPythonPackage rec {
pname = "htmldate";
version = "1.10.0";
version = "1.11.0";
pyproject = true;
src = fetchFromGitHub {
owner = "adbar";
repo = "htmldate";
tag = "v${version}";
hash = "sha256-3qtksgzqcgWtUv81Aqeh0nTWYnH0PjPLG4NuYChbV0g=";
hash = "sha256-ehhhM3AmZq5CzNzSYDsuX2/0F3M4GzylYqxa+UZY5D4=";
};
patches = [
# https://github.com/adbar/htmldate/pull/199
(fetchpatch {
name = "fix-tests-with-dateparser-1.4.2.patch";
url = "https://github.com/adbar/htmldate/commit/14c70c4944f1a6950bedaf8b6e46b6ec726984b8.patch";
hash = "sha256-rtRUk9lGsNQyOZ5RAjvMP5JRa4WGWdo0Xzh0OvskYPs=";
})
];
build-system = [ setuptools ];
dependencies = [
@@ -44,7 +34,11 @@ buildPythonPackage rec {
urllib3
];
pythonRelaxDeps = [ "lxml" ];
pythonRelaxDeps = [
"charset_normalizer"
"lxml"
"urllib3"
];
optional-dependencies = {
speed = [