parent
d0a8d77d45
commit
44828e2610
1 changed files with 26 additions and 0 deletions
26
srcpkgs/python3-uvloop/template
Normal file
26
srcpkgs/python3-uvloop/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'python3-uvloop'
|
||||||
|
pkgname=python3-uvloop
|
||||||
|
version=0.14.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3 python3-setuptools python3-Cython"
|
||||||
|
makedepends="libuv-devel python3-devel"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="Fast replacement for Python asyncio event loop"
|
||||||
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
|
license="Apache-2.0, MIT"
|
||||||
|
homepage="https://github.com/MagicStack/uvloop"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=29738dd376afd33fbaebbb5c129385cbfe08c04ca7d2c187be60334233935d6a
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
cat <<-EOF >> setup.cfg
|
||||||
|
[build_ext]
|
||||||
|
use-system-libuv=1
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE-MIT
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue