summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-29 18:28:15 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-29 18:31:12 +0200
commitae85ec0af5906de159eca40b74b0244281bd791b (patch)
tree76df5f56fb1fa061a092cab46a0f8b3b59e7835b /dev-perl/File-Scan-ClamAV/File-Scan-ClamAV-1.950.0-r2.ebuild
parentdev-perl/File-RsyncP: Remove old (diff)
downloadgentoo-ae85ec0af5906de159eca40b74b0244281bd791b.tar.gz
gentoo-ae85ec0af5906de159eca40b74b0244281bd791b.tar.bz2
gentoo-ae85ec0af5906de159eca40b74b0244281bd791b.zip
dev-perl/File-Scan-ClamAV: EAPI=8 bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/File-Scan-ClamAV/File-Scan-ClamAV-1.950.0-r2.ebuild')
-rw-r--r--dev-perl/File-Scan-ClamAV/File-Scan-ClamAV-1.950.0-r2.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-perl/File-Scan-ClamAV/File-Scan-ClamAV-1.950.0-r2.ebuild b/dev-perl/File-Scan-ClamAV/File-Scan-ClamAV-1.950.0-r2.ebuild
new file mode 100644
index 00000000000..0ac7fefcdc8
--- /dev/null
+++ b/dev-perl/File-Scan-ClamAV/File-Scan-ClamAV-1.950.0-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=ESAYM
+DIST_VERSION=1.95
+
+inherit perl-module
+
+DESCRIPTION="Connect to a local Clam Anti-Virus clamd service and send commands"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+RDEPEND="
+ app-antivirus/clamav
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+# Test's can't be run in parallel because they internally spawn a
+# clam server on the same shared socket
+DIST_TEST="do"
+
+src_test() {
+ if [[ "${TEST_SCAN_CLAMAV:-0}" == "1" || -n "${DIST_TEST_OVERRIDE}" ]]; then
+ perl_rm_files t/pod-coverage.t t/pod.t
+ perl-module_src_test
+ else
+ einfo "Skipping Tests."
+ einfo
+ einfo "Tests require a manually and correctly configured ClamAV."
+ einfo
+ einfo "Set TEST_SCAN_CLAMAV=1 if you wish to run this test and have"
+ einfo "configured ClamAV"
+ fi
+}