python-jaraco.functools: split python3 version
This commit is contained in:
parent
ba2c4766fc
commit
1fdfadd047
2 changed files with 4 additions and 17 deletions
|
@ -1,14 +1,13 @@
|
|||
# Template file for 'python-jaraco.functools'
|
||||
pkgname=python-jaraco.functools
|
||||
version=2.0
|
||||
revision=2
|
||||
revision=3
|
||||
archs=noarch
|
||||
wrksrc="jaraco.functools-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="jaraco.functools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
build_style=python2-module
|
||||
hostmakedepends="python-setuptools"
|
||||
depends="python-more-itertools python-backports.functools_lru_cache"
|
||||
short_desc="Additional functools in the spirit of Python2 stdlib's functools"
|
||||
short_desc="Functools like those found in stdlib (Python2)"
|
||||
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/jaraco/jaraco.functools"
|
||||
|
@ -19,14 +18,3 @@ checksum=35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345
|
|||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-jaraco.functools_package() {
|
||||
archs=noarch
|
||||
pycompile_module="jaraco.functools"
|
||||
depends="python3-more-itertools"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python3*"
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
python-jaraco.functools
|
Loading…
Reference in a new issue