[arch-commits] Commit in python-editdistance/repos/extra-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Mar 17 10:40:47 UTC 2019
Date: Sunday, March 17, 2019 @ 10:40:45
Author: felixonmars
Revision: 348543
archrelease: copy trunk to extra-x86_64
Added:
python-editdistance/repos/extra-x86_64/LICENSE
(from rev 348542, python-editdistance/trunk/LICENSE)
python-editdistance/repos/extra-x86_64/PKGBUILD
(from rev 348542, python-editdistance/trunk/PKGBUILD)
Deleted:
python-editdistance/repos/extra-x86_64/LICENSE
python-editdistance/repos/extra-x86_64/PKGBUILD
----------+
LICENSE | 14 +++++------
PKGBUILD | 76 +++++++++++++++++++++++++------------------------------------
2 files changed, 39 insertions(+), 51 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2019-03-17 10:40:26 UTC (rev 348542)
+++ LICENSE 2019-03-17 10:40:45 UTC (rev 348543)
@@ -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 348542, python-editdistance/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2019-03-17 10:40:45 UTC (rev 348543)
@@ -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 2019-03-17 10:40:26 UTC (rev 348542)
+++ PKGBUILD 2019-03-17 10:40:45 UTC (rev 348543)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-editdistance
-pkgname=('python-editdistance' 'python2-editdistance')
-pkgver=0.5.2
-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')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/aflc/editdistance/archive/v$pkgver.tar.gz"
- LICENSE)
-sha512sums=('62f3147c8ae77d2fb22259020b7d12e026dfb044e23e37e85d230539a3a160464d8735e5b1bb6d90eded1688ee026bb32513e9ab3661542ded6ede848060c457'
- '590232c1e7fa5aaaaa77573c4ea23533522177ca0ac07a0ce7f00e446d47467df2e19936ecb5e057fddc664d1daca39e2217cb5f6e3192ef5edf49b1f73e0f10')
-
-build() {
- cd editdistance-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd editdistance-$pkgver
- python setup.py nosetests
- python2 setup.py nosetests
-}
-
-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
- 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 348542, python-editdistance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-17 10:40:45 UTC (rev 348543)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-editdistance
+pkgver=0.5.2
+pkgrel=2
+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=('62f3147c8ae77d2fb22259020b7d12e026dfb044e23e37e85d230539a3a160464d8735e5b1bb6d90eded1688ee026bb32513e9ab3661542ded6ede848060c457'
+ '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