From 8fd7c8c1a8bb4941abc6420a7dd55179d89f04d3 Mon Sep 17 00:00:00 2001 From: Lon Willett Date: Fri, 26 May 2017 13:04:18 +0200 Subject: [PATCH 1/2] New package: python-axolotl-curve25519-0.1 curve25519 with ed25519 signatures, used by libaxolotl. --- srcpkgs/python-axolotl-curve25519/template | 22 ++++++++++++++++++++++ srcpkgs/python3-axolotl-curve25519 | 1 + 2 files changed, 23 insertions(+) create mode 100644 srcpkgs/python-axolotl-curve25519/template create mode 120000 srcpkgs/python3-axolotl-curve25519 diff --git a/srcpkgs/python-axolotl-curve25519/template b/srcpkgs/python-axolotl-curve25519/template new file mode 100644 index 0000000000..87c0818723 --- /dev/null +++ b/srcpkgs/python-axolotl-curve25519/template @@ -0,0 +1,22 @@ +# Template file for 'python-axolotl-curve25519' +pkgname=python-axolotl-curve25519 +version=0.1 +revision=1 +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel" +depends="python" +short_desc="Python2 curve25519 with ed25519 signatures, used by libaxolotl" +maintainer="Lon Willett " +license="GPL-3" +homepage="https://pypi.python.org/pypi/python-axolotl-curve25519" +distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" +checksum="c559f6a5bf51e869325b36bd83c14cccd7dec1c6e7599e797f9ba27a72d339c0" + +python3-axolotl-curve25519_package() { + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-axolotl-curve25519 b/srcpkgs/python3-axolotl-curve25519 new file mode 120000 index 0000000000..ff6dbaa529 --- /dev/null +++ b/srcpkgs/python3-axolotl-curve25519 @@ -0,0 +1 @@ +python-axolotl-curve25519 \ No newline at end of file From b91826ae453da82aab4f16ef08fe0576ba98aac2 Mon Sep 17 00:00:00 2001 From: Lon Willett Date: Sat, 27 May 2017 08:25:41 +0200 Subject: [PATCH 2/2] New package: python-axolotl-0.1.39 Port of libaxolotl-android written by Moxie Marlinspike. --- srcpkgs/python-axolotl/template | 25 +++++++++++++++++++++++++ srcpkgs/python3-axolotl | 1 + 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/python-axolotl/template create mode 120000 srcpkgs/python3-axolotl diff --git a/srcpkgs/python-axolotl/template b/srcpkgs/python-axolotl/template new file mode 100644 index 0000000000..e283a745be --- /dev/null +++ b/srcpkgs/python-axolotl/template @@ -0,0 +1,25 @@ +# Template file for 'python-axolotl' +pkgname=python-axolotl +version=0.1.39 +revision=1 +noarch=yes +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +depends="python-axolotl-curve25519 python-crypto python-protobuf" +pycompile_module="axolotl" +short_desc="Python2 port of libaxolotl-android written by Moxie Marlinspike" +maintainer="Lon Willett " +license="GPL-3" +homepage="https://pypi.python.org/pypi/python-axolotl" +distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" +checksum="9af9c937d0d05ebea414f1be79ecc7517cc3541a77101941e6a2a71bdd2b6e25" + +python3-axolotl_package() { + noarch=yes + depends="python3-axolotl-curve25519 python3-crypto python3-protobuf" + pycompile_module="axolotl" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-axolotl b/srcpkgs/python3-axolotl new file mode 120000 index 0000000000..3850e59544 --- /dev/null +++ b/srcpkgs/python3-axolotl @@ -0,0 +1 @@ +python-axolotl \ No newline at end of file