Unverified Commit 1f21e49d authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.webdav4: 0.10.0 -> 0.11.0 (#492212)

parents afaf753d 9f8f12bb
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -15,16 +15,16 @@
  wsgidav,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "webdav4";
  version = "0.10.0";
  version = "0.11.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "skshetry";
    repo = "webdav4";
    tag = "v${version}";
    hash = "sha256-LgWYgERRuUODFzUnC08kDJTVRx9vanJ+OU8sREEMVwM=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-vWOxFoPxXFf5hmzbu9Ik3Mqg/70eFehqMF46gC6aDzQ=";
  };

  build-system = [
@@ -37,16 +37,6 @@ buildPythonPackage rec {
    python-dateutil
  ];

  nativeCheckInputs = [
    cheroot
    colorama
    pytest-xdist
    pytestCheckHook
    pytest-cov-stub
    wsgidav
  ]
  ++ optional-dependencies.fsspec;

  optional-dependencies = {
    fsspec = [ fsspec ];
    http2 = [ httpx.optional-dependencies.http2 ];
@@ -56,6 +46,16 @@ buildPythonPackage rec {
    ];
  };

  nativeCheckInputs = [
    cheroot
    colorama
    pytest-xdist
    pytestCheckHook
    pytest-cov-stub
    wsgidav
  ]
  ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);

  pythonImportsCheck = [ "webdav4" ];

  disabledTests = [
@@ -81,8 +81,8 @@ buildPythonPackage rec {
    description = "Library for interacting with WebDAV";
    mainProgram = "dav";
    homepage = "https://skshetry.github.io/webdav4/";
    changelog = "https://github.com/skshetry/webdav4/releases/tag/v${version}";
    license = with lib.licenses; [ mit ];
    changelog = "https://github.com/skshetry/webdav4/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})