diff --git a/testing/py3-pytest-expect/APKBUILD b/testing/py3-pytest-expect/APKBUILD index 817954cecf3..e2fc92e0af8 100644 --- a/testing/py3-pytest-expect/APKBUILD +++ b/testing/py3-pytest-expect/APKBUILD @@ -3,24 +3,29 @@ pkgname=py3-pytest-expect _pkgname=pytest-expect pkgver=1.1.0 -pkgrel=9 +pkgrel=10 pkgdesc="A pytest plugin that stores test expectations" -options="!check" # no test suite url="https://github.com/gsnedders/pytest-expect" arch="noarch" license="MIT" depends="py3-pytest py3-u-msgpack" -makedepends="py3-setuptools" +makedepends="py3-setuptools py3-gpep517" subpackages="$pkgname-pyc" source="$_pkgname-$pkgver.tar.gz::https://github.com/gsnedders/pytest-expect/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" +options="!check" # no test suite build() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } package() { - python3 setup.py install --skip-build --root="$pkgdir" + gpep517 install-wheel --destdir "$pkgdir" \ + .dist/*.whl } -sha512sums="dbef3c394e974663179e91ca3cd6f096fdb055693b3e540dd0f27d6bf59a5c7298144598eb069f8f0acddd82ecce0bdce14ccd25728eb6a024d41895403e5144 pytest-expect-1.1.0.tar.gz" +sha512sums=" +dbef3c394e974663179e91ca3cd6f096fdb055693b3e540dd0f27d6bf59a5c7298144598eb069f8f0acddd82ecce0bdce14ccd25728eb6a024d41895403e5144 pytest-expect-1.1.0.tar.gz +"