Merge pull request #301378 from fabaff/aioopenexchangerates-bump

python312Packages.aioopenexchangerates: 0.4.8 -> 0.4.9
This commit is contained in:
Mario Rodas 2024-04-03 22:41:55 -05:00 committed by GitHub
commit d4db290a19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,19 +1,20 @@
{ lib
, aiohttp
, aioresponses
, pydantic
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
{
lib,
aiohttp,
aioresponses,
pydantic,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-aiohttp,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
}:
buildPythonPackage rec {
pname = "aioopenexchangerates";
version = "0.4.8";
version = "0.4.9";
pyproject = true;
disabled = pythonOlder "3.9";
@ -22,24 +23,21 @@ buildPythonPackage rec {
owner = "MartinHjelmare";
repo = "aioopenexchangerates";
rev = "refs/tags/v${version}";
hash = "sha256-qwqhbHp4JPsbA6g7SI2frtqhayCmA1s3pTW2S4r6gmw=";
hash = "sha256-goOzp5nPkQCtGV7U71ek1LQ93Ko5BdEvawYb/feGRQQ=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
--replace-fail " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [ "pydantic" ];
pythonRelaxDeps = [
"pydantic"
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
aiohttp
pydantic
];
@ -50,9 +48,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aioopenexchangerates"
];
pythonImportsCheck = [ "aioopenexchangerates" ];
meta = with lib; {
description = "Library for the Openexchangerates API";