python-Whoosh: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:33:25 +07:00
parent dc90f1fa68
commit 5430556a8d
3 changed files with 19 additions and 33 deletions

View File

@ -1,32 +0,0 @@
# Template file for 'python-whoosh'
pkgname=python-Whoosh
version=2.7.4
revision=2
wrksrc="Whoosh-${version}"
archs=noarch
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"
archs=noarch
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE
}
}

View File

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

View File

@ -0,0 +1,19 @@
# Template file for 'python3-Whoosh'
pkgname=python3-Whoosh
version=2.7.4
revision=3
wrksrc="Whoosh-${version}"
build_style=python3-module
hostmakedepends="python3-devel python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Full-text indexing and searching library (Python3)"
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
}