summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-07-26 23:13:26 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-02 21:14:36 +0300
commit58ed1ade0c4177dc554cae465f3c2b210b61cefe (patch)
treee7ed461c685a1afb9ad7ce08799cae2d3a729d3b
parentsys-apps/lsd: bump to 0.16.0 (diff)
downloadgentoo-58ed1ade0c4177dc554cae465f3c2b210b61cefe.tar.gz
gentoo-58ed1ade0c4177dc554cae465f3c2b210b61cefe.tar.bz2
gentoo-58ed1ade0c4177dc554cae465f3c2b210b61cefe.zip
dev-python/consonance: New package
This is a new dependency for the >=net-im/yowsup-3 version bump. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--dev-python/consonance/Manifest1
-rw-r--r--dev-python/consonance/consonance-0.1.3.ebuild42
-rw-r--r--dev-python/consonance/metadata.xml21
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/consonance/Manifest b/dev-python/consonance/Manifest
new file mode 100644
index 000000000000..1cc521e240ca
--- /dev/null
+++ b/dev-python/consonance/Manifest
@@ -0,0 +1 @@
+DIST consonance-0.1.3.tar.gz 30762 BLAKE2B c30db2741a851ae1ef02361102c432d931925125d8648c0e5b1a88005f480219eaf81e8205559dd709b43e98b3925777d1fecf702577e38c3ec1c8f4e8a19cce SHA512 9f36f81b453dc4de2217a997580bb3f8747c86a8116275ba5a0e86cc66ec62d6490ae20c0e5f7401d1c16d601686936ba7b789999941c657a0b508ce0dea1cea
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>