security/py-netbox-secretstore: Fix runtime with NetBox 3.3.10

* The plugin has a version check that allows versions of NetBox up
  to 3.3.9. Adjust this check to allow NetBox 3.3.10 as well.

* Bump PORTREVISION due changed package.

MFH:		2022Q4
(cherry picked from commit c38f09a2f9)
This commit is contained in:
Kai Knoblich 2022-12-18 17:13:13 +01:00
parent f2fbeeaa91
commit 37077a8c4e
2 changed files with 16 additions and 0 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= netbox-secretstore
DISTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -0,0 +1,15 @@
Adjust version check to allow NetBox 3.3.10
https://github.com/DanSheps/netbox-secretstore/pull/106
--- netbox_secretstore/__init__.py.orig 2022-12-14 09:03:13 UTC
+++ netbox_secretstore/__init__.py
@@ -18,7 +18,7 @@ class NetBoxSecretStore(PluginConfig):
author_email = metadata.get('Author-email')
base_url = 'netbox_secretstore'
min_version = '3.3.0beta1'
- max_version = '3.3.9'
+ max_version = '3.3.10'
required_settings = []
default_settings = {
'public_key_size': 2048