python311Packages.mopeka-iot-ble: modernize
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "mopeka-iot-ble";
|
||||
version = "0.5.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@@ -24,6 +24,11 @@ buildPythonPackage rec {
|
||||
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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user