[arch-commits] Commit in python-jellyfish/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Jan 14 10:46:49 UTC 2019
Date: Monday, January 14, 2019 @ 10:46:49
Author: alucryd
Revision: 423058
upgpkg: python-jellyfish 0.7.1-1
Modified:
python-jellyfish/trunk/PKGBUILD
----------+
PKGBUILD | 42 +++++++++++++++++++++++++++++++-----------
1 file changed, 31 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-14 09:20:31 UTC (rev 423057)
+++ PKGBUILD 2019-01-14 10:46:49 UTC (rev 423058)
@@ -1,26 +1,46 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jelle van der Waa <jelle at archlinux.org>
pkgname=python-jellyfish
-pkgver=0.6.1
-pkgrel=2
+pkgver=0.7.1
+pkgrel=1
pkgdesc='A python library for doing approximate and phonetic matching of strings'
-arch=('x86_64')
+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')
+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-${pkgver}
+ cd jellyfish
python setup.py build
}
package() {
- cd jellyfish-${pkgver}
+ cd jellyfish
python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-jellyfish/
More information about the arch-commits
mailing list