Date: Monday, January 23, 2023 @ 06:12:58
  Author: felixonmars
Revision: 1387890

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 31 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-23 06:12:43 UTC (rev 1387889)
+++ PKGBUILD    2023-01-23 06:12:58 UTC (rev 1387890)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pystemmer
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="Snowball stemming algorithms, for information retrieval"
-arch=('x86_64')
-license=('BSD' 'MIT')
-url="http://snowball.tartarus.org";
-depends=('python' 'libstemmer')
-makedepends=('cython' 'python-setuptools')
-source=("https://pypi.io/packages/source/P/PyStemmer/PyStemmer-$pkgver.tar.gz";
-        
$pkgname-fix-tests.patch::https://github.com/snowballstem/pystemmer/pull/38.patch
-        
$pkgname-system-libstemmer.patch::https://github.com/snowballstem/pystemmer/pull/39.patch)
-sha512sums=('4499cf725de30b168f4a0c341653f5286e45a86e1bcd1fa8cb62ebf9ea3c05dd17479aa5c6780b4fb386c63becbc9faeb3e4e23037b677bb2bd59501ee061fea'
-            
'b62f42cacb1d1d7c38f1ecde8c50b1a5df2285a26ca67f777f500c5d34d5f0c16fbb0be42dc54bdee656f99b7e03f6b09b4cb5bdf638418167aa1c14f3ffaacd'
-            
'ee521e8e64a66d1fb84d5cb7cfbdf61631822e82f3c65a2478b27ac92c11d6b7685d44e87c216c9f990624afe767ab50375f1f60ab41b1f83d0494cdd24c2c9d')
-
-prepare() {
-  # Force cython rebuild
-  rm PyStemmer-$pkgver/src/Stemmer.c
-
-  patch -d PyStemmer-$pkgver -p1 -i ../$pkgname-fix-tests.patch
-  patch -d PyStemmer-$pkgver -p1 -i ../$pkgname-system-libstemmer.patch
-}
-
-build() {
-  cd PyStemmer-$pkgver
-  PYSTEMMER_SYSTEM_LIBSTEMMER=1 python setup.py build
-}
-
-check() {
-  cd PyStemmer-$pkgver
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" python runtests.py
-}
-
-package() {
-  cd PyStemmer-$pkgver
-  PYSTEMMER_SYSTEM_LIBSTEMMER=1 python setup.py install --root="$pkgdir" 
--optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-pystemmer/repos/community-x86_64/PKGBUILD (from rev 1387889, 
python-pystemmer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-23 06:12:58 UTC (rev 1387890)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pystemmer
+pkgver=2.2.0.1
+pkgrel=1
+pkgdesc="Snowball stemming algorithms, for information retrieval"
+arch=('x86_64')
+license=('BSD' 'MIT')
+url="http://snowball.tartarus.org";
+depends=('python' 'libstemmer')
+makedepends=('cython' 'python-setuptools')
+source=("https://pypi.io/packages/source/P/PyStemmer/PyStemmer-$pkgver.tar.gz";)
+sha512sums=('6692381f57c8822d252fac3ae48102b03f63cfa6aba9e963204bc4755217d4697d533ed058d1c6f7155982a3c7d81e82d83578f00fbff3bb94cbb5e1bcc26fc8')
+
+export PYSTEMMER_SYSTEM_LIBSTEMMER=1
+
+build() {
+  cd PyStemmer-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd PyStemmer-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" python runtests.py
+}
+
+package() {
+  cd PyStemmer-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to