Date: Tuesday, November 10, 2020 @ 08:35:13
  Author: foutrelis
Revision: 749431

archrelease: copy trunk to community-staging-any

Added:
  python-whoosh/repos/community-staging-any/
  python-whoosh/repos/community-staging-any/PKGBUILD
    (from rev 749430, python-whoosh/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-whoosh/repos/community-staging-any/PKGBUILD (from rev 749430, 
python-whoosh/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2020-11-10 08:35:13 UTC (rev 749431)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Samuel Littley <[email protected]>
+# Contributor: rnons <remotenonsense at gmail dot com>
+
+pkgname=python-whoosh
+pkgver=2.7.4
+pkgrel=6
+pkgdesc="Fast, pure-Python full text indexing, search, and spell checking 
library"
+arch=('any')
+url="https://github.com/mchaput/whoosh";
+license=("BSD")
+depends=('python')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-pytest-runner')
+source=("git+https://github.com/mchaput/whoosh#tag=v$pkgver";)
+md5sums=('SKIP')
+
+build() {
+  cd "$srcdir"/whoosh
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/whoosh
+  python setup.py ptr || echo "Tests failed"
+}
+
+package() {
+  cd whoosh
+  python setup.py install -O1 --root="$pkgdir"
+  install -D -m644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}

Reply via email to