blob: 78515f927150dd967fc35624ff0ac8e4c22c9ca5 (
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
|
# Maintainer: getzze <getzze at gmail dot com>
pkgname=('python-django-cacheops' 'python2-django-cacheops')
pkgver=4.0.6
pkgrel=1
pkgdesc="A slick ORM cache with automatic granular event-driven invalidation"
arch=(any)
url="https://github.com/Suor/django-cacheops"
license=('custom')
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('799ce297d187f6a10523cfbc90434a5794fe2fa9a455b49f2f5b560f65e97626')
makedepends=('python-setuptools' 'python2-setuptools')
package_python-django-cacheops() {
depends=('python-django' 'python-redis')
cd "$srcdir/django-cacheops-$pkgver"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
python setup.py install --root="$pkgdir/" --optimize=1
}
package_python2-django-cacheops() {
depends=('python2-django' 'python2-redis')
cd "$srcdir/django-cacheops-$pkgver"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
|