python-jellyfish: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
e65a8dee80
commit
e467dc6dcb
2 changed files with 14 additions and 10 deletions
|
@ -1,18 +1,17 @@
|
||||||
# Template file for 'python-jellyfish'
|
# Template file for 'python-jellyfish'
|
||||||
pkgname=python-jellyfish
|
pkgname=python-jellyfish
|
||||||
version=0.5.6
|
version=0.5.6
|
||||||
revision=1
|
revision=2
|
||||||
_cjellyfish_ref=a319d6ae04134f3c2bcd383012afab5645fba503
|
_cjellyfish_ref=a319d6ae04134f3c2bcd383012afab5645fba503
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_wrksrc="${pkgname#*-}-${version}"
|
build_wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="jellyfish"
|
pycompile_module="jellyfish"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
makedepends="python-devel python3.4-devel"
|
makedepends="python-devel python3-devel"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="A Python2 library for approximate and phonetic matching of strings"
|
short_desc="Python2 library for approximate and phonetic matching of strings"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="https://github.com/sunlightlabs/jellyfish"
|
homepage="https://github.com/sunlightlabs/jellyfish"
|
||||||
|
@ -25,13 +24,17 @@ post_extract() {
|
||||||
mv ${wrksrc}/cjellyfish-${_cjellyfish_ref}/* ${wrksrc}/${build_wrksrc}/cjellyfish
|
mv ${wrksrc}/cjellyfish-${_cjellyfish_ref}/* ${wrksrc}/${build_wrksrc}/cjellyfish
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-jellyfish_package() {
|
python3-jellyfish_package() {
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
replaces="python3.4-jellyfish>=0"
|
replaces="python3.4-jellyfish>=0"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="jellyfish"
|
pycompile_module="jellyfish"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-jellyfish_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-jellyfish>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-jellyfish
Symbolic link
1
srcpkgs/python3-jellyfish
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jellyfish
|
Loading…
Add table
Add a link
Reference in a new issue