mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
31 lines
913 B
Text
31 lines
913 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-timeout-decorator
|
|
pkgver=0.5.0
|
|
pkgrel=2
|
|
pkgdesc="Timeout decorator"
|
|
url="https://github.com/pnpnpn/timeout-decorator"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://pypi.python.org/packages/source/t/timeout-decorator/timeout-decorator-$pkgver.tar.gz"
|
|
# No tests in Pypi package and no proper git tags to use
|
|
# https://github.com/pnpnpn/timeout-decorator/issues/60
|
|
options="!check"
|
|
builddir="$srcdir/timeout-decorator-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="ee6d47a27ad3ed7921bc5b98391c4f933e247dc3834c9571248bf2a3b0237acaad88daa8b071eb8d443f74c792318b5be5bb9fad99fa99df682198f90cd86b1b timeout-decorator-0.5.0.tar.gz"
|