Merge pull request #161339 from r-ryantm/auto-update/python3.10-tldextract

python310Packages.tldextract: 3.1.2 -> 3.2.0
This commit is contained in:
Fabian Affolter 2022-02-25 12:06:20 +01:00 committed by GitHub
commit 325f415d85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,15 +14,19 @@
buildPythonPackage rec {
pname = "tldextract";
version = "3.1.2";
version = "3.2.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-0gNMNVhlH32P2t6oP7aBBQstZi3GegDZUDJtyQIClEQ=";
sha256 = "sha256-PUtqIQVgC30CkOoje/MLaw3HY+UPy+QOhJoBm9bby/8=";
};
nativeBuildInputs = [ setuptools-scm ];
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
filelock
@ -38,10 +42,13 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace pytest.ini --replace " --pylint" ""
substituteInPlace pytest.ini \
--replace " --pylint" ""
'';
pythonImportsCheck = [ "tldextract" ];
pythonImportsCheck = [
"tldextract"
];
meta = with lib; {
description = "Python module to accurately separate the TLD from the domain of an URL";