Merge pull request #298432 from fabaff/exchangelib-bump
python312Packages.exchangelib: 5.1.0 -> 5.2.0
This commit is contained in:
commit
50e5bd0f07
1 changed files with 22 additions and 13 deletions
|
@ -5,7 +5,6 @@
|
|||
, defusedxml
|
||||
, dnspython
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, flake8
|
||||
, isodate
|
||||
, lxml
|
||||
|
@ -18,37 +17,34 @@
|
|||
, pyyaml
|
||||
, requests
|
||||
, requests-ntlm
|
||||
, requests-gssapi
|
||||
, requests-oauthlib
|
||||
, requests-kerberos
|
||||
, requests-mock
|
||||
, setuptools
|
||||
, tzdata
|
||||
, tzlocal
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "exchangelib";
|
||||
version = "5.1.0";
|
||||
format = "setuptools";
|
||||
version = "5.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ecederstrand";
|
||||
repo = pname;
|
||||
repo = "exchangelib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WKQgfmEbil55WO3tWVq4n9wiJNw0Op/jbI7xt5vtKpA=";
|
||||
hash = "sha256-q45aYVyp75PUiqYSMSvSFMy3vaclv93QVkjKWVrxWc4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "tests-timezones-2.patch";
|
||||
url = "https://github.com/ecederstrand/exchangelib/commit/419eafcd9261bfd0617823ee437204d5556a8271.diff";
|
||||
excludes = [ "tests/test_ewsdatetime.py" ];
|
||||
hash = "sha256-dSp6NkNT5dHOg8XgDi8sR3t3hq46sNtPjUXva2YfFSU=";
|
||||
})
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
cached-property
|
||||
defusedxml
|
||||
dnspython
|
||||
|
@ -66,6 +62,19 @@ buildPythonPackage rec {
|
|||
backports-zoneinfo
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
complete = [
|
||||
requests-gssapi
|
||||
# requests-negotiate-sspi
|
||||
];
|
||||
kerberos = [
|
||||
requests-gssapi
|
||||
];
|
||||
# sspi = [
|
||||
# requests-negotiate-sspi
|
||||
# ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
flake8
|
||||
psutil
|
||||
|
|
Loading…
Reference in a new issue