svn commit: r346687 - head/www/py-pastescript

Ruslan Makhmatkhanov cvs-src at yandex.ru
Sun Mar 2 19:40:20 UTC 2014


Bryan Drewery wrote on 02.03.2014 23:14:
> On 3/1/2014 12:05 PM, Martin Wilke wrote:
>> Author: miwi
>> Date: Sat Mar  1 18:05:46 2014
>> New Revision: 346687
>> URL: http://svnweb.freebsd.org/changeset/ports/346687
>> QAT: https://qat.redports.org/buildarchive/r346687/
>>
>> Log:
>>    - Convert to autoplist
>>    - Stage support
>>    - Bump PORTREVISION
>>
>> Deleted:
>>    head/www/py-pastescript/pkg-plist
>> Modified:
>>    head/www/py-pastescript/Makefile
>>
>> Modified: head/www/py-pastescript/Makefile
>> ==============================================================================
>> --- head/www/py-pastescript/Makefile	Sat Mar  1 18:05:27 2014	(r346686)
>> +++ head/www/py-pastescript/Makefile	Sat Mar  1 18:05:46 2014	(r346687)
>> @@ -3,6 +3,7 @@
>>
>>   PORTNAME=	PasteScript
>>   PORTVERSION=	1.7.5
>> +PORTREVISION=	1
>>   CATEGORIES=	www python
>>   MASTER_SITES=	CHEESESHOP
>>   PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
>> @@ -18,8 +19,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ch
>>   RUN_DEPENDS:=	${BUILD_DEPENDS}
>>
>>   USE_PYTHON=	yes
>> -USE_PYDISTUTILS=	easy_install
>> -PYDISTUTILS_NOEGGINFO=	yes # XXX convert easy_install support to bsd.python.mk's
>> +USE_PYDISTUTILS=	yes
>> +PYDISTUTILS_AUTOPLIST=	yes
>>
>> -NO_STAGE=	yes
>>   .include <bsd.port.mk>
>>
>
> http://pb2.nyi.freebsd.org/bulk/91amd64-default-baseline/2014-03-01_21h00m44s/logs/errors/py27-turbomail-3.0.3_2.log
>
> This causes new failure with py27-turbomail. PasteScript was installing
> an egg but now is installing right into site-packages.
>
> Old:
>
> /usr/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/tests/__init__.py
>
> New:
>          /usr/local/lib/python2.7/site-packages/tests/__init__.py
>
> py27-turbomail also installs this file and depend on Pastescript which
> conflicts and now fails to build.
>
>
> python@: Why not stick to using the egg dirs? It is much safer to avoid
> polluting global namespace.

I believe it's mostly upstream issue, because it should belong to f.e.
site-packages/PasteScript/tests/__init__.py instead. But easy_install 
installation may be keep'd for such a few problematic ports. The actual 
problem there - incogitant converting of ports. I think this couple of 
commits should be reverted until the issue will be fixed upstream.

-- 
Regards,
Ruslan

T.O.S. Of Reality


More information about the freebsd-python mailing list