[arch-commits] Commit in python-editdistance/repos/extra-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Sun May 20 17:42:58 UTC 2018
Date: Sunday, May 20, 2018 @ 17:42:57
Author: felixonmars
Revision: 324631
archrelease: copy trunk to extra-x86_64
Added:
python-editdistance/repos/extra-x86_64/LICENSE
(from rev 324630, python-editdistance/trunk/LICENSE)
python-editdistance/repos/extra-x86_64/PKGBUILD
(from rev 324630, python-editdistance/trunk/PKGBUILD)
Deleted:
python-editdistance/repos/extra-x86_64/LICENSE
python-editdistance/repos/extra-x86_64/PKGBUILD
----------+
LICENSE | 14 ++++-----
PKGBUILD | 93 ++++++++++++++++++++++++++++++-------------------------------
2 files changed, 53 insertions(+), 54 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2018-05-20 17:42:36 UTC (rev 324630)
+++ LICENSE 2018-05-20 17:42:57 UTC (rev 324631)
@@ -1,7 +0,0 @@
-Copyright (c) 2013 Hiroyuki Tanaka
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
Copied: python-editdistance/repos/extra-x86_64/LICENSE (from rev 324630, python-editdistance/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2018-05-20 17:42:57 UTC (rev 324631)
@@ -0,0 +1,7 @@
+Copyright (c) 2013 Hiroyuki Tanaka
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-20 17:42:36 UTC (rev 324630)
+++ PKGBUILD 2018-05-20 17:42:57 UTC (rev 324631)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-editdistance
-pkgname=('python-editdistance' 'python2-editdistance')
-pkgver=0.3.1
-_commit=3ea84a7dd3258c76aa3be851ef3d50e59c886846
-pkgrel=1
-pkgdesc="Fast implementation of the edit distance(Levenshtein distance)"
-arch=('i686' 'x86_64')
-license=('MIT')
-url="https://github.com/aflc/editdistance"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/aflc/editdistance.git#commit=$_commit"
- LICENSE)
-sha512sums=('SKIP'
- '590232c1e7fa5aaaaa77573c4ea23533522177ca0ac07a0ce7f00e446d47467df2e19936ecb5e057fddc664d1daca39e2217cb5f6e3192ef5edf49b1f73e0f10')
-
-prepare() {
- cp -a editdistance{,-py2}
-
- export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
- cd "$srcdir"/editdistance
- python setup.py build
-
- cd "$srcdir"/editdistance-py2
- python2 setup.py build
-}
-
-package_python-editdistance() {
- depends=('python')
-
- cd editdistance
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-editdistance() {
- depends=('python2')
-
- cd editdistance-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-editdistance/repos/extra-x86_64/PKGBUILD (from rev 324630, python-editdistance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-20 17:42:57 UTC (rev 324631)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-editdistance
+pkgname=('python-editdistance' 'python2-editdistance')
+pkgver=0.4
+pkgrel=1
+pkgdesc="Fast implementation of the edit distance(Levenshtein distance)"
+arch=('x86_64')
+license=('MIT')
+url="https://github.com/aflc/editdistance"
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/aflc/editdistance/archive/v$pkgver.tar.gz"
+ LICENSE)
+sha512sums=('8487d5aa2c516e4ee0aea2a63670ebd512cd443eb48c1ca99a7fe334518c0731c33ddb97ce158f5afe665a739d69c86bc247c49ad2489839cc60566385aeaf5d'
+ '590232c1e7fa5aaaaa77573c4ea23533522177ca0ac07a0ce7f00e446d47467df2e19936ecb5e057fddc664d1daca39e2217cb5f6e3192ef5edf49b1f73e0f10')
+
+prepare() {
+ cp -a editdistance-$pkgver{,-py2}
+
+ export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+ cd "$srcdir"/editdistance-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/editdistance-$pkgver-py2
+ python2 setup.py build
+}
+
+package_python-editdistance() {
+ depends=('python')
+
+ cd editdistance-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-editdistance() {
+ depends=('python2')
+
+ cd editdistance-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list