1 |
commit: e4c081a48e3e1e58966d95ea0196bfb95539f385 |
2 |
Author: Ralph Seichter <github <AT> seichter <DOT> de> |
3 |
AuthorDate: Fri May 14 10:36:35 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 14 11:19:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c081a4 |
7 |
|
8 |
app-antivirus/fangfrisch: Remove obsolete ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/20801 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
app-antivirus/fangfrisch/Manifest | 1 - |
16 |
app-antivirus/fangfrisch/fangfrisch-1.3.0.ebuild | 69 ------------------------ |
17 |
2 files changed, 70 deletions(-) |
18 |
|
19 |
diff --git a/app-antivirus/fangfrisch/Manifest b/app-antivirus/fangfrisch/Manifest |
20 |
index 348557001ab..b37f9e780ea 100644 |
21 |
--- a/app-antivirus/fangfrisch/Manifest |
22 |
+++ b/app-antivirus/fangfrisch/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST fangfrisch-1.3.0.tar.gz 114361 BLAKE2B eca124f02f814d2915c4dbba45b6e4dc620e250730a32b34d3f5f5eaa33945e697d2d887f29251f1f8a3b1813476a54092091235a786e84695a3bc1cadebad28 SHA512 9c138737908a02efa5c9b4c6792a31e2a4908f8ab27e8cecab78612f812ab151afef75a405f47695779a949485aa88a3a5830efd02344ec334e6f37425cffe49 |
25 |
DIST fangfrisch-1.4.0.tar.gz 115303 BLAKE2B 6dea9305ad22e8beff0fc04219d24da995c36e0838e1be8b98d12b11db1f68d7ca4f6084d15270c09e8a4b8d94a7bdfe1b9bb336abef1767b1ded2d1751fa22b SHA512 5fca7b7e8d24daadfb450851c70391fce94943a718bbed4fc76efe08a730cce313d92e7d9a6a8324a0b0039871f8c77f1fcd3744c569826cc0d2e7a7fd4e9b32 |
26 |
|
27 |
diff --git a/app-antivirus/fangfrisch/fangfrisch-1.3.0.ebuild b/app-antivirus/fangfrisch/fangfrisch-1.3.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index f70138cc4b3..00000000000 |
30 |
--- a/app-antivirus/fangfrisch/fangfrisch-1.3.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,69 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
40 |
- |
41 |
-inherit distutils-r1 readme.gentoo-r1 |
42 |
- |
43 |
-DESCRIPTION="Update and verify unofficial Clam Anti-Virus signatures" |
44 |
-HOMEPAGE="https://github.com/rseichter/fangfrisch https://pypi.org/project/fangfrisch/" |
45 |
-SRC_URI="https://github.com/rseichter/fangfrisch/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- |
47 |
-MY_CONF="/etc/${PN}.conf" |
48 |
-MY_DBDIR="/var/lib/${PN}" |
49 |
-DISABLE_AUTOFORMATTING=1 |
50 |
-DOC_CONTENTS="See https://rseichter.github.io/fangfrisch/ for the official |
51 |
-documentation. |
52 |
- |
53 |
-### Fresh installations: |
54 |
- |
55 |
-Modify ${MY_CONF} according to your preferences. |
56 |
-Assuming you place the database into ${MY_DBDIR} |
57 |
-(recommended), execute the following commands in a root shell: |
58 |
- |
59 |
-mkdir -m 0770 ${MY_DBDIR} |
60 |
-chgrp clamav ${MY_DBDIR} |
61 |
-sudo -u clamav -- fangfrisch -c ${MY_CONF} initdb |
62 |
- |
63 |
-You can now enable /etc/cron.d/${PN} for periodic updates. |
64 |
- |
65 |
-### Alternative: Updating from release 1.0.1: |
66 |
- |
67 |
-Either create a fresh database or manually delete all existing |
68 |
-database tables, then run the initdb command as shown above." |
69 |
- |
70 |
-LICENSE="GPL-3+" |
71 |
-SLOT="0" |
72 |
-KEYWORDS="amd64 x86" |
73 |
- |
74 |
-DEPEND=">=dev-python/requests-2.22.0[${PYTHON_USEDEP}] |
75 |
- >=dev-python/sqlalchemy-1.3.11[${PYTHON_USEDEP}]" |
76 |
-RDEPEND="${DEPEND}" |
77 |
- |
78 |
-python_prepare_all() { |
79 |
- sed -i -e '/SQLAlchemy/d' setup.py || die |
80 |
- # Due to the nature of Fangfrisch, most tests require network |
81 |
- # connectivity. Upstream CI reports show that the tests are |
82 |
- # successful, so instead of a pick-and-choose approach, the |
83 |
- # complete tests directory is removed in this ebuild. |
84 |
- if [ -d tests ]; then |
85 |
- rm -r tests || die |
86 |
- fi |
87 |
- distutils-r1_python_prepare_all |
88 |
-} |
89 |
- |
90 |
-python_install_all() { |
91 |
- insinto /etc |
92 |
- doins "${FILESDIR}/${PN}.conf" |
93 |
- insinto /etc/cron.d |
94 |
- newins "${FILESDIR}/${PN}.cron" ${PN} |
95 |
- distutils-r1_python_install_all |
96 |
- readme.gentoo_create_doc |
97 |
-} |
98 |
- |
99 |
-pkg_postinst() { |
100 |
- FORCE_PRINT_ELOG=1 readme.gentoo_print_elog |
101 |
-} |