dev-python/python-axolotl: New package

Closes: https://bugs.gentoo.org/608882
Closes: https://github.com/gentoo/gentoo/pull/7778
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Conrad Kostecki
2018-06-23 23:29:07 +02:00
committed by Michał Górny
parent 3c469d30dc
commit 98068af937
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# 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} )
inherit distutils-r1
DESCRIPTION="A python module for the axolotl protocol"
HOMEPAGE="https://github.com/tgalal/python-axolotl"
SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${RDEPEND}"
python_test() {
esetup.py test
}