From b2d60e28b4ee53846e1833a8bdfb5f4fb601bad6 Mon Sep 17 00:00:00 2001 From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org> Date: Thu, 30 Nov 2023 03:18:09 +0000 Subject: [PATCH] community/py3-tornado: upgrade to 6.4 & use gpep517 packaging also, switch project URL to HTTPS --- community/py3-tornado/APKBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/community/py3-tornado/APKBUILD b/community/py3-tornado/APKBUILD index fa69c3109b3..6c4a667da33 100644 --- a/community/py3-tornado/APKBUILD +++ b/community/py3-tornado/APKBUILD @@ -1,15 +1,15 @@ # Maintainer: Michael M pkgname=py3-tornado _pkgname=tornado -pkgver=6.3.3 +pkgver=6.4 pkgrel=0 pkgdesc="Python3 web framework and asynchronous networking library" options="!check" # 3 Tests fail by failure to resolve 'localhost' -url="http://www.tornadoweb.org/" +url="https://www.tornadoweb.org/" arch="all" license="Apache-2.0" depends="python3" -makedepends="python3-dev py3-setuptools" +makedepends="python3-dev py3-gpep517 py3-setuptools py3-wheel" checkdepends="py3-curl py3-mock py3-twisted" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -21,7 +21,9 @@ provides="py-tornado=$pkgver-r$pkgrel" # Backwards compatibility export TORNADO_EXTENSION=1 build() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } check() { @@ -31,10 +33,10 @@ check() { } package() { - python3 setup.py install --skip-build --root="$pkgdir" + python3 -m installer -d "$pkgdir" .dist/*.whl rm -rf "$pkgdir"/usr/lib/python3*/site-packages/$_pkgname/test } sha512sums=" -3d4b0f933f09b8f8d5de5f93662de73d97a0ed98f5b56e0810d803d537092c74e89315dc9aaa0af85f91e18eca64cf429f6f73bce29523ce56738398fa24a597 tornado-6.3.3.tar.gz +c063509d4c385e410c63cccdc1e9c66aa2bb739473667ede56cb801b7379b910c8059dec831d609109f3076222b588b257afd960dffa422d7a872867dcdda7c7 tornado-6.4.tar.gz "