blob: 02f6cdfa9e4e2d52bff28b884fc94afd07a3ce0d (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# SPDX-License-Identifier: AGPL-3.0
#
# Maintainer: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>
# Maintainer: Truocolo <truocolo@aol.com>
# Contributor: Bao Trinh <qubidt at gmail dot com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Sebastien Leduc <sebastien@sleduc.fr>
_py="python2"
_pkg="trollius"
pkgname="${_py}-${_pkg}"
_realname=trollius
pkgver=2.2.1
pkgrel=1
_pkgdesc=(
"Port of the Tulip project"
"(asyncio module, PEP 3156) on Python 2.7"
)
pkgdesc="${_pkgdesc[*]}"
arch=(
"any"
)
url="http://${_pkg}.readthedocs.org"
license=(
'APACHE'
)
depends=(
"${_py}"
"${_py}-futures"
"${_py}-six"
)
optdepends=(
"${_py}-unittest2: to pass ${_pkg} unit tests"
)
_pypi="https://pypi.python.org/packages/source"
source=(
"${_pypi}/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz"
)
sha512sums=(
'36ebc6a4125ec8a2f8b0093c1528f253e26725ffdeccb45bc9ddb51a4658c05b1b08fa5898e94b2008e49e65175ecb149aa9127bd8a986086b6d7e5fc95313c8'
)
build() {
cd \
"${srcdir}/${_pkg}-${pkgver}"
"${_py}" \
setup.py \
build
}
package() {
cd \
"${srcdir}/${_pkg}-${pkgver}"
"${_py}" \
setup.py \
install \
--root="${pkgdir}" \
--optimize=1 \
--skip-build
}
# vim:set sw=2 sts=-1 et:
|