blob: f9d8ed336e1244065f109236dcbc89e481ae9116 (
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
42
43
44
45
46
|
# Maintainer: Alex Hirzel <alex at hirzel period us>
pkgname='python-wagtail'
_name=${pkgname#python-}
pkgver='6.2.2'
pkgrel=1
pkgdesc="A Django content management system."
url="https://wagtail.org/"
depends=(
'python-anyascii'
'python-asgiref'
'python-beautifulsoup4'
'python-boto3'
'python-botocore'
'python-django'
'python-django-modelcluster'
'python-django-taggit'
'python-freezegun'
'python-jinja'
'python-markupsafe'
'python-openpyxl'
'python-pillow'
'python-requests'
'python-setuptools'
'python-willow'
)
makedepends=('python-installer' 'python-wheel')
checkdepends=(
'python-installer'
'python-wheel'
)
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha512sums=('cd3da0ab6c128790c16a388f648d07ea499b803e33bc7cd6370d869e5f7f10144b9081a7998765c4eb12c7dacc9eb488f48dff713c88ef304e212d0f777f4ecc')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|