blob: 74d5731bdacc1c7392b1d12a0d260476f5f726d8 (
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.6 # renovate: datasource=github-tags depName=python-social-auth/social-core
pkgrel=3
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' 'python-saml')
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('89f9284c2543c0fc51a814f67d8f2e1c7de7bb2bbb9309ada1a02e999d872790')
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"
}
|