commit: 3f8b06e5452f9bab13ea835ef284c35f50f2ba0e Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sat Mar 8 04:51:26 2025 +0000 Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> CommitDate: Sat Mar 8 04:55:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f8b06e5
net-client/offpunk: add 2.6 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> net-client/offpunk/Manifest | 1 + net-client/offpunk/metadata.xml | 9 ++++--- net-client/offpunk/offpunk-2.6.ebuild | 51 +++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 4 deletions(-) diff --git a/net-client/offpunk/Manifest b/net-client/offpunk/Manifest index c1284c9a9..3bdbd5165 100644 --- a/net-client/offpunk/Manifest +++ b/net-client/offpunk/Manifest @@ -1 +1,2 @@ DIST offpunk-1.9.1.tar.gz 210135 BLAKE2B ade7ec4e2bd51e1279ded8aa639884d489f35cbc7d6ec058db28f918c6de604be2185e0f8a5e8a45bb033f3918789eed6104a806b46ee8812d6f4dd9f32c0714 SHA512 8b61302490907673002cabead825f54859cb2aa0ea588cb59790c3926f8213ec5653756f392f847e753efa88c2eeba0f5dea696e71ef3210a009d3c9f37cd688 +DIST offpunk-2.6.tar.gz 798743 BLAKE2B adbdacccd98a673aaeed92956f495f1f1c23d96b9afc615a51046892c79e2941cb12beba64ed443bba741a72beb3669e6736d5293361b398ce945b0739d5cb8c SHA512 fe97bf747c846a3a372baed399ce3ac57adb98608416ded6ab00e206c6c85282112510a95823bc05b9570757b122cfb3c41bbc35c16a6db0af3c06848a743b2b diff --git a/net-client/offpunk/metadata.xml b/net-client/offpunk/metadata.xml index a62c762f5..f37f46d54 100644 --- a/net-client/offpunk/metadata.xml +++ b/net-client/offpunk/metadata.xml @@ -1,12 +1,13 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> <upstream> + <remote-id type="sourcehut">~lioploum/offpunk</remote-id> <maintainer> - <email>[email protected]</email> - <name>Ploum</name> + <name>Lionel Dricot (Ploum)</name> + <email>[email protected]</email> </maintainer> - <remote-id type="sourcehut">~lioploum/offpunk</remote-id> + <bugs-to>https://todo.sr.ht/~lioploum/offpunk</bugs-to> </upstream> </pkgmetadata> diff --git a/net-client/offpunk/offpunk-2.6.ebuild b/net-client/offpunk/offpunk-2.6.ebuild new file mode 100644 index 000000000..56f2bae32 --- /dev/null +++ b/net-client/offpunk/offpunk-2.6.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} pypy3 ) +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 +}
