2021-05-16 00:00:25 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2020-10-18 12:15:16 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="7"
|
|
|
|
|
2020-12-08 17:09:57 +01:00
|
|
|
PYTHON_COMPAT=( python3_{8..9} )
|
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
|
|
|
|
|
2021-07-10 19:09:24 +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}]
|
|
|
|
clipboard? ( x11-misc/xclip )
|
|
|
|
"
|