mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
New package: python-Whoosh-2.7.4
This commit is contained in:
parent
10e727dada
commit
f57908318b
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-Whoosh/template
Normal file
32
srcpkgs/python-Whoosh/template
Normal 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
1
srcpkgs/python3-Whoosh
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-Whoosh
|
Loading…
Add table
Reference in a new issue