[arch-commits] Commit in python-textdistance/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Thu Jul 29 01:10:39 UTC 2021
Date: Thursday, July 29, 2021 @ 01:10:39
Author: archange
Revision: 989722
archrelease: copy trunk to community-any
Added:
python-textdistance/repos/community-any/PKGBUILD
(from rev 989721, python-textdistance/trunk/PKGBUILD)
Deleted:
python-textdistance/repos/community-any/PKGBUILD
----------+
PKGBUILD | 95 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-29 01:10:34 UTC (rev 989721)
+++ PKGBUILD 2021-07-29 01:10:39 UTC (rev 989722)
@@ -1,47 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=textdistance
-pkgname=python-${_pkg}
-pkgver=4.2.0
-pkgrel=1
-pkgdesc="Compute distance between sequences"
-arch=(any)
-url="https://github.com/life4/textdistance"
-license=(MIT)
-depends=(
- python-abydos
- python-jellyfish
- python-numpy
- python-levenshtein
- python-pyxdameraulevenshtein
-)
-makedepends=(python-setuptools)
-checkdepends=(
- python-pytest
- python-hypothesis
- python-isort
- python-pylev
- python-py_stringmatching
- python-tabulate
-)
-# 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')
-
-build() {
- cd ${_pkg}-v.${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-v.${pkgver}
- # Failing tests, nowhere to report them…
- pytest --deselect tests/test_external.py
-}
-
-package() {
- cd ${_pkg}-v.${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-textdistance/repos/community-any/PKGBUILD (from rev 989721, python-textdistance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-29 01:10:39 UTC (rev 989722)
@@ -0,0 +1,48 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=textdistance
+pkgname=python-${_pkg}
+pkgver=4.2.1
+pkgrel=1
+pkgdesc="Compute distance between sequences"
+arch=(any)
+url="https://github.com/life4/textdistance"
+license=(MIT)
+depends=(
+ python-abydos
+ python-jellyfish
+ python-numpy
+ python-levenshtein
+ python-pyxdameraulevenshtein
+)
+makedepends=(python-setuptools)
+checkdepends=(
+ python-pytest
+ python-hypothesis
+ python-isort
+ python-pylev
+ python-py_stringmatching
+ python-tabulate
+)
+# 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')
+
+build() {
+ cd ${_pkg}-v.${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-v.${pkgver}
+ # 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