dev-python/python-axolotl: New package
authorConrad Kostecki <conrad@kostecki.com>
Sat, 23 Jun 2018 21:29:07 +0000 (23:29 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 24 Jun 2018 07:47:11 +0000 (09:47 +0200)
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 [new file with mode: 0644]
dev-python/python-axolotl/metadata.xml [new file with mode: 0644]
dev-python/python-axolotl/python-axolotl-0.1.42.ebuild [new file with mode: 0644]

diff --git a/dev-python/python-axolotl/Manifest b/dev-python/python-axolotl/Manifest
new file mode 100644 (file)
index 0000000..f4ad7a3
--- /dev/null
@@ -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 (file)
index 0000000..7f774de
--- /dev/null
@@ -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 (file)
index 0000000..b36e154
--- /dev/null
@@ -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
+}