You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python3_{4,5} )
|
|
inherit distutils-r1
|
|
|
|
if [[ ${PV} = *9999* ]]; then
|
|
EGIT_REPO_URI="git://github.com/tdryer/${PN}"
|
|
inherit git-r3
|
|
else
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
fi
|
|
|
|
DESCRIPTION="Third Party IM Client for Google Hangouts"
|
|
HOMEPAGE="https://pypi.python.org/pypi/hangups"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
IUSE="test"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/unpin-dependencies.patch
|
|
)
|
|
|
|
COMMON_DEPEND=">=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}]
|
|
>=dev-python/aiohttp-1.2.0[${PYTHON_USEDEP}]
|
|
<dev-python/aiohttp-1.3.0
|
|
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
|
|
>=dev-python/readlike-0.1.2[${PYTHON_USEDEP}]
|
|
>=dev-python/requests-2.6.0[${PYTHON_USEDEP}]
|
|
<dev-python/requests-3.0.0
|
|
>=dev-python/ReParser-1.4.3[${PYTHON_USEDEP}]
|
|
>=dev-libs/protobuf-3.1.0[python]
|
|
>=dev-python/urwid-1.3.1[${PYTHON_USEDEP}]
|
|
>=dev-python/MechanicalSoup-0.6.0[${PYTHON_USEDEP}]"
|
|
DEPEND="${COMMON_DEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
test? (
|
|
>=dev-python/pytest-3.0.5[${PYTHON_USEDEP}]
|
|
>=dev-python/pylint-1.6.4[${PYTHON_USEDEP}]
|
|
>=dev-python/pycodestyle-2.2.0[${PYTHON_USEDEP}]
|
|
>=dev-python/httpretty-0.8.14[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
RDEPEND="${COMMON_DEPEND}"
|