python312Packages.python-whois: 0.8.0 -> 0.9.3

This commit is contained in:
Fabian Affolter 2024-03-29 10:44:54 +01:00
parent 2a4a34fcf9
commit cba5f4dc6e
1 changed files with 11 additions and 7 deletions

View File

@ -1,9 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, future
, nose
, pynose
, pytestCheckHook
, python-dateutil
, pythonOlder
, setuptools
, simplejson
@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "python-whois";
version = "0.8.0";
version = "0.9.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-3TNtNRfqzip2iUBtt7uWraPF50MnQjFRru4+ZCJfYiA=";
hash = "sha256-jdoscMD4nw+PxIpCNweJMyv/9nm1+kYgSIhBUdJso84=";
};
build-system = [
@ -26,21 +26,25 @@ buildPythonPackage rec {
];
dependencies = [
future
python-dateutil
];
nativeCheckInputs = [
nose
pynose
pytestCheckHook
simplejson
];
# Exclude tests that require network access
disabledTests = [
# Exclude tests that require network access
"test_dk_parse"
"test_ipv4"
"test_ipv6"
"test_choose_server"
"test_simple_ascii_domain"
"test_simple_unicode_domain"
];
pythonImportsCheck = [
"whois"
];