[arch-commits] Commit in python-jellyfish (5 files)

Maxime Gauduin alucryd at archlinux.org
Tue Jan 10 17:27:53 UTC 2017


    Date: Tuesday, January 10, 2017 @ 17:27:52
  Author: alucryd
Revision: 206610

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 community-i686/PKGBUILD   |   58 ++++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   58 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

Copied: python-jellyfish/repos/community-i686/PKGBUILD (from rev 206609, python-jellyfish/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2017-01-10 17:27:52 UTC (rev 206610)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgbase=python-jellyfish
+pkgname=('python-jellyfish' 'python2-jellyfish')
+pkgver=0.5.6
+pkgrel=1
+pkgdesc='A python library for doing approximate and phonetic matching of strings'
+arch=('i686' 'x86_64')
+url='https://github.com/jamesturk/jellyfish'
+license=('BSD')
+depends=('glibc')
+makedepends=('git' 'python-setuptools' 'python2-setuptools')
+_commit='a319d6ae04134f3c2bcd383012afab5645fba503'
+source=("python-jellyfish-${pkgver}.tar.gz::https://github.com/jamesturk/jellyfish/archive/${pkgver}.tar.gz"
+        "git+https://github.com/jamesturk/cjellyfish.git#commit=${_commit}")
+sha256sums=('2e31dddf863a360966fd997ebd60c692ad56cbdbb0a352956c0aeae6af1b07b5'
+            'SKIP')
+
+prepare() {
+  pushd jellyfish-${pkgver}
+  rm -rf cjellyfish
+  ln -s ../cjellyfish .
+  popd
+
+  mv {,python-}jellyfish-${pkgver}
+  cp -r python{,2}-jellyfish-${pkgver}
+}
+
+build() {
+  for py in python{,2}; do
+    pushd ${py}-jellyfish-${pkgver}
+    ${py} setup.py build
+    popd
+  done
+}
+
+package_python-jellyfish() {
+  depends+=('python')
+
+  cd python-jellyfish-${pkgver}
+
+  python setup.py install --root="${pkgdir}" --optimize='1'
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-jellyfish/
+}
+
+package_python2-jellyfish() {
+  depends+=('python2')
+
+  cd python2-jellyfish-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --optimize='1'
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python2-jellyfish/
+}
+# vim: ts=2 sw=2 et:

Copied: python-jellyfish/repos/community-x86_64/PKGBUILD (from rev 206609, python-jellyfish/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-01-10 17:27:52 UTC (rev 206610)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgbase=python-jellyfish
+pkgname=('python-jellyfish' 'python2-jellyfish')
+pkgver=0.5.6
+pkgrel=1
+pkgdesc='A python library for doing approximate and phonetic matching of strings'
+arch=('i686' 'x86_64')
+url='https://github.com/jamesturk/jellyfish'
+license=('BSD')
+depends=('glibc')
+makedepends=('git' 'python-setuptools' 'python2-setuptools')
+_commit='a319d6ae04134f3c2bcd383012afab5645fba503'
+source=("python-jellyfish-${pkgver}.tar.gz::https://github.com/jamesturk/jellyfish/archive/${pkgver}.tar.gz"
+        "git+https://github.com/jamesturk/cjellyfish.git#commit=${_commit}")
+sha256sums=('2e31dddf863a360966fd997ebd60c692ad56cbdbb0a352956c0aeae6af1b07b5'
+            'SKIP')
+
+prepare() {
+  pushd jellyfish-${pkgver}
+  rm -rf cjellyfish
+  ln -s ../cjellyfish .
+  popd
+
+  mv {,python-}jellyfish-${pkgver}
+  cp -r python{,2}-jellyfish-${pkgver}
+}
+
+build() {
+  for py in python{,2}; do
+    pushd ${py}-jellyfish-${pkgver}
+    ${py} setup.py build
+    popd
+  done
+}
+
+package_python-jellyfish() {
+  depends+=('python')
+
+  cd python-jellyfish-${pkgver}
+
+  python setup.py install --root="${pkgdir}" --optimize='1'
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-jellyfish/
+}
+
+package_python2-jellyfish() {
+  depends+=('python2')
+
+  cd python2-jellyfish-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --optimize='1'
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python2-jellyfish/
+}
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list