mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/py3-vcrpy: upgrade to 4.3.1
https://github.com/kevin1024/vcrpy/blob/v4.3.1/docs/changelog.rst
This commit is contained in:
parent
9e752491bc
commit
b83eb38bae
@ -1,33 +1,38 @@
|
||||
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
||||
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
||||
pkgname=py3-vcrpy
|
||||
pkgver=4.2.1
|
||||
pkgrel=2
|
||||
pkgver=4.3.1
|
||||
pkgrel=0
|
||||
pkgdesc="Automatically mock your HTTP interactions to simplify and speed up testing"
|
||||
options="!check" # Tests fail on the builders
|
||||
url="https://github.com/kevin1024/vcrpy"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py3-yarl py3-yaml py3-six py3-wrapt"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
||||
checkdepends="py3-pytest py3-pytest-httpbin"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-$pkgver.tar.gz"
|
||||
builddir="$srcdir/vcrpy-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages testenv
|
||||
testenv/bin/python3 -m installer dist/*.whl
|
||||
# ssl errors when test_requests.py is run
|
||||
python3 -m pytest --deselect=tests/integration/test_requests.py
|
||||
testenv/bin/python3 -m pytest --deselect=tests/integration/test_requests.py
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ba8b85d397349e167d3ba6244581ef89db52f98c11c596107eeebfea687c0bf58a3ec264010f173901e00e37ac496bee0d59bb209be6ba702423da78bafca866 vcrpy-4.2.1.tar.gz
|
||||
a5c2de2bf165ae750df3de1c90cbd4f1087c9ab6c0cb7e2dbc6ad53b86fa96e8da45ca7d5398223d6268121d5d3cb62d659c0125962088e4c1f08e1030a6fade vcrpy-4.3.1.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user