diff options
| author | Britney Fransen <brfransen@gmail.com> | 2026-01-11 16:46:48 (GMT) |
|---|---|---|
| committer | Britney Fransen <brfransen@gmail.com> | 2026-01-11 16:46:48 (GMT) |
| commit | 5c6bba1948971872c0f7d5ee00cd1889dfbc28b6 (patch) | |
| tree | eaedd6e4f8412ae5df4dc1941b38ea14897244fe /linhes/python-timeout-decorator | |
| parent | 33413f42636aeffc1bf71d1f2eaee035fe432f18 (diff) | |
| download | linhes_pkgbuild-5c6bba1948971872c0f7d5ee00cd1889dfbc28b6.zip linhes_pkgbuild-5c6bba1948971872c0f7d5ee00cd1889dfbc28b6.tar.gz linhes_pkgbuild-5c6bba1948971872c0f7d5ee00cd1889dfbc28b6.tar.bz2 | |
python-timeout-decorator: initial inclusion
Diffstat (limited to 'linhes/python-timeout-decorator')
| -rw-r--r-- | linhes/python-timeout-decorator/PKGBUILD | 14 |
1 files 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') |
