Merge pull request #268242 from r-ryantm/auto-update/python311Packages.mopeka-iot-ble

python311Packages.mopeka-iot-ble: 0.4.1 -> 0.5.0
This commit is contained in:
Fabian Affolter 2023-11-18 10:42:59 +01:00 committed by GitHub
commit 27640d4921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@
buildPythonPackage rec {
pname = "mopeka-iot-ble";
version = "0.4.1";
format = "pyproject";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.9";
@ -21,9 +21,14 @@ buildPythonPackage rec {
owner = "bluetooth-devices";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-x/cKg2NC6kssUQeBuQH4yghlRDgs/fJ0bWWL+qnHgcM=";
hash = "sha256-m27As3tB77JbgY0kDDJ6kmYFTv2O/Sh6y9tFiKDIjbI=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=mopeka_iot_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
@ -39,11 +44,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=mopeka_iot_ble --cov-report=term-missing:skip-covered" ""
'';
pythonImportsCheck = [
"mopeka_iot_ble"
];