da95b08131
See commit d9599c3c2a48a3de7f7595c46e4eacc6bd30c4ae for more details. Package-Manager: Portage-2.3.40, Repoman-2.3.9 Manifest-Sign-Key: 766B8122134269123401492A8B54D7A3FF3CDB17
39 lines
996 B
Bash
39 lines
996 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
|
PYTHON_REQ_USE="readline"
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Python WhatsApp library and CLI client"
|
|
HOMEPAGE="https://github.com/tgalal/yowsup"
|
|
|
|
if [[ "${PV}" == *9999 ]]
|
|
then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/tgalal/${PN}.git"
|
|
KEYWORDS=""
|
|
else
|
|
SRC_URI="https://github.com/tgalal/yowsup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~x86"
|
|
fi
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-python/python-axolotl-0.1.39[${PYTHON_USEDEP}]
|
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
|
dev-python/pillow[${PYTHON_USEDEP}]
|
|
dev-python/configargparse[${PYTHON_USEDEP}]
|
|
dev-libs/protobuf
|
|
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
|
dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}]
|
|
dev-python/six[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
DOCS=( README.md )
|