diff options
Diffstat (limited to 'dev-python/consonance')
-rw-r--r-- | dev-python/consonance/Manifest | 3 | ||||
-rw-r--r-- | dev-python/consonance/consonance-0.1.3.ebuild | 42 | ||||
-rw-r--r-- | dev-python/consonance/metadata.xml | 21 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/consonance/Manifest b/dev-python/consonance/Manifest new file mode 100644 index 000000000000..4aa8c123d47c --- /dev/null +++ b/dev-python/consonance/Manifest @@ -0,0 +1,3 @@ +DIST consonance-0.1.3.tar.gz 30762 BLAKE2B c30db2741a851ae1ef02361102c432d931925125d8648c0e5b1a88005f480219eaf81e8205559dd709b43e98b3925777d1fecf702577e38c3ec1c8f4e8a19cce SHA512 9f36f81b453dc4de2217a997580bb3f8747c86a8116275ba5a0e86cc66ec62d6490ae20c0e5f7401d1c16d601686936ba7b789999941c657a0b508ce0dea1cea +EBUILD consonance-0.1.3.ebuild 937 BLAKE2B 41985834b6654fec89e37fb7e1130e613260e39b94b91be1e5e4677332541bcd87e192e017fe3395c97e0e751f4209d07b3c345f22f86e6bcb600c64f7ac75c0 SHA512 9337e3a079d62142948f10e222d7ee3023a2ef30e9610bff86c6d5b284f9a0961fd7d605f3b2c224c6e4f031d266c16d9f028922de1234cad63a8d3db1e5598b +MISC metadata.xml 701 BLAKE2B d1246e2203f6a6608679daba3f06f6a6bb59774cc6f14031deedc2b563bfeabf09badb2963bb77546d4bda9ed90e20edadafc48e54a99b24d468b76588e8383a SHA512 fe10d9dea796dee568d6538f2d3125ebbf06f62c361494b3cf0e4130a5418a35184f64ec95139e11e135fb6d99fd2e4c3213dd65572866763a103e42d54ce7b2 diff --git a/dev-python/consonance/consonance-0.1.3.ebuild b/dev-python/consonance/consonance-0.1.3.ebuild new file mode 100644 index 000000000000..fa72b7ed54a8 --- /dev/null +++ b/dev-python/consonance/consonance-0.1.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="WhatsApp's handshake implementation using Noise Protocol" +HOMEPAGE="https://github.com/tgalal/consonance" +SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +# Tests require an active internet connection +RESTRICT="test" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/dissononce[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}] + dev-python/transitions[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +} + +src_install() { + distutils-r1_src_install + + use examples && dodoc examples/*.py +} diff --git a/dev-python/consonance/metadata.xml b/dev-python/consonance/metadata.xml new file mode 100644 index 000000000000..79d7a64269f7 --- /dev/null +++ b/dev-python/consonance/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + Consonance implements WhatsApp's handshake process + which makes use of Noise Pipes with Curve25519, AES-GCM, + and SHA256 from Noise Protocol. + </longdescription> + <upstream> + <bugs-to>https://github.com/tgalal/consonance/issues</bugs-to> + <remote-id type="github">tgalal/consonance</remote-id> + </upstream> +</pkgmetadata> |