From 5c6bba1948971872c0f7d5ee00cd1889dfbc28b6 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 11 Jan 2026 11:46:48 -0500 Subject: python-timeout-decorator: initial inclusion --- linhes/python-timeout-decorator/PKGBUILD | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/linhes/python-timeout-decorator/PKGBUILD b/linhes/python-timeout-decorator/PKGBUILD index 38a8e78..2f38af5 100644 --- a/linhes/python-timeout-decorator/PKGBUILD +++ b/linhes/python-timeout-decorator/PKGBUILD @@ -3,11 +3,11 @@ _name=timeout-decorator pkgname=python-${_name} pkgver=0.5.0 -pkgrel=4 +pkgrel=2 pkgdesc="Timeout decorator for Python" -arch=('i686' 'x86_64' 'armv6') +arch=('any') depends=('python') -makedepends=('python-setuptools') +makedepends=(python-build python-installer python-setuptools python-wheel) url="https://github.com/pnpnpn/timeout-decorator" license=('MIT') options=(!emptydirs) @@ -16,15 +16,13 @@ source=("https://files.pythonhosted.org/packages/source/t/${_name}/${_name}-$pkg build() { cd "$srcdir/${pkgname#python-}-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$srcdir/${pkgname#python-}-$pkgver" - python setup.py install \ - --root="$pkgdir" \ - --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } -md5sums=('8545649e70b3ca43bcff11f08a996c3e') +sha256sums=('6a2f2f58db1c5b24a2cc79de6345760377ad8bdc13813f5265f6c3e63d16b3d7') -- cgit v0.12