From 31a5e10c0f8ff452b38bad1ab7795fb799dbe038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 13:48:37 +0700 Subject: [PATCH] python-axolotl-curve25519: drop package --- srcpkgs/python-axolotl-curve25519/template | 20 -------------------- srcpkgs/python3-axolotl-curve25519 | 1 - srcpkgs/python3-axolotl-curve25519/template | 21 +++++++++++++++++++++ 3 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/python-axolotl-curve25519/template delete mode 120000 srcpkgs/python3-axolotl-curve25519 create mode 100644 srcpkgs/python3-axolotl-curve25519/template diff --git a/srcpkgs/python-axolotl-curve25519/template b/srcpkgs/python-axolotl-curve25519/template deleted file mode 100644 index 897de4e7cdf..00000000000 --- a/srcpkgs/python-axolotl-curve25519/template +++ /dev/null @@ -1,20 +0,0 @@ -# Template file for 'python-axolotl-curve25519' -pkgname=python-axolotl-curve25519 -version=0.4.1.post2 -revision=3 -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -short_desc="Python2 curve25519 with ed25519 signatures, used by libaxolotl" -maintainer="Lon Willett " -license="GPL-3" -homepage="https://github.com/tgalal/python-axolotl-curve25519" -distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3 - -python3-axolotl-curve25519_package() { - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-axolotl-curve25519 b/srcpkgs/python3-axolotl-curve25519 deleted file mode 120000 index ff6dbaa529a..00000000000 --- a/srcpkgs/python3-axolotl-curve25519 +++ /dev/null @@ -1 +0,0 @@ -python-axolotl-curve25519 \ No newline at end of file diff --git a/srcpkgs/python3-axolotl-curve25519/template b/srcpkgs/python3-axolotl-curve25519/template new file mode 100644 index 00000000000..46b06455f09 --- /dev/null +++ b/srcpkgs/python3-axolotl-curve25519/template @@ -0,0 +1,21 @@ +# Template file for 'python3-axolotl-curve25519' +pkgname=python3-axolotl-curve25519 +_pkgname=${pkgname/3/} +version=0.4.1.post2 +revision=3 +wrksrc="$_pkgname-$version" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +short_desc="Python3 curve25519 with ed25519 signatures, used by libaxolotl" +maintainer="Lon Willett " +license="GPL-3.0-only, BSD-3-Clause" +homepage="https://github.com/tgalal/python-axolotl-curve25519" +distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz" +checksum=0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3 + +post_install() { + sed -e "/Copyright/,/SUCH DAMAGE./p" \ + curve/curve25519-donna.c >donna.LICENSE + vlicense donna.LICENSE +}