[arch-commits] Commit in python-jellyfish/repos/community-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Thu Jun 28 13:00:43 UTC 2018


    Date: Thursday, June 28, 2018 @ 13:00:42
  Author: alucryd
Revision: 346710

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++-----------------------------------------
 1 file changed, 30 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-28 13:00:35 UTC (rev 346709)
+++ PKGBUILD	2018-06-28 13:00:42 UTC (rev 346710)
@@ -1,58 +0,0 @@
-# $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.6.0
-pkgrel=1
-pkgdesc='A python library for doing approximate and phonetic matching of strings'
-arch=('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=('3432bec1cddc3d69c993968eb034f350314e3a9e0bbfadfa4ecde0ab8748856c'
-            '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 346709, python-jellyfish/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-28 13:00:42 UTC (rev 346710)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-jellyfish
+pkgver=0.6.1
+pkgrel=1
+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=('python-setuptools')
+source=("https://pypi.python.org/packages/source/j/jellyfish/jellyfish-0.6.1.tar.gz")
+sha256sums=('5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094')
+
+build() {
+  cd jellyfish-${pkgver}
+
+  python setup.py build
+}
+
+package() {
+  cd jellyfish-${pkgver}
+
+  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