mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-02 04:11:33 +02:00
33 lines
867 B
Plaintext
33 lines
867 B
Plaintext
# 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"
|