New package: python-typing-3.5.2.2
This commit is contained in:
parent
1e7223ca8c
commit
dae34a757d
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'python-typing'
|
||||
pkgname=python-typing
|
||||
version=3.5.2.2
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="typing-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="typing.py"
|
||||
hostmakedepends="python-devel python3.4-devel"
|
||||
depends="python"
|
||||
short_desc="Backport of the typing module from Python 3.5 (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://docs.python.org/3.5/library/typing.html"
|
||||
license="PSF"
|
||||
distfiles="${PYPI_SITE}/t/typing/typing-${version}.tar.gz"
|
||||
checksum=2bce34292653af712963c877f3085250a336738e64f99048d1b8509bebc4772f
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3.4-typing_package() {
|
||||
noarch=yes
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="typing.py"
|
||||
depends="python3.4"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-typing
|
Loading…
Reference in New Issue