Date: Thursday, May 28, 2020 @ 08:07:01 Author: alucryd Revision: 636183
upgpkg: python-jellyfish 0.8.2-1 Modified: python-jellyfish/trunk/PKGBUILD ----------+ PKGBUILD | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-28 08:05:13 UTC (rev 636182) +++ PKGBUILD 2020-05-28 08:07:01 UTC (rev 636183) @@ -2,8 +2,8 @@ # Contributor: Jelle van der Waa <[email protected]> pkgname=python-jellyfish -pkgver=0.7.2 -pkgrel=3 +pkgver=0.8.2 +pkgrel=1 pkgdesc='A python library for doing approximate and phonetic matching of strings' arch=(x86_64) url='https://github.com/jamesturk/jellyfish' @@ -14,12 +14,20 @@ python-setuptools ) source=( - git+https://github.com/jamesturk/jellyfish.git#tag=${pkgver} + git+https://github.com/jamesturk/jellyfish.git#tag=a5983092df14a45ab0cf0c3a8a071a3eb66f8e9a git+https://github.com/jamesturk/cjellyfish.git ) -sha256sums=('SKIP' - 'SKIP') +sha256sums=( + SKIP + SKIP +) +pkgver() { + cd jellyfish + + git describe --tags +} + prepare() { cd jellyfish @@ -40,7 +48,7 @@ package() { cd jellyfish - python setup.py install --root="${pkgdir}" --optimize='1' --skip-build + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-jellyfish/ }
