[arch-commits] Commit in python-jarowinkler/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Aug 31 16:59:42 UTC 2022
Date: Wednesday, August 31, 2022 @ 16:59:42
Author: arojas
Revision: 1289175
archrelease: copy trunk to community-x86_64
Added:
python-jarowinkler/repos/community-x86_64/PKGBUILD
(from rev 1289174, python-jarowinkler/trunk/PKGBUILD)
Deleted:
python-jarowinkler/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-31 16:59:33 UTC (rev 1289174)
+++ PKGBUILD 2022-08-31 16:59:42 UTC (rev 1289175)
@@ -1,36 +0,0 @@
-# Maintainer:
-# Contributor: Pekka Ristola <pekkarr [at] protonmail [dot] com>
-
-_name=jarowinkler
-pkgname=python-$_name
-pkgver=1.2.0
-pkgrel=2
-pkgdesc='A library for fast approximate string matching using Jaro and Jaro-Winkler similarity'
-arch=(x86_64)
-url='https://github.com/maxbachmann/JaroWinkler'
-license=(MIT)
-depends=(python)
-#makedepends=(jarowinkler-cpp python-rapidfuzz-capi python-scikit-build)
-makedepends=(python-build python-installer python-setuptools python-scikit-build python-rapidfuzz-capi ninja)
-checkdepends=(python-hypothesis python-pytest)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('7118976b9c1dca4ad77c97a0595d3917cead5f9b2856b14948a3bcf5f2438c44')
-
-build() {
- cd $_name-$pkgver
- JAROWINKLER_BUILD_EXTENSION=1 \
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- python -m venv --system-site-packages test-env
- test-env/bin/python -m installer dist/*.whl
- test-env/bin/python -m pytest
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-}
Copied: python-jarowinkler/repos/community-x86_64/PKGBUILD (from rev 1289174, python-jarowinkler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-31 16:59:42 UTC (rev 1289175)
@@ -0,0 +1,36 @@
+# Maintainer:
+# Contributor: Pekka Ristola <pekkarr [at] protonmail [dot] com>
+
+_name=jarowinkler
+pkgname=python-$_name
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='A library for fast approximate string matching using Jaro and Jaro-Winkler similarity'
+arch=(x86_64)
+url='https://github.com/maxbachmann/JaroWinkler'
+license=(MIT)
+depends=(python)
+#makedepends=(jarowinkler-cpp python-rapidfuzz-capi python-scikit-build)
+makedepends=(python-build python-installer python-setuptools python-scikit-build python-rapidfuzz-capi ninja)
+checkdepends=(python-hypothesis python-pytest)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('206364a885ce296f7f79c669734317f2741f6bbd964907e49e3b9ea0e9de5029')
+
+build() {
+ cd $_name-$pkgver
+ JAROWINKLER_BUILD_EXTENSION=1 \
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python -m pytest
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
More information about the arch-commits
mailing list