mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Contributor: Noel Kuntze <noel.kuntze@thermi.consulting>
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
pkgname=py3-minimock
|
|
pkgver=1.3.0
|
|
pkgrel=0
|
|
pkgdesc="Simple mock library"
|
|
url="https://pypi.org/project/MiniMock/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel python3-dev"
|
|
checkdepends="py3-nose2"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/lowks/minimock/archive/v$pkgver.tar.gz
|
|
0001-Apply-missing-version-bump-to-1.3.0.patch
|
|
"
|
|
builddir="$srcdir/minimock-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
nose2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
de7feef7fee044ba45a52d7c83905d082ad2ed2c3d12b294a6995086b377a22317730326946d048b19063758f158a9bee7bbb6a79c9ae0b4ba7a93e4a21ea196 py3-minimock-1.3.0.tar.gz
|
|
67060a2b9b4ff4ad66f6748e08861c9c4103fc5a1ba171c9b0a3a81dee9f9f4248ffb4a341c28fac8ddf20205176c953ec784cb3995c96f3c001ca651d4c9a33 0001-Apply-missing-version-bump-to-1.3.0.patch
|
|
"
|