diff --git a/community/notus-scanner/APKBUILD b/community/notus-scanner/APKBUILD index 84ba0b837ad..60dda96b97f 100644 --- a/community/notus-scanner/APKBUILD +++ b/community/notus-scanner/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=notus-scanner -pkgver=22.4.5 -pkgrel=1 +pkgver=22.5.0 +pkgrel=0 pkgdesc="Notus is a vulnerability scanner for creating results from local security checks " url="https://github.com/greenbone/notus-scanner" arch="noarch" @@ -21,7 +21,6 @@ makedepends="py3-gpep517 python3-dev py3-poetry-core" checkdepends="py3-pytest" subpackages="$pkgname-openrc $pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/notus-scanner/archive/refs/tags/v$pkgver.tar.gz - tomllib.patch notus-scanner.initd " @@ -46,7 +45,6 @@ package() { } sha512sums=" -843ca4abefb68bd2f5699db339bf707edb6abe705ae2aea0446f60f84719c3b415447ef965d3e11a585544b342d2596be0a4b97f3072577e33e0bf10aec40ea4 notus-scanner-22.4.5.tar.gz -740f1527858469341ef468a058ef7032875b87d57a6b0c96afe34ef35e1042271801c50b0ed714c3959ec45fb097bdc0dbd98e0e0971070e46efbf486f68a0a6 tomllib.patch +48576d26a65c439fb00b345d97ba9917c3c2bf99ab5c94ed4488e4638c0442fdcd721ed8a08be147481a01bffc3eadec25029c0d6cd1aed2381221250b16c19d notus-scanner-22.5.0.tar.gz d5d6adb9ecdb074cefcc1575e277918bbbde83ddf75997c23bd53609147b434ef7f41ae08090625593616d0829059c141c4ec7f2e567167a40a2e2b3fcf3e903 notus-scanner.initd " diff --git a/community/notus-scanner/tomllib.patch b/community/notus-scanner/tomllib.patch deleted file mode 100644 index 4b8d1f4c92c..00000000000 --- a/community/notus-scanner/tomllib.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/notus/scanner/config.py b/notus/scanner/config.py -index d3c18e0..f03114e 100644 ---- a/notus/scanner/config.py -+++ b/notus/scanner/config.py -@@ -24,7 +24,7 @@ import os - from pathlib import Path - from typing import Any, Dict - --import tomli -+import tomllib - - from notus.scanner.errors import ConfigFileError - -@@ -70,12 +70,12 @@ class Config: - def load(self, filepath: Path) -> None: - try: - content = filepath.read_text(encoding="utf-8") -- config_data = tomli.loads(content) -+ config_data = tomllib.loads(content) - except IOError as e: - raise ConfigFileError( - f"Can't load config file {filepath.absolute()}. Error was {e}." - ) from e -- except tomli.TOMLDecodeError as e: -+ except tomllib.TOMLDecodeError as e: - raise ConfigFileError( - f"Can't load config file. {filepath.absolute()} is not a valid " - "TOML file."