[arch-commits] Commit in python-textdistance/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Dec 7 13:12:57 UTC 2021
Date: Tuesday, December 7, 2021 @ 13:12:57
Author: foutrelis
Revision: 1065525
Bump to fix tests
Modified:
python-textdistance/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-07 12:59:00 UTC (rev 1065524)
+++ PKGBUILD 2021-12-07 13:12:57 UTC (rev 1065525)
@@ -2,8 +2,8 @@
_pkg=textdistance
pkgname=python-${_pkg}
-pkgver=4.2.1
-pkgrel=2
+pkgver=4.2.2
+pkgrel=0
pkgdesc="Compute distance between sequences"
arch=(any)
url="https://github.com/life4/textdistance"
@@ -26,22 +26,22 @@
)
# 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=('2f475938edbef7faee50deeb000c81877e1165c29ff091b7c871dbcd0a244ca4')
+source=(${url}/archive/${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('f123ee4f9ec760609b528997bc9055e1333dc5f34de7b22ddf1af5d7aa8613c7')
build() {
- cd ${_pkg}-v.${pkgver}
+ cd ${_pkg}-${pkgver}
python setup.py build
}
check() {
- cd ${_pkg}-v.${pkgver}
+ cd ${_pkg}-${pkgver}
# Failing tests, reported by email
pytest --deselect tests/test_external.py
}
package() {
- cd ${_pkg}-v.${pkgver}
+ cd ${_pkg}-${pkgver}
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