summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 944b0282493768c81e98358348a8e217bd7e3ca2 (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
# Maintainer: AlphaJack <alphajack at tuta dot io>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Contributor: David McInnis <davidm@eagles.ewu.edu>

pkgname="python-django-easy-thumbnails"
pkgver=2.8.5
pkgrel=1
pkgdesc="Highly configurable thumbnail creation and caching"
url="https://github.com/SmileyChris/easy-thumbnails"
depends=("python-django" "python-pillow")
makedepends=("python-setuptools" "python-build" "python-installer" "python-wheel")
license=("BSD")
arch=("any")
source=("$pkgname-$pkgver::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('5d9b53a18644f550b9c0d4e179146cfadfcc1d735024116a7e8890c7d738fe0b')

build(){
 cd "easy-thumbnails-$pkgver"
 python -m build --wheel --no-isolation
}

package(){
 cd "easy-thumbnails-$pkgver"
 python -m installer --destdir="$pkgdir" dist/*.whl
}