summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c075a991d6b8432f306fa35a286f95fc8bb0a1e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Gonçalo Pereira <goncalo_pereira@outlook.pt>
pkgname=python-wrapt-timeout-decorator
_name=${pkgname#python-}
pkgver=1.0.1
pkgrel=1
pkgdesc="Powerful Timeout Decorator that can be used safely on classes, methods, class methods"
url="https://github.com/bitranox/wrapt_timeout_decorator"
depends=(
    'python'
    'python-cli_exit_tools'
    'python-python-lib-detect-testenv'
    'python-multiprocess'
    'python-psutil'
    'python-wrapt'
)
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('0b0f1a0d608c51f24cbcba3fd93226ae84029450328957be4245530177a610c9')

build() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py build
}

package() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py install --root="$pkgdir" --optimize=1
}