Search Criteria
Package Details: python-fangfrisch 1.9.3-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-fangfrisch.git (read-only, click to copy) |
|---|---|
| Package Base: | python-fangfrisch |
| Description: | Freshclam like utility that allows downloading unofficial virus definition files |
| Upstream URL: | https://rseichter.github.io/fangfrisch/ |
| Licenses: | GPL-3.0-or-later |
| Conflicts: | clamav-unofficial-sigs |
| Provides: | clamav-unofficial-sigs |
| Submitter: | amish |
| Maintainer: | amish (Morbius) |
| Last Packager: | amish |
| Votes: | 37 |
| Popularity: | 2.33 |
| First Submitted: | 2020-02-22 16:48 (UTC) |
| Last Updated: | 2026-10-25 12:05 (UTC) |
Dependencies (8)
- clamav
- python-requests
- python-sqlalchemy (python-sqlalchemy-gitAUR, python-sqlalchemy1.4)
- sqlite (sqlite-fossilAUR)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
Required by (1)
- clamav-openrc (requires clamav-unofficial-sigs) (optional)
Latest Comments
1 2 3 4 5 6 .. 11 Next › Last »
amish commented on 2026-10-25 12:10 (UTC)
@iyanmv Made some changes to PKGBUILD and service file, as per your comment.
trap inside a check() function is fine. As it pertains only to function and not outside and hence does not interfere with makepkg's exit handler. (as per ChatGPT)
Btw, many Archlinux timer based .service file use [Install] section. Example: clamav-freshclam-once.service reflector.service
Morbius commented on 2026-10-25 06:05 (UTC)
@iyanmv Are you having trouble building the package? In particular during the unit test phase? Then we can try to figure things out. However, I don't intend to discuss your personal assessment of check() being "overcomplicated". This particular function has done its job for years — literally.
Regarding the trap: It is merely a time honoured way of cleaning up after oneself in shell scripts. I had a quick look at the makepkg manpage and wiki page, and I see no mention of trap use being discouraged, let alone prohibited. If there is official documentation I have missed during my brief check, which is entirely possible, please provide the source.
The issue of dependencies, systemd timers and services I'll leave to @amish, because he knows Archlinux better than I do.
amish commented on 2026-10-25 03:59 (UTC)
This was done by author of fangfrisch in 2024. https://aur.archlinux.org/cgit/aur.git/commit/?h=python-fangfrisch&id=57a874e3228d9ee8c075e460fc5affc7d9f0d9ce
So @Morbius would be right person to answer.
iyanmv commented on 2026-10-24 09:55 (UTC)
Why such an overcomplicated
check()? Don't use your owntrap ... EXIT, you can (I think you are!) breaking makepkg's own exit handler. Andsqlite3is missing in thecheckdependsby the way.And different topic, shouldn't the systemd service be of type
oneshotinstead ofsimpleand without the[install]section. This should not run on boot, only when the timer says so, which is the only unit that should be enabled.pierrech commented on 2026-04-10 08:46 (UTC)
Dear all, I'm strugling installing this package as I get this common error when installing with yay: ERROR Backend 'setuptools.build_meta' is not available.
I understand this is linked to an issue in my python setuptools package but cant figure out how to fix this. my python version is 3.14.3 and pip version 26.0.1. I have the setuptools package installed, as well as wheel package
Any advice or guidance is welcomed.
HLFH commented on 2026-04-06 07:04 (UTC)
As well as:
Because of this issue.
HLFH commented on 2026-04-04 21:12 (UTC)
Shall you add in the provided
fangfrisch.conf:Morbius commented on 2026-02-09 22:40 (UTC) (edited on 2026-02-09 22:47 (UTC) by Morbius)
@gesh The
external_command || exit 1method is used to approximate how Gentoo Linux ebuilds employexternal_command || die "Some message". In fact, Gentoo ebuilds require the use of|| dieor they will be rejected. I am fine with a bit of "weirdness" if it means that the installation will reliably abort when an external command fails.gesh commented on 2026-02-08 22:22 (UTC) (edited on 2026-02-08 22:22 (UTC) by gesh)
Note:
python-wheelis usually not necessary as amakedepend, unless you're manipulating the wheels directlymakepkgdoesn't know how to handle multiple source files by the same name -- you seem to have stumbled into an edge case where it doesn't complain about it thoughcheck()looks overly complicated, with some parts upstreamable -- surely the "populate a temporary sqlite db" code should be in aconftest.pyfixture? And the fiddling withPYTHONPATHsuggests to me that the tests want to run in an environment where the package is already installed -- which per wiki, suggests it should be installed in a venv for testing|| exit 1here is weird -- I don't see it in other PKGBUILDs. Not sure ifmakepkgdoesn't run withset -eor somesuch, rendering this unnecessary./etc/fangfrisch/fangfrisch-has-news.shmight be edited, shouldn't it be inbackup?1 2 3 4 5 6 .. 11 Next › Last »