diff --git a/backports/py3-typing-extensions/APKBUILD b/backports/py3-typing-extensions/APKBUILD index 93d3443..a90013d 100644 --- a/backports/py3-typing-extensions/APKBUILD +++ b/backports/py3-typing-extensions/APKBUILD @@ -1,35 +1,28 @@ # Contributor: Leo -# Maintainer: Patrycja Rosa +# Maintainer: psykose pkgname=py3-typing-extensions -pkgver=4.12.2 +pkgver=4.5.0 pkgrel=0 pkgdesc="Backported and Experimental Type Hints for Python 3.5+" -url="https://github.com/python/typing_extensions" +url="https://github.com/python/typing/blob/master/typing_extensions/README.rst" arch="noarch" license="Python-2.0" -makedepends="py3-gpep517 py3-flit-core" -checkdepends="python3-tests" -subpackages="$pkgname-pyc" -source="https://github.com/python/typing_extensions/archive/$pkgver/typing_extensions-$pkgver.tar.gz" -builddir="$srcdir/typing_extensions-$pkgver" +depends="python3" +makedepends="py3-build py3-flit-core py3-installer py3-wheel" +checkdepends="py3-tox python3-tests" +source="https://github.com/python/typing/archive/$pkgver/typing-$pkgver.tar.gz" +builddir="$srcdir/typing-$pkgver/typing_extensions" build() { - gpep517 build-wheel \ - --wheel-dir .dist \ - --output-fd 3 3>&1 >&2 + python3 -m build --no-isolation --wheel } check() { - python3 -m venv --clear --without-pip --system-site-packages .testenv - gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl - .testenv/bin/python3 src/test_typing_extensions.py + tox --sitepackages -e py310 } package() { python3 -m installer -d "$pkgdir" \ - .dist/typing_extensions-$pkgver-py3-none-any.whl + dist/typing_extensions-$pkgver-py3-none-any.whl } -sha512sums=" -925f5936faeec2a799b42e555900fa7121fb3841f80dfbbdc931abe76b1ea6e600c5fe9b1f91dfb43ae049d60bc7ed9f12e2c25be6f9bcc7b32bbbbdda3055d6 typing_extensions-4.12.2.tar.gz -"