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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 15:49:07 UTC 2019


    Date: Friday, October 25, 2019 @ 15:49:06
  Author: felixonmars
Revision: 519210

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 519209, python-jellyfish/trunk/PKGBUILD)

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

Copied: python-jellyfish/repos/community-staging-x86_64/PKGBUILD (from rev 519209, python-jellyfish/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-10-25 15:49:06 UTC (rev 519210)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-jellyfish
+pkgver=0.7.2
+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
+)
+source=(
+  git+https://github.com/jamesturk/jellyfish.git#tag=${pkgver}
+  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
+
+}
+
+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