dev-python/axolotl: Add live ebuild.

This ebuild is based on a version from mva overlay.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Manifest-Sign-Key: 766B8122134269123401492A8B54D7A3FF3CDB17
This commit is contained in:
Nils Freydank 2018-02-14 21:32:09 +01:00
parent c58474eae5
commit 02633303e6
No known key found for this signature in database
GPG Key ID: 1D1E9E428EF58746

View File

@ -0,0 +1,34 @@
# 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 )