mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
net-client/offpunk: add 2.6
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST offpunk-1.9.1.tar.gz 210135 BLAKE2B ade7ec4e2bd51e1279ded8aa639884d489f35cbc7d6ec058db28f918c6de604be2185e0f8a5e8a45bb033f3918789eed6104a806b46ee8812d6f4dd9f32c0714 SHA512 8b61302490907673002cabead825f54859cb2aa0ea588cb59790c3926f8213ec5653756f392f847e753efa88c2eeba0f5dea696e71ef3210a009d3c9f37cd688
|
DIST offpunk-1.9.1.tar.gz 210135 BLAKE2B ade7ec4e2bd51e1279ded8aa639884d489f35cbc7d6ec058db28f918c6de604be2185e0f8a5e8a45bb033f3918789eed6104a806b46ee8812d6f4dd9f32c0714 SHA512 8b61302490907673002cabead825f54859cb2aa0ea588cb59790c3926f8213ec5653756f392f847e753efa88c2eeba0f5dea696e71ef3210a009d3c9f37cd688
|
||||||
|
DIST offpunk-2.6.tar.gz 798743 BLAKE2B adbdacccd98a673aaeed92956f495f1f1c23d96b9afc615a51046892c79e2941cb12beba64ed443bba741a72beb3669e6736d5293361b398ce945b0739d5cb8c SHA512 fe97bf747c846a3a372baed399ce3ac57adb98608416ded6ab00e206c6c85282112510a95823bc05b9570757b122cfb3c41bbc35c16a6db0af3c06848a743b2b
|
||||||
|
|||||||
@@ -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">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<!-- maintainer-needed -->
|
||||||
<upstream>
|
<upstream>
|
||||||
<maintainer>
|
|
||||||
<email>offpunk@ploum.eu</email>
|
|
||||||
<name>Ploum</name>
|
|
||||||
</maintainer>
|
|
||||||
<remote-id type="sourcehut">~lioploum/offpunk</remote-id>
|
<remote-id type="sourcehut">~lioploum/offpunk</remote-id>
|
||||||
|
<maintainer>
|
||||||
|
<name>Lionel Dricot (Ploum)</name>
|
||||||
|
<email>offpunk2@ploum.eu</email>
|
||||||
|
</maintainer>
|
||||||
|
<bugs-to>https://todo.sr.ht/~lioploum/offpunk</bugs-to>
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
51
net-client/offpunk/offpunk-2.6.ebuild
Normal file
51
net-client/offpunk/offpunk-2.6.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user