From b4a0c6772bd91f7745a775d273c6120a5b394a33 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 8 Aug 2024 15:24:41 +0200 Subject: ... --- overlays/smartprom/default.nix | 2 ++ overlays/smartprom/pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/overlays/smartprom/default.nix b/overlays/smartprom/default.nix index 57ab6f11..35e94608 100644 --- a/overlays/smartprom/default.nix +++ b/overlays/smartprom/default.nix @@ -10,7 +10,9 @@ cp -r ${sources.smartprom.src}/. $out mkdir $out/smartprom + mv $out/megaraid.py $out/smartprom mv $out/smartprom.py $out/smartprom/__main__.py + sed -ri 's/import megaraid/from . import megaraid/' $out/smartprom/__main__.py echo >> $out/smartprom/__init__.py cp ${./pyproject.toml} $out/pyproject.toml diff --git a/overlays/smartprom/pyproject.toml b/overlays/smartprom/pyproject.toml index ad58bd51..8ca28f00 100644 --- a/overlays/smartprom/pyproject.toml +++ b/overlays/smartprom/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "smartprom" -version = "2.2.0" +version = "2.3.0" authors = [] description = "" @@ -8,7 +8,7 @@ description = "" smartprom = "smartprom.__main__:main" [tool.poetry.dependencies] -python = ">=3.10.0,<3.12" +python = ">=3.10.0,<3.13" prometheus-client = "^0.16.0" [build-system] -- cgit v1.2.3