Unverified Commit 27640d49 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

python311Packages.mopeka-iot-ble: 0.4.1 -> 0.5.0
parents 3996ac59 66771f55
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -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"
  ];