svn commit: r392000 - in head/textproc: . py-alabaster py-snowballstemmer

Kris Moore kris at pcbsd.org
Wed Jul 15 15:34:30 UTC 2015


On 07/15/2015 07:06, Kubilay Kocak wrote:
> On 15/07/2015 2:42 PM, Li-Wen Hsu wrote:
>> On 二,  7 14, 2015 at 14:20:14 +0000, Kris Moore wrote:
>>> Added: head/textproc/py-snowballstemmer/Makefile
>>> ==============================================================================
>>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>>> +++ head/textproc/py-snowballstemmer/Makefile	Tue Jul 14 14:20:13 2015	(r392000)
>>> @@ -0,0 +1,17 @@
>>> +# $FreeBSD$
>>> +
>>> +PORTNAME=	snowballstemmer
>>> +PORTVERSION=	1.2.0
>>> +CATEGORIES=	textproc python
>>> +MASTER_SITES=	CHEESESHOP
>>> +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
>>> +
>>> +MAINTAINER=	kmoore at FreeBSD.org
>>> +COMMENT=	Pure Python stemming library
>>> +
>>> +LICENSE=	MIT
>>> +
>>> +USES=		python
>>> +USE_PYTHON=	distutils autoplist
>>> +
>>> +.include <bsd.port.mk>
>>>
>>> Added: head/textproc/py-snowballstemmer/distinfo
>>> ==============================================================================
>>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>>> +++ head/textproc/py-snowballstemmer/distinfo	Tue Jul 14 14:20:13 2015	(r392000)
>>> @@ -0,0 +1,2 @@
>>> +SHA256 (snowballstemmer-1.2.0.tar.gz) = 6d54f350e7a0e48903a4e3b6b2cabd1b43e23765fbc975065402893692954191
>>> +SIZE (snowballstemmer-1.2.0.tar.gz) = 49639
>>>
>>> Added: head/textproc/py-snowballstemmer/pkg-descr
>>> ==============================================================================
>>> --- /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
>>
> Agreed Li-Wen.
>
> Things should be named py-<name> no matter the name, including when that
> name is prefixed with py, python or otherwise. This is especially
> necessary when modules/packages are listed on PyPI (CHEESESHOP)
>
> In particular, this:
>
>  - Avoids naming conflicts (there are *many* examples of
> unique/different packages named foo and pyfoo on PyPI)
>  - Easy discoverability by users who know the name of the module they
> want (using pip or requirements files)
>  - Google Juice benefits for FreeBSD/Ports/FreshPorts
>
> We have a python ports policy in progress:
> https://wiki.freebsd.org/Python/PortsPolicy that outlines the above in
> more detail
>
> ./koobs

Li-Wen,

Patch looks good  to me, go ahead and commit whenever you have a chance.

-- 
Kris Moore
PC-BSD Software / iXsystems
Enterprise Storage & Servers Driven By Open Source



More information about the svn-ports-all mailing list