2022-07-04 23:11:58 +02:00
|
|
|
# Copyright 2016-2022 Gentoo Authors
|
2016-03-13 11:52:15 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-08-19 21:25:26 +02:00
|
|
|
EAPI="8"
|
2016-03-13 11:52:15 +01:00
|
|
|
|
2021-09-13 07:49:12 +02:00
|
|
|
PYTHON_COMPAT=( python3_{9..10} )
|
2016-10-17 21:03:16 +02:00
|
|
|
|
2021-07-10 19:09:24 +02:00
|
|
|
inherit python-r1
|
2017-08-27 12:37:41 +02:00
|
|
|
|
2020-02-06 08:34:42 +01: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-02-06 08:34:42 +01:00
|
|
|
LICENSE="GPL-3"
|
|
|
|
|
2018-02-14 08:31:11 +01:00
|
|
|
if [[ "${PV}" == *9999 ]]
|
2017-08-27 12:37:41 +02:00
|
|
|
then
|
|
|
|
inherit git-r3
|
2017-08-28 20:49:02 +02:00
|
|
|
EGIT_REPO_URI="https://git.server-speed.net/users/flo/fb"
|
2017-08-27 12:37:41 +02:00
|
|
|
else
|
|
|
|
SRC_URI="https://paste.xinu.at/data/client/fb-${PV}.tar.gz -> fb-client-${PVR}.tar.gz"
|
2017-08-28 20:49:02 +02:00
|
|
|
S="${WORKDIR}/fb-${PV}"
|
2017-08-27 12:37:41 +02:00
|
|
|
fi
|
2016-03-13 11:52:15 +01:00
|
|
|
|
2021-08-05 14:22:52 +02:00
|
|
|
#KEYWORDS="~amd64 ~x86"
|
2016-03-13 11:52:15 +01:00
|
|
|
SLOT="0"
|
2016-07-10 11:18:14 +02:00
|
|
|
IUSE="+clipboard"
|
2021-05-16 00:00:25 +02:00
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
2020-02-06 08:34:42 +01:00
|
|
|
RESTRICT="test" # this packages has no tests
|
2016-07-10 11:18:14 +02:00
|
|
|
|
2020-02-06 08:34:42 +01:00
|
|
|
RDEPEND="
|
2021-05-16 00:00:25 +02:00
|
|
|
${PYTHON_DEPS}
|
2020-02-06 08:34:42 +01:00
|
|
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pycurl[${PYTHON_USEDEP}]
|
2022-07-04 23:11:58 +02:00
|
|
|
clipboard? (
|
|
|
|
|| (
|
|
|
|
x11-misc/xclip
|
|
|
|
gui-apps/wl-clipboard
|
|
|
|
)
|
|
|
|
)
|
2020-02-06 08:34:42 +01:00
|
|
|
"
|