python-marisa-trie: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
cdbae76828
commit
d0681b61e4
2 changed files with 14 additions and 9 deletions
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'python-marisa-trie'
|
||||
pkgname=python-marisa-trie
|
||||
version=0.7.2
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="marisa-trie-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
short_desc="Static memory-efficient Trie-like structures (Python 2)"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
short_desc="Static memory-efficient Trie-like structures (Python2)"
|
||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/kmike/marisa-trie"
|
||||
|
@ -18,11 +17,16 @@ post_install() {
|
|||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3.4-marisa-trie_package() {
|
||||
pycompile_version="3.4"
|
||||
short_desc="${short_desc/Python 2/Python 3.4}"
|
||||
python3-marisa-trie_package() {
|
||||
replaces="python3.4-marisa-trie>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
python3.4-marisa-trie_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-marisa-trie>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-marisa-trie
Symbolic link
1
srcpkgs/python3-marisa-trie
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-marisa-trie
|
Loading…
Add table
Reference in a new issue