blob: 5170ea69a43cb007a6d61a024570775ad7d62fdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO="https://github.com/firecat53/urlscan"
inherit distutils-r1 pypi
DESCRIPTION="Mutt and terminal url selector"
HOMEPAGE="https://pypi.org/project/urlscan"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
BDEPEND="
dev-python/hatchling[${PYTHON_USEDEP}]
"
RDEPEND="
dev-python/urwid[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
DOCS=( README.md LICENSE )
python_prepare_all() {
distutils-r1_python_prepare_all
local docs=( "LICENSE" "\"README.md\"" "\"urlscan.1\"" )
local doc
for doc in "${docs[@]}"; do
sed -ie "/${doc} =/d" \
pyproject.toml || die
done
}
python_install_all() {
distutils-r1_python_install_all
doman urlscan.1
}
|