From d0681b61e403ae8b1983461ec4166dc1d8bfc018 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 03:41:41 +0200 Subject: [PATCH] python-marisa-trie: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-marisa-trie/template | 22 +++++++++++++--------- srcpkgs/python3-marisa-trie | 1 + 2 files changed, 14 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/python3-marisa-trie diff --git a/srcpkgs/python-marisa-trie/template b/srcpkgs/python-marisa-trie/template index da3dedc55a1..cb62c0fe644 100644 --- a/srcpkgs/python-marisa-trie/template +++ b/srcpkgs/python-marisa-trie/template @@ -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 " 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}" +} diff --git a/srcpkgs/python3-marisa-trie b/srcpkgs/python3-marisa-trie new file mode 120000 index 00000000000..8efb226c0fc --- /dev/null +++ b/srcpkgs/python3-marisa-trie @@ -0,0 +1 @@ +python-marisa-trie \ No newline at end of file