1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-axolotl-curve25519/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

27 lines
962 B
Text

# 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"