holgersson-overlay/net-misc/fb-client/fb-client-2.0.4-r1.ebuild

32 lines
709 B
Bash
Raw Normal View History

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
# at least pycurl blocks py3.8 so far
PYTHON_COMPAT=( python3_{6,7} )
inherit eutils python-r1
if [[ "${PV}" == *9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://git.server-speed.net/users/flo/fb"
KEYWORDS=""
else
SRC_URI="https://paste.xinu.at/data/client/fb-${PV}.tar.gz -> fb-client-${PVR}.tar.gz"
S="${WORKDIR}/fb-${PV}"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Client for paste.xinu.at"
HOMEPAGE="https://paste.xinu.at"
LICENSE="GPL-3"
SLOT="0"
IUSE="+clipboard"
RDEPEND="dev-python/pyxdg[${PYTHON_USEDEP}]
dev-python/pycurl[${PYTHON_USEDEP}]
clipboard? ( x11-misc/xclip )"