Date: Wed, 15 Jul 2015 12:42:53 +0800 From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: Kris Moore <kmoore@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r392000 - in head/textproc: . py-alabaster py-snowballstemmer Message-ID: <20150715044253.GB77591@FreeBSD.cs.nctu.edu.tw> In-Reply-To: <201507141420.t6EEKEku024783@repo.freebsd.org> References: <201507141420.t6EEKEku024783@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--IU5/I01NYhRvwH70 Content-Type: multipart/mixed; boundary="ZJcv+A0YCCLh2VIg" Content-Disposition: inline --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On =E4=BA=8C, 7 14, 2015 at 14:20:14 +0000, Kris Moore wrote: > Added: head/textproc/py-snowballstemmer/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/textproc/py-snowballstemmer/Makefile Tue Jul 14 14:20:13 2015 (r= 392000) > @@ -0,0 +1,17 @@ > +# $FreeBSD$ > + > +PORTNAME=3D snowballstemmer > +PORTVERSION=3D 1.2.0 > +CATEGORIES=3D textproc python > +MASTER_SITES=3D CHEESESHOP > +PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX} > + > +MAINTAINER=3D kmoore@FreeBSD.org > +COMMENT=3D Pure Python stemming library > + > +LICENSE=3D MIT > + > +USES=3D python > +USE_PYTHON=3D distutils autoplist > + > +.include <bsd.port.mk> >=20 > Added: head/textproc/py-snowballstemmer/distinfo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/textproc/py-snowballstemmer/distinfo Tue Jul 14 14:20:13 2015 (r= 392000) > @@ -0,0 +1,2 @@ > +SHA256 (snowballstemmer-1.2.0.tar.gz) =3D 6d54f350e7a0e48903a4e3b6b2cabd= 1b43e23765fbc975065402893692954191 > +SIZE (snowballstemmer-1.2.0.tar.gz) =3D 49639 >=20 > Added: head/textproc/py-snowballstemmer/pkg-descr > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/textproc/py-snowballstemmer/pkg-descr Tue Jul 14 14:20:13 2015 (= r392000) > @@ -0,0 +1,4 @@ > +This is a pure Python stemming library. If PyStemmer is > +available, this module uses it to accelerate. > + > +WWW: https://pypi.python.org/pypi/snowballstemmer I'm also working on py-sphinx update, and going to add this port. Since it says "If PyStemmer is available, this module uses it to accelerate." How do you think about the attached patch? Also, I think its license is BSD2CALUSE, and the COMMENT might be more suitable. Please note that patch needs renaming textproc/pystemmer to textproc/py-pystemmer, I think it's fine and better, since it (only) install things to PYTHON_SITELIBDIR. Li-Wen --=20 Li-Wen Hsu <lwhsu@FreeBSD.org> http://lwhsu.org --ZJcv+A0YCCLh2VIg Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="py-snowballstemmer.diff" Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 392117) +++ Makefile (working copy) @@ -2,16 +2,27 @@ =20 PORTNAME=3D snowballstemmer PORTVERSION=3D 1.2.0 +PORTREVISION=3D 1 CATEGORIES=3D textproc python MASTER_SITES=3D CHEESESHOP PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX} =20 MAINTAINER=3D kmoore@FreeBSD.org -COMMENT=3D Pure Python stemming library +COMMENT=3D Snowball stemming library collection for Python =20 -LICENSE=3D MIT +LICENSE=3D BSD2CLAUSE =20 USES=3D python USE_PYTHON=3D distutils autoplist =20 +OPTIONS_DEFINE=3D PYSTEMMER +OPTIONS_DEFAULT=3DPYSTEMMER +PYSTEMMER_DESC=3D Use PyStemmer to accelerate + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MPYSTEMMER} +RUN_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}pystemmer>0:${PORTSDIR}/textproc/py-= pystemmer +.endif + .include <bsd.port.mk> --ZJcv+A0YCCLh2VIg Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="py-pystemmer.diff" Content-Transfer-Encoding: quoted-printable Index: MOVED =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- MOVED (revision 391972) +++ MOVED (working copy) @@ -7684,3 +7684,4 @@ net-im/tkabbur||2015-07-07|Has expired: Upstream development ceased since = 2008 www/mod_wsgi3|www/mod_wsgi4|2015-07-12|Renamed to reflect new version archivers/pear-PHP_Archiv|archivers/pear-PHP_Archive|2015-07-12|Fix path +textproc/pystemmer|textproc/py-pystemmer|2015-07-13|Rename to reflect offi= cial Python modules naming scheme Index: textproc/pystemmer/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- textproc/pystemmer/Makefile (revision 392117) +++ textproc/pystemmer/Makefile (working copy) @@ -1,21 +0,0 @@ -# Created by: Wen Heping <wenheping@gmail.com> -# $FreeBSD$ - -PORTNAME=3D pystemmer -PORTVERSION=3D 1.3.0 -PORTREVISION=3D 1 -CATEGORIES=3D textproc python -MASTER_SITES=3D CHEESESHOP \ - http://snowball.tartarus.org/wrappers/ -DISTNAME=3D PyStemmer-${PORTVERSION} - -MAINTAINER=3D ports@FreeBSD.org -COMMENT=3D Snowball Stemming Algorithms for Information Retrieval - -USES=3D python -USE_PYTHON=3D distutils autoplist - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Stemmer.so - -.include <bsd.port.mk> Index: textproc/pystemmer/distinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- textproc/pystemmer/distinfo (revision 392117) +++ textproc/pystemmer/distinfo (working copy) @@ -1,2 +0,0 @@ -SHA256 (PyStemmer-1.3.0.tar.gz) =3D d1ac14eb64978c1697fcfba76e3ac7ebe24357= c9428e775390f634648947cb91 -SIZE (PyStemmer-1.3.0.tar.gz) =3D 360102 Index: textproc/pystemmer/pkg-descr =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- textproc/pystemmer/pkg-descr (revision 392117) +++ textproc/pystemmer/pkg-descr (working copy) @@ -1,16 +0,0 @@ -PyStemmer provides access to efficient algorithms for calculating a -"stemmed" form of a word. This is a form with most of the common -morphological endings removed; hopefully representing a common -linguistic base form. This is most useful in building search engines -and information retrieval software; for example, a search with stemming -enabled should be able to find a document containing "cycling" given the -query "cycles". - -PyStemmer provides algorithms for several (mainly european) languages, -by wrapping the libstemmer library from the Snowball project in a Python -module. It also provides access to the classic Porter stemming algorithm -for english: although this has been superceded by an improved algorithm, -the original algorithm may be of interest to information retrieval -researchers wishing to reproduce results of earlier experiments. - -WWW: https://pypi.python.org/pypi/PyStemmer/ Index: textproc/py-pystemmer/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- textproc/py-pystemmer/Makefile (revision 392117) +++ textproc/py-pystemmer/Makefile (working copy) @@ -7,11 +7,15 @@ CATEGORIES=3D textproc python MASTER_SITES=3D CHEESESHOP \ http://snowball.tartarus.org/wrappers/ +PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX} DISTNAME=3D PyStemmer-${PORTVERSION} =20 MAINTAINER=3D ports@FreeBSD.org COMMENT=3D Snowball Stemming Algorithms for Information Retrieval =20 +LICENSE=3D MIT BSD3CLAUSE +LICENSE_COMB=3D dual + USES=3D python USE_PYTHON=3D distutils autoplist =20 --ZJcv+A0YCCLh2VIg-- --IU5/I01NYhRvwH70 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJVpeTMXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMDdENTNGNjUyMTUzMzVCNzA5NDNGODQ2 NzI3RTc3Qzg4NjJCNjU2AAoJEGcn53yIYrZWlnEQAKPZitAn5jsWefVxJNAlooQk WzBhBZzmigUopbHVvg6Myv2DMkDDabu4/4QmCdN2solEuLH4yP6KQgy1MXVAWFn/ 1obZn1BZ3lgbaQ61hmCGCT5P0KOsgfy0SLQVGhKsvk7lLVrnhm0GhIxgszVFL49e xMGHt/vb7YWjR4aROJmzkr/JAqriuYf0RPH/aNVVUPE8AgKaHIjzYhEGajgfS1LJ nJ7FGh0CgQ9Fb7Vpd3B0rOoduHBaRwYihan6wCEPfxMR8OhrOXKQxVaI4FFozvtC VJFq2HU3W1LREqXrKN8KbiXcwb3mdzr0pDafvr+DyqOSTmJpyhpEsSnJkXJOWg1X dUmQwDadk2s0+YcAsHvuTgRtGXfMsHn2g9cqzb5/NXbOXqaKmn/TZih/NiIlIgom O4GCcL2sk3QQMowkXMt2pc1BhyB/F77mJvUD2E1yuIwIyBpI/HPfomyJyhOpIIAi ZEzLKc0yqlxezut9xu+XKGn16e8xJ8DUoCdTGBbMGcXyhzH8i9xyLddKWz2OD3BS vFKWqt37p6ReKuAsEEhn8kn0uTzsrTwX1jBnqmJWTOtwN+yU1YTjqG8ROOKnvX+q pO1cIkF6rnSU4vNaYE+cVlYDhM0Ja70A+QSt8eckpQHq68KAePI+FXQkQhMTvBpm AP5kBuoLdI2FioTZGEpw =rHJ4 -----END PGP SIGNATURE----- --IU5/I01NYhRvwH70--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150715044253.GB77591>