This includes dev-python/adblock-0.4.0, a package which provides bindings for Brave's adblock library for Python. This will be an optional dependency for www-client/qutebrowser with probably its next release, to provide advanced adblocking functionality in the browser using AdBlock Plus lists. See https://github.com/qutebrowser/qutebrowser/pull/5317 for more details.
Created attachment 679784 [details] adblock-0.4.0.ebuild
CCing qutebrowser maintainers in case they're interested.
Updated the ebuild to version 0.4.1. Also, qutebrowser 2.0.0 has now been released which can actually use this package as an optional dependency.
Created attachment 684984 [details] dev-python/adblock-0.4.1
Created attachment 692823 [details, diff] adblock-0.4.3.ebuild
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2989652366b2239e827f4279426b4cdffb75092c commit 2989652366b2239e827f4279426b4cdffb75092c Author: Stefan Strogin <steils@gentoo.org> AuthorDate: 2021-06-22 21:05:23 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2021-06-22 21:34:10 +0000 dev-python/adblock: add new package Closes: https://bugs.gentoo.org/761849 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Stefan Strogin <steils@gentoo.org> dev-python/adblock/Manifest | 66 +++++++++++++++++++ dev-python/adblock/adblock-0.4.4.ebuild | 112 ++++++++++++++++++++++++++++++++ dev-python/adblock/metadata.xml | 8 +++ 3 files changed, 186 insertions(+)
Hi Marco. Thanks for the bug and for the ebuild. I added dev-util/maturin, so now this package can be built the way intended by the author. And the ebuild now is a little simpler. If you find any issues please tell about them.
(In reply to Stefan Strogin from comment #7) > Hi Marco. Thanks for the bug and for the ebuild. > I added dev-util/maturin, so now this package can be built the way intended > by the author. And the ebuild now is a little simpler. If you find any > issues please tell about them. Thanks! I am wondering though, how did you get rid of the patch to make psl-codegen not download files when building? This version obviously builds fine without the patch, but not when I originally wrote it.
Not sure. Maybe something changed in the upstream between 0.4.3 and 0.4.4 (and corresponding crates' versions). I just doesn't try to download anything in build-time (for me).