32 lines
881 B
Text
32 lines
881 B
Text
# Maintainer: Antoine Martin <dev@ayakael.net>
|
|
|
|
_pyname=django-picklefield
|
|
pkgname="py3-$_pyname"
|
|
pkgver=3.0.1
|
|
pkgrel=0
|
|
arch='noarch'
|
|
pkgdesc='A pickled object field for Django'
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
license="MIT"
|
|
depends='python3 py3-django'
|
|
makedepends='py3-setuptools'
|
|
options="!check"
|
|
source="${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-${pkgver}.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
|
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
|
|
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
sha512sums="
|
|
7f14b4803dc8bdb1d62fec4063bf6eb7714445f85a13a4fe098154fa2d7f6a4e54308bf2324bc4921eaabf1023bb06b89a4bf52bb0ff89594075e02672d217ba py3-django-picklefield-3.0.1.tar.gz
|
|
"
|