[arch-commits] Commit in python-snowballstemmer/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 18:06:46 UTC 2019
Date: Thursday, October 31, 2019 @ 18:06:46
Author: felixonmars
Revision: 521539
archrelease: copy trunk to community-staging-any
Added:
python-snowballstemmer/repos/community-staging-any/PKGBUILD
(from rev 521537, python-snowballstemmer/trunk/PKGBUILD)
Deleted:
python-snowballstemmer/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:06:44 UTC (rev 521538)
+++ PKGBUILD 2019-10-31 18:06:46 UTC (rev 521539)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: xantares
-
-pkgbase=python-snowballstemmer
-pkgname=('python-snowballstemmer' 'python2-snowballstemmer')
-pkgver=2.0.0
-pkgrel=2
-arch=('any')
-pkgdesc="Snowball stemming library collection for Python"
-url='https://snowballstem.org'
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-$pkgver.tar.gz")
-md5sums=('c05ec4a897be3c953c8b8b844c4241d4')
-
-prepare() {
- cp -a snowballstemmer-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/snowballstemmer-$pkgver
- python setup.py build
-
- cd "$srcdir"/snowballstemmer-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/snowballstemmer-$pkgver/src
- PYTHONPATH=. python sample/testapp.py english "what's this"
-
- cd "$srcdir"/snowballstemmer-$pkgver-py2/src
- PYTHONPATH=. python2 sample/testapp.py english "what's this"
-}
-
-package_python-snowballstemmer() {
- depends=('python')
- optdepends=('python-pystemmer: for improved performance')
-
- cd "$srcdir"/snowballstemmer-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
-
-package_python2-snowballstemmer() {
- depends=('python2')
- optdepends=('python2-pystemmer: for improved performance')
-
- cd "$srcdir"/snowballstemmer-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
Copied: python-snowballstemmer/repos/community-staging-any/PKGBUILD (from rev 521537, python-snowballstemmer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:06:46 UTC (rev 521539)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: xantares
+
+pkgbase=python-snowballstemmer
+pkgname=('python-snowballstemmer' 'python2-snowballstemmer')
+pkgver=2.0.0
+pkgrel=3
+arch=('any')
+pkgdesc="Snowball stemming library collection for Python"
+url='https://snowballstem.org'
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-$pkgver.tar.gz")
+md5sums=('c05ec4a897be3c953c8b8b844c4241d4')
+
+prepare() {
+ cp -a snowballstemmer-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/snowballstemmer-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/snowballstemmer-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/snowballstemmer-$pkgver/src
+ PYTHONPATH=. python sample/testapp.py english "what's this"
+
+ cd "$srcdir"/snowballstemmer-$pkgver-py2/src
+ PYTHONPATH=. python2 sample/testapp.py english "what's this"
+}
+
+package_python-snowballstemmer() {
+ depends=('python')
+ optdepends=('python-pystemmer: for improved performance')
+
+ cd "$srcdir"/snowballstemmer-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+package_python2-snowballstemmer() {
+ depends=('python2')
+ optdepends=('python2-pystemmer: for improved performance')
+
+ cd "$srcdir"/snowballstemmer-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
More information about the arch-commits
mailing list