[arch-commits] Commit in python-fuzzywuzzy/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:07 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:22:07
  Author: felixonmars
Revision: 1058122

archrelease: copy trunk to community-staging-any

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

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

Copied: python-fuzzywuzzy/repos/community-staging-any/PKGBUILD (from rev 1058120, python-fuzzywuzzy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:22:07 UTC (rev 1058122)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: fenuks
+
+pkgname=python-fuzzywuzzy
+pkgver=0.18.0
+pkgrel=4
+pkgdesc="Fuzzy string matching like a boss"
+arch=("any")
+url="https://pypi.python.org/pypi/fuzzywuzzy"
+license=('GPL2')
+depends=('python')
+optdepends=('python-levenshtein: provides a 4-10x speedup in string matching')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-hypothesis' 'python-levenshtein' 'python-pycodestyle')
+source=("https://github.com/seatgeek/fuzzywuzzy/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('26795bd6c319a8c789d62ecbe95e29a97711f0176d3beea04ce510981095f696')
+
+build() {
+  cd fuzzywuzzy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd fuzzywuzzy-$pkgver
+  # https://github.com/seatgeek/fuzzywuzzy/issues/284
+  pytest --deselect test_fuzzywuzzy_pytest.py::test_process_warning
+}
+
+package() {
+  cd fuzzywuzzy-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}



More information about the arch-commits mailing list