blob: 0b82fbde7424cf519aaf575501f6bc18c36b7ef8 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-ev
_pkgname=pyev-static
pkgver=0.9.5
pkgrel=0
pkgdesc="A Python libev interface"
url="https://pypi.org/project/pyev-static/"
arch="all"
license="GPL-3.0"
depends="python2"
makedepends="python2-dev py-setuptools libev-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python2 setup.py build
}
check() {
cd "$builddir"
python2 setup.py test
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="8f20c4821a8d4bde5c01cebaa3ec90e292460ccb4ae51af8384c3bc524c05ec291033005798926bdd27b8c7c538efff69b89178ffb05bf0540905f4b7017f422 pyev-static-0.9.5.tar.gz"
|