blob: ea8e45911fa6d7fd8ab9a1274e09845f894ab056 (
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: Joffrey <j-off@live.fr>
_name='djangosaml2'
pkgname='python-django-saml2'
pkgver=1.11.1
pkgrel=1
pkgdesc='A Django application that builds a Fully Compliant SAML2 Service Provider'
arch=('any')
url="https://github.com/IdentityPython/$_name"
license=('Apache')
depends=('python-django' 'python-pysaml2')
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('3f3482af048d5afc9fe55e907599a92386fa485c25481a1c3d60dc1d1e61a6fe')
build() {
cd "$srcdir/$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|