aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-rsa/APKBUILD
blob: 724270bed78b234ee6cdb0837e4043b006baadae (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
# Maintainer:
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=py3-rsa
_pkgname=rsa
pkgver=3.4.2
pkgrel=5
pkgdesc="Pure-Python3 RSA implementation"
url="https://stuvel.eu/rsa"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-asn1"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

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

sha512sums="62b0ff31fb3b9c18ae65bd102329e69726b853560576b1b66b9b89b26d3ff79154239af7e7a581b6a27c7017cc013f738762cd9662777ef594cc11c5b1f8e267  rsa-3.4.2.tar.gz"