[arch-commits] Commit in python-textdistance/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Thu Jul 29 01:10:35 UTC 2021
Date: Thursday, July 29, 2021 @ 01:10:34
Author: archange
Revision: 989721
upgpkg: python-textdistance 4.2.1-1
Modified:
python-textdistance/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-29 00:52:42 UTC (rev 989720)
+++ PKGBUILD 2021-07-29 01:10:34 UTC (rev 989721)
@@ -2,7 +2,7 @@
_pkg=textdistance
pkgname=python-${_pkg}
-pkgver=4.2.0
+pkgver=4.2.1
pkgrel=1
pkgdesc="Compute distance between sequences"
arch=(any)
@@ -27,7 +27,7 @@
# PyPi tarballs do not have the tests
#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
source=(${url}/archive/v.${pkgver}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('b2c9865b47a4c83e461337bcd9f038d8c202af18987d531be8a6ea5abc62b25e')
+sha256sums=('2f475938edbef7faee50deeb000c81877e1165c29ff091b7c871dbcd0a244ca4')
build() {
cd ${_pkg}-v.${pkgver}
@@ -36,12 +36,13 @@
check() {
cd ${_pkg}-v.${pkgver}
- # Failing tests, nowhere to report them…
+ # Failing tests, reported by email
pytest --deselect tests/test_external.py
}
package() {
cd ${_pkg}-v.${pkgver}
+ export PYTHONHASHSEED=0
python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
}
More information about the arch-commits
mailing list