diff options
Diffstat (limited to 'dev-python/python-axolotl/python-axolotl-0.1.42.ebuild')
-rw-r--r-- | dev-python/python-axolotl/python-axolotl-0.1.42.ebuild | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/dev-python/python-axolotl/python-axolotl-0.1.42.ebuild b/dev-python/python-axolotl/python-axolotl-0.1.42.ebuild index b720d024d6f1..b36e154d501b 100644 --- a/dev-python/python-axolotl/python-axolotl-0.1.42.ebuild +++ b/dev-python/python-axolotl/python-axolotl-0.1.42.ebuild @@ -1,23 +1,28 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit distutils-r1 -DESCRIPTION="Python module for the Axolotl protocol (used by OMEMO)" +DESCRIPTION="A python module for the axolotl protocol" HOMEPAGE="https://github.com/tgalal/python-axolotl" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" -IUSE="" +KEYWORDS="~amd64 ~x86" +IUSE="test" -RDEPEND="" -DEPEND="dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" + dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}]" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${RDEPEND}" + +python_test() { + esetup.py test +} |