1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-django-djblets/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

30 lines
945 B
Text

# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pkgname=django-djblets
pkgname=py3-$_pkgname
pkgver=0.6.31
pkgrel=4
pkgdesc="set of utilty classes and functions for web applications written using Django"
url="https://github.com/djblets/djblets/"
arch="noarch"
license="MIT"
depends="python3 py3-django-pipeline"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/djblets/djblets/archive/release-$pkgver.tar.gz"
builddir="$srcdir/djblets-release-$pkgver"
build() {
python3 setup.py build
}
package() {
export PIPELINE_JS_COMPRESSOR='pipeline.compressors.jsmin.JSMinCompressor'
python3 setup.py install --skip-build --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}
sha512sums="
8874070fca77fce8a823ce0155ca0314758c7a6d7dd423a30aea5b23990bcec3675a9e22751f4bf6b6db75c6f0688cfaab85e59a344e13135c0f55a6edc35b6d py3-django-djblets-0.6.31.tar.gz
"