From f57908318b50e7c0afef451a512503fb553ce08d Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Mon, 9 Jul 2018 22:15:14 +0200 Subject: [PATCH] New package: python-Whoosh-2.7.4 --- srcpkgs/python-Whoosh/template | 32 ++++++++++++++++++++++++++++++++ srcpkgs/python3-Whoosh | 1 + 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/python-Whoosh/template create mode 120000 srcpkgs/python3-Whoosh diff --git a/srcpkgs/python-Whoosh/template b/srcpkgs/python-Whoosh/template new file mode 100644 index 00000000000..9c9bcf0dfad --- /dev/null +++ b/srcpkgs/python-Whoosh/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-Whoosh b/srcpkgs/python3-Whoosh new file mode 120000 index 00000000000..1d62914385c --- /dev/null +++ b/srcpkgs/python3-Whoosh @@ -0,0 +1 @@ +python-Whoosh \ No newline at end of file