mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03: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
970 B
Text
33 lines
970 B
Text
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
|
|
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
|
|
pkgname=py3-u-msgpack
|
|
_pyname=u-msgpack-python
|
|
pkgver=2.7.2
|
|
pkgrel=1
|
|
pkgdesc="portable, lightweight MessagePack serializer and deserializer written in pure Python."
|
|
url="https://github.com/vsergeev/u-msgpack-python"
|
|
arch="noarch"
|
|
license="MIT"
|
|
checkdepends="py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/vsergeev/$_pyname/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
replaces="py-u-msgpack" # Backwards compatibility
|
|
provides="py-u-msgpack=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
3403b03080a8501c827b7c0357ba9a4ed02c37dd8b6f6c9e32a313905b560395533ed965a4f4e2482eed867087be935f134a497f43534dc6279b7f11f5d85b50 py3-u-msgpack-2.7.2.tar.gz
|
|
"
|