holgersson-overlay/net-im/yowsup/yowsup-9999.ebuild
Nils Freydank 9737ed58c0
net-im/yowsup: Fix ${S}.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Manifest-Sign-Key: 766B8122134269123401492A8B54D7A3FF3CDB17
2018-03-24 14:53:11 +01:00

41 lines
1.1 KiB
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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=""
# we let depend axolotl on >=protobuf-3.1.0, so let's do
# the same here (latest stable at 2018-02-14).
RDEPEND=">=dev-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-3.1.0
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/axolotl-curve25519[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
DOCS=( README.md )