From 98068af937246ef38c5ed79972697038f6c9dfee Mon Sep 17 00:00:00 2001
From: Conrad Kostecki <conrad@kostecki.com>
Date: Sat, 23 Jun 2018 23:29:07 +0200
Subject: 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
---
 dev-python/python-axolotl/Manifest                 |  1 +
 dev-python/python-axolotl/metadata.xml             | 23 ++++++++++++++++++
 .../python-axolotl/python-axolotl-0.1.42.ebuild    | 28 ++++++++++++++++++++++
 3 files changed, 52 insertions(+)
 create mode 100644 dev-python/python-axolotl/Manifest
 create mode 100644 dev-python/python-axolotl/metadata.xml
 create mode 100644 dev-python/python-axolotl/python-axolotl-0.1.42.ebuild

(limited to 'dev-python/python-axolotl')

diff --git a/dev-python/python-axolotl/Manifest b/dev-python/python-axolotl/Manifest
new file mode 100644
index 000000000000..f4ad7a3bc3c9
--- /dev/null
+++ b/dev-python/python-axolotl/Manifest
@@ -0,0 +1 @@
+DIST python-axolotl-0.1.42.tar.gz 53869 BLAKE2B 045d19b38478404b19717daee431a4fc36d187dc511d42ee950b37ef257d98aaee8ba42633888d596265c0d64bfc33f2da9307d45feb4189ec04c03d69687108 SHA512 db9e1cfab87d690619a672b1782942a18b12b17af555959c17bcc3e2581e9c689c57becc0ea884a1129df9dace17684ba03de38b81f8c8c65cab27962ebdb6c5
diff --git a/dev-python/python-axolotl/metadata.xml b/dev-python/python-axolotl/metadata.xml
new file mode 100644
index 000000000000..7f774de79b24
--- /dev/null
+++ b/dev-python/python-axolotl/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>hanno@gentoo.org</email>
+	</maintainer>
+	<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>
+		This is a python port of libsignal-protocol-java
+		originally written by Moxie Marlinspike.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/tgalal/python-axolotl/issues</bugs-to>
+		<remote-id type="github">tgalal/python-axolotl</remote-id>
+	</upstream>
+</pkgmetadata>
diff --git a/dev-python/python-axolotl/python-axolotl-0.1.42.ebuild b/dev-python/python-axolotl/python-axolotl-0.1.42.ebuild
new file mode 100644
index 000000000000..b36e154d501b
--- /dev/null
+++ b/dev-python/python-axolotl/python-axolotl-0.1.42.ebuild
@@ -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
+}
-- 
cgit v1.2.3-65-gdbad