python-typing: remove python3 flavor; we use Python 3.5 now.
This commit is contained in:
parent
cf6f41b342
commit
ee49e377ec
3 changed files with 4 additions and 24 deletions
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'python-typing'
|
||||
pkgname=python-typing
|
||||
version=3.5.2.2
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="typing-${version}"
|
||||
build_style=python-module
|
||||
build_style=python2-module
|
||||
pycompile_module="typing.py"
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
hostmakedepends="python-devel"
|
||||
depends="python"
|
||||
short_desc="Backport of the typing module from Python 3.5 (Python2)"
|
||||
short_desc="Backport of the typing module from Python 3.5"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://docs.python.org/3.5/library/typing.html"
|
||||
license="PSF"
|
||||
|
@ -18,21 +18,3 @@ checksum=2bce34292653af712963c877f3085250a336738e64f99048d1b8509bebc4772f
|
|||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-typing_package() {
|
||||
noarch=yes
|
||||
pycompile_module="typing.py"
|
||||
replaces="python3.4-typing>=0"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
python3.4-typing_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-typing>=${version}_${revision}"
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
python-typing
|
|
@ -1 +0,0 @@
|
|||
python-typing
|
Loading…
Reference in a new issue