Merge pull request #310920 from fabaff/html-text-bump

python311Packages.html-text: 0.5.2 -> 0.6.2
This commit is contained in:
Fabian Affolter 2024-05-12 09:28:11 +02:00 committed by GitHub
commit c686f0e928
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,37 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, six
, pytestCheckHook
{
lib,
buildPythonPackage,
fetchFromGitHub,
lxml,
lxml-html-clean,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "html-text";
version = "0.5.2";
format = "setuptools";
version = "0.6.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "TeamHG-Memex";
owner = "zytedata";
repo = "html-text";
rev = version;
hash = "sha256-jw/hpz0QfcgP5OEJcmre0h1OzOfpPtaROxHm+YUqces=";
rev = "refs/tags/${version}";
hash = "sha256-e9gkibQv8mn1Jbt77UmpauOeTqhJQhY9R5Sge/iYi+U=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
lxml
lxml-html-clean
];
nativeCheckInputs = [
pytestCheckHook
six
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "html_text" ];
meta = with lib; {
description = "Extract text from HTML";
homepage = "https://github.com/TeamHG-Memex/html-text";
homepage = "https://github.com/zytedata/html-text";
changelog = "https://github.com/zytedata/html-text/blob/${version}/CHANGES.rst";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
};