pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-stemming: imported version 1.0.1



Module Name:	pkgsrc-wip
Committed By:	Aleksej Lebedev <root%zta.lk@localhost>
Pushed By:	zhtw
Date:		Wed Nov 4 15:01:03 2020 +0100
Changeset:	59188a155b3ba866f262aaf7fe5af8c3a2823cd3

Added Files:
	py-stemming/DESCR
	py-stemming/Makefile
	py-stemming/PLIST
	py-stemming/distinfo
	py-stemming/patches/patch-stemming_porter.py

Log Message:
py-stemming: imported version 1.0.1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=59188a155b3ba866f262aaf7fe5af8c3a2823cd3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-stemming/DESCR                            |  5 +++++
 py-stemming/Makefile                         | 14 ++++++++++++++
 py-stemming/PLIST                            | 21 +++++++++++++++++++++
 py-stemming/distinfo                         |  7 +++++++
 py-stemming/patches/patch-stemming_porter.py | 13 +++++++++++++
 5 files changed, 60 insertions(+)

diffs:
diff --git a/py-stemming/DESCR b/py-stemming/DESCR
new file mode 100644
index 0000000000..79084c9fd4
--- /dev/null
+++ b/py-stemming/DESCR
@@ -0,0 +1,5 @@
+Python implementations of the Porter, Porter2, Paice-Husk, and Lovins stemming
+algorithms for English. These implementations are straightforward and
+efficient, unlike some Python versions of the same algorithms available on the
+Web. This package is an extraction of the stemming code included in the Whoosh
+search engine.
diff --git a/py-stemming/Makefile b/py-stemming/Makefile
new file mode 100644
index 0000000000..bc90cf3094
--- /dev/null
+++ b/py-stemming/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+DISTNAME=       stemming-1.0.1
+PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=     devel sysutils
+MASTER_SITES=   ${MASTER_SITE_PYPI:=s/stemming/}
+
+MAINTAINER=	root%zta.lk@localhost
+HOMEPAGE=	https://github.com/tomtom-international/commisery/
+COMMENT=	Python implementation of Porter Stemming algorithm.
+LICENSE=	public-domain
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-stemming/PLIST b/py-stemming/PLIST
new file mode 100644
index 0000000000..4e735d7faf
--- /dev/null
+++ b/py-stemming/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/stemming/__init__.py
+${PYSITELIB}/stemming/__init__.pyc
+${PYSITELIB}/stemming/__init__.pyo
+${PYSITELIB}/stemming/lovins.py
+${PYSITELIB}/stemming/lovins.pyc
+${PYSITELIB}/stemming/lovins.pyo
+${PYSITELIB}/stemming/paicehusk.py
+${PYSITELIB}/stemming/paicehusk.pyc
+${PYSITELIB}/stemming/paicehusk.pyo
+${PYSITELIB}/stemming/porter.py
+${PYSITELIB}/stemming/porter.pyc
+${PYSITELIB}/stemming/porter.pyo
+${PYSITELIB}/stemming/porter2.py
+${PYSITELIB}/stemming/porter2.pyc
+${PYSITELIB}/stemming/porter2.pyo
diff --git a/py-stemming/distinfo b/py-stemming/distinfo
new file mode 100644
index 0000000000..0459545437
--- /dev/null
+++ b/py-stemming/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (stemming-1.0.1.tar.gz) = 28ced8c84f1f42363da56678549911bef6eb6416
+RMD160 (stemming-1.0.1.tar.gz) = cec14605651c1b5587f938ca14abad39879dba0f
+SHA512 (stemming-1.0.1.tar.gz) = 0c495c796688c97fc24a6e2c34ef4dccdca1c6c12160794fe0ddd965745c92d08922eb9972eca0d5537bcd787e1528a3818a02e2aa4f22ca5ebf32c7bade0057
+Size (stemming-1.0.1.tar.gz) = 10954 bytes
+SHA1 (patch-stemming_porter.py) = 0925bc97e6842c08f06ad71ee5efd44d83feafaa
diff --git a/py-stemming/patches/patch-stemming_porter.py b/py-stemming/patches/patch-stemming_porter.py
new file mode 100644
index 0000000000..4431e8e17c
--- /dev/null
+++ b/py-stemming/patches/patch-stemming_porter.py
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- stemming/porter.py.orig	2010-02-08 23:06:43.000000000 +0000
++++ stemming/porter.py
+@@ -173,7 +173,7 @@ def stem(w):
+     return w
+ 
+ if __name__ == '__main__':
+-    print stem("fundamentally")
++    print(stem("fundamentally"))
+     
+     
+     


Home | Main Index | Thread Index | Old Index