29 lines
888 B
Bash
29 lines
888 B
Bash
# Template file for 'python-jellyfish'
|
|
pkgname=python-jellyfish
|
|
version=0.5.1
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
pycompile_module="jellyfish"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python"
|
|
short_desc="A Python2 library for approximate and phonetic matching of strings"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="BSD"
|
|
homepage="https://github.com/sunlightlabs/jellyfish"
|
|
distfiles="https://github.com/sunlightlabs/${pkgname#*-}/archive/${version}.tar.gz"
|
|
checksum=c4d25c35512f7cdfc44557cc8348f3462248ce92972f45a3974f328df0bfdcf2
|
|
|
|
python3.4-jellyfish_package() {
|
|
noarch=yes
|
|
depends="python3.4"
|
|
replaces="python3.4-jellyfish>=0"
|
|
pycompile_version="3.4"
|
|
pycompile_module="jellyfish"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|