aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-pycryptodome/APKBUILD
blob: 80e1564dc9126f6e635d44f20e065fdec8acec19 (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.4
pkgrel=1
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="38a34acdef671c17875ec9e9403401b71cf6f2e46a715575812a4b2cd0a7c9745fcb0c4a44db62e86913160b09f5a2f867db238c81f38805060cff88635d920a  py3-pycryptodome-3.9.4.tar.gz"