2020-01-02 17:40:46 +01:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2016-03-13 11:52:15 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2018-06-25 16:28:59 +02:00
|
|
|
EAPI="7"
|
2016-03-13 11:52:15 +01:00
|
|
|
|
2020-12-08 17:10:00 +01:00
|
|
|
PYTHON_COMPAT=( python3_{8..9} )
|
2016-10-17 21:03:16 +02:00
|
|
|
|
2018-02-14 08:31:11 +01:00
|
|
|
inherit eutils python-r1
|
2017-08-27 12:37:41 +02:00
|
|
|
|
2020-02-06 08:34:42 +01:00
|
|
|
DESCRIPTION="Client for paste.xinu.at"
|
|
|
|
HOMEPAGE="https://paste.xinu.at"
|
|
|
|
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"
|
2018-02-14 08:31:11 +01:00
|
|
|
KEYWORDS=""
|
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}"
|
2019-02-11 16:51:14 +01:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2017-08-27 12:37:41 +02:00
|
|
|
fi
|
2016-03-13 11:52:15 +01:00
|
|
|
|
|
|
|
SLOT="0"
|
2016-07-10 11:18:14 +02:00
|
|
|
IUSE="+clipboard"
|
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="
|
|
|
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pycurl[${PYTHON_USEDEP}]
|
|
|
|
clipboard? ( x11-misc/xclip )
|
|
|
|
"
|