mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +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
27 lines
860 B
Text
27 lines
860 B
Text
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=py3-asyncmock
|
|
pkgver=0.4.2
|
|
pkgrel=2
|
|
pkgdesc="Extension to the standard mock framework to support support async"
|
|
url="https://github.com/timsavage/asyncmock"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
# PyPi tarball has no tests
|
|
options="!check"
|
|
depends="python3 py3-mock"
|
|
makedepends="py3-setuptools py3-pytest-runner"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/a/asyncmock/asyncmock-$pkgver.tar.gz"
|
|
builddir="$srcdir/asyncmock-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
b421849eda8edddd9e5d12b90ed3544ae164b890deff4052d5be252d65b9ad11ee32a45250de1e103fc84d5de06bf05d76aacaa4b907b1b784ccc18135674959 py3-asyncmock-0.4.2.tar.gz
|
|
"
|