aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-pynacl/APKBUILD
blob: 37172807a95dbcc1799cb5b95523726f55f4c9c8 (plain) (blame)
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
28
29
30
31
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-pynacl
pkgver=1.4.0
pkgrel=1
pkgdesc="Python3 binding to the Networking and Cryptography (NaCl) library"
url="https://github.com/pyca/pynacl"
arch="all"
license="Apache-2.0"
depends="py3-cffi py3-six"
makedepends="py3-setuptools python3-dev libffi-dev py3-wheel"
checkdepends="py3-pytest py3-hypothesis"
source="https://github.com/pyca/pynacl/archive/$pkgver/pynacl-$pkgver.tar.gz
	ppc64le-disable-configure-segfaultcheck.patch
	"
builddir="$srcdir/pynacl-$pkgver"

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

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="2a11a623452cea60199cdff83db6f5922698237267c11f055f2fd7768e0875a819dcc08c477113ad89461797ab36d66e0b9c7700eee335eb6b16af6b378b9e88  pynacl-1.4.0.tar.gz
a96f649bb7d1552612f46668ce1c27dd4bb62e0e6459a02e9769a967c54ebe8467c3e8c515789a65838f5c55c96f381fabea4cc07fde8857a65f7dafa062c07c  ppc64le-disable-configure-segfaultcheck.patch"