Merge pull request #196875 from r-ryantm/auto-update/python310Packages.portalocker

python310Packages.portalocker: 2.5.1 -> 2.6.0
This commit is contained in:
Fabian Affolter 2022-10-20 12:42:00 +02:00 committed by GitHub
commit c8f907045f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,22 @@
{ lib, buildPythonPackage, fetchPypi { lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook , pytestCheckHook
, pytest-mypy , pytest-mypy
, pythonOlder
, redis , redis
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2.5.1";
pname = "portalocker"; pname = "portalocker";
version = "2.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-ro6cwmYNoEv0H6Gg7vfjALteSlhprfsabYVRYytVmys="; hash = "sha256-lk9oMPtCp0tdMrzpntN9gwjB19RN3xjz3Yn0aA3pezk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -26,6 +32,10 @@ buildPythonPackage rec {
"test_combined" # no longer compatible with setuptools>=58 "test_combined" # no longer compatible with setuptools>=58
]; ];
pythonImportsCheck = [
"portalocker"
];
meta = with lib; { meta = with lib; {
description = "A library to provide an easy API to file locking"; description = "A library to provide an easy API to file locking";
homepage = "https://github.com/WoLpH/portalocker"; homepage = "https://github.com/WoLpH/portalocker";