blob: 1b920a05b6f2310f1eb22d8e2b27d530886ca0b9 (
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
|
# Maintainer: Mark Vainomaa <mikroskeem@mikroskeem.eu>
pkgname=python-pulsar-git
pkgver=1.4.0.dev20160719065823
pkgrel=1
pkgdesc="Event driven concurrent framework using asyncio"
arch=("any")
url="http://pythonhosted.org/pulsar/"
license=('BSD')
depends=("python")
makedepends=("python-setuptools" "cython")
provides=("python-pulsar")
conflicts=("python-pulsar")
replaces=("python-pulsar")
source=("python-pulsar-git::git+https://github.com/quantmind/pulsar.git")
md5sums=("SKIP")
build() {
true
}
pkgver() {
cd "$pkgname"
# Build needs to be done here to get right version
python setup.py build >/dev/stderr
cat pulsar.egg-info/PKG-INFO |grep "^Version:" | awk '{print $2}'
}
package() {
cd "$pkgname"
python setup.py install --root="${pkgdir}/" --optimize=1
install -d -m 755 ${pkgdir}/usr/share/licenses/${pkgname}
install -D -m 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
# vim: ft=sh
|