blob: f394e2d0d9c7e5e76c81587a036cc888188ed68c (
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
|
# Maintainer: Peter Mattern <pmattern at arcor dot de>
pkgname=python3-saml
pkgver=1.16.0
pkgrel=1
pkgdesc="SAML Python Toolkit (compatible with Python3)"
arch=('any')
url='https://github.com/saml-toolkits/python3-saml'
license=('MIT')
makedepends=('python-build' 'python-poetry-core' 'python-installer')
depends=('python-lxml' 'python-isodate' 'python-xmlsec')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('41c41d986b0ef66635aa53abe51dfe0e09b1fb07a8803cbbdc861c3f82b6d15a')
build() {
cd ${pkgname}-${pkgver}
python -m build --no-isolation --skip-dependency-check --wheel
}
package() {
cd ${pkgname}-${pkgver}
python -m installer --destdir "${pkgdir}" dist/*.whl
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|