* update python-flexmock to 0.12.1-1
This commit is contained in:
parent
e9fcf059c6
commit
28574f8a7d
@ -2,30 +2,30 @@
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=python-flexmock
|
||||
pkgver=0.12.0
|
||||
pkgver=0.12.1
|
||||
pkgrel=1
|
||||
pkgdesc="Mock/Stub/Spy library for Python"
|
||||
arch=(any)
|
||||
url="https://flexmock.readthedocs.io"
|
||||
license=('BSD-2-Clause')
|
||||
depends=('python')
|
||||
makedepends=('python-build' 'python-installer' 'python-poetry-core')
|
||||
makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
|
||||
checkdepends=('python-pytest' 'python-teamcity-messages' 'python-testtools' 'python-twisted')
|
||||
source=("https://github.com/flexmock/flexmock/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('a157c5ccb88a1e00bac9124145f882e59633f406971df0940579a12b9e161a787790a0ce27664997faa6ddc7c8926122359bd5b31fae0d31c729e5ed140e745e')
|
||||
source=("git+https://github.com/flexmock/flexmock.git#tag=$pkgver")
|
||||
sha512sums=('841726bc48c5cf7e1007715252e41c84902a6d3f91271306ca0e6b519976c9066bc8bbe7e2f9e44e39209fc4057c42e80f4422a2f0b96e72dcca4063886d320d')
|
||||
|
||||
build() {
|
||||
cd flexmock-$pkgver
|
||||
cd flexmock
|
||||
python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd flexmock-$pkgver
|
||||
cd flexmock
|
||||
PYTHONPATH="$PWD/src" pytest -p flexmock._pytest_plugin
|
||||
}
|
||||
|
||||
package() {
|
||||
cd flexmock-$pkgver
|
||||
cd flexmock
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Symlink license file
|
||||
|
Loading…
x
Reference in New Issue
Block a user