New package: python-h11-0.6.0
This commit is contained in:
parent
b436cbc30b
commit
3add4761e6
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-h11/template
Normal file
30
srcpkgs/python-h11/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'python-h11'
|
||||||
|
pkgname=python-h11
|
||||||
|
version=0.6.0
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc=h11-${version}
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="h11"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Bring-your-own-I/O implementation of HTTP/1.1 (Python2)"
|
||||||
|
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/python-hyper/h11"
|
||||||
|
distfiles="https://github.com/python-hyper/h11/archive/v${version}.tar.gz"
|
||||||
|
checksum=44a3b5c6ca6b3f7d7adc91a85052fb8feb92bbc64e819db2e0233f5672e79534
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-h11_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="h11"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/python3*"
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-h11
Symbolic link
1
srcpkgs/python3-h11
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-h11
|
Loading…
Add table
Add a link
Reference in a new issue