Unverified Commit 91b47e16 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #207897 from r-ryantm/auto-update/python3.10-django-storages

python310Packages.django-storages: 1.13.1 -> 1.13.2
parents e5975359 581f3759
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi
{ lib
, buildPythonPackage
, fetchPypi
, django

, azure-storage-blob
, boto3
, dropbox
@@ -11,14 +12,16 @@

buildPythonPackage rec {
  pname = "django-storages";
  version = "1.13.1";
  version = "1.13.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-s9mOzAnxsWJ8Kyz0MJZDIs5OCGF9v5tCNsFqModaHgs=";
    hash = "sha256-y63RXJCc63JH1P/FA/Eqm+w2mZ340L73wx5XF31RJog=";
  };

  propagatedBuildInputs = [ django ];
  propagatedBuildInputs = [
    django
  ];

  preCheck = ''
    export DJANGO_SETTINGS_MODULE=tests.settings
@@ -27,6 +30,7 @@ buildPythonPackage rec {
      --replace 'test_accessed_time' 'dont_test_accessed_time' \
      --replace 'test_modified_time' 'dont_test_modified_time'
  '';

  checkInputs = [
    azure-storage-blob
    boto3
@@ -36,11 +40,14 @@ buildPythonPackage rec {
    paramiko
  ];

  pythonImportsCheck = [ "storages" ];
  pythonImportsCheck = [
    "storages"
  ];

  meta = with lib; {
    description = "Collection of custom storage backends for Django";
    homepage = "https://django-storages.readthedocs.io";
    changelog = "https://github.com/jschneier/django-storages/blob/${version}/CHANGELOG.rst";
    license = licenses.bsd3;
    maintainers = with maintainers; [ mmai ];
  };