mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Alex Denes <caskd@redxen.eu>
 | |
| # Maintainer: Alex Denes <caskd@redxen.eu>
 | |
| _pkgname=openwisp-utils
 | |
| pkgname="py3-$_pkgname"
 | |
| pkgver=1.0.4
 | |
| pkgrel=0
 | |
| 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"
 | |
| 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
 | |
| "
 |