mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python-jellyfish: update to 0.6.1
Use PyPI tarball that comes with submodules included.
This commit is contained in:
parent
ae222560bd
commit
b37852d851
1 changed files with 8 additions and 14 deletions
|
@ -1,34 +1,28 @@
|
||||||
# Template file for 'python-jellyfish'
|
# Template file for 'python-jellyfish'
|
||||||
pkgname=python-jellyfish
|
pkgname=python-jellyfish
|
||||||
version=0.5.6
|
version=0.6.1
|
||||||
revision=3
|
revision=1
|
||||||
_cjellyfish_ref=a319d6ae04134f3c2bcd383012afab5645fba503
|
|
||||||
create_wrksrc=yes
|
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_wrksrc="${pkgname#*-}-${version}"
|
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="jellyfish"
|
pycompile_module="jellyfish"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
makedepends="python-devel python3-devel"
|
makedepends="python-devel python3-devel"
|
||||||
depends="python"
|
|
||||||
short_desc="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-2-Clause"
|
||||||
homepage="https://github.com/sunlightlabs/jellyfish"
|
homepage="https://github.com/sunlightlabs/jellyfish"
|
||||||
distfiles="https://github.com/sunlightlabs/${pkgname#*-}/archive/${version}.tar.gz
|
distfiles="${PYPI_SITE}/j/jellyfish/jellyfish-${version}.tar.gz"
|
||||||
https://github.com/jamesturk/cjellyfish/archive/${_cjellyfish_ref}.tar.gz"
|
checksum=5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094
|
||||||
checksum="2e31dddf863a360966fd997ebd60c692ad56cbdbb0a352956c0aeae6af1b07b5
|
|
||||||
11a2944fdccd617f28a93c78e47e3df869f6ecd2ca88fcbe28ea5657b3fab615"
|
|
||||||
|
|
||||||
post_extract() {
|
post_install() {
|
||||||
mv ${wrksrc}/cjellyfish-${_cjellyfish_ref}/* ${wrksrc}/${build_wrksrc}/cjellyfish
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-jellyfish_package() {
|
python3-jellyfish_package() {
|
||||||
depends="python3"
|
|
||||||
pycompile_module="jellyfish"
|
pycompile_module="jellyfish"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue