[arch-commits] Commit in python-pystemmer/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Thu Oct 29 01:10:04 UTC 2020


    Date: Thursday, October 29, 2020 @ 01:10:03
  Author: eschwartz
Revision: 736455

archrelease: copy trunk to community-x86_64

Added:
  python-pystemmer/repos/community-x86_64/PKGBUILD
    (from rev 736454, python-pystemmer/trunk/PKGBUILD)
Deleted:
  python-pystemmer/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 34 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-29 01:09:50 UTC (rev 736454)
+++ PKGBUILD	2020-10-29 01:10:03 UTC (rev 736455)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pystemmer
-pkgname=('python-pystemmer' 'python2-pystemmer')
-pkgver=2.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=('3ac0ef16f0caae74cb19a73e7de7a56e3947a6f81a14273885b3461392f7f33e82a433d4ffa7b4a61d87bb94aff7e12c8e0c9726de2eb6b386a9f2c558678a6c')
-
-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 736454, python-pystemmer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-29 01:10:03 UTC (rev 736455)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pystemmer
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="Snowball stemming algorithms, for information retrieval"
+arch=('x86_64')
+license=('BSD' 'MIT')
+url="http://snowball.tartarus.org"
+depends=('python')
+makedepends=('cython')
+source=("https://pypi.io/packages/source/P/PyStemmer/PyStemmer-$pkgver.tar.gz")
+sha512sums=('3ac0ef16f0caae74cb19a73e7de7a56e3947a6f81a14273885b3461392f7f33e82a433d4ffa7b4a61d87bb94aff7e12c8e0c9726de2eb6b386a9f2c558678a6c')
+
+prepare() {
+  # Force cython rebuild
+  rm PyStemmer-$pkgver/src/Stemmer.c
+}
+
+build() {
+  cd "$srcdir/PyStemmer-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/PyStemmer-$pkgver"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" python runtests.py
+}
+
+package() {
+  cd PyStemmer-$pkgver
+  python 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