[arch-commits] Commit in python-snowballstemmer/trunk (LICENSE PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat May 9 18:53:05 UTC 2015
Date: Saturday, May 9, 2015 @ 20:53:05
Author: arojas
Revision: 133121
Use upstream license
Modified:
python-snowballstemmer/trunk/PKGBUILD
Deleted:
python-snowballstemmer/trunk/LICENSE
----------+
LICENSE | 15 ---------------
PKGBUILD | 9 ++++-----
2 files changed, 4 insertions(+), 20 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2015-05-09 18:51:43 UTC (rev 133120)
+++ LICENSE 2015-05-09 18:53:05 UTC (rev 133121)
@@ -1,15 +0,0 @@
-Copyright (c) 2013, Yoshiki Shibukawa
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
-CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-09 18:51:43 UTC (rev 133120)
+++ PKGBUILD 2015-05-09 18:53:05 UTC (rev 133121)
@@ -11,9 +11,8 @@
url='https://github.com/shibukawa/snowball_py'
license=(BSD)
makedepends=(python-setuptools python2-setuptools)
-source=("https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-${pkgver}.tar.gz" 'LICENSE')
-md5sums=('51f2ef829db8129dd0f2354f0b209970'
- 'e269a6e5398d3795d4077cef3152aa33')
+source=("https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-${pkgver}.tar.gz")
+md5sums=('51f2ef829db8129dd0f2354f0b209970')
build() {
cp -r ${srcdir}/snowballstemmer-${pkgver} ${srcdir}/snowballstemmer-${pkgver}-py2
@@ -29,7 +28,7 @@
cd "$srcdir"/snowballstemmer-${pkgver}
python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/python-snowballstemmer/LICENSE
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
}
package_python2-snowballstemmer() {
@@ -36,5 +35,5 @@
cd "$srcdir"/snowballstemmer-${pkgver}-py2
python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/python2-snowballstemmer/LICENSE
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
}
More information about the arch-commits
mailing list