Merge pull request #282284 from fabaff/python-benedict-fix
python311Packages.python-benedict: 0.33.0 -> 0.33.1
This commit is contained in:
commit
0503635be0
@ -7,6 +7,7 @@
|
|||||||
, openpyxl
|
, openpyxl
|
||||||
, orjson
|
, orjson
|
||||||
, phonenumbers
|
, phonenumbers
|
||||||
|
, beautifulsoup4
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
, python-decouple
|
, python-decouple
|
||||||
@ -16,7 +17,7 @@
|
|||||||
, pythonRelaxDepsHook
|
, pythonRelaxDepsHook
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, requests
|
, requests
|
||||||
, six
|
, setuptools
|
||||||
, toml
|
, toml
|
||||||
, xlrd
|
, xlrd
|
||||||
, xmltodict
|
, xmltodict
|
||||||
@ -24,52 +25,94 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-benedict";
|
pname = "python-benedict";
|
||||||
version = "0.33.0";
|
version = "0.33.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fabiocaccamo";
|
owner = "fabiocaccamo";
|
||||||
repo = pname;
|
repo = "python-benedict";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-SJBU7jMnyLBdWQPQ/UGbVklKUOrCM3fMnOkXKHQnyPI=";
|
hash = "sha256-QRWyMqHW4C3+718mgp9z/dQ1loesm0Vaf2TzW3yqF3A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pythonRelaxDepsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
"boto3"
|
"boto3"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
python-fsutil
|
||||||
|
python-slugify
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru.optional-dependencies = {
|
||||||
|
all = [
|
||||||
|
beautifulsoup4
|
||||||
boto3
|
boto3
|
||||||
ftfy
|
ftfy
|
||||||
mailchecker
|
mailchecker
|
||||||
openpyxl
|
openpyxl
|
||||||
phonenumbers
|
phonenumbers
|
||||||
python-dateutil
|
python-dateutil
|
||||||
python-fsutil
|
|
||||||
python-slugify
|
|
||||||
pyyaml
|
pyyaml
|
||||||
requests
|
|
||||||
toml
|
toml
|
||||||
xlrd
|
xlrd
|
||||||
xmltodict
|
xmltodict
|
||||||
];
|
];
|
||||||
|
html = [
|
||||||
|
beautifulsoup4
|
||||||
|
xmltodict
|
||||||
|
];
|
||||||
|
io = [
|
||||||
|
beautifulsoup4
|
||||||
|
openpyxl
|
||||||
|
pyyaml
|
||||||
|
toml
|
||||||
|
xlrd
|
||||||
|
xmltodict
|
||||||
|
];
|
||||||
|
parse = [
|
||||||
|
ftfy
|
||||||
|
mailchecker
|
||||||
|
phonenumbers
|
||||||
|
python-dateutil
|
||||||
|
];
|
||||||
|
s3 = [
|
||||||
|
boto3
|
||||||
|
];
|
||||||
|
toml = [
|
||||||
|
toml
|
||||||
|
];
|
||||||
|
xls = [
|
||||||
|
openpyxl
|
||||||
|
xlrd
|
||||||
|
];
|
||||||
|
xml = [
|
||||||
|
xmltodict
|
||||||
|
];
|
||||||
|
yaml = [
|
||||||
|
pyyaml
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
orjson
|
orjson
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
python-decouple
|
python-decouple
|
||||||
six
|
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Tests require network access
|
# Tests require network access
|
||||||
"test_from_base64_with_valid_url_valid_content"
|
"test_from_base64_with_valid_url_valid_content"
|
||||||
|
"test_from_html_with_valid_file_valid_content"
|
||||||
|
"test_from_html_with_valid_url_valid_content"
|
||||||
"test_from_json_with_valid_url_valid_content"
|
"test_from_json_with_valid_url_valid_content"
|
||||||
"test_from_pickle_with_valid_url_valid_content"
|
"test_from_pickle_with_valid_url_valid_content"
|
||||||
"test_from_plist_with_valid_url_valid_content"
|
"test_from_plist_with_valid_url_valid_content"
|
||||||
|
Loading…
Reference in New Issue
Block a user