2023-02-08 22:20:58 +01:00
|
|
|
# Copyright 2020-2023 Gentoo Authors
|
2021-04-24 09:31:31 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-07-10 19:09:23 +02:00
|
|
|
EAPI="8"
|
2021-04-24 09:31:31 +02:00
|
|
|
|
2023-06-11 15:09:41 +02:00
|
|
|
DISTUTILS_USE_PEP517=hatchling
|
|
|
|
PYTHON_COMPAT=( python3_11 )
|
2023-03-30 22:39:48 +02:00
|
|
|
inherit distutils-r1 pypi
|
2021-04-24 09:31:31 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Mutt and terminal url selector (similar to urlview)"
|
2023-03-30 22:39:48 +02:00
|
|
|
HOMEPAGE="
|
|
|
|
https://github.com/firecat53/urlscan
|
2023-06-11 15:09:41 +02:00
|
|
|
https://pypi.org/project/urlscan/
|
2023-03-30 22:39:48 +02:00
|
|
|
"
|
2021-04-24 09:31:31 +02:00
|
|
|
|
2023-06-24 19:52:53 +02:00
|
|
|
SRC_URI+=" https://raw.githubusercontent.com/firecat53/urlscan/${PV}/urlscan.1 -> ${P}-manpage"
|
2023-06-11 15:09:41 +02:00
|
|
|
|
2021-04-24 09:31:31 +02:00
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="dev-python/urwid[${PYTHON_USEDEP}]"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
|
|
|
|
2021-10-07 14:28:48 +02:00
|
|
|
DOCS=( README.md )
|
2023-06-11 15:09:41 +02:00
|
|
|
PATCHES=( "${FILESDIR}/${PN}-1.0.0-respect-paths.patch" )
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
distutils-r1_src_install
|
|
|
|
|
|
|
|
newman "${DISTDIR}/${P}-manpage" "${PN}.1"
|
|
|
|
}
|