Date: Tuesday, October 13, 2015 @ 15:49:31 Author: fyan Revision: 143914
addpkg: python-jieba 0.37-1 Added: python-jieba/ python-jieba/repos/ python-jieba/trunk/ python-jieba/trunk/LICENSE python-jieba/trunk/PKGBUILD ----------+ LICENSE | 20 ++++++++++++++++++++ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) Added: python-jieba/trunk/LICENSE =================================================================== --- python-jieba/trunk/LICENSE (rev 0) +++ python-jieba/trunk/LICENSE 2015-10-13 13:49:31 UTC (rev 143914) @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2013 Sun Junyi + +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 Added: python-jieba/trunk/PKGBUILD =================================================================== --- python-jieba/trunk/PKGBUILD (rev 0) +++ python-jieba/trunk/PKGBUILD 2015-10-13 13:49:31 UTC (rev 143914) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> + +_pypiname=jieba +pkgname=(python-jieba python2-jieba) +pkgver=0.37 +pkgrel=1 +pkgdesc="Chinese Words Segementation Utilities" +arch=('any') +url='https://github.com/fxsjy/jieba' +license=('MIT') +makedepends=('python' 'python2') +source=("http://pypi.python.org/packages/source/j/jieba/jieba-$pkgver.zip" + LICENSE) +sha512sums=('61342a14215f65f6abb6c7cd0872e9ac16a6778415704c422b272c1f1f384ae9913e007cddb15df64f4696219034b4cc328cf28d304c3239cc4181359e5cf84f' + '4ff70d3b714cd57b9c53e156fc4c0dd14f22001e20fce2edbdba079f352271f85e5e8c1e519ff2f91ff1aa258adb8ecc3ffc3bd8cb34ffdc6a44ced9a583feaf') + +prepare() { + cp -a jieba-$pkgver{,-py2} +} + +package_python-jieba() { + depends=('python') + + cd "$srcdir/jieba-$pkgver" + python setup.py install -O1 --root="$pkgdir" + install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-jieba() { + depends=('python2') + + cd "$srcdir/jieba-$pkgver-py2" + python2 setup.py install -O1 --root="$pkgdir" + install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Property changes on: python-jieba/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
