blob: dd342c6f81ef056a79d1a1064d1302174843dde5 (
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
|
# Maintainer: Shohei Maruyama <cheat.sc.linux@outlook.com>
pkgname='python-django-icons'
_name='django-icons'
pkgver=24.3
pkgrel=1
pkgdesc='Icons for Django'
arch=('any')
url='https://pypi.org/project/django-icons/'
license=('BSD')
depends=(
'python-beautifulsoup4'
'python-django'
)
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-hatchling'
'python-setuptools'
'python-setuptools-scm'
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=('2f817b020c2ac4d369d3ca1608b48606e2aeb55f34638e19c346d4146a03ab51')
build() {
cd "${_name//-/_}-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "${_name//-/_}-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|