35 lines
831 B
Bash
35 lines
831 B
Bash
|
# Copyright 1999-2018 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||
|
|
||
|
inherit distutils-r1
|
||
|
|
||
|
DESCRIPTION="Python port of libaxolotl"
|
||
|
HOMEPAGE="https://github.com/tgalal/python-axolotl"
|
||
|
|
||
|
if [[ "${PV}" == *9999 ]]
|
||
|
then
|
||
|
inherit git-r3
|
||
|
EGIT_REPO_URI="https://github.com/tgalal/python-${PN}.git"
|
||
|
KEYWORDS=""
|
||
|
else
|
||
|
SRC_URI="https://github.com/tgalal/python-${PN}/archive/${PV}.tar.gz -> ${PVR}.tar.gz"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
S="${WORKDIR}/python-${P}"
|
||
|
fi
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
IUSE=""
|
||
|
|
||
|
# let's just use the latest stable protobuf-3
|
||
|
RDEPEND=">=dev-libs/protobuf-3.1.0
|
||
|
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||
|
dev-python/axolotl-curve25519[${PYTHON_USEDEP}]"
|
||
|
DEPEND="${RDEPEND}
|
||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||
|
|
||
|
DOCS=( README.md )
|