commit:     06655386d9631ddb9349cde430ad070a1ff72b59
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Apr 17 09:23:47 2025 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Apr 17 09:23:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06655386

net-client/offpunk: add 2.7.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-client/offpunk/Manifest             |  1 +
 net-client/offpunk/offpunk-2.7.1.ebuild | 51 +++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/net-client/offpunk/Manifest b/net-client/offpunk/Manifest
index 0172277ac..0480486c5 100644
--- a/net-client/offpunk/Manifest
+++ b/net-client/offpunk/Manifest
@@ -1 +1,2 @@
 DIST offpunk-2.6.tar.gz 798743 BLAKE2B 
adbdacccd98a673aaeed92956f495f1f1c23d96b9afc615a51046892c79e2941cb12beba64ed443bba741a72beb3669e6736d5293361b398ce945b0739d5cb8c
 SHA512 
fe97bf747c846a3a372baed399ce3ac57adb98608416ded6ab00e206c6c85282112510a95823bc05b9570757b122cfb3c41bbc35c16a6db0af3c06848a743b2b
+DIST offpunk-2.7.1.tar.gz 1027067 BLAKE2B 
b0c352765d2dee411a98c0addd4e9772127d30d93779a3bd6d846d5e15509ae3cedacfb3ba952889c692ddcf7970e831b4312f2a76ee5babe4ca190044646332
 SHA512 
401c3ddd6201a9ea5f9b01cbbb3ae6655b3183b9c9728e18f351dff2f7e02987dab5160502dce14dc79a54083b590735fe8b2c7de8d264222f463ffc50c51592

diff --git a/net-client/offpunk/offpunk-2.7.1.ebuild 
b/net-client/offpunk/offpunk-2.7.1.ebuild
new file mode 100644
index 000000000..548c10370
--- /dev/null
+++ b/net-client/offpunk/offpunk-2.7.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+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"
+
+BDEPEND="
+       test? (
+               $(python_gen_cond_dep '
+                       dev-python/pytest-mock[${PYTHON_USEDEP}]
+               ')
+       )
+"
+
+DOCS=( doc/. CHANGELOG CONTRIBUTORS README.md TODO )
+
+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
+}

Reply via email to