mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-28 23:12:04 +01:00
These packages i've chose to maintain as they were relevant to a project that has since been inactive/dropped. I do not wish to further maintain them, as they have no use for me. Anyone is free to pick up maintainership if they wish.
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer:
|
|
_pkgname=openwisp-utils
|
|
pkgname="py3-$_pkgname"
|
|
pkgver=1.0.4
|
|
pkgrel=3
|
|
pkgdesc="Python and Django utilities shared between different openwisp modules"
|
|
url="https://github.com/openwisp/openwisp-utils"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
py3-django-compress-staticfiles
|
|
py3-django-filter
|
|
py3-django-model-utils
|
|
py3-django-rest-framework
|
|
py3-drf-yasg
|
|
py3-swapper
|
|
python3
|
|
"
|
|
checkdepends="
|
|
py3-openwisp-controller
|
|
"
|
|
makedepends="py3-setuptools_scm"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/openwisp/openwisp-utils/archive/refs/tags/$pkgver.tar.gz"
|
|
options="!check" # circular dependency caused by testing suite (controller <=> utils)
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 runtests.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root "$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
3ea32fc87f789a94221154ab17893b04d59f58cc542b6315117895195c019356a8a41495a77f28c382425e246c536c78ad2e5196fd01ed3b5e4d6923879be1ab py3-openwisp-utils-1.0.4.tar.gz
|
|
"
|