New package: python-Whoosh-2.7.4

This commit is contained in:
bra1nwave 2018-07-09 22:15:14 +02:00 committed by maxice8
parent 10e727dada
commit f57908318b
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Template file for 'python-whoosh'
pkgname=python-Whoosh
version=2.7.4
revision=1
wrksrc="Whoosh-${version}"
noarch=yes
build_style=python-module
pycompile_module="whoosh"
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python"
short_desc="Full-text indexing and searching library (Python2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="BSD-2-Clause"
homepage="https://bitbucket.org/mchaput/whoosh/wiki/Home"
distfiles="${PYPI_SITE}/W/Whoosh/Whoosh-${version}.tar.gz"
checksum=7ca5633dbfa9e0e0fa400d3151a8a0c4bec53bd2ecedc0a67705b17565c31a83
post_install() {
vlicense LICENSE.txt LICENSE
}
python3-Whoosh_package() {
short_desc="${short_desc/Python2/Python3}"
pycompile_module="whoosh"
noarch=yes
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE
}
}

1
srcpkgs/python3-Whoosh Symbolic link
View file

@ -0,0 +1 @@
python-Whoosh