aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-axolotl-curve25519/APKBUILD
blob: 4c5c7c1e641050cfe350e4210a47bd681aba518c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-axolotl-curve25519
_pkgname="python-${pkgname#py3-}"
pkgver=0.4.1b
_pkgver=0.4.1-2
pkgrel=6
pkgdesc="A python wrapper for curve25519 library with ed25519 signatures"
options="!check" # No testsuite
url="https://github.com/tgalal/python-axolotl-curve25519"
arch="all"
license="GPL-3.0-only"
makedepends="py3-setuptools python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/tgalal/$_pkgname/archive/$_pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$_pkgver

replaces="py-axolotl-cuve25519" # Backwards compatibility
provides="py-axolotl-cuve25519=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="cbc7c6caa47a9a811640c247a1be727d7b1b68bcdb4c5336e02b4d1eaf9fd2c57b7438b0da466a379a1c0f3f146756b9b7eea3c9b7945ce88478d4bf0b8a1e0d  py3-axolotl-curve25519-0.4.1b.tar.gz"