blob: e648d0736ba12f3e9814da280226b088df2069d9 (
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: robertfoster
_name=timeout-decorator
pkgname=python-${_name}
pkgver=0.5.0
pkgrel=3
pkgdesc="Timeout decorator for Python"
arch=('i686' 'x86_64' 'armv6')
depends=('python')
makedepends=('python-setuptools')
url="https://github.com/pnpnpn/timeout-decorator"
license=('MIT')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/t/${_name}/${_name}-$pkgver.tar.gz")
build() {
cd "$srcdir/${pkgname#python-}-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/${pkgname#python-}-$pkgver"
python setup.py install \
--root="$pkgdir" \
--optimize=1
}
md5sums=('8545649e70b3ca43bcff11f08a996c3e')
|