[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Sat May 9 18:36:54 UTC 2015


    Date: Saturday, May 9, 2015 @ 20:36:54
  Author: arojas
Revision: 133109

New python-sphinx checkdepends

Added:
  python-snowballstemmer/
  python-snowballstemmer/trunk/
  python-snowballstemmer/trunk/LICENSE
  python-snowballstemmer/trunk/PKGBUILD

----------+
 LICENSE  |   15 +++++++++++++++
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

Added: python-snowballstemmer/trunk/LICENSE
===================================================================
--- python-snowballstemmer/trunk/LICENSE	                        (rev 0)
+++ python-snowballstemmer/trunk/LICENSE	2015-05-09 18:36:54 UTC (rev 133109)
@@ -0,0 +1,15 @@
+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.

Added: python-snowballstemmer/trunk/PKGBUILD
===================================================================
--- python-snowballstemmer/trunk/PKGBUILD	                        (rev 0)
+++ python-snowballstemmer/trunk/PKGBUILD	2015-05-09 18:36:54 UTC (rev 133109)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: 
+# Contributor: xantares
+
+pkgbase=python-snowballstemmer
+pkgname=('python-snowballstemmer' 'python2-snowballstemmer')
+pkgver=1.2.0
+pkgrel=1
+arch=(any)
+pkgdesc="Snowball stemming library collection for Python"
+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')
+
+build() {
+  cp -r ${srcdir}/snowballstemmer-${pkgver} ${srcdir}/snowballstemmer-${pkgver}-py2
+  
+  cd "$srcdir"/snowballstemmer-${pkgver}
+  python setup.py build
+
+  cd "$srcdir"/snowballstemmer-${pkgver}-py2
+  python2 setup.py build
+}
+
+package_python-snowballstemmer() {
+  cd "$srcdir"/snowballstemmer-${pkgver}
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/python-snowballstemmer/LICENSE
+}
+
+package_python2-snowballstemmer() {
+  cd "$srcdir"/snowballstemmer-${pkgver}-py2 
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/python2-snowballstemmer/LICENSE
+}


Property changes on: python-snowballstemmer/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list