blob: f5e119bfb6574f74d6a99026e9ecbaed73ab9c17 (
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
|
# Maintainer: robertfoster
# Contributor: Peter Mattern <pmattern at arcor dot de>
pkgname=python-social-auth-core
pkgver=4.5.4
pkgrel=2
pkgdesc='Python Social Auth core component'
arch=('any')
url='https://github.com/python-social-auth/social-core'
license=('BSD-3-Clause')
depends=('python-six' 'python-defusedxml' 'python-pyjwt' 'python-jose' 'python-requests-oauthlib'
'python-openid' 'python-cryptography' 'python3-saml')
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('0070f7d9a0eb4903de2990d6b8cd42ff5ea91f8caff83386a2f6a087ebeaa577')
build() {
cd social-core-"${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd social-core-"${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "${srcdir}/social-core-${pkgver}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -rf "${pkgdir}/usr/lib/python3.11/site-packages/social_core/tests"
}
|