Merge pull request #299735 from fabaff/pyunifiprotect-bump

python311Packages.pyunifiprotect: 5.0.2 -> 5.1.1
This commit is contained in:
Fabian Affolter 2024-03-28 19:00:32 +01:00 committed by GitHub
commit a2cecca47b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -13,6 +13,7 @@
, orjson
, packaging
, pillow
, platformdirs
, poetry-core
, py
, pydantic
@ -32,7 +33,7 @@
buildPythonPackage rec {
pname = "pyunifiprotect";
version = "5.0.2";
version = "5.1.1";
pyproject = true;
disabled = pythonOlder "3.9";
@ -41,22 +42,22 @@ buildPythonPackage rec {
owner = "briis";
repo = "pyunifiprotect";
rev = "refs/tags/v${version}";
hash = "sha256-bZjfpatw4lcOgMCqung/DMfRijxwtuIht6QusIYaCQ0=";
hash = "sha256-7D6/mIU3M4dfIa+lCgcc3APKVPCsZei+4Er+sxIxcHo=";
};
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--strict-markers -ra -Wd --ignore=.* --no-cov-on-fail --cov=pyunifiprotect --cov-append --maxfail=10 -n=auto" ""
--replace-fail "--strict-markers -ra -Wd --ignore=.* --no-cov-on-fail --cov=pyunifiprotect --cov-append --maxfail=10 -n=auto" ""
'';
nativeBuildInputs = [
build-system = [
hatch-vcs
hatchling
];
propagatedBuildInputs = [
dependencies = [
aiofiles
aiohttp
aioshutil
@ -64,6 +65,7 @@ buildPythonPackage rec {
orjson
packaging
pillow
platformdirs
pydantic
pyjwt
pytz