[arch-commits] Commit in python-editdistance/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 12:17:32 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:17:31
  Author: felixonmars
Revision: 384481

archrelease: copy trunk to staging-x86_64

Added:
  python-editdistance/repos/staging-x86_64/
  python-editdistance/repos/staging-x86_64/LICENSE
    (from rev 384480, python-editdistance/trunk/LICENSE)
  python-editdistance/repos/staging-x86_64/PKGBUILD
    (from rev 384480, python-editdistance/trunk/PKGBUILD)

----------+
 LICENSE  |    7 +++++++
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

Copied: python-editdistance/repos/staging-x86_64/LICENSE (from rev 384480, python-editdistance/trunk/LICENSE)
===================================================================
--- staging-x86_64/LICENSE	                        (rev 0)
+++ staging-x86_64/LICENSE	2020-05-16 12:17:31 UTC (rev 384481)
@@ -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

Copied: python-editdistance/repos/staging-x86_64/PKGBUILD (from rev 384480, python-editdistance/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 12:17:31 UTC (rev 384481)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-editdistance
+pkgver=0.5.3
+pkgrel=3
+pkgdesc="Fast implementation of the edit distance(Levenshtein distance)"
+arch=('x86_64')
+license=('MIT')
+url="https://github.com/aflc/editdistance"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/aflc/editdistance/archive/v$pkgver.tar.gz"
+        LICENSE)
+sha512sums=('e870967383a7b6f0f6994b0c5123907da1b50e4c7ee9f3cdc958dc1ba5e92501a427dbd0d3e8a3e7f1fecc562659f3a952a47669f2037d2e4cad09654b33d31f'
+            '590232c1e7fa5aaaaa77573c4ea23533522177ca0ac07a0ce7f00e446d47467df2e19936ecb5e057fddc664d1daca39e2217cb5f6e3192ef5edf49b1f73e0f10')
+
+build() {
+  cd editdistance-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd editdistance-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+  cd editdistance-$pkgver
+  python 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