New package: python-typing-3.5.2.2

This commit is contained in:
Alessio Sergi 2016-08-26 11:34:52 +02:00
parent 1e7223ca8c
commit dae34a757d
2 changed files with 34 additions and 0 deletions

View file

@ -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
}
}

1
srcpkgs/python3.4-typing Symbolic link
View file

@ -0,0 +1 @@
python-typing