commit:     523e062c0dfb4d1f688c552e3962eae7e7038835
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 08:23:30 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 08:23:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523e062c

net-analyzer/greenbone-feed-sync: enable tests, minor style fixes

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 .../greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild         | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild 
b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
index fefd8988d4cf..e354564f0634 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
@@ -15,7 +15,6 @@ SLOT="0"
 LICENSE="GPL-3+"
 KEYWORDS="~amd64"
 IUSE="cron"
-RESTRICT="test"
 
 DEPEND="
        acct-user/gvm
@@ -31,14 +30,17 @@ RDEPEND="
        cron? ( virtual/cron )
 "
 
+distutils_enable_tests unittest
+
 python_install() {
        distutils-r1_python_install
 
-       #greenbone-feed-sync should not be run as root to avoid changing file 
permissions
+       # greenbone-feed-sync should not be run as root to avoid changing file 
permissions
        insinto /etc/sudoers.d
        newins - greenbone-feed-sync <<-EOF
        gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
-EOF
+       EOF
+
        fperms 0750 /etc/sudoers.d
        fperms 0440 /etc/sudoers.d/greenbone-feed-sync
 

Reply via email to