2024-07-21 14:02:58 +02:00
|
|
|
# Copyright 2020-2024 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="8"
|
|
|
|
|
|
|
|
DISTUTILS_USE_PEP517=hatchling
|
2024-11-24 21:56:26 +01:00
|
|
|
PYTHON_COMPAT=( python3_{11..13} )
|
2024-07-21 14:02:58 +02:00
|
|
|
inherit distutils-r1 pypi
|
|
|
|
|
|
|
|
DESCRIPTION="Mutt and terminal url selector (similar to urlview)"
|
|
|
|
HOMEPAGE="
|
|
|
|
https://github.com/firecat53/urlscan
|
|
|
|
https://pypi.org/project/urlscan/
|
|
|
|
"
|
|
|
|
|
|
|
|
SRC_URI+=" https://raw.githubusercontent.com/firecat53/urlscan/${PV}/urlscan.1 -> ${P}-manpage"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2024-08-19 05:00:00 +02:00
|
|
|
KEYWORDS="~amd64"
|
2024-07-21 14:02:58 +02:00
|
|
|
|
|
|
|
DEPEND="dev-python/urwid[${PYTHON_USEDEP}]"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
DOCS=( README.md )
|
|
|
|
PATCHES=( "${FILESDIR}/${PN}-1.0.0-respect-paths.patch" )
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
distutils-r1_src_install
|
|
|
|
|
|
|
|
newman "${DISTDIR}/${P}-manpage" "${PN}.1"
|
|
|
|
}
|