mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 10:21:36 +01:00 
			
		
		
		
	community/py3-msgpack: upgrade to 1.0.5
This commit is contained in:
		
							parent
							
								
									074d801412
								
							
						
					
					
						commit
						8f04bf44ce
					
				@ -2,15 +2,15 @@
 | 
				
			|||||||
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
 | 
					# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
 | 
				
			||||||
pkgname=py3-msgpack
 | 
					pkgname=py3-msgpack
 | 
				
			||||||
_pkgname=msgpack-python
 | 
					_pkgname=msgpack-python
 | 
				
			||||||
pkgver=1.0.4
 | 
					pkgver=1.0.5
 | 
				
			||||||
pkgrel=1
 | 
					pkgrel=0
 | 
				
			||||||
pkgdesc="Python3 module for MessagePack serialization/deserialization"
 | 
					pkgdesc="Python3 module for MessagePack serialization/deserialization"
 | 
				
			||||||
url="https://msgpack.org/"
 | 
					url="https://msgpack.org/"
 | 
				
			||||||
arch="all"
 | 
					arch="all"
 | 
				
			||||||
license="Apache-2.0"
 | 
					license="Apache-2.0"
 | 
				
			||||||
depends="python3"
 | 
					depends="python3"
 | 
				
			||||||
makedepends="python3-dev py3-setuptools cython"
 | 
					makedepends="python3-dev py3-gpep517 py3-setuptools cython py3-wheel"
 | 
				
			||||||
checkdepends="py3-pytest py3-pluggy"
 | 
					checkdepends="py3-pytest-xdist py3-pluggy"
 | 
				
			||||||
source="$_pkgname-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/v$pkgver.tar.gz"
 | 
					source="$_pkgname-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/v$pkgver.tar.gz"
 | 
				
			||||||
builddir="$srcdir/msgpack-python-$pkgver"
 | 
					builddir="$srcdir/msgpack-python-$pkgver"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -18,17 +18,22 @@ replaces="py-msgpack" # Backwards compatibility
 | 
				
			|||||||
provides="py-msgpack=$pkgver-r$pkgrel" # Backwards compatibility
 | 
					provides="py-msgpack=$pkgver-r$pkgrel" # Backwards compatibility
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build() {
 | 
					build() {
 | 
				
			||||||
	python3 setup.py build
 | 
						gpep517 build-wheel \
 | 
				
			||||||
 | 
							--wheel-dir dist \
 | 
				
			||||||
 | 
							--output-fd 3 3>&1 >&2
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
check() {
 | 
					check() {
 | 
				
			||||||
	PYTHONPATH="$(echo "$PWD"/build/lib.linux-*)" pytest
 | 
						python3 -m venv --clear --without-pip --system-site-packages testenv
 | 
				
			||||||
 | 
						testenv/bin/python3 -m installer dist/*.whl
 | 
				
			||||||
 | 
						testenv/bin/python3 -m pytest -n auto
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package() {
 | 
					package() {
 | 
				
			||||||
	python3 setup.py install --skip-build --root="$pkgdir"
 | 
						python3 -m installer -d "$pkgdir" \
 | 
				
			||||||
 | 
							dist/*.whl
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sha512sums="
 | 
					sha512sums="
 | 
				
			||||||
206351b8b1f8070c601849b728ea63ced4fec91732856f69f88e3c05c769bcd0d868fe94d7549c8c100b82e9d732379c133bf8f438632647ff2e7812f936783d  msgpack-python-1.0.4.tar.gz
 | 
					0d0b479044cda16519cf85d45acb8900b6e6585bf95816396fc96d6d1eb260036fb9c75bf8f88d99e212937a40d314a200d2b847d1da8a9ebc5694ab52e22896  msgpack-python-1.0.5.tar.gz
 | 
				
			||||||
"
 | 
					"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user