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

2020-11-09 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 05:10:00
  Author: felixonmars
Revision: 749336

archrelease: copy trunk to community-staging-any

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

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

Copied: python-fuzzywuzzy/repos/community-staging-any/PKGBUILD (from rev 
749335, python-fuzzywuzzy/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-10 05:10:00 UTC (rev 749336)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+# Contributor: fenuks
+
+pkgname=python-fuzzywuzzy
+pkgver=0.18.0
+pkgrel=2
+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
+}


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

2020-10-12 Thread Felix Yan via arch-commits
Date: Monday, October 12, 2020 @ 11:13:42
  Author: felixonmars
Revision: 723600

archrelease: copy trunk to community-any

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

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

Copied: python-fuzzywuzzy/repos/community-any/PKGBUILD (from rev 723599, 
python-fuzzywuzzy/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2020-10-12 11:13:42 UTC (rev 723600)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+# Contributor: fenuks
+
+pkgname=python-fuzzywuzzy
+pkgver=0.18.0
+pkgrel=1
+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
+}