[arch-commits] Commit in python-textdistance/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Dec 7 13:14:07 UTC 2021
Date: Tuesday, December 7, 2021 @ 13:14:07
Author: felixonmars
Revision: 1065529
archrelease: copy trunk to community-staging-any
Added:
python-textdistance/repos/community-staging-any/PKGBUILD
(from rev 1065527, python-textdistance/trunk/PKGBUILD)
Deleted:
python-textdistance/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-07 13:14:06 UTC (rev 1065528)
+++ PKGBUILD 2021-12-07 13:14:07 UTC (rev 1065529)
@@ -1,47 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=textdistance
-pkgname=python-${_pkg}
-pkgver=4.2.1
-pkgrel=2
-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}
- 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-staging-any/PKGBUILD (from rev 1065527, python-textdistance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-07 13:14:07 UTC (rev 1065529)
@@ -0,0 +1,47 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=textdistance
+pkgname=python-${_pkg}
+pkgver=4.2.2
+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/${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('f123ee4f9ec760609b528997bc9055e1333dc5f34de7b22ddf1af5d7aa8613c7')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ # Failing tests, reported by email
+ pytest --deselect tests/test_external.py
+}
+
+package() {
+ 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