mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	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
		
			
				
	
	
		
			33 lines
		
	
	
		
			989 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			989 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Clayton Craft <clayton@craftyguy.net>
 | |
| # Maintainer: Clayton Craft <clayton@craftyguy.net>
 | |
| pkgname=py3-lsp-jsonrpc
 | |
| pkgver=1.0.0
 | |
| pkgrel=2
 | |
| pkgdesc="asynchronous JSON RPC server, fork of python-jsonrpc-server"
 | |
| url="https://github.com/python-lsp/python-lsp-jsonrpc"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="py3-ujson"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-pytest py3-mock"
 | |
| source="$pkgname-$pkgver.tar.gz::https://github.com/python-lsp/python-lsp-jsonrpc/archive/v$pkgver.tar.gz"
 | |
| builddir="$srcdir/python-lsp-jsonrpc-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	# test_writer_message broken with ujson:
 | |
| 	# https://github.com/python-lsp/python-lsp-jsonrpc/issues/6
 | |
| 	pytest -c test -k "not test_writer_bad_message"
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 390e6cb8adce2aa745446db4388d2dcb1fb42b8877c9c9402def813296e0e181d100035024f43eff8538265e388b452f624b90b455ec287eecd58d79828b54bd  py3-lsp-jsonrpc-1.0.0.tar.gz
 | |
| "
 |