aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-pycryptodome/APKBUILD
blob: 22b5f2f21ba5d5435125037fcf4ee1e2e8fe8f0b (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-pycryptodome
pkgver=3.9.5
pkgrel=0
pkgdesc="Self-contained cryptographic library"
url="https://www.pycryptodome.org"
arch="all"
license="BSD-2-Clause Unlicense"
makedepends="python3-dev py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v$pkgver.tar.gz"
builddir="$srcdir"/pycryptodome-$pkgver

replaces="py-pycryptodome py3-crypto" # Backwards compatibility
provides="py-pycryptodome=$pkgver-r$pkgrel py3-crypto=$pkgrel-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py --quiet build
}

check() {
	python3 setup.py test
}

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

sha512sums="aa1fb35034872a5dd94a8646c360c78ff54beb0684760b6b74e2273b7e3c57124549f3804f9e3dba6070628866b06daa0a58ce779242c96234167579c54869b3  py3-pycryptodome-3.9.5.tar.gz"