ayaports/testing/py3-django-picklefield/APKBUILD

40 lines
948 B
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-django-picklefield
_pyname="django-picklefield"
pkgver=3.1
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-08-11 19:49:05 +00:00
arch="noarch"
2023-01-10 19:12:28 +00:00
pkgdesc="A pickled object field for Django"
2021-11-30 21:44:44 +00:00
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends="
py3-django
"
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
py3-installer
"
2023-01-10 19:12:28 +00:00
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
2021-11-30 21:44:44 +00:00
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
2021-11-30 21:44:44 +00:00
}
2021-11-30 21:44:44 +00:00
sha512sums="
2023-01-10 19:12:28 +00:00
1445a21e60a714cb6ac0cbc71bb44c3a2b51f169621bcc0183c788e70e9eaae2d07949e4b6f7ad4ba5dae99d91a2a7225d897771e4f9fb2230481365ee304b53 py3-django-picklefield-3.1.tar.gz
2021-11-30 21:44:44 +00:00
"