summaryrefslogtreecommitdiff
path: root/community/py3-saml2/APKBUILD
blob: 3f6ba7248cc0349c47a3205aecf3c0bfad977a9c (plain)
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
35
36
37
38
39
40
41
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-saml2
pkgver=7.2.1
pkgrel=0
pkgdesc="Pure python implementation of SAML2"
options="!check" # testsuite is failing
url="https://github.com/IdentityPython/pysaml2"
arch="noarch"
license="Apache-2.0"
depends="
	python3
	py3-cryptography
	py3-defusedxml
	py3-openssl
	py3-dateutil
	py3-tz
	py3-requests
	py3-six
	xmlsec
	"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/IdentityPython/pysaml2/archive/v$pkgver.tar.gz"
builddir="$srcdir/pysaml2-$pkgver"

# secfixes:
#   6.5.0-r0:
#     - CVE-2021-21238
#     - CVE-2021-21239

build() {
	python3 setup.py build
}

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

sha512sums="
524ca16553514104205346d5b5c784fe373a4e118d55b24244aa2e084bb40ccb2cd210975aa1d12602b3f1b83100e94a7b5a5112a31d0b63d13f1d8a7986d8d8  py3-saml2-7.2.1.tar.gz
"