python-axolotl-curve25519: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 13:48:37 +07:00
parent beab1367c1
commit 31a5e10c0f
3 changed files with 21 additions and 21 deletions

View File

@ -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 <xgit@lonw.net>"
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*
}
}

View File

@ -1 +0,0 @@
python-axolotl-curve25519

View File

@ -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 <xgit@lonw.net>"
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
}