[arch-commits] Commit in python-py_stringmatching/repos/community-x86_64 (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Wed Jul 28 16:59:21 UTC 2021
Date: Wednesday, July 28, 2021 @ 16:59:21
Author: archange
Revision: 989024
archrelease: copy trunk to community-x86_64
Added:
python-py_stringmatching/repos/community-x86_64/PKGBUILD
(from rev 989023, python-py_stringmatching/trunk/PKGBUILD)
Deleted:
python-py_stringmatching/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-28 16:59:17 UTC (rev 989023)
+++ PKGBUILD 2021-07-28 16:59:21 UTC (rev 989024)
@@ -1,35 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=py_stringmatching
-pkgname=python-${_pkg}
-pkgver=0.4.2
-pkgrel=1
-pkgdesc="Comprehensive and scalable set of string tokenizers and similarity measures"
-arch=(x86_64)
-url="https://sites.google.com/site/anhaidgroup/projects/magellan/py_stringmatching"
-license=(BSD)
-depends=(python-numpy python-six)
-makedepends=(python-setuptools cython)
-checkdepends=(python-nose)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-#source=(https://github.com/anhaidgroup/py_stringmatching/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('c87f62698fba1612a18f8f44bd57f0c4e70aac2d7ca6dfb6ed46dabd2194453c')
-
-build() {
- cd ${_pkg}-${pkgver}
- sed -i 's|if not PIP_INSTALLED:|if False:|g' setup.py
- python setup.py build
-}
-
-# `No module named 'py_stringmatching.similarity_measure.cython.cython_affine'` even with PYTHONPATH
-#check() {
-# cd ${_pkg}-${pkgver}
-# local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-# PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version} nosetests
-#}
-
-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}
-}
Copied: python-py_stringmatching/repos/community-x86_64/PKGBUILD (from rev 989023, python-py_stringmatching/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-28 16:59:21 UTC (rev 989024)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=py_stringmatching
+pkgname=python-${_pkg}
+pkgver=0.4.2
+pkgrel=2
+pkgdesc="Comprehensive and scalable set of string tokenizers and similarity measures"
+arch=(x86_64)
+url="https://sites.google.com/site/anhaidgroup/projects/magellan/py_stringmatching"
+license=(BSD)
+depends=(python-numpy python-six)
+makedepends=(python-setuptools cython)
+checkdepends=(python-nose)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#source=(https://github.com/anhaidgroup/py_stringmatching/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('c87f62698fba1612a18f8f44bd57f0c4e70aac2d7ca6dfb6ed46dabd2194453c')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ sed -i 's|if not PIP_INSTALLED:|if False:|g' setup.py
+ python setup.py build
+}
+
+# `No module named 'py_stringmatching.similarity_measure.cython.cython_affine'` even with PYTHONPATH
+#check() {
+# cd ${_pkg}-${pkgver}
+# local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+# PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version} nosetests
+#}
+
+package() {
+ cd ${_pkg}-${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