2023-06-11 15:09:41 +02:00
|
|
|
# Copyright 2016-2023 Gentoo Authors
|
2020-10-18 12:15:16 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-08-19 21:25:26 +02:00
|
|
|
EAPI="8"
|
2020-10-18 12:15:16 +02:00
|
|
|
|
2023-06-11 15:09:41 +02:00
|
|
|
PYTHON_COMPAT=( python3_11 )
|
2020-10-18 12:15:16 +02:00
|
|
|
|
2021-07-10 19:09:24 +02:00
|
|
|
inherit python-r1
|
2020-10-18 12:15:16 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Client for paste.xinu.at"
|
2021-06-05 19:58:25 +02:00
|
|
|
HOMEPAGE="https://paste.xinu.at https://git.server-speed.net/users/flo/fb/"
|
2020-10-18 12:15:16 +02:00
|
|
|
LICENSE="GPL-3"
|
|
|
|
|
|
|
|
if [[ "${PV}" == *9999 ]]
|
|
|
|
then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://git.server-speed.net/users/flo/fb"
|
|
|
|
else
|
|
|
|
SRC_URI="https://paste.xinu.at/data/client/fb-${PV}.tar.gz -> fb-client-${PVR}.tar.gz"
|
|
|
|
S="${WORKDIR}/fb-${PV}"
|
|
|
|
fi
|
|
|
|
|
2022-07-07 23:32:23 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2020-10-18 12:15:16 +02:00
|
|
|
SLOT="0"
|
|
|
|
IUSE="+clipboard"
|
2021-05-16 00:00:25 +02:00
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
2020-10-18 12:15:16 +02:00
|
|
|
RESTRICT="test" # this packages has no tests
|
|
|
|
|
|
|
|
RDEPEND="
|
2021-05-16 00:00:25 +02:00
|
|
|
${PYTHON_DEPS}
|
2020-10-18 12:15:16 +02:00
|
|
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pycurl[${PYTHON_USEDEP}]
|
2022-07-04 23:11:57 +02:00
|
|
|
clipboard? (
|
|
|
|
|| (
|
|
|
|
x11-misc/xclip
|
|
|
|
gui-apps/wl-clipboard
|
|
|
|
)
|
|
|
|
)
|
2020-10-18 12:15:16 +02:00
|
|
|
"
|