Merge pull request #286830 from fabaff/awesomeversion-bump

python311Packages.awesomeversion: 23.11.0 -> 24.2.0,  python311Packages.aiomysensors: 0.3.11 -> 0.3.12
This commit is contained in:
Fabian Affolter
2024-02-28 11:07:01 +01:00
committed by GitHub
2 changed files with 6 additions and 10 deletions
@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "aiomysensors";
version = "0.3.11";
version = "0.3.12";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -24,12 +24,12 @@ buildPythonPackage rec {
owner = "MartinHjelmare";
repo = "aiomysensors";
rev = "refs/tags/v${version}";
hash = "sha256-uBmFJFmUClTkaAg8jTThygzmZv7UZDPSt0bXo8BLu00=";
hash = "sha256-9M5WuBoezbZr7OwJaM0m2CqibziJVwqANGOhiJrqfxA=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=src --cov-report=term-missing:skip-covered" ""
--replace-fail " --cov=src --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
@@ -2,11 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
# build-system
, poetry-core
# tests
, pytest-snapshot
, pytestCheckHook
}:
@@ -14,13 +10,13 @@
buildPythonPackage rec {
pname = "awesomeversion";
version = "24.2.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ludeeus";
repo = pname;
repo = "awesomeversion";
rev = "refs/tags/${version}";
hash = "sha256-bpLtHhpWc1VweVl5G8mM473Js3bXT11N3Zc0jiVqq5c=";
};
@@ -28,7 +24,7 @@ buildPythonPackage rec {
postPatch = ''
# Upstream doesn't set a version
substituteInPlace pyproject.toml \
--replace 'version = "0"' 'version = "${version}"'
--replace-fail 'version = "0"' 'version = "${version}"'
'';
nativeBuildInputs = [