[arch-commits] Commit in python-pystemmer/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Mar 21 11:53:58 UTC 2020
Date: Saturday, March 21, 2020 @ 11:53:57
Author: felixonmars
Revision: 602511
archrelease: copy trunk to community-x86_64
Added:
python-pystemmer/repos/community-x86_64/PKGBUILD
(from rev 602510, python-pystemmer/trunk/PKGBUILD)
Deleted:
python-pystemmer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-21 11:53:46 UTC (rev 602510)
+++ PKGBUILD 2020-03-21 11:53:57 UTC (rev 602511)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pystemmer
-pkgname=('python-pystemmer' 'python2-pystemmer')
-pkgver=1.3.0
-pkgrel=4
-pkgdesc="Snowball stemming algorithms, for information retrieval"
-arch=('x86_64')
-license=('BSD' 'MIT')
-url="http://snowball.tartarus.org"
-makedepends=('python' 'python2' 'cython' 'cython2')
-source=("http://snowball.tartarus.org/wrappers/PyStemmer-$pkgver.tar.gz")
-sha512sums=('35f40606347ead6a6068dae28aa24f5becfa0e52930998027a7b20955f331c6bd4762158267be7d40857ea8aae0084a07f663dbd48c4aa6aac10ce90f26c2a2d')
-
-prepare() {
- # Force cython rebuild
- rm PyStemmer-$pkgver/src/Stemmer.c
-
- cp -a PyStemmer-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/PyStemmer-$pkgver"
- python setup.py build
-
- cd "$srcdir/PyStemmer-$pkgver-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/PyStemmer-$pkgver"
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" python runtests.py
-
- cd "$srcdir/PyStemmer-$pkgver-py2"
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 runtests.py
-}
-
-package_python-pystemmer() {
- depends=('python')
-
- cd PyStemmer-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-pystemmer() {
- depends=('python2')
-
- cd PyStemmer-$pkgver-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-pystemmer/repos/community-x86_64/PKGBUILD (from rev 602510, python-pystemmer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-21 11:53:57 UTC (rev 602511)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pystemmer
+pkgname=('python-pystemmer' 'python2-pystemmer')
+pkgver=2.0.0.1
+pkgrel=1
+pkgdesc="Snowball stemming algorithms, for information retrieval"
+arch=('x86_64')
+license=('BSD' 'MIT')
+url="http://snowball.tartarus.org"
+makedepends=('python' 'python2' 'cython' 'cython2')
+source=("https://pypi.io/packages/source/P/PyStemmer/PyStemmer-$pkgver.tar.gz")
+sha512sums=('6714fd9c09626adcc5f26d9200cbcccb326cdcb747a26c4e593016d945c18a1f584bf8f685f88612abefbbec40ac80bd8b18660f0e9b7e4575ba0b0dcb42bc5e')
+
+prepare() {
+ # Force cython rebuild
+ rm PyStemmer-$pkgver/src/Stemmer.c
+
+ cp -a PyStemmer-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/PyStemmer-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/PyStemmer-$pkgver-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/PyStemmer-$pkgver"
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" python runtests.py
+
+ cd "$srcdir/PyStemmer-$pkgver-py2"
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 runtests.py
+}
+
+package_python-pystemmer() {
+ depends=('python')
+
+ cd PyStemmer-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pystemmer() {
+ depends=('python2')
+
+ cd PyStemmer-$pkgver-py2
+ python2 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