[arch-commits] Commit in python-jellyfish/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 15:45:45 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:45:45
  Author: foutrelis
Revision: 1142517

archrelease: copy trunk to community-staging-x86_64

Added:
  python-jellyfish/repos/community-staging-x86_64/
  python-jellyfish/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142515, python-jellyfish/trunk/PKGBUILD)

----------+
 PKGBUILD |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

Copied: python-jellyfish/repos/community-staging-x86_64/PKGBUILD (from rev 1142515, python-jellyfish/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 15:45:45 UTC (rev 1142517)
@@ -0,0 +1,55 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-jellyfish
+pkgver=0.9.0
+pkgrel=2
+pkgdesc='A python library for doing approximate and phonetic matching of strings'
+arch=(x86_64)
+url='https://github.com/jamesturk/jellyfish'
+license=(BSD)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+_tag=4809892a28a0e96f6af982a6e119dca6e4994fb8
+source=(
+  git+https://github.com/jamesturk/jellyfish.git#tag=${_tag}
+  git+https://github.com/jamesturk/cjellyfish.git
+)
+sha256sums=(
+  SKIP
+  SKIP
+)
+
+prepare() {
+  cd jellyfish
+
+  for submodule in cjellyfish; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../${submodule}
+    git submodule update ${submodule}
+  done
+}
+
+pkgver() {
+  cd jellyfish
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd jellyfish
+
+  python setup.py build
+}
+
+package() {
+  cd jellyfish
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-jellyfish/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list