commit: f8dbac3428a1a379ccbfe22dfb80bc89378c273d Author: Ceres <ceres <AT> ceressees <DOT> dev> AuthorDate: Sun Feb 15 13:47:23 2026 +0000 Commit: Ceres Milner <ceres <AT> ceressees <DOT> dev> CommitDate: Sun Feb 15 13:47:23 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8dbac34
net-client/offpunk: add 3.0 Closes: https://bugs.gentoo.org/969814 Signed-off-by: Ceres <ceres <AT> ceressees.dev> net-client/offpunk/Manifest | 1 + net-client/offpunk/offpunk-3.0.ebuild | 45 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/net-client/offpunk/Manifest b/net-client/offpunk/Manifest index 9ca8e89fc3..0ab4c735ec 100644 --- a/net-client/offpunk/Manifest +++ b/net-client/offpunk/Manifest @@ -1,2 +1,3 @@ DIST offpunk-2.7.1.tar.gz 1027067 BLAKE2B b0c352765d2dee411a98c0addd4e9772127d30d93779a3bd6d846d5e15509ae3cedacfb3ba952889c692ddcf7970e831b4312f2a76ee5babe4ca190044646332 SHA512 401c3ddd6201a9ea5f9b01cbbb3ae6655b3183b9c9728e18f351dff2f7e02987dab5160502dce14dc79a54083b590735fe8b2c7de8d264222f463ffc50c51592 DIST offpunk-2.8.tar.gz 1028091 BLAKE2B c18909ca4b10e5ecf40e37079de657f115c356bccf0128cc0b7659a731e7656a0c6e506b445cee341a629524abdd77de6ccdf0f34ffd69b8eef4710dfb589055 SHA512 e062bbef4cbe77527e8f824a40c29edb59cdedeafea80fb6d0e2c98a76366ecd11b32b2196a770a51cd203f54c27eb3f8f5cceee235e181191ab6761a08dccbf +DIST offpunk-3.0.tar.gz 1117042 BLAKE2B 3e22d699cbf96e6ef2421a7275a6935760bf1f79a8b9e2e9ba3bb6d7027b929f9b06fbcf7433c8368b75ff761073813053c6c7f669b0d70a0c120c50fe5fa4f5 SHA512 1f6e0972b975c7a8cda1591dc99dbe3b6bbf715efbb932b424a40789b355bef9b86cda3c2203a931132d9b33199de5da9cb57f515a70d1ddc05d8c7557b17498 diff --git a/net-client/offpunk/offpunk-3.0.ebuild b/net-client/offpunk/offpunk-3.0.ebuild new file mode 100644 index 0000000000..b0ae37c1bd --- /dev/null +++ b/net-client/offpunk/offpunk-3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 optfeature + +DESCRIPTION="Offline-First Gemini/Web/Gopher/RSS reader and browser" +HOMEPAGE=" + https://offpunk.net/ + https://sr.ht/~lioploum/offpunk/ +" +SRC_URI="https://git.sr.ht/~lioploum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( CHANGELOG CONTRIBUTORS README.md ) + +EPYTEST_PLUGINS=( pytest-mock ) + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + doman man/* +} + +pkg_postinst() { + optfeature "HTML support" "dev-python/beautifulsoup4 dev-python/readability-lxml" + optfeature "HTTP support" dev-python/requests + optfeature "RSS/Atom feed support" dev-python/feedparser + optfeature "Wayland clipboard support" gui-apps/wl-clipboard + optfeature "X11 clipboard support" x11-misc/xsel x11-misc/xclip + optfeature "XDG support" x11-misc/xdg-utils + optfeature "better TOFU certificate validation" dev-python/cryptography + optfeature "custom process title support" dev-python/setproctitle + optfeature "inline images support" media-gfx/chafa media-gfx/timg + optfeature "text encoding detection" dev-python/chardet +}
