blob: c86f55a4976d20a8a4b8983ba3b4d938e1470200 (
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py3-django-sorl-thumbnail
pkgver=12.5.0
pkgrel=1
pkgdesc="Thumbnails for Django"
options="!check" # Requires running django
url="https://github.com/mariocesar/sorl-thumbnail"
arch="noarch"
license="BSD-3-Clause"
depends="py3-django py3-pillow"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/s/sorl-thumbnail/sorl-thumbnail-$pkgver.tar.gz"
builddir="$srcdir/sorl-thumbnail-$pkgver"
replaces="py-django-sorl-thumbnail" # Backwards compatibility
provides="py-django-sorl-thumbnail=$pkgver-r$pkgrel" # Backwards compatibility
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --root "$pkgdir"
}
sha512sums="8cf58cc68f8430ca5a57581b7d0cae54e1a3c3219445cb8204a2bccf547294eba888f79433152bfb7d257cfbbf0a22b4520e3810337e0df286cee8ad8e2b247e sorl-thumbnail-12.5.0.tar.gz"
|