Merge pull request #142769 from fabaff/bump-b2sdk

python3Packages.b2sdk: 1.12.0 -> 1.13.0
This commit is contained in:
Fabian Affolter 2021-10-26 20:49:19 +02:00 committed by GitHub
commit b00063c02c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 16 deletions

View file

@ -16,12 +16,12 @@
buildPythonPackage rec {
pname = "b2sdk";
version = "1.12.0";
version = "1.13.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PsImSuK0IVY9EwpLKlP5ZFS6A7j2iJOtUg/GUcQTJR0=";
sha256 = "sha256-Q9B85c+WhazDeXsMR2S0aId32xLY8BAuYRj4QD21x1k=";
};
nativeBuildInputs = [
@ -57,7 +57,9 @@ buildPythonPackage rec {
"test_large_file"
];
pythonImportsCheck = [ "b2sdk" ];
pythonImportsCheck = [
"b2sdk"
];
meta = with lib; {
description = "Client library and utilities for access to B2 Cloud Storage (backblaze)";

View file

@ -2,30 +2,49 @@
, buildPythonPackage
, fetchPypi
, funcsigs
, six
, setuptools-scm
, pytestCheckHook
, pythonOlder
, testfixtures
}:
buildPythonPackage rec {
pname = "logfury";
version = "0.1.2";
version = "1.0.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
sha256 = "sha256-EwpdrOq5rVNJJCUt33BIKqLJZmKzo4JafTCYHQO3aiY=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
funcsigs
six
];
# No tests
doCheck = false;
checkInputs = [
pytestCheckHook
testfixtures
];
meta = {
description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
postPatch = ''
substituteInPlace setup.py \
--replace "'setuptools_scm<6.0'" "'setuptools_scm'"
'';
pythonImportsCheck = [
"logfury"
];
meta = with lib; {
description = "Python module that allows for responsible, low-boilerplate logging of method calls";
homepage = "https://github.com/ppolewicz/logfury";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jwiegley ];
license = licenses.bsd3;
maintainers = with maintainers; [ jwiegley ];
};
}

View file

@ -12,12 +12,12 @@ let
in
python3Packages.buildPythonApplication rec {
pname = "backblaze-b2";
version = "3.0.1";
version = "3.0.3";
src = python3Packages.fetchPypi {
inherit version;
pname = "b2";
sha256 = "sha256-Zr+5J6MCjfth+5fOSfHXpT/CAgD754ZpS1b1NqeGid8=";
sha256 = "sha256-asrhinANGlTsSBbtGToOxTRGGSCf+1c4VWnoE3ezoIA=";
};
postPatch = ''
@ -39,11 +39,14 @@ python3Packages.buildPythonApplication rec {
setuptools-scm
];
checkInputs = with python3Packages; [ pytestCheckHook ];
checkInputs = with python3Packages; [
pytestCheckHook
];
disabledTests = [
"test_files_headers"
"test_integration"
"test_get_account_info"
];
postInstall = ''