Re: ports/161535: [PATCH] databases/py-sqlite3: remove stale pkg_message

2011-10-13 Thread wen
Synopsis: [PATCH] databases/py-sqlite3: remove stale pkg_message

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Thu Oct 13 13:07:25 UTC 2011
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=161535
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/161960: [EXP-RUN] Mk/bsd.python.mk: adding -N to PYEASYINSTALL_UNINSTALLARGS

2011-10-25 Thread wen
Synopsis: [EXP-RUN] Mk/bsd.python.mk: adding -N to PYEASYINSTALL_UNINSTALLARGS

Responsible-Changed-From-To: freebsd-python->portmgr
Responsible-Changed-By: wen
Responsible-Changed-When: Tue Oct 25 07:44:20 UTC 2011
Responsible-Changed-Why: 
- Please test if this patch of bsd.python.mk will break some ports

http://www.freebsd.org/cgi/query-pr.cgi?pr=161960
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/167223: [Update]science/py-scipy:update to 0.10.1

2012-05-23 Thread wen
Synopsis: [Update]science/py-scipy:update to 0.10.1

State-Changed-From-To: feedback->closed
State-Changed-By: wen
State-Changed-When: Wed May 23 07:52:07 UTC 2012
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=167223
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/168100: Update port: www/py-selenium Upgrade to version 2.21.3

2012-05-23 Thread wen
Synopsis: Update port: www/py-selenium Upgrade to version 2.21.3

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Thu May 24 06:23:14 UTC 2012
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=168100
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/170536: [MAINTAINER] www/py-requests: update to 0.13.6, update COMMENT and pkg-desc

2012-08-11 Thread wen
Synopsis: [MAINTAINER] www/py-requests: update to 0.13.6, update COMMENT and 
pkg-desc

Responsible-Changed-From-To: freebsd-python->wen
Responsible-Changed-By: wen
Responsible-Changed-When: Sat Aug 11 12:14:56 UTC 2012
Responsible-Changed-Why: 
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=170536
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/170547: [MAINTAINER] security/py-passlib: update to 1.6.1

2012-08-12 Thread wen
Synopsis: [MAINTAINER] security/py-passlib: update to 1.6.1

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Sun Aug 12 13:14:07 UTC 2012
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=170547
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/170393: new port: finance/py-trytond_product

2012-08-12 Thread wen
Synopsis: new port: finance/py-trytond_product

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Sun Aug 12 13:15:58 UTC 2012
State-Changed-Why: 
Requested by submitter.

http://www.freebsd.org/cgi/query-pr.cgi?pr=170393
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/170349: [PATCH] databases/py-south: update to 0.7.6

2012-08-12 Thread wen
Synopsis: [PATCH] databases/py-south: update to 0.7.6

State-Changed-From-To: feedback->closed
State-Changed-By: wen
State-Changed-When: Sun Aug 12 13:30:41 UTC 2012
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=170349
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/171114: [MAINTAINER] www/py-requests: update to 0.13.9

2012-08-27 Thread wen
Synopsis: [MAINTAINER] www/py-requests: update to 0.13.9

Responsible-Changed-From-To: freebsd-python->wen
Responsible-Changed-By: wen
Responsible-Changed-When: Mon Aug 27 12:08:49 UTC 2012
Responsible-Changed-Why: 
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=171114
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/172908: [PATCH] devel/py-celery: fix RUN_DEPENDS

2012-10-24 Thread wen
Synopsis: [PATCH] devel/py-celery: fix RUN_DEPENDS

State-Changed-From-To: feedback->closed
State-Changed-By: wen
State-Changed-When: Thu Oct 25 01:26:31 UTC 2012
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=172908
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/172889: [NEW PORT] multimedia/py-enzyme

2012-10-25 Thread wen
Synopsis: [NEW PORT] multimedia/py-enzyme

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Thu Oct 25 07:13:08 UTC 2012
State-Changed-Why: 
New port added, with minor changes. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=172889
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/178972: ports/math/py-networkx update to from 1.6 to 1.7

2013-05-26 Thread wen
Synopsis: ports/math/py-networkx update to from 1.6 to 1.7

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Sun May 26 14:54:12 UTC 2013
State-Changed-Why: 
Committed, with remove many g in pkg-plist :)

http://www.freebsd.org/cgi/query-pr.cgi?pr=178972
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/142221: [Update]biology/py-biopython:update to 1.53

2010-01-05 Thread wen
Synopsis: [Update]biology/py-biopython:update to 1.53

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Wed Jan 6 00:46:26 UTC 2010
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=142221
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/142904: [Update]devel/py-pudb:update to 0.92.15

2010-01-23 Thread wen
Synopsis: [Update]devel/py-pudb:update to 0.92.15

State-Changed-From-To: feedback->closed
State-Changed-By: wen
State-Changed-When: Sat Jan 23 23:24:15 UTC 2010
State-Changed-Why: 
Duplicate with 143123.

http://www.freebsd.org/cgi/query-pr.cgi?pr=142904
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/145259: [Update]math/py-matplotlib:Update to 0.99.1.1

2010-04-01 Thread wen
Synopsis: [Update]math/py-matplotlib:Update to 0.99.1.1

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Fri Apr 2 02:42:54 UTC 2010
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=145259
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/144676: New port: devel/py-distutils-extra Add support for i18n, documentation and icons to distutils

2010-04-06 Thread wen
Synopsis: New port: devel/py-distutils-extra Add support for i18n, 
documentation and icons to distutils

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Tue Apr 6 09:08:06 UTC 2010
State-Changed-Why: 
New port added, with minor changes. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=144676
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/145431: Update port: net-im/py-xmpppy up to 0.5.0

2010-04-06 Thread wen
Synopsis: Update port: net-im/py-xmpppy up to 0.5.0

State-Changed-From-To: feedback->closed
State-Changed-By: wen
State-Changed-When: Wed Apr 7 01:51:58 UTC 2010
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=145431
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/145428: New port: net-im/py-jabberbot A simple Jabber Bot for Python

2010-04-06 Thread wen
Synopsis: New port: net-im/py-jabberbot A simple Jabber Bot for Python

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Wed Apr 7 01:59:58 UTC 2010
State-Changed-Why: 
New port added, with minor changes. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=145428
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"



Re: ports/145698: [maintainer update] devel/py-distutils-extra

2010-04-14 Thread wen
Synopsis: [maintainer update]  devel/py-distutils-extra

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Wed Apr 14 13:48:44 UTC 2010
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=145698
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/146008: [Update]science/py-scipy:update to 0.7.2

2010-04-26 Thread wen
Synopsis: [Update]science/py-scipy:update to 0.7.2

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Mon Apr 26 07:18:58 UTC 2010
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=146008
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/146007: [Update]math/py-numpy:update to 1.4.1

2010-04-26 Thread wen
Synopsis: [Update]math/py-numpy:update to 1.4.1

State-Changed-From-To: feedback->closed
State-Changed-By: wen
State-Changed-When: Mon Apr 26 07:19:08 UTC 2010
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=146007
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/144678: New port: www/py-webkitgtk Python bindings for the WebKit GTK+ port

2010-04-26 Thread wen
Synopsis: New port: www/py-webkitgtk Python bindings for the WebKit GTK+ port

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Mon Apr 26 08:32:10 UTC 2010
State-Changed-Why: 
New port added. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=144678
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/147052: Port Update: astro/py-pyfits

2010-05-26 Thread wen
Synopsis: Port Update: astro/py-pyfits

Responsible-Changed-From-To: freebsd-python->wen
Responsible-Changed-By: wen
Responsible-Changed-When: Wed May 26 10:44:38 UTC 2010
Responsible-Changed-Why: 
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=147052
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/147784: [REPOCOPY] lang/python26 --> lang/python27

2010-07-05 Thread wen
Synopsis: [REPOCOPY] lang/python26 --> lang/python27

State-Changed-From-To: open->repocopy
State-Changed-By: wen
State-Changed-When: Mon Jul 5 07:36:04 UTC 2010
State-Changed-Why: 
- Please repocopy python26 --> python27


Responsible-Changed-From-To: freebsd-python->portmgr
Responsible-Changed-By: wen
Responsible-Changed-When: Mon Jul 5 07:36:04 UTC 2010
Responsible-Changed-Why: 
- Please repocopy python26 --> python27

http://www.freebsd.org/cgi/query-pr.cgi?pr=147784
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/142440: New Port: databases/py-south0.6

2010-11-02 Thread wen
Synopsis: New Port: databases/py-south0.6

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Wed Nov 3 02:09:15 UTC 2010
State-Changed-Why: 
Submitter timeout(> 290 days) and the port had been updated to 0.7.2
now.

http://www.freebsd.org/cgi/query-pr.cgi?pr=142440
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/144335: [PATCH] www/py-webhelpers does not use PYTHONPREFIX_SITELIBDIR

2010-11-03 Thread wen
Synopsis: [PATCH] www/py-webhelpers does not use PYTHONPREFIX_SITELIBDIR

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Wed Nov 3 07:42:37 UTC 2010
State-Changed-Why: 
Since these lines was removed from the Makefile, I think this PR should
be closed.

http://www.freebsd.org/cgi/query-pr.cgi?pr=144335
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/147665: update for www/py-pylons

2010-11-04 Thread wen
Synopsis: update for www/py-pylons

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Fri Nov 5 02:59:41 UTC 2010
State-Changed-Why: 
Committed, with minor changes. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=147665
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/152072: [patch] devel/py-pefile: update to 1.2.10-89

2010-11-09 Thread wen
Synopsis: [patch] devel/py-pefile: update to 1.2.10-89

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Wed Nov 10 03:19:18 UTC 2010
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=152072
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/152671: update of lang/python27 to 2.7.1 breaks multiple extensions

2010-11-29 Thread wen
Synopsis: update of lang/python27 to 2.7.1 breaks multiple extensions

State-Changed-From-To: open->closed
State-Changed-By: wen
State-Changed-When: Tue Nov 30 03:37:10 UTC 2010
State-Changed-Why: 
Committed, with minor changes. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=152671
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/153829: [REPOCOPY] lang/python31 --> lang/python32

2011-01-09 Thread wen
Synopsis: [REPOCOPY] lang/python31 --> lang/python32

State-Changed-From-To: open->repocopy
State-Changed-By: wen
State-Changed-When: Mon Jan 10 00:51:46 UTC 2011
State-Changed-Why: 
Assign to portmgr for repocopy. 


Responsible-Changed-From-To: freebsd-python->portmgr
Responsible-Changed-By: wen
Responsible-Changed-When: Mon Jan 10 00:51:46 UTC 2011
Responsible-Changed-Why: 
Assign to portmgr for repocopy. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153829
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Looking for a PR reviewer

2017-03-18 Thread wen heping
I shall have a test of it.

wen

2017-03-18 20:08 GMT+08:00 Thomas Zander :
> Hi,
>
> I am looking for someone from the python@ team to have a look at
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215764
>
> It's a tiny patch which should be easily reviewed in a short time.
>
> Thank you in advance,
> Riggs
> ___
> freebsd-python@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: lang/python27 and threads option

2011-06-27 Thread wen heping
It is caused by building libpython without -pthread, I shall try to fix it.

I am wondering why there is not a run error when "python -m threading"

wen

2011/6/28 Rainer Hurling :
> (Crossposting to python@, because I am not sure which is the right list in
> this case. Sorry, if this is not OK)
>
> Yesterday math/saga got updated. Now there is a new option for python
> bindings to the SAGA GIS api. This worked well with version 2.7.1 of
> lang/python27 until yesterday.
>
> I tried to build math/saga after upgrading to Python version 2.7.2 from
> today, but it stops in the configure. As far as I understand the math/saga
> configure script has a problem with the 'consistency check of all components
> of python development environment', see config.log (line 1347).
>
> -
> configure:16297: checking consistency of all components of python
> development environment
> configure:16323: cc -o conftest -O2 -pipe -I/usr/local/include
> -fno-strict-aliasing  -I/usr/local/include/python2.7  -L/usr/local/lib
> conftest.c  -L/usr/local/lib/python2.7/config -lpython2.7
> -Wl,--export-dynamic  -lutil >&5
> /usr/local/lib/libpython2.7.so: undefined reference to `pthread_create'
> -
>
> This does not happen, if Python 2.7.2 was build _without_ option 'THREADS'.
> Then SAGA GIS builds fine.
>
>
> Listing the dynamic object dependencies of the Python library, there is a
> vital difference between Python 2.7.1 and 2.7.2.
>
> Python 2.7.1, build _with_ option 'THREADS':
> ldd /usr/local/lib/libpython2.7.so
> /usr/local/lib/libpython2.7.so:
>        libutil.so.9 => /lib/libutil.so.9 (0x413ac000)
>        libm.so.5 => /lib/libm.so.5 (0x415bd000)
>        libthr.so.3 => /lib/libthr.so.3 (0x417de000)
>        libc.so.7 => /lib/libc.so.7 (0x4084a000)
>
> Python 2.7.2, build _with_ option 'THREADS':
> ldd /usr/local/lib/libpython2.7.so
> /usr/local/lib/libpython2.7.so:
>        libutil.so.9 => /lib/libutil.so.9 (0x413ac000)
>        libm.so.5 => /lib/libm.so.5 (0x415bd000)
>        libc.so.7 => /lib/libc.so.7 (0x4084a000)
>
> It seems that Python does not include libthr.so.3 in version 2.7.2. Is this
> intentional? Is there any other way to use the threaded version of Python
> now?
>
> Any help would be really appreciated.
>
> Thanks in advance,
> Rainer Hurling
> ___
> freebsd-po...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: lang/python27 and threads option

2011-06-27 Thread wen heping
Would you test removing files/patch-Makefile.pre.in ?

wen

2011/6/28 wen heping :
> It is caused by building libpython without -pthread, I shall try to fix it.
>
> I am wondering why there is not a run error when "python -m threading"
>
> wen
>
> 2011/6/28 Rainer Hurling :
>> (Crossposting to python@, because I am not sure which is the right list in
>> this case. Sorry, if this is not OK)
>>
>> Yesterday math/saga got updated. Now there is a new option for python
>> bindings to the SAGA GIS api. This worked well with version 2.7.1 of
>> lang/python27 until yesterday.
>>
>> I tried to build math/saga after upgrading to Python version 2.7.2 from
>> today, but it stops in the configure. As far as I understand the math/saga
>> configure script has a problem with the 'consistency check of all components
>> of python development environment', see config.log (line 1347).
>>
>> -
>> configure:16297: checking consistency of all components of python
>> development environment
>> configure:16323: cc -o conftest -O2 -pipe -I/usr/local/include
>> -fno-strict-aliasing  -I/usr/local/include/python2.7  -L/usr/local/lib
>> conftest.c  -L/usr/local/lib/python2.7/config -lpython2.7
>> -Wl,--export-dynamic  -lutil >&5
>> /usr/local/lib/libpython2.7.so: undefined reference to `pthread_create'
>> -
>>
>> This does not happen, if Python 2.7.2 was build _without_ option 'THREADS'.
>> Then SAGA GIS builds fine.
>>
>>
>> Listing the dynamic object dependencies of the Python library, there is a
>> vital difference between Python 2.7.1 and 2.7.2.
>>
>> Python 2.7.1, build _with_ option 'THREADS':
>> ldd /usr/local/lib/libpython2.7.so
>> /usr/local/lib/libpython2.7.so:
>>        libutil.so.9 => /lib/libutil.so.9 (0x413ac000)
>>        libm.so.5 => /lib/libm.so.5 (0x415bd000)
>>        libthr.so.3 => /lib/libthr.so.3 (0x417de000)
>>        libc.so.7 => /lib/libc.so.7 (0x4084a000)
>>
>> Python 2.7.2, build _with_ option 'THREADS':
>> ldd /usr/local/lib/libpython2.7.so
>> /usr/local/lib/libpython2.7.so:
>>        libutil.so.9 => /lib/libutil.so.9 (0x413ac000)
>>        libm.so.5 => /lib/libm.so.5 (0x415bd000)
>>        libc.so.7 => /lib/libc.so.7 (0x4084a000)
>>
>> It seems that Python does not include libthr.so.3 in version 2.7.2. Is this
>> intentional? Is there any other way to use the threaded version of Python
>> now?
>>
>> Any help would be really appreciated.
>>
>> Thanks in advance,
>> Rainer Hurling
>> ___
>> freebsd-po...@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>>
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/158850: [Update]lang/python32: update to 3.2.1

2011-07-12 Thread wen heping
2011/7/13 Li-Wen Hsu :
> The following reply was made to PR ports/158850; it has been noted by GNATS.
>
> From: Li-Wen Hsu 
> To: bug-follo...@freebsd.org
> Cc: wenhep...@gmail.com
> Subject: Re: ports/158850: [Update]lang/python32: update to 3.2.1
> Date: Wed, 13 Jul 2011 11:25:32 +0800
>
>  --TB36FDmn/VVEgNH/
>  Content-Type: text/plain; charset=us-ascii
>  Content-Disposition: inline
>  Content-Transfer-Encoding: quoted-printable
>
>  I made a very minor change: using %%PYVER_WITHPAT%% in pkg-plist, and prepa=
>  red diff for bsd.python.mk (I'm sure wen@ also has that, just put it to the=
>  public for testing :-)
>
>  Patches are available from here:
>
>     http://people.freebsd.org/~lwhsu/python321/bsd.python.mk-python321.diff
>     http://people.freebsd.org/~lwhsu/python321/python32-python321.diff

I agree with you.
Please commit it if test OK.

wen



>
>  By the way, hope this would not affect portmgr conducting exp-run sunpoet@'=
>  s changes in ports/158662, maybe we should prepare a new patch and notify p=
>  ortmgr after committing bsd.python.mk change.
>
>  --=20
>  Li-Wen Hsu 
>  http://lwhsu.org
>
>  --TB36FDmn/VVEgNH/
>  Content-Type: application/pgp-signature
>
>  -BEGIN PGP SIGNATURE-
>  Version: GnuPG v2.0.17 (FreeBSD)
>
>  iEYEARECAAYFAk4dECsACgkQQWsOOSiXsiiEZACfUX1W58g+3lXjMZpsUGlktkZg
>  qi4An2Xvx/oDBTm1sMarH/Qj6emXW+Vs
>  =6yAZ
>  -END PGP SIGNATURE-
>
>  --TB36FDmn/VVEgNH/--
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Maintainership of py-zopetesting and py-zopeevent

2011-09-05 Thread wen heping
2011/9/5 Ruslan Mahmatkhanov :
> Hi, Wen.
>
> wen heping wrote on 05.09.2011 17:34:
>>
>> Hi,Ruslan:
>>
>>    Do you have the plan to import Zope-2.13 into portstree?
>
> Yes, i am. But work on Zope2.13 and Plone4 is still underway.
>
>>
>>    I could run zope-2.13 on FreeBSD correctly with python-2.7, but
>> many new ports should be created if we import zope-2.13.
>
> Yes, here is all of them:
> http://happy-nation.by.ru/ports/zope-deps.tar.gz


Seems we have done many duplicate work.


>
> Please note that this is just zope deps, plone4 will push many of new ports
> too.
>
>>
>>    If you have the plan, give me a message and I am intersting of it.
>>
>> wen
>
> The plan is:
> 1. Commit this two guys: ports/159962 and ports/160434.

I shall look into these.


> 2. I'd prefer to create physical category like `webdevel` and
>   move all zope-specific ports there (and all of this django, pyramid,
>  pylons, turbogears stuff) to not trash the tree (mainly devel category).


I do not believe portmgr@ shall agree with this. Better discuss it
with miwi@ first.



> 3. Rename 4 existing zope ports for consistency.

I agree with this.



> 4. Push all the dependend ports mentioned before (over 50) to the tree.

Shall we add these new ports one by one?
I remember it is a hard work to deal with the depend relation, so it
is difficult to add so many new ports at one time.

BTW: I forward this mail to miwi@, lwshu@,python@.

wen



> 5. Import zope 2.13 and plone4 (i think to www/zope and www/plone, because > 
> they are the only supported versions atm)
> 6. Deprecate old zope/plone ports in three months
> 7. PROFIT
>
> Something like that, but i'm sure there may be some hidden or non-technical
> problems. Surely, after that and after handling remaining
> elementtree/pysqlite2x pr's, we can finally retire python24.
>
>>
>> 2011/9/5 Ruslan Mahmatkhanov:
>>>
>>> Good day.
>>>
>>> I want to grab maintainership of this ports:
>>>
>>> devel/py-zopetesting
>>> devel/py-zopeevent
>>> net/py-zopeproxy
>>>
>>> But i want them to be renamed to py-zope.testing, py-zope.event and
>>> py-zope.proxy respectively to match upstream projectnames and to
>>> consistency
>>> with other current and upcoming zope ports. Is this reasons sounds enough
>>> to
>>> make a repocopy of them? This change is purely cosmetic but will also
>>> ease
>>> maintainership a bit (Makefile vars like DISTNAME etc will not need to be
>>> redefined), but this will require to fix dependencies in all the ports
>>> that
>>> required it. I'm looking forward to your suggestion before sending pr's.
>>> Thanks.
>>>
>>> PS. It would be logical to rename devel/py-zopeInterface to
>>> py-zope.interface too, but this port is maintained and i'm not sure if
>>> maintainer (cc'ed) wishes such change.
>>>
>>> --
>>> Regards,
>>> Ruslan
>>>
>>> Tinderboxing kills... the drives.
>>> ___
>
>
>
> --
> Regards,
> Ruslan
>
> Tinderboxing kills... the drives.
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Re: About zope and plone

2011-10-19 Thread wen heping
Yes, I agree with this PR that we should add -N to easy_install's
deinstall argument.

And shall we ask for a exp-run to test it ?

wen

2011/10/19 Ruslan Mahmatkhanov :
> Good day, gentlemen.
>
> Please tell what do you think about message bellow and this pr:
> http://bugs.freebsd.org/159962
>
> Message bellow is somewhat complements this pr. Please also note that Wen
> agree with this pr, but he is busy for this right now. Also note that this
> pr is a stopper wrt importing of new zope and plone.
>
> Thanks in advance.
>
>  Исходное сообщение 
> Тема: Re: About zope and plone
> Дата: Sun, 16 Oct 2011 23:03:41 +0400
> От: Ruslan Mahmatkhanov 
> Кому: wen heping 
>
> wen heping wrote on 14.10.2011 13:15:
>
>> Today I tested devel/py-zope.minmax in Tinderbox, it has the same plist
>> error.
>> Now I need such a port exist in current FreeBSD portstree to be a demo
>> to python@.
>>
>> If python@ does not disagree I would ask portmgr@ for an exprun to test
>> it.
>> Then I would commit it.
>
> Hi Wen,
>
> i'm finally get it.
> While seeking an example for you i took some broken/outdated ports, that i
> just can't left in this state :), so i apologize for delay.
>
> You was right, it's a kind of upstream problem, but bsd.python.mk still
> contains a problem too, because this error still exists on deinstall of
> such silly ports (that may potentially exist in future).
>
> Here is how to reproduce:
> Pick any port, that
>  a) using setuptools for installing
>  b) has non-empty install_requires[] list in it's setup.py
>  c) does not define BUILD or RUN DEPENDS for deps, that are listed
>     in it's setup.py
>
> Ok, i wasn't able to find such port in the tree. But you can take, say,
> devel/py-daemon, remove BUILD/RUN_DEPENDS in it's Makefile and try to
> build it in tinderbox - it will builds and installs fine, but you'll get
> extra files installed on deinstall.
>
> The only port, that looked promising, was devel/py-Jinja. It defines
> this lines:
>
> PYEASYINSTALL_INSTALLARGS=      -N ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
> PYEASYINSTALL_UNINSTALLARGS=    -q -m -N
> ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
>
> Note adding the -N key on deinstall. But right now they are not needed,
> because this port packages successfully without them (it has empty
> install_requires[]).
>
> The problem with Products.MailHost, for example, is that if i add zope
> as dependency of this port, we well have cyclic deps and broken build.
> Resolving this issue with upstream will take much time (i know this
> because i already have 3 patches that hanging in zope/plone bugtrackers
> more than month).
>
> I can avoid this a different way, by defining
> PYEASYINSTALL_UNINSTALLARGS, but i believe that more correct and more
> easy is to define this -N in bsd.python.mk, because it's just two bytes
> in one file - and this is all, problem solved. Otherwise, i will be
> forced to patch many ports with this UNINSTALLARGS line, effectively
> littering the tree and making it hard to maintain. We already have it in
> PYEASYINSTALL_INSTALLARGS for some reason anyway, so why to not define it in
> UNINSTALLARGS too for symmetry?
>
> I hope this arguments are sufficient to convince portmgr@ and make this
> change.
>
> --
> Regards,
> Ruslan
>
> Tinderboxing kills... the drives.
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: About zope and plone

2011-10-30 Thread wen heping
Ruslan:

Sorry I did not found that you import py-roman too. I imported it
because another my port devel/py-mwlib need it.

wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: [Fwd: py27-scriptaculous-1.8.1.1_2 failed on amd64 8]

2011-12-16 Thread wen heping
After add new port devel/py-TGScheduler and add missing depends to
www/py-turbogears, now www/py-scriptaculous build well.

wen

2011/12/16 Pav Lucistnik :
>  Přeposlaná zpráva 
>> Od: User Ports-amd64 
>> Komu: c...@oook.cz, ite...@freebsd.org, florent.thou...@gmail.com
>> Předmět: py27-scriptaculous-1.8.1.1_2 failed on amd64 8
>> Datum: Thu, 15 Dec 2011 11:33:37 GMT
>>
>> You can also find this build log at
>>
>>   
>> http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.8.20111215095917/py27-scriptaculous-1.8.1.1_2.log
>>
>> building py27-scriptaculous-1.8.1.1_2 on gohan61.freebsd.org
>> in directory /y/pkgbuild/8/20111215095917/chroot/12
>> building for: 8.1-RELEASE-p4 amd64
>> maintained by: pyt...@freebsd.org
>> port directory: /usr/ports/www/py-scriptaculous
>> Makefile ident: $FreeBSD: ports/www/py-scriptaculous/Makefile,v 1.5 
>> 2011/02/27 16:16:14 miwi Exp $
>> build started at Thu Dec 15 11:32:18 UTC 2011
>> FETCH_DEPENDS=
>> PATCH_DEPENDS=
>> EXTRACT_DEPENDS=unzip-6.0_1.tbz
>> BUILD_DEPENDS=gettext-0.18.1.1.tbz libiconv-1.13.1_1.tbz py27-AddOns-0.7.tbz 
>> py27-BytecodeAssembler-0.6.tbz py27-DecoratorTools-1.8_1.tbz 
>> py27-Extremes-1.1.1.tbz py27-Genshi-0.6.tbz py27-PEAK-Rules-0.5a1_3.tbz 
>> py27-Paste-1.7.5.1_1.tbz py27-PasteDeploy-1.3.4_1.tbz 
>> py27-PasteScript-1.7.4.2.tbz py27-SymbolType-1.0.tbz 
>> py27-TurboCheetah-1.0_1.tbz py27-TurboGears-1.5.1.tbz 
>> py27-TurboJson-1.3.2.tbz py27-TurboKid-1.0.5_1.tbz py27-cheetah-2.4.4.tbz 
>> py27-cherrypy-3.2.2.tbz py27-configobj-4.7.2.tbz py27-flup-1.0.2_1.tbz 
>> py27-formencode-1.2.2_1.tbz py27-kid-0.9.6_1.tbz py27-markdown-2.1.0.tbz 
>> py27-setuptools-0.6c11_1.tbz py27-simplejson-2.3.0.tbz 
>> py27-sqlobject-1.2.0.tbz py27-tgMochiKit-1.4.2.tbz py27-wsgiutils-0.7_1.tbz 
>> python27-2.7.2_3.tbz
>> RUN_DEPENDS=gettext-0.18.1.1.tbz libiconv-1.13.1_1.tbz py27-AddOns-0.7.tbz 
>> py27-BytecodeAssembler-0.6.tbz py27-DecoratorTools-1.8_1.tbz 
>> py27-Extremes-1.1.1.tbz py27-Genshi-0.6.tbz py27-PEAK-Rules-0.5a1_3.tbz 
>> py27-Paste-1.7.5.1_1.tbz py27-PasteDeploy-1.3.4_1.tbz 
>> py27-PasteScript-1.7.4.2.tbz py27-SymbolType-1.0.tbz 
>> py27-TurboCheetah-1.0_1.tbz py27-TurboGears-1.5.1.tbz 
>> py27-TurboJson-1.3.2.tbz py27-TurboKid-1.0.5_1.tbz py27-cheetah-2.4.4.tbz 
>> py27-cherrypy-3.2.2.tbz py27-configobj-4.7.2.tbz py27-flup-1.0.2_1.tbz 
>> py27-formencode-1.2.2_1.tbz py27-kid-0.9.6_1.tbz py27-markdown-2.1.0.tbz 
>> py27-setuptools-0.6c11_1.tbz py27-simplejson-2.3.0.tbz 
>> py27-sqlobject-1.2.0.tbz py27-tgMochiKit-1.4.2.tbz py27-wsgiutils-0.7_1.tbz 
>> python27-2.7.2_3.tbz
>> prefixes: LOCALBASE=usr/local
>> add_pkg
>> 
>> 
>> ===>  License check disabled, port has not defined LICENSE
>> => Scriptaculous-1.8.1.1.zip doesn't seem to exist in /tmp/distfiles/.
>> => Attempting to fetch 
>> ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/Scriptaculous-1.8.1.1.zip
>> Scriptaculous-1.8.1.1.zip                               75 kB 1400 kBps
>> => SHA256 Checksum OK for Scriptaculous-1.8.1.1.zip.
>> 
>> 
>> add_pkg unzip-6.0_1.tbz
>> adding dependencies
>> pkg_add unzip-6.0_1.tbz
>> ===>  License check disabled, port has not defined LICENSE
>> ===>  Extracting for py27-scriptaculous-1.8.1.1_2
>> => SHA256 Checksum OK for Scriptaculous-1.8.1.1.zip.
>> ===>   py27-scriptaculous-1.8.1.1_2 depends on file: /usr/local/bin/unzip - 
>> found
>> Deleting unzip-6.0_1
>> 
>> 
>> add_pkg
>> ===>  Patching for py27-scriptaculous-1.8.1.1_2
>> 
>> 
>> add_pkg gettext-0.18.1.1.tbz libiconv-1.13.1_1.tbz py27-AddOns-0.7.tbz 
>> py27-BytecodeAssembler-0.6.tbz py27-DecoratorTools-1.8_1.tbz 
>> py27-Extremes-1.1.1.tbz py27-Genshi-0.6.tbz py27-PEAK-Rules-0.5a1_3.tbz 
>> py27-Paste-1.7.5.1_1.tbz py27-PasteDeploy-1.3.4_1.tbz 
>> py27-PasteScript-1.7.4.2.tbz py27-SymbolType-1.0.tbz 
>> py27-TurboCheetah-1.0_1.tbz py27-TurboGears-1.5.1.tbz 
>> py27-TurboJson-1.3.2.tbz py27-TurboKid-1.0.5_1.tbz py27-cheetah-2.4.4.tbz 
>> py27-cherrypy-3.2.2.tbz py27-configobj-4.7.2.tbz py27-flup-1.0.2_1.tbz 
>> py27-formencode-1.2.2_1.tbz py27-kid-0.9

Re: The state of packages based on Python ports

2012-01-31 Thread wen heping
2012/2/1 Mark Linimon 

> On Tue, Jan 31, 2012 at 04:24:24PM -0800, Paul Hoffman wrote:
> > Nearly all of the packages in the packages system for Python-related
> > ports are for Python 2.6 *only*.
>

Maybe you should check your /etc/make.conf , do you set default python
version to 2.6 ?

wen



>
> er, you'll have to tell me where you're seeing this?
>
> I checked on pointyhat, on a recent i386-8 build for 8-STABLE:
>
> $ pwd
> /dumpster/pointyhat/i386/archive/errorlogs/a.8.20120118070557
> $ ls py* | wc -l
>1199
> $ grep BUILD_DEPENDS py* | grep python24 | wc -l
>   2
> $ grep BUILD_DEPENDS py* | grep python25 | wc -l
>   3
> $ grep BUILD_DEPENDS py* | grep python26 | wc -l
>   2
> $ grep BUILD_DEPENDS py* | grep python27 | wc -l
>1179
> $ grep BUILD_DEPENDS py* | grep python3 | wc -l
>   5
>
> So, I'm confused?
>
> mcl
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Python upgrade to address vulnerability?

2012-02-15 Thread wen heping
2012/2/15 Ruslan Mahmatkhanov 

> Doug Barton wrote on 15.02.2012 02:20:
>
>> So apparently we have a python vulnerability according to
>> http://portaudit.FreeBSD.org/**b4f8be9e-56b2-11e1-9fb7-**
>> 003067b2972c.html<http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html>
>> ,
>> but I'm not seeing an upgrade to address it yet. Any idea when that will
>> happen?
>>
>>
>> Thanks,
>>
>> Doug
>>
>>
> Patch is there:
> http://people.freebsd.org/~rm/**python-CVE-2012-0845.diff.txt<http://people.freebsd.org/~rm/python-CVE-2012-0845.diff.txt>


Had this patch been committed into upstream? When I found it , it was in
review state.

And CVE-2012-0845 too.

wen




>
>
> Patch for 3.2 is taken there directly:
> http://bugs.python.org/**file24522/xmlrpc_loop-1.diff<http://bugs.python.org/file24522/xmlrpc_loop-1.diff>
>
> Patch for 2.5, 2.6, 2.7, 3.1 is adopted from this patch:
> http://bugs.python.org/**file24513/xmlrpc_loop.diff<http://bugs.python.org/file24513/xmlrpc_loop.diff>
>
> SimpleXMLRPCServer.py in 2.4 is too different and it is going to die
> anyway so I didn't messed with it.
>
> If noone objects, I can commit it. Please tell me what should i do.
>
> --
> Regards,
> Ruslan
>
> Tinderboxing kills... the drives.
> __**_
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**python<http://lists.freebsd.org/mailman/listinfo/freebsd-python>
> To unsubscribe, send any mail to 
> "freebsd-python-unsubscribe@**freebsd.org
> "
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Python upgrade to address vulnerability?

2012-02-15 Thread wen heping
2012/2/15 Ruslan Mahmatkhanov 

> wen heping wrote on 15.02.2012 14:16:
>
>> 2012/2/15 Ruslan Mahmatkhanov
>>
>>  Doug Barton wrote on 15.02.2012 02:20:
>>>
>>>  So apparently we have a python vulnerability according to
>>>> http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-**<http://portaudit.FreeBSD.org/**b4f8be9e-56b2-11e1-9fb7-**>
>>>> 003067b2972c.html<http://**portaudit.FreeBSD.org/**
>>>> b4f8be9e-56b2-11e1-9fb7-**003067b2972c.html<http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html>
>>>> >
>>>>
>>>> ,
>>>> but I'm not seeing an upgrade to address it yet. Any idea when that will
>>>> happen?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Doug
>>>>
>>>>
>>>>  Patch is there:
>>> http://people.freebsd.org/~rm/python-CVE-2012-0845.diff.**txt<http://people.freebsd.org/~rm/**python-CVE-2012-0845.diff.txt>
>>> <http://people.freebsd.org/**~rm/python-CVE-2012-0845.diff.**txt<http://people.freebsd.org/~rm/python-CVE-2012-0845.diff.txt>
>>> >
>>>
>>
>>
>> Had this patch been committed into upstream? When I found it , it was in
>> review state.
>>
>> And CVE-2012-0845 too.
>>
>> wen
>>
>
> Yes, it is not yet committed, but comments looks promisingly :). And i
> can't reproduce this bug after patching, using procedure described in bug
> report.


Me too :)
I trust this patch too but I would like wait some time.

wen



>
>
> --
> Regards,
> Ruslan
>
> Tinderboxing kills... the drives.
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: [Fwd: dvdvideo-20120126_1 failed on amd64 8]

2012-04-16 Thread wen heping
Hi, all:

   I attached a patch to resole it .
   Any comments?

wen
--- Mk/bsd.python.mk.orig   2012-04-16 14:06:51.0 +0800
+++ Mk/bsd.python.mk2012-04-16 16:03:06.0 +0800
@@ -448,6 +448,19 @@
 PYTHONPREFIX_LIBDIR=   ${PYTHON_LIBDIR:S;${PYTHONBASE};${PREFIX};}
 PYTHONPREFIX_SITELIBDIR=   ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${PREFIX};}
 
+.if ${PYTHON_REL} >= 323
+PYC_IMPL?= cpython
+PYC_VER?=  32
+PYC_ABI=   ${PYC_IMPL}-${PYC_VER}
+PLIST_SUB+=PYC_MULTI=${PYC_ABI}. \
+   PYC_CACHE="__pycache__/" \
+   PYC_CACHE_DIR=""
+.else
+PLIST_SUB+=PYC_MULTI="" \
+   PYC_CACHE="" \
+   PYC_CACHE_DIR="@comment "
+.endif
+
 # setuptools support
 .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"
 .if ${PYTHON_SUFFIX} < 30
--- sysutils/dvdvideo/Makefile.orig 2012-04-16 16:44:13.0 +0800
+++ sysutils/dvdvideo/Makefile  2012-04-16 16:44:44.0 +0800
@@ -7,7 +7,7 @@
 
 PORTNAME=  dvdvideo
 PORTVERSION=   20120126
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=sysutils multimedia
 MASTER_SITES=  http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
--- sysutils/dvdvideo/pkg-plist.orig2012-04-16 16:44:26.0 +0800
+++ sysutils/dvdvideo/pkg-plist 2012-04-16 16:41:43.0 +0800
@@ -1,40 +1,42 @@
 bin/dvdvideo-backup-image
 %%PYTHON_SITELIBDIR%%/dvdvideo/ifo.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/libdvdcss.pyc
-%%PYTHON_SITELIBDIR%%/dvdvideo/vob.pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%libdvdcss.%%PYC_MULTI%%pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%vob.%%PYC_MULTI%%pyc
 %%PYTHON_SITELIBDIR%%/dvdvideo/volume.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/volume.pyc
-%%PYTHON_SITELIBDIR%%/dvdvideo/volume.pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%volume.%%PYC_MULTI%%pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%volume.%%PYC_MULTI%%pyo
 %%PYTHON_SITELIBDIR%%/dvdvideo/vob.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/utils.pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%utils.%%PYC_MULTI%%pyc
 %%PYTHON_SITELIBDIR%%/dvdvideo/libdvdcss.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/media.pyc
-%%PYTHON_SITELIBDIR%%/dvdvideo/__init__.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/ifo.pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%media.%%PYC_MULTI%%pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%__init__.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%ifo.%%PYC_MULTI%%pyc
 %%PYTHON_SITELIBDIR%%/dvdvideo/udf/general.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/__init__.pyc
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/media.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/volume.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/filesystem.pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%__init__.%%PYC_MULTI%%pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%media.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%volume.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%filesystem.%%PYC_MULTI%%pyc
 %%PYTHON_SITELIBDIR%%/dvdvideo/udf/__init__.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/general.pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%general.%%PYC_MULTI%%pyc
 %%PYTHON_SITELIBDIR%%/dvdvideo/udf/filesystem.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/__init__.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/media.pyc
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/general.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/volume.pyc
-%%PYTHON_SITELIBDIR%%/dvdvideo/udf/filesystem.pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%__init__.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%media.%%PYC_MULTI%%pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%general.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%volume.%%PYC_MULTI%%pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%filesystem.%%PYC_MULTI%%pyo
 %%PYTHON_SITELIBDIR%%/dvdvideo/udf/volume.py
 %%PYTHON_SITELIBDIR%%/dvdvideo/udf/media.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/libdvdcss.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/vob.pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%libdvdcss.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%vob.%%PYC_MULTI%%pyo
 %%PYTHON_SITELIBDIR%%/dvdvideo/__init__.py
 %%PYTHON_SITELIBDIR%%/dvdvideo/media.py
 %%PYTHON_SITELIBDIR%%/dvdvideo/utils.py
-%%PYTHON_SITELIBDIR%%/dvdvideo/utils.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/__init__.pyc
-%%PYTHON_SITELIBDIR%%/dvdvideo/media.pyo
-%%PYTHON_SITELIBDIR%%/dvdvideo/ifo.pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%utils.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%__init__.%%PYC_MULTI%%pyc
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%media.%%PYC_MULTI%%pyo
+%%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%ifo.%%PYC_MULTI%%pyo
+%%PYC_CACHE_DIR%%@dirrm %%PYTHON_SITELIBDIR%%/dvdvideo/udf/%%PYC_CACHE%%
+%%PYC_CACHE_DIR%%@dirrm %%PYTHON_SITELIBDIR%%/dvdvideo/%%PYC_CACHE%%
 @dirrm %%PYTHON_SITELIBDIR%%/dvdvideo

Re: [Fwd: dvdvideo-20120126_1 failed on amd64 8]

2012-04-16 Thread wen heping
2012/4/16 Pav Lucistnik 

> On 2012/04/16 10:47, wen heping wrote:
>
>> Hi, all:
>>
>>I attached a patch to resole it .
>>Any comments?
>>
>
> Are you going to pass over _all_ py* ports with that plist magic?


Not all, but those ports which could both build with python2 and python3.

Even that, there are many plist should be modified. But currently I have no
better resolve and I hope others
have a simple way to resolve it.

wen



>
>
> --
> Pav Lucistnik 
>  
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: [Fwd: dvdvideo-20120126_1 failed on amd64 8]

2012-04-25 Thread wen heping
Hi, all !

   nivit@ resolve of python-3.2 plist problem of devel/py-virtualenv is a
simple one and better one.

   nivit@, would you commit your resolve into bsd.python.mk ?

   Any comments ?

wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/167569: [PATCH] database/py-postgresql: new port version

2012-05-03 Thread wen heping
The following reply was made to PR ports/167569; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, willia...@gmail.com
Cc:  
Subject: Re: ports/167569: [PATCH] database/py-postgresql: new port version
Date: Fri, 4 May 2012 10:08:34 +0800

 --bcaec517a5fcd8bf7804bf2c65a9
 Content-Type: text/plain; charset=UTF-8
 
 Hi,
 
Did you test it with python-3.2.3 in portstree ?
 
 wen
 
 --bcaec517a5fcd8bf7804bf2c65a9
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 Hi,=C2=A0=C2=A0=C2=A0 =C2=A0Did you test it with python-3.2=
 .3 in portstree ?wen
 
 --bcaec517a5fcd8bf7804bf2c65a9--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/167569: [PATCH] database/py-postgresql: new port version

2012-05-04 Thread wen heping
2012/5/4 William Grzybowski 

> The following reply was made to PR ports/167569; it has been noted by
> GNATS.
>
> From: William Grzybowski 
> To: Volodymyr Kostyrko 
> Cc: bug-follo...@freebsd.org
> Subject: Re: ports/167569: [PATCH] database/py-postgresql: new port version
> Date: Fri, 4 May 2012 09:07:32 -0300
>
>  On Fri, May 4, 2012 at 9:03 AM, Volodymyr Kostyrko 
> wrot=
>  e:
>  > Hi all.
>  >
>  > Sorry about not updating port, not using it anymore...
>  >
>  > I've compiled updated patch, the one that removes everything upon
>  > deinstallation.
>
>  Won't that break for python 3.1?
>  Or we just care for python 3.2?
>

Just for python-3.2.3, please visit:
http://www.python.org/dev/peps/pep-3147/

Some other is working on to resolve it, better we hold this patch until
pep-3147 was resolved.

wen


>
>  Just wondering, I'm new on this...
>
>
>  --=20
>  William Grzybowski
>  --
>  Ag=EAncia Livre - www.agencialivre.com.br
>  Curitiba/PR - Brasil
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Earlier patch to always install python's eggs as unpacked files

2012-06-13 Thread wen heping
2012/6/13 Martin Wilke 

> On Tue, 12 Jun 2012 17:25:03 -0400
> John Baldwin  wrote:
>
> > There was a patch in this post from last year
> > (
> http://lists.freebsd.org/pipermail/freebsd-python/2011-August/003701.html)
> > to make python packages unpack eggs to avoid problems with shared egg
> > caches and to avoid requiring Internet access during pkg_add.  Andrey
> > mentioned doing an exp run with his patch.  I don't see the patch
> > committed to bsd.python.mk or any further replies to the thread.  We
> > are running into some of these issues using our own packages at my
> > work.  Were there any problems with this patch or during it's exp run?
> >
>
> Hi John and Andrey,
>
> I've add that to my todo for next exprun over the weekend.
>


I agree always install python's eggs as unpacked files too.

wen


>
> - Martin
>
> --
> +--oOO--(_)--OOo+
>
> Facebook:   miwi1
> Twitter:miwi_
>
> With best Regards,
>Martin Wilke (miwi_(at)_FreeBSD.org)
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: svn commit: r308089 - head/converters/py-unidecode

2012-12-02 Thread wen heping
2012/12/2 Dmitry Sivachenko :
> Hello!
>
> This should probably be done somewhere in bsd.python.mk, not in each port's 
> Makefile?

Should be done after 9.1 release.

wen

>
> There is a large number of ports broken that way…
>
>
> Begin forwarded message:
>
>> From: Ruslan Mahmatkhanov 
>> Subject: svn commit: r308089 - head/converters/py-unidecode
>> Date: 2 декабря 2012 г., 9:35:21 GMT+04:00
>> To: ports-committ...@freebsd.org, svn-ports-...@freebsd.org, 
>> svn-ports-h...@freebsd.org
>>
>> Author: rm
>> Date: Sun Dec  2 05:35:20 2012
>> New Revision: 308089
>> URL: http://svnweb.freebsd.org/changeset/ports/308089
>>
>>
>>
>> -.include 
>> +.include 
>> +
>> +.if ${PYTHON_REL} >= 320
>> +.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
>> +.endif
>> +
>> +.include 
>>
>
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re:ports/180464: [patch] Update astro/py-pyfits to 3.1.2

2013-08-06 Thread wen heping
The following reply was made to PR ports/180464; it has been noted by GNATS.

From: wen heping 
To: "bug-follo...@freebsd.org" , 
nwhiteh...@freebsd.org
Cc:  
Subject: Re:ports/180464: [patch] Update astro/py-pyfits to 3.1.2
Date: Tue, 6 Aug 2013 15:56:41 +0800

 --001a11c2cbdef7139304e342c3ac
 Content-Type: text/plain; charset=UTF-8
 
 Hi,
 
The build failed on my box, the build log is as below, would you have a
 look of it ?
 
   Thanks !
 
 wen
 
 building py27-pyfits-3.1.2 in directory /usr/local/tinderbox/10.0-head
 build started at Tue Aug  6 07:45:41 UTC 2013
 port directory: /usr/ports/astro/py-pyfits
 building for:  10.0-CURRENT amd64
 maintained by: tonyma...@optusnet.com.au
 ident warning: no id keywords in /usr/ports/astro/py-pyfits/Makefile
 Makefile ident:
 prefixes: LOCALBASE=usr/local PREFIX=/usr/local
 Begin Configuration:
 ---Begin Environment---
 INDEXFILE=INDEX-10
 ARCH=amd64
 PORTOBJFORMAT=elf
 PORTBUILD_USE_IPV6=
 MD_SIZE=0
 X_WINDOW_SYSTEM=xorg
 DISTFILE_URI=
 .MAKE.LEVEL=1
 TIMEOUT=7200
 FTP_PASSIVE_MODE=yes
 CCACHE_ENABLED=0
 MASTER_SITE_OVERRIDE=file:///distcache/${DIST_SUBDIR}/
 MAIL=/var/mail/root
 OPTIONS_ENABLED=0
 MD_FSTYPE=
 DISTCACHE=/distcache
 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
 pb=/usr/local/tinderbox
 HTTP_TIMEOUT=900
 PACKAGES=/tmp/packages
 HAVE_MOTIF=1
 LOG_DIRECTORY=/usr/local/tinderbox/logs
 PKGSUFFIX=.txz
 BATCH=1
 OSREL=10.0
 __DSVERSION__=4.0.0
 CCACHE_DIR=
 LOG_COMPRESSLOGS=0
 defaultUpdateType=SVN
 OLDPWD=/
 USA_RESIDENT=YES
 DISTFILE_CACHE=/usr/ports/distfiles/
 WRKDIRPREFIX=/work
 BRANCH=CURRENT
 defaultUpdateHost=svn.FreeBSD.org
 PWD=/usr/ports/astro/py-pyfits
 HOST_WORKDIR=
 OPTIONS_DIR=
 PKGZIPCMD=bzip2
 USER=root
 DISTDIR=/tmp/distfiles
 HOME=/root
 CCACHE_JAIL=0
 LOG_DOCOPY=1
 CCACHE_MAX_SIZE=1G
 UNAME_m=amd64
 UNAME_n=tinderbox.host
 CCACHE_NOLINK=1
 TINDERD_SLEEPTIME=120
 FTP_TIMEOUT=900
 PARALLEL_PACKAGE_BUILD=1
 TINDERD_LOGFILE=/dev/null
 UNAME_p=amd64
 CCACHE_LOGFILE=
 UNAME_r=10.0-CURRENT
 LOCALBASE=/usr/local
 UNAME_s=FreeBSD
 PACKAGE_BUILDING=1
 TINDERBOX_BUILDING=1
 OSVERSION=135
 UNAME_v=FreeBSD 10.0-CURRENT #0: Tue Aug  6 15:43:39 CST 2013
 r...@tinderbox.host:/usr/src/sys/magic/kernel/path
 BLOCKSIZE=K
 PORTBUILD_USE_IPV4=YES
 ---End Environment---
 
 ---Begin OPTIONS List---
 ---End OPTIONS List---
 
 End Configuration.
 PKG_DEPENDS=pkg-1.1.4_1.txz
 FETCH_DEPENDS=
 PATCH_DEPENDS=
 EXTRACT_DEPENDS=
 BUILD_DEPENDS=lapack-3.4.2.txz blas-3.4.2.txz suitesparse-4.0.2_1.txz
 py27-nose-1.3.0.txz python27-2.7.5_1.txz gcc-4.6.3.txz
 py27-distribute-0.6.35.txz gettext-0.18.3.txz gmp-5.1.2.txz
 mpfr-3.1.2.txz mpc-0.9.txz libiconv-1.14_1.txz binutils-2.23.2.txz
 gcc-ecj-4.5.txz py27-numpy-1.7.0_1,1.txz py27-d2to1-0.2.10.txz
 RUN_DEPENDS=lapack-3.4.2.txz blas-3.4.2.txz suitesparse-4.0.2_1.txz
 py27-nose-1.3.0.txz python27-2.7.5_1.txz gcc-4.6.3.txz
 py27-distribute-0.6.35.txz gettext-0.18.3.txz gmp-5.1.2.txz
 mpfr-3.1.2.txz mpc-0.9.txz libiconv-1.14_1.txz binutils-2.23.2.txz
 gcc-ecj-4.5.txz py27-numpy-1.7.0_1,1.txz py27-d2to1-0.2.10.txz
 TEST_DEPENDS=
 add_pkg pkg-1.1.4_1.txz
 adding dependencies
 pkg_add pkg-1.1.4_1.txz
 The package management tool is not yet installed on your system.
 Do you want to fetch and install it now? [y/N]: Installing pkg-1.1.4_1... done
 If you are upgrading from the old package format, first run:
 
   # pkg2ng
 add_pkg
 
 
 ===>   py27-pyfits-3.1.2 depends on file: /usr/local/sbin/pkg - found
 => pyfits-3.1.2.tar.gz doesn't seem to exist in /tmp/distfiles/.
 => Attempting to fetch file:///distcache//pyfits-3.1.2.tar.gz
 pyfits-3.1.2.tar.gz  0  B0  Bps
 ===> Fetching all distfiles required by py27-pyfits-3.1.2 for building
 => SHA256 Checksum OK for pyfits-3.1.2.tar.gz.
 
 
 add_pkg
 ===>   py27-pyfits-3.1.2 depends on file: /usr/local/sbin/pkg - found
 ===> Fetching all distfiles required by py27-pyfits-3.1.2 for building
 ===>  Extracting for py27-pyfits-3.1.2
 => SHA256 Checksum OK for pyfits-3.1.2.tar.gz.
 
 
 add_pkg
 ===>  Patching for py27-pyfits-3.1.2
 
 
 add_pkg lapack-3.4.2.txz blas-3.4.2.txz suitesparse-4.0.2_1.txz
 py27-nose-1.3.0.txz python27-2.7.5_1.txz gcc-4.6.3.txz
 py27-distribute-0.6.35.txz gettext-0.18.3.txz gmp-5.1.2.txz
 mpfr-3.1.2.txz mpc-0.9.txz libiconv-1.14_1.txz binutils-2.23.2.txz
 gcc-ecj-4.5.txz py27-numpy-1.7.0_1,1.txz py27-d2to1-0.2.10.txz
 adding dependencies
 pkg_add lapack-3.4.2.txz
 Installing lapack-3.4.2...Installing mpfr-3.1.2...Instal

Re: ports/181593: math/py-numpy maintainer gone

2014-01-12 Thread wen heping
I am so busy that I have not enough time to maintain numpy.
I suggest reset numpy's maintainer to ports@ now.(Any new voluteer welcomed!)
Thank llwang's great work for this important python package.

wen

2014/1/12  :
> Synopsis: math/py-numpy maintainer gone
>
> Responsible-Changed-From-To: freebsd-python->koobs
> Responsible-Changed-By: koobs
> Responsible-Changed-When: Sun Jan 12 13:23:14 UTC 2014
> Responsible-Changed-Why:
> I'll take it.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=181593
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


python3.8

2019-10-21 Thread wen heping
Hi,

   Here is a patch to create lang/python38 port. It build well on my head 
system.
   Any reviews welcomed !

wen
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


the patch to fix plist when build with DEBUG option

2019-11-03 Thread wen heping
Hi,

  Here is a patch to fix plist when build with DEBUG option, would you have a 
test of it?
  Thank you !

wen
Index: Makefile
===
--- Makefile(revision 516614)
+++ Makefile(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=  python
 PORTVERSION=   ${PYTHON_PORTVERSION}
+PORTREVISION=  1
 CATEGORIES=lang python
 MASTER_SITES=  PYTHON/ftp/python/${PORTVERSION}
 PKGNAMESUFFIX= ${PYTHON_SUFFIX}
@@ -92,7 +93,8 @@
 .if !empty(ABIFLAGS)
 PLIST_FILES+=  bin/python${PYTHON_VER}${ABIFLAGS} \
bin/python${PYTHON_VER}${ABIFLAGS}-config \
-   libdata/pkgconfig/python-${PYTHON_VER}${ABIFLAGS}.pc
+   libdata/pkgconfig/python-${PYTHON_VER}${ABIFLAGS}.pc \
+   libdata/pkgconfig/python-${PYTHON_VER}${ABIFLAGS}-embed.pc
 .endif
 
 # https://bugs.python.org/issue22521
Index: files/patch-Makefile.pre.in
===
--- files/patch-Makefile.pre.in (revision 516614)
+++ files/patch-Makefile.pre.in (working copy)
@@ -1,7 +1,11 @@
 # Description: Remove duplicate CFLAGS, CPPFLAGS, LDFLAGS by stripping 
CONFIGURE_*
 # Submitted by: koobs (r326729)
 # TODO: Upstream
 Makefile.pre.in.orig   2019-10-19 23:59:05 UTC
+
+# Description: Create symlinks for non-ABI-suffixed python*-config and 
ABI-suffixed python-*.pc
+# Submitted by: antoine@ (r358029)
+# TODO: Upstream
+--- Makefile.pre.in.orig   2019-11-04 01:16:37 UTC
 +++ Makefile.pre.in
 @@ -80,7 +80,6 @@ MAKESETUP=  $(srcdir)/Modules/makesetup
  OPT=  @OPT@
@@ -33,3 +37,33 @@
  PY_LDFLAGS_NODIST=$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST)
  NO_AS_NEEDED= @NO_AS_NEEDED@
  SGI_ABI=  @SGI_ABI@
+@@ -1269,14 +1266,6 @@ bininstall: altbininstall
+   else true; \
+   fi
+   (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python3$(EXE))
+-  -if test "$(VERSION)" != "$(LDVERSION)"; then \
+-  rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config; \
+-  (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(LDVERSION)-config 
python$(VERSION)-config); \
+-  rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION).pc; \
+-  (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc 
python-$(LDVERSION).pc); \
+-  rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION)-embed.pc; \
+-  (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc 
python-$(LDVERSION)-embed.pc); \
+-  fi
+   -rm -f $(DESTDIR)$(BINDIR)/python3-config
+   (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config 
python3-config)
+   -rm -f $(DESTDIR)$(LIBPC)/python3.pc
+@@ -1580,6 +1569,14 @@ libainstall:@DEF_MAKE_RULE@ python-config
+   $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh
+   $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py
+   $(INSTALL_SCRIPT) python-config 
$(DESTDIR)$(BINDIR)/python$(LDVERSION)-config
++  -if test "$(VERSION)" != "$(LDVERSION)"; then \
++  rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config; \
++  (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(LDVERSION)-config 
python$(VERSION)-config); \
++  rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION).pc; \
++  (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc 
python-$(LDVERSION).pc); \
++  rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION)-embed.pc; \
++  (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc 
python-$(LDVERSION)-embed.pc); \
++  fi
+   @if [ -s Modules/python.exp -a \
+   "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \
+   echo; echo "Installing support files for building shared 
extension modules on AIX:"; \
Index: pkg-plist
===
--- pkg-plist   (revision 516614)
+++ pkg-plist   (working copy)
@@ -22,21 +22,21 @@
 include/python%%XYDOTABI%%/compile.h
 include/python%%XYDOTABI%%/complexobject.h
 include/python%%XYDOTABI%%/context.h
-include/python%%XYDOT%%/cpython/abstract.h
-include/python%%XYDOT%%/cpython/dictobject.h
-include/python%%XYDOT%%/cpython/fileobject.h
-include/python%%XYDOT%%/cpython/initconfig.h
-include/python%%XYDOT%%/cpython/interpreteridobject.h
-include/python%%XYDOT%%/cpython/object.h
-include/python%%XYDOT%%/cpython/objimpl.h
-include/python%%XYDOT%%/cpython/pyerrors.h
-include/python%%XYDOT%%/cpython/pylifecycle.h
-include/python%%XYDOT%%/cpython/pymem.h
-include/python%%XYDOT%%/cpython/pystate.h
-include/python%%XYDOT%%/cpython/sysmodule.h
-include/python%%XYDOT%%/cpython/traceback.h
-include/python%%XYDOT%%/cpython/tupleobject.h
-include/python%%XYDOT%%/cpython/unicodeobject.h
+include/python%%XYDOTABI%%/cpython/abstract.h
+include/python%%XYDOTABI%%/cpython/dictobject.h
+include/pyt

回复: svn commit: r541099 - head/www/py-django30

2020-07-03 Thread wen heping
Please go ahead !
Thank you !

wen

发件人: Kubilay Kocak  代表 Kubilay Kocak 

发送时间: 2020年7月3日 21:38
收件人: Wen Heping ; ports-committ...@freebsd.org 
; svn-ports-...@freebsd.org 
; svn-ports-h...@freebsd.org 

抄送: python 
主题: Re: svn commit: r541099 - head/www/py-django30

On 3/07/2020 9:50 pm, Wen Heping wrote:
> Author: wen
> Date: Fri Jul  3 11:50:50 2020
> New Revision: 541099
> URL: https://svnweb.freebsd.org/changeset/ports/541099
>
> Log:
>- Update to 3.0.8
>
> Modified:
>head/www/py-django30/Makefile
>head/www/py-django30/distinfo
>
> Modified: head/www/py-django30/Makefile
> ==
> --- head/www/py-django30/Makefile Fri Jul  3 11:50:01 2020
> (r541098)
> +++ head/www/py-django30/Makefile Fri Jul  3 11:50:50 2020
> (r541099)
> @@ -2,7 +2,7 @@
>   # $FreeBSD$
>
>   PORTNAME=   django
> -PORTVERSION= 3.0.7
> +PORTVERSION= 3.0.8
>   CATEGORIES= www python
>   MASTER_SITES=   CHEESESHOP \
>https://www.djangoproject.com/m/releases/${PORTVERSION}/
>
> Modified: head/www/py-django30/distinfo
> ==
> --- head/www/py-django30/distinfo Fri Jul  3 11:50:01 2020
> (r541098)
> +++ head/www/py-django30/distinfo Fri Jul  3 11:50:50 2020
> (r541099)
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1591275689
> -SHA256 (python/Django-3.0.7.tar.gz) = 
> 5052b34b34b3425233c682e0e11d658fd6efd587d11335a0203d827224ada8f2
> -SIZE (python/Django-3.0.7.tar.gz) = 8947502
> +TIMESTAMP = 1593771175
> +SHA256 (python/Django-3.0.8.tar.gz) = 
> 31a5fbbea5fc71c99e288ec0b2f00302a0a92c44b13ede80b73a6a4d6d205582
> +SIZE (python/Django-3.0.8.tar.gz) = 9080731
>

Hi Wen,

Could you merge these bugfix releases to quarterly?

If you don't have cycles, we can find someone else to take care of it
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/126994: ports/math/py-sympy update to 0.6.2

2008-08-31 Thread wen heping
The following reply was made to PR ports/126994; it has been noted by GNATS.

From: "wen heping" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc:  
Subject: Re: ports/126994: ports/math/py-sympy update to 0.6.2
Date: Sun, 31 Aug 2008 16:25:38 +0800

 --=_Part_13159_33142871.1220171138441
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Thank dikshie, but it seems there are some problems in plist.
 I will try to update it soon.
 
      wen
 20080831
 
 On Sun, Aug 31, 2008 at 9:20 PM, Edwin Groothuis <[EMAIL PROTECTED]> wrote:
 
 > Maintainer of math/py-sympy,
 >
 > Please note that PR ports/126994 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126994
 >
 > --
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > [EMAIL PROTECTED]
 >
 
 --=_Part_13159_33142871.1220171138441
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Thank dikshie, but it seems there are some problems in 
plist.I will try to update it 
soon.     &nbs
 p;   wen 20080831
 On Sun, Aug 31, 2008 at 9:20 PM, Edwin Groothuis <mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]> 
wrote:
 Maintainer of math/py-sympy,
 
 Please note that PR ports/126994 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126994"; 
target="_blank">http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126994
 
 --
 Edwin Groothuis via the GNATS Auto Assign Tool
 [EMAIL PROTECTED]
 
 
 --=_Part_13159_33142871.1220171138441--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ports/132844: [PATCH] devel/py-GitPython: update to 0.1.6

2009-03-20 Thread wen heping
The following reply was made to PR ports/132844; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, yz...@cs.nctu.edu.tw
Cc:  
Subject: Re: ports/132844: [PATCH] devel/py-GitPython: update to 0.1.6
Date: Fri, 20 Mar 2009 16:10:11 +0800

 --001485f9a4b81e052c046588721e
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 I approve it.
 Thank you.
 
 --001485f9a4b81e052c046588721e
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 I approve it.Thank you.
 
 --001485f9a4b81e052c046588721e--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/138040: Update devel/py-traits from 3.10 to 3.20

2009-08-21 Thread wen heping
The following reply was made to PR ports/138040; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, jacob.frelin...@duke.edu
Cc:  
Subject: Re: ports/138040: Update devel/py-traits from 3.10 to 3.20
Date: Sat, 22 Aug 2009 07:12:36 +0800

 --00163646bd24fda6890471af0040
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 I approve it.
 
 Thank you.
 
 wen
 
 --00163646bd24fda6890471af0040
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 I approve it.Thank you.wen
 
 --00163646bd24fda6890471af0040--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/138287: [patch] converters/py-pisa fix dependency to py-reportlab

2009-08-28 Thread wen heping
The following reply was made to PR ports/138287; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, ju...@daemonfreaks.com
Cc:  
Subject: Re: ports/138287: [patch] converters/py-pisa fix dependency to 
py-reportlab
Date: Sat, 29 Aug 2009 06:48:54 +0800

 --0016364d2d8321a9b404723b7da2
 Content-Type: text/plain; charset=ISO-8859-1
 
 I approve it.
 Thank you !
 
 wen
 
 --0016364d2d8321a9b404723b7da2
 Content-Type: text/html; charset=ISO-8859-1
 
 I approve it.Thank you !wen
 
 --0016364d2d8321a9b404723b7da2--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/140256: [patch] Fix make package for devel/py-parsing

2009-11-03 Thread wen heping
The following reply was made to PR ports/140256; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, s...@memberwebs.com
Cc:  
Subject: Re: ports/140256: [patch] Fix make package for devel/py-parsing
Date: Wed, 4 Nov 2009 08:53:13 +0800

 --000e0cd134801693fe0477810933
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hi,
 
I could not reproduce this error, Below is the result on my box.
I use python-2.6, maybe you could have a try to upgrade your python?
Thank you.
 
 wen
 
 fb9# make package
 ===>  Vulnerability check disabled, database not found
 ===>  Extracting for py26-parsing-1.5.2_1
 => MD5 Checksum OK for pyparsing-1.5.2.tar.gz.
 => SHA256 Checksum OK for pyparsing-1.5.2.tar.gz.
 ===>  Patching for py26-parsing-1.5.2_1
 ===>   py26-parsing-1.5.2_1 depends on file: /usr/local/bin/python2.6 -
 found
 ===>  Configuring for py26-parsing-1.5.2_1
 running config
 ===>  Building for py26-parsing-1.5.2_1
 running build
 running build_py
 creating build
 creating build/lib
 copying pyparsing.py -> build/lib
 copying pyparsing_py3.py -> build/lib
 ===>  Installing for py26-parsing-1.5.2_1
 ===>   py26-parsing-1.5.2_1 depends on file: /usr/local/bin/python2.6 -
 found
 ===>   Generating temporary packing list
 ===>  Checking if devel/py-parsing already installed
 running install
 running build
 running build_py
 running install_lib
 copying build/lib/pyparsing.py -> /usr/local/lib/python2.6/site-packages
 copying build/lib/pyparsing_py3.py -> /usr/local/lib/python2.6/site-packages
 byte-compiling /usr/local/lib/python2.6/site-packages/pyparsing.py to
 pyparsing.pyc
 byte-compiling /usr/local/lib/python2.6/site-packages/pyparsing_py3.py to
 pyparsing_py3.pyc
 writing byte-compilation script '/tmp/tmpyP1O_e.py'
 /usr/local/bin/python2.6 -O /tmp/tmpyP1O_e.py
 removing /tmp/tmpyP1O_e.py
 running install_egg_info
 Writing
 /usr/local/lib/python2.6/site-packages/pyparsing-1.5.2-py2.6.egg-info
 install  -o root -g wheel -m 444
 /usr/ports/devel/py-parsing/work/pyparsing-1.5.2/htmldoc/*
 /usr/local/share/doc/py-parsing
 install  -o root -g wheel -m 444
 /usr/ports/devel/py-parsing/work/pyparsing-1.5.2/examples/*
 /usr/local/share/examples/py-parsing
 ===>   Registering installation for py26-parsing-1.5.2_1
 ===>  Building package for py26-parsing-1.5.2_1
 Creating package /usr/ports/devel/py-parsing/py26-parsing-1.5.2_1.tbz
 Registering depends: python26-2.6.2_3.
 Creating bzip'd tar ball in
 '/usr/ports/devel/py-parsing/py26-parsing-1.5.2_1.tbz'
 
 --000e0cd134801693fe0477810933
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Hi,=A0=A0 I could not reproduce this error, Below is the result on =
 my box.=A0=A0 I use python-2.6, maybe you could have a try to upgrade y=
 our python?=A0=A0 Thank you.wenfb9# make package=3D=
 =3D=3D>=A0 Vulnerability check disabled, database not found
 =3D=3D=3D>=A0 Extracting for py26-parsing-1.5.2_1=3D> MD5 Checksu=
 m OK for pyparsing-1.5.2.tar.gz.=3D> SHA256 Checksum OK for pyparsin=
 g-1.5.2.tar.gz.=3D=3D=3D>=A0 Patching for py26-parsing-1.5.2_1=
 =3D=3D=3D>=A0=A0 py26-parsing-1.5.2_1 depends on file: /usr/local/bin/py=
 thon2.6 - found
 =3D=3D=3D>=A0 Configuring for py26-parsing-1.5.2_1running config=
 =3D=3D=3D>=A0 Building for py26-parsing-1.5.2_1running buildrunn=
 ing build_pycreating buildcreating build/libcopying pyparsing.p=
 y -> build/lib
 copying pyparsing_py3.py -> build/lib=3D=3D=3D>=A0 Installing for=
  py26-parsing-1.5.2_1=3D=3D=3D>=A0=A0 py26-parsing-1.5.2_1 depends o=
 n file: /usr/local/bin/python2.6 - found=3D=3D=3D>=A0=A0 Generating =
 temporary packing list
 =3D=3D=3D>=A0 Checking if devel/py-parsing already installedrunning =
 installrunning buildrunning build_pyrunning install_libcopy=
 ing build/lib/pyparsing.py -> /usr/local/lib/python2.6/site-packages=
 copying build/lib/pyparsing_py3.py -> /usr/local/lib/python2.6/site-pack=
 ages
 byte-compiling /usr/local/lib/python2.6/site-packages/pyparsing.py to pypar=
 sing.pycbyte-compiling /usr/local/lib/python2.6/site-packages/pyparsing=
 _py3.py to pyparsing_py3.pycwriting byte-compilation script '/tmp/t=
 mpyP1O_e.py'
 /usr/local/bin/python2.6 -O /tmp/tmpyP1O_e.pyremoving /tmp/tmpyP1O_e.py=
 running install_egg_infoWriting /usr/local/lib/python2.6/site-packa=
 ges/pyparsing-1.5.2-py2.6.egg-infoinstall=A0 -o root -g wheel -m 444 /u=
 sr/ports/devel/py-parsing/work/pyparsing-1.5.2/htmldoc/* /usr/local/share/d=
 oc/py-parsing
 install=A0 -o root -g wheel -m 444 /usr/ports/devel/py-parsing/work/pyparsi=
 ng-1.5.2/examples/* /usr/local/share/examples/py-parsing=3D=3D=3D>=
 =A0=A0 Registering installation for py26-parsing-1.5.2_1=3D=3D=3D>=
 =A0 Building package for py26-parsing-1.5.2_1
 Creating package /usr/ports/devel/py-parsing/py26-parsing-1.5.2_1.tbzRe=
 gistering dep

Re: ports/141849: [PATCH] devel/py-boto: update to 1.9a

2009-12-21 Thread wen heping
The following reply was made to PR ports/141849; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, gs...@gslin.org
Cc:  
Subject: Re: ports/141849: [PATCH] devel/py-boto: update to 1.9a
Date: Tue, 22 Dec 2009 09:16:43 +0800

 --00504502c06f8522ce047b46f5ec
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hi,
 
boto-1.9b released just now.   :)
 
 
 wen
 
 --00504502c06f8522ce047b46f5ec
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Hi,=A0=A0 boto-1.9b released just now.=A0=A0 :)wen
 
 --00504502c06f8522ce047b46f5ec--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/142221: [Update]biology/py-biopython:update to 1.53

2010-01-01 Thread wen heping
The following reply was made to PR ports/142221; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, w...@freebsd.org
Cc:  
Subject: Re: ports/142221: [Update]biology/py-biopython:update to 1.53
Date: Sat, 2 Jan 2010 11:01:47 +0800

 --0016368e26947cdcb6047c25b5b9
 Content-Type: text/plain; charset=ISO-8859-1
 
 The maintainer of biology/py-biopython is mauri...@arareko.net but
 not python@, I could not understand why this PR was not sent to
 mauri...@arareko.net but to python@ ?
 
 wen
 
 --0016368e26947cdcb6047c25b5b9
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 The maintainer of biology/py-biopython is mailto:mauri...@ararek=
 o.net">mauri...@arareko.net butnot python@, I could not understand =
 why this PR was not sent to mailto:mauri...@arareko.net";>mau=
 ri...@arareko.net but to python@ ?
 wen
 
 --0016368e26947cdcb6047c25b5b9--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


update python26 to 2.6.5 and python31 to 3.1.2

2010-03-29 Thread wen heping
Hi,

   I attached the patch which update python26 to 2.6.5 and
python31 to 3.1.2, it could all build well on tinderbox and native
system. But I did not test all of the py-* ports. I have tested only
some of it and found no problem.


Regards,
wen
--- Mk/bsd.python.mk.orig   2010-03-29 21:07:13.0 +0800
+++ Mk/bsd.python.mk2010-03-29 21:07:13.0 +0800
@@ -371,17 +371,17 @@
 
 # Python-3.1
 .if ${PYTHON_VERSION} == "python3.1"
-PYTHON_PORTVERSION?=3.1.1
+PYTHON_PORTVERSION?=3.1.2
 PYTHON_PORTSDIR=   ${PORTSDIR}/lang/python31
-PYTHON_REL=311
+PYTHON_REL=312
 PYTHON_SUFFIX= 31
 PYTHON_VER=3.1
 
 # Python-2.6
 .elif ${PYTHON_VERSION} == "python2.6"
-PYTHON_PORTVERSION?=2.6.4
+PYTHON_PORTVERSION?=2.6.5
 PYTHON_PORTSDIR=   ${PORTSDIR}/lang/python26
-PYTHON_REL=264
+PYTHON_REL=265
 PYTHON_SUFFIX= 26
 PYTHON_VER=2.6
 
--- lang/python26/Makefile.orig 2010-03-29 21:08:44.0 +0800
+++ lang/python26/Makefile  2010-03-29 21:09:11.0 +0800
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/lang/python26/Makefile,v 1.165 2009/11/26 22:21:19 miwi Exp $
 
 PORTNAME=  python26
-PORTVERSION=   2.6.4
+PORTVERSION=   2.6.5
 CATEGORIES=lang python ipv6
 MASTER_SITES=  ${PYTHON_MASTER_SITES}
 MASTER_SITE_SUBDIR=${PYTHON_MASTER_SITE_SUBDIR}
--- lang/python26/distinfo.orig 2010-03-29 21:08:53.0 +0800
+++ lang/python26/distinfo  2010-03-29 21:12:47.0 +0800
@@ -1,3 +1,3 @@
-MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246
-SHA256 (python/Python-2.6.4.tgz) = 
1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252
-SIZE (python/Python-2.6.4.tgz) = 13322131
+MD5 (python/Python-2.6.5.tgz) = cd04b5b9383b6c1fccdaa991af762cf4
+SHA256 (python/Python-2.6.5.tgz) = 
b331dafdce3361834fee783795d4f68ae7cf7d379e9137c2d8e8531cea615ede
+SIZE (python/Python-2.6.5.tgz) = 13209175
--- lang/python26/pkg-plist.orig2010-03-29 21:09:02.0 +0800
+++ lang/python26/pkg-plist 2010-03-30 08:14:10.0 +0800
@@ -350,12 +350,15 @@
 %%PYTHON_LIBDIR%%/distutils/tests/test_filelist.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_dist.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_install.py
+%%PYTHON_LIBDIR%%/distutils/tests/test_install_lib.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_install_scripts.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_msvc9compiler.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_sysconfig.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_sdist.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_register.py
+%%PYTHON_LIBDIR%%/distutils/tests/test_unixccompiler.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_upload.py
+%%PYTHON_LIBDIR%%/distutils/tests/test_util.py
 %%PYTHON_LIBDIR%%/distutils/tests/test_versionpredicate.py
 %%PYTHON_LIBDIR%%/distutils/text_file.py
 %%PYTHON_LIBDIR%%/distutils/unixccompiler.py
@@ -436,6 +439,8 @@
 %%PYTHON_LIBDIR%%/email/test/data/msg_42.txt
 %%PYTHON_LIBDIR%%/email/test/data/msg_43.txt
 %%PYTHON_LIBDIR%%/email/test/data/msg_44.txt
+%%PYTHON_LIBDIR%%/email/test/data/msg_45.txt
+%%PYTHON_LIBDIR%%/email/test/data/msg_46.txt
 %%PYTHON_LIBDIR%%/email/test/test_email.py
 %%PYTHON_LIBDIR%%/email/test/test_email_codecs.py
 %%PYTHON_LIBDIR%%/email/test/test_email_codecs_renamed.py
@@ -692,9 +697,9 @@
 %%PYTHON_LIBDIR%%/json/tool.py
 %%PYTHON_LIBDIR%%/keyword.py
 %%PYTHON_LIBDIR%%/lib2to3/Grammar.txt
-%%PYTHON_LIBDIR%%/lib2to3/Grammar2.6.4.final.0.pickle
+%%PYTHON_LIBDIR%%/lib2to3/Grammar2.6.5.final.0.pickle
 %%PYTHON_LIBDIR%%/lib2to3/PatternGrammar.txt
-%%PYTHON_LIBDIR%%/lib2to3/PatternGrammar2.6.4.final.0.pickle
+%%PYTHON_LIBDIR%%/lib2to3/PatternGrammar2.6.5.final.0.pickle
 %%PYTHON_LIBDIR%%/lib2to3/__init__.py
 %%PYTHON_LIBDIR%%/lib2to3/fixer_base.py
 %%PYTHON_LIBDIR%%/lib2to3/fixer_util.py
@@ -730,6 +735,7 @@
 %%PYTHON_LIBDIR%%/lib2to3/fixes/fix_next.py
 %%PYTHON_LIBDIR%%/lib2to3/fixes/fix_nonzero.py
 %%PYTHON_LIBDIR%%/lib2to3/fixes/fix_numliterals.py
+%%PYTHON_LIBDIR%%/lib2to3/fixes/fix_operator.py
 %%PYTHON_LIBDIR%%/lib2to3/fixes/fix_paren.py
 %%PYTHON_LIBDIR%%/lib2to3/fixes/fix_print.py
 %%PYTHON_LIBDIR%%/lib2to3/fixes/fix_raise.py
@@ -767,6 +773,7 @@
 %%PYTHON_LIBDIR%%/lib2to3/tests/support.py
 %%PYTHON_LIBDIR%%/lib2to3/tests/test_all_fixers.py
 %%PYTHON_LIBDIR%%/lib2to3/tests/test_fixers.py
+%%PYTHON_LIBDIR%%/lib2to3/tests/test_main.py
 %%PYTHON_LIBDIR%%/lib2to3/tests/test_parser.py
 %%PYTHON_LIBDIR%%/lib2to3/tests/test_pytree.py
 %%PYTHON_LIBDIR%%/lib2to3/tests/test_refactor.py
@@ -1166,6 +1173,7 @@
 %%PYTHON_LIBDIR%%/test/inspect_fodder2.py
 %%PYTHON_LIBDIR%%/test/keycert.pem
 %%PYTHON_LIBDIR%%/test/list_tests.py
+%%PYTHON_LIBDIR%%/test/lock_tests.py
 %%PYTHON_LIBDIR%%/test/mapping_tests.py
 %%PYTHON_LIBDIR%%/test/nullcert.pem
 %%PYTHON_LIBDIR%%/test/outstanding_bugs.py
@@ -1458,6 +1466,7 @@
 %%PYTHON_LIBDIR%%/test/test_quopri.py
 %%PYTHON_LIBDIR%%/test/test_random.py
 %%

Re: ports/145259: [Update]math/py-matplotlib:Update to 0.99.1.1

2010-04-01 Thread wen heping
The following reply was made to PR ports/145259; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, w...@freebsd.org
Cc:  
Subject: Re: ports/145259: [Update]math/py-matplotlib:Update to 0.99.1.1
Date: Thu, 1 Apr 2010 22:10:49 +0800

 Sorry, this line should be added to post-patch section to fix
 the build error with custom LOCALBASE:
 
 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/setupext.py
 
 
 wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/147291: lang/python* doesn't compile nis.so when WITHOUT_NIS specified; breaks make package

2010-06-04 Thread wen heping
The following reply was made to PR ports/147291; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, gcoo...@freebsd.org
Cc:  
Subject: Re: ports/147291: lang/python* doesn't compile nis.so when 
WITHOUT_NIS specified; breaks make package
Date: Fri, 4 Jun 2010 20:06:29 +0800

 Would this help?
 http://www.hydrus.org.uk/journal/pkg-creation.html
 
 Actullay, there were same PRs before:
 
http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports&severity=&priority=&class=&state=&sort=none&text=NO_NIS&responsible=&multitext=&originator=&closedtoo=on&release=
 
 wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


The patch of security fix of CVE-2010-2089 to lang/python26

2010-06-29 Thread wen heping
Hi,

   Here is a patch to fix the audioop security issue, which document
as CVE-2010-2089.
More detail please visit:
   http://bugs.python.org/issue7673

   Would you have  a test of it ?
   Thanks.


wen
diff -urN python26.orig/Makefile python26/Makefile
--- python26.orig/Makefile  2010-06-29 16:51:39.0 +0800
+++ python26/Makefile   2010-06-29 16:50:06.0 +0800
@@ -6,6 +6,7 @@
 
 PORTNAME=  python26
 PORTVERSION=   2.6.5
+PORTREVISION=  1
 CATEGORIES=lang python ipv6
 MASTER_SITES=  ${PYTHON_MASTER_SITES}
 MASTER_SITE_SUBDIR=${PYTHON_MASTER_SITE_SUBDIR}
diff -urN python26.orig/files/patch-Modules-audioop.c 
python26/files/patch-Modules-audioop.c
--- python26.orig/files/patch-Modules-audioop.c 1970-01-01 08:00:00.0 
+0800
+++ python26/files/patch-Modules-audioop.c  2010-06-29 16:40:45.0 
+0800
@@ -0,0 +1,319 @@
+--- Modules/audioop.c.orig 2008-07-08 01:02:59.0 +0800
 Modules/audioop.c  2010-06-29 16:40:23.0 +0800
+@@ -295,6 +295,29 @@
+ 
+ static PyObject *AudioopError;
+ 
++static int
++audioop_check_size(int size)
++{
++if ( size != 1 && size != 2 && size != 4 ) {
++PyErr_SetString(AudioopError, "Size should be 1, 2 or 4");
++return 0;
++} else {
++return 1;
++}
++}
++
++static int
++audioop_check_parameters(int len, int size)
++{
++if (!audioop_check_size(size))
++return 0;
++if ( len % size != 0 ) {
++PyErr_SetString(AudioopError, "not a whole number of frames");
++return 0;
++}
++return 1;
++}
++
+ static PyObject *
+ audioop_getsample(PyObject *self, PyObject *args)
+ {
+@@ -304,10 +327,8 @@
+ 
+ if ( !PyArg_ParseTuple(args, "s#ii:getsample", &cp, &len, &size, &i) )
+ return 0;
+-if ( size != 1 && size != 2 && size != 4 ) {
+-PyErr_SetString(AudioopError, "Size should be 1, 2 or 4");
+-return 0;
+-}
++if (!audioop_check_parameters(len, size))
++return NULL;
+ if ( i < 0 || i >= len/size ) {
+ PyErr_SetString(AudioopError, "Index out of range");
+ return 0;
+@@ -328,10 +349,8 @@
+ 
+ if ( !PyArg_ParseTuple(args, "s#i:max", &cp, &len, &size) )
+ return 0;
+-if ( size != 1 && size != 2 && size != 4 ) {
+-PyErr_SetString(AudioopError, "Size should be 1, 2 or 4");
+-return 0;
+-}
++if (!audioop_check_parameters(len, size))
++return NULL;
+ for ( i=0; i 0,1 */
+ for ( i=0; i= 1");
+ return NULL;
+@@ -1269,11 +1277,8 @@
+ if ( !PyArg_ParseTuple(args, "s#i:lin2ulaw",
+&cp, &len, &size) )
+ return 0 ;
+-
+-if ( size != 1 && size != 2 && size != 4) {
+-PyErr_SetString(AudioopError, "Size should be 1, 2 or 4");
+-return 0;
+-}
++if (!audioop_check_parameters(len, size))
++return NULL;
+ 
+ rv = PyString_FromStringAndSize(NULL, len/size);
+ if ( rv == 0 )
+@@ -1303,11 +1308,8 @@
+ if ( !PyArg_ParseTuple(args, "s#i:ulaw2lin",
+&cp, &len, &size) )
+ return 0;
+-
+-if ( size != 1 && size != 2 && size != 4) {
+-PyErr_SetString(AudioopError, "Size should be 1, 2 or 4");
+-return 0;
+-}
++if (!audioop_check_size(size))
++return NULL;
+ 
+ new_len = len*size;
+ if (new_len < 0) {
+@@ -1343,11 +1345,8 @@
+ if ( !PyArg_ParseTuple(args, "s#i:lin2alaw",
+&cp, &len, &size) )
+ return 0;
+-
+-if ( size != 1 && size != 2 && size != 4) {
+-PyErr_SetString(AudioopError, "Size should be 1, 2 or 4");
+-return 0;
+-}
++if (!audioop_check_parameters(len, size))
++return NULL;
+ 
+ rv = PyString_FromStringAndSize(NULL, len/size);
+ if ( rv == 0 )
+@@ -1377,11 +1376,8 @@
+ if ( !PyArg_ParseTuple(args, "s#i:alaw2lin",
+&cp, &len, &size) )
+ return 0;
+-
+-if ( size != 1 && size != 2 && size != 4) {
+-PyErr_SetString(AudioopError, "Size should be 1, 2 or 4");
+-return 0;
+-}
++if (!audioop_check_size(size))
++return NULL;
+ 
+ new_

Re: ports/150184: [ERROR] cannot install ports/math/py-numpy

2010-09-01 Thread wen heping
The following reply was made to PR ports/150184; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, a...@gmail.com
Cc:  
Subject: Re: ports/150184: [ERROR] cannot install ports/math/py-numpy
Date: Wed, 1 Sep 2010 22:22:28 +0800

 bnVtcHktMS41IHJlbGVhc2VkLgpNYXliZSB1cHN0cmVhbSB3aXRoZHJhdyAxLjQuMSwgd2hpY2gg
 bGVhZCB0aGlzIGZldGNoIGVycm9yLgpXZSBzaGFsbCB1cGRhdGUgaXQgc29vbi4KCndlbgoKLS0g
 CtXmwO2008C0w7vT0NW9yqS5/cP9zvOjrNXmwO3Wu9PQ1Nq84bPWw/3O87XEyMvLwMiluvOyxbPJ
 zqrV5sDtoaMK
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


the build error of _curses module in python2.7

2010-09-02 Thread wen heping
Hi,all:


 Because a typo of the python27/files/patch-setup.py, the build of python27
could not detect curses lib correctly now. The same error exists in
the python-2.6.6
package which I send to python@ yesterday.

You can reproduce the error just by trying import curses module in python.

I attached the patch to fix it. The patch is mainly created by
o...@lurza.secnetix.de.

   I shall commit some days later if no more problem.


Regards,
wen

-- 
真理从来没有战胜过谬误,真理只有在坚持谬误的人死去后才成为真理。
diff -urN python27.orig/Makefile python27/Makefile
--- python27.orig/Makefile  2010-09-03 09:20:21.0 +0800
+++ python27/Makefile   2010-09-03 09:22:35.0 +0800
@@ -6,6 +6,7 @@
 
 PORTNAME=  python27
 PORTVERSION=   2.7.0
+PORTREVISION=  1
 CATEGORIES=lang python ipv6
 MASTER_SITES=  ${PYTHON_MASTER_SITES}
 MASTER_SITE_SUBDIR=${PYTHON_MASTER_SITE_SUBDIR}
diff -urN python27.orig/files/patch-setup.py python27/files/patch-setup.py
--- python27.orig/files/patch-setup.py  2010-09-03 09:20:21.0 +0800
+++ python27/files/patch-setup.py   2010-09-03 09:23:48.0 +0800
@@ -1,5 +1,5 @@
 setup.py.orig  2010-06-07 09:55:38.0 +0800
-+++ setup.py   2010-06-07 10:03:30.0 +0800
+--- setup.py.orig  2010-06-27 20:36:16.0 +0800
 setup.py   2010-09-03 09:23:13.0 +0800
 @@ -21,7 +21,7 @@
  COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')
  
@@ -36,7 +36,7 @@
  
  # Modules that provide persistent dictionary-like semantics.  You will
  # probably want to arrange for at least one of them to be available on
-@@ -1085,7 +1087,7 @@
+@@ -1086,7 +1088,7 @@
  sysroot = macosx_sdk_root()
  f = os.path.join(sysroot, f[1:])
  
@@ -45,13 +45,11 @@
  data = open(f).read()
  m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)
  if m is not None:
-@@ -1210,13 +1212,14 @@
- # Curses support, requiring the System V version of curses, often
+@@ -1212,12 +1214,13 @@
  # provided by the ncurses library.
  panel_library = 'panel'
--if curses_library.startswith('ncurses'):
+ if curses_library.startswith('ncurses'):
 -if curses_library == 'ncursesw':
-+if curses_library.startswith('xxxncurses'):
 +if curses_library == 'xxxncursesw':
  # Bug 1464056: If _curses.so links with ncursesw,
  # _curses_panel.so must link with panelw.
@@ -62,7 +60,7 @@
 libraries = curses_libs) )
  elif curses_library == 'curses' and platform != 'darwin':
  # OSX has an old Berkeley curses, not good enough for
-@@ -1229,6 +1232,7 @@
+@@ -1230,6 +1233,7 @@
  curses_libs = ['curses']
  
  exts.append( Extension('_curses', ['_cursesmodule.c'],
@@ -70,7 +68,7 @@
 libraries = curses_libs) )
  else:
  missing.append('_curses')
-@@ -1397,7 +1401,7 @@
+@@ -1398,7 +1402,7 @@
  macros = dict()
  libraries = []
  
@@ -79,7 +77,7 @@
  # FreeBSD's P1003.1b semaphore support is very experimental
  # and has many known problems. (as of June 2008)
  macros = dict()
-@@ -1449,7 +1453,7 @@
+@@ -1450,7 +1454,7 @@
  missing.append('linuxaudiodev')
  
  if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
@@ -88,7 +86,7 @@
  or platform.startswith("gnukfreebsd")):
  exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
  else:
-@@ -2031,9 +2035,7 @@
+@@ -2032,9 +2036,7 @@
ext_modules=[Extension('_struct', ['_struct.c'])],
  
# Scripts to install
diff -urN python27.orig/pkg-plist python27/pkg-plist
--- python27.orig/pkg-plist 2010-09-03 09:20:21.0 +0800
+++ python27/pkg-plist  2010-09-03 10:28:33.0 +0800
@@ -845,6 +845,8 @@
 %%PYTHON_LIBDIR%%/lib-dynload/_csv.so
 %%PYTHON_LIBDIR%%/lib-dynload/_ctypes.so
 %%PYTHON_LIBDIR%%/lib-dynload/_ctypes_test.so
+%%PYTHON_LIBDIR%%/lib-dynload/_curses.so
+%%PYTHON_LIBDIR%%/lib-dynload/_curses_panel.so
 %%PYTHON_LIBDIR%%/lib-dynload/_elementtree.so
 %%PYTHON_LIBDIR%%/lib-dynload/_functools.so
 %%PYTHON_LIBDIR%%/lib-dynload/_hashlib.so
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/150323: [UPDATE] textproc/py-rdflib

2010-09-06 Thread wen heping
The following reply was made to PR ports/150323; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, c...@c-s.li
Cc:  
Subject: Re: ports/150323: [UPDATE] textproc/py-rdflib
Date: Tue, 7 Sep 2010 08:46:59 +0800

 RmV0Y2ggZXJyb3IsIHdvdWxkIHlvdSBjaGVjayBpdCBhZ2FpbiA/Cgp3ZW4KCi0tIArV5sDttNPA
 tMO709DVvcqkuf3D/c7zo6zV5sDt1rvT0NTavOGz1sP9zvO1xMjLy8DIpbrzssWzyc6q1ebA7aGj
 Cg==
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/145460: Unable to build /usr/ports/net-p2p/py-bittorrent-core

2010-11-02 Thread wen heping
The following reply was made to PR ports/145460; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, ger...@seibercom.net
Cc:  
Subject: Re: ports/145460: Unable to build /usr/ports/net-p2p/py-bittorrent-core
Date: Wed, 3 Nov 2010 10:19:16 +0800

 Hi,
 
 I could not reproduce this error on my box,
 if nobody objects, I shall close this PR.
 
 
 Regards,
 wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/146957: Mk/bsd.python.mk: PYTHONOPTIMIZE=1 in environ(7) breaks plist

2010-11-04 Thread wen heping
The following reply was made to PR ports/146957; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, swel...@gmail.com
Cc:  
Subject: Re: ports/146957: Mk/bsd.python.mk: PYTHONOPTIMIZE=1 in environ(7)
 breaks plist
Date: Thu, 4 Nov 2010 21:44:08 +0800

 Hi,
 
 When set PYTHONOPTIMIZE=1, that enable python use the optimize mode,
 just as run python with -O args. And when python run with -O args, it compile
 .py source file directly to .pyo file but without .pyc file. It will lead to
  the pkg-plist error that you mentioned.
 
So it is not a bug in bsd.python.mk.
 
Maybe we can resolve it by:
1) Add a pkg-plist variable PYTHONOPT in bsd.python.mk:
 PLIST_SUB+=  PYTHONOPT=${PYTHONOPT}
2) set PYTHONOPT='' when PYTHONOPTIMIZE is not defined and
   set it to "@comment" when it is defined.
3) Add %%PYTHONOPT%% to all lines ended with .pyc in pkg-plist file
 
But I do not think it is a good way to resolv it and currently I could not
 find a simple way to resolv it. Maybe the best way is just let it be?  :)
 
 wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: FreeBSD Port: python27-2.7.0_1

2010-11-14 Thread wen heping
I think we shall update python2.7 as PYTHON_DEFAULT_VERSION
at least after python-2.7.1 and FreeBSD-8.2 release.

wen




2010/11/14 John Hein :
> John Hein wrote at 15:55 MDT on Oct 30, 2010:
>  > Maxim Khitrov wrote at 15:42 -0400 on Oct 30, 2010:
>  >  > On Sat, Oct 30, 2010 at 2:46 PM, Sylvain Garrigues  
> wrote:
>  >  > > Hello,
>  >  > >
>  >  > > I am using FreeBSD 8.1 and I would like to know the reasons
>  >  > > why it has been decided that the default Python installation
>  >  > > is 2.6 and not 2.7.
>  >  > >
>  >  > > Thanks in advance.
>  >  >
>  >  > Add "PYTHON_DEFAULT_VERSION=python2.7" to /etc/make.conf.
>
> To answer Sylvain's original query, 2.7 is fairly new still.  When a
> sufficent amount of testing has occurred that indicates 2.7 has no
> regressions, then someone will throw the switch.  Of course, what
> constitutes a sufficient amount of testing is somewhat subjective.  So
> the more use it gets by early adopters (such as yourself presumably),
> the higher the confidence in being able to update the default.
>
> I've been using python27 for a couple months now without any problems.
> To help get the default switched from 2.6 to 2.7, request it and
> report any successes (and problems) here and/or submit PRs.
>
> A search in the PR database for python27 doesn't turn up any
> significant problems.
>
> It will also probably require at least one full ports test build.  I
> don't know if one has been requested.
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
>



-- 
真理从来没有战胜过谬误,真理只有在坚持谬误的人死去后才成为真理。
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/151121: [PATCH] lang/python27: fix 'make deinstall' while python27 was installed using package

2010-11-24 Thread wen heping
The following reply was made to PR ports/151121; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, sunp...@freebsd.org
Cc:  
Subject: Re: ports/151121: [PATCH] lang/python27: fix 'make deinstall' while
 python27 was installed using package
Date: Thu, 25 Nov 2010 09:56:33 +0800

 This bug will not exist after python-2.7.1 release.
 
 wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/152671: update of lang/python27 to 2.7.1 breaks multiple extensions

2010-11-29 Thread wen heping
The following reply was made to PR ports/152671; it has been noted by GNATS.

From: wen heping 
To: bug-follo...@freebsd.org, milos.negovano...@gmail.com
Cc:  
Subject: Re: ports/152671: update of lang/python27 to 2.7.1 breaks multiple 
extensions
Date: Mon, 29 Nov 2010 21:08:29 +0800

 Hi,
 
   Is this build problem caused by the update of python27 to 2.7.1 ?
 Or it existed with 2.7.0 ?
 
 
 wen
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: python26 doesn't build on 7.3 tinderbox amd64

2011-02-10 Thread wen heping
I could build it on 7.4-PRERELEASE amd64 :
http://wen.freebsd.your.org/tb/logs/7.3-FreeBSD/python26-2.6.6.log

wen

2011/2/11 Matthias Andree :
>
>>Submitter-Id:  current-users
>>Originator:    Matthias Andree
>>Organization:  FreeBSD ports committers
>>Confidential:  no
>>Synopsis:      python26 doesn't build on 7.3 tinderbox amd64
>>Severity:      critical
>>Priority:      high
>>Category:      ports
>>Class:         sw-bug
>>Release:       FreeBSD 8.2-PRERELEASE amd64
>>Environment:
> System: FreeBSD apollo.emma.line.org 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE 
> #58: Thu Feb 10 19:24:07 CET 2011 
> t...@apollo.emma.line.org:/usr/obj/usr/src/sys/GENERIC amd64
>
>
>
>>Description:
> FreeBSD 7.3 amd64 doesn't build python26-2.6.6.
> - there is apparently a pkg-plist issue around the OSS audio dev:
>
> Log extract below, full log (uncompressed ~500 kB, gzipped) at
> http://home.pages.de/~mandree/tmp/python26-2.6.6-FreeBSD7.3-amd64.log.gz
>
>
> ...
> (in phase 4:)
> Failed to find the necessary bits to build these modules:
> _bsddb             _sqlite3           _tkinter
> dl                 gdbm               imageop
> linuxaudiodev      ossaudiodev        spwd
> sunaudiodev
> To find the necessary bits, look in setup.py in detect_modules() for the 
> module's name.
> ...
>
> (phase 7: make package)
> ===>  Building package for python26-2.6.6
> tar: lib/python2.6/lib-dynload/ossaudiodev.so: Cannot stat: No such file or 
> directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> *** Error code 1
>
>>How-To-Repeat:
> Set up a 7.3-FreeBSD tinderbox and attempt a build of python26.
>
>>Fix:
>
>
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: The final of python32 port

2011-02-23 Thread wen heping
2011/2/24 Li-Wen Hsu :
> On Thu, Feb 24, 2011 at 07:57:59 +0800, wen heping wrote:
>> 2011/2/24 Martin Wilke :
>> > \o/
>> >
>> > good job!
>>
>> +1
>>
>> Please commit it.
>
> Currently we have a message states "there are some bugs what we have to 
> figure out."
> at pre-fetch (shouldn't it be in pre-everyting:: ?)
>
> Could you tell me what these bugs are?

Since the problem about Demo and libpythonmu is clear,
shall we remove this line now ?

wen

>
> Thanks,
> Li-Wen
>
> --
> Li-Wen Hsu 
> http://lwhsu.org
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: py27-kiwi-1.9.26_3 failed on i386 8-exp

2011-02-26 Thread wen heping
I have submitted a PR to fix it yesterday.

wen

2011/2/26 Martin Wilke :
> -- Forwarded message --
> From: User Ports-i386 
> Date: Sat, Feb 26, 2011 at 9:20 PM
> Subject: py27-kiwi-1.9.26_3 failed on i386 8-exp
> To: er...@freebsd.org, m...@freebsd.org, ite...@freebsd.org,
> lini...@freebsd.org
>
>
> You can also find this build log at
>
>
> http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8-exp.20090507142441/py27-kiwi-1.9.26_3.log
>
> building py27-kiwi-1.9.26_3 on gohan47.freebsd.org
> in directory /x/tmp/8-exp/20110226043041/chroot/8
> building for: 8.0-RELEASE-p5 i386
> maintained by: ni...@freebsd.org
> port directory: /usr/ports/x11-toolkits/py-kiwi
> Makefile ident: $FreeBSD: ports/x11-toolkits/py-kiwi/Makefile,v 1.16
> 2010/05/31 02:01:50 ade Exp $
> build started at Sat Feb 26 13:11:28 UTC 2011
> FETCH_DEPENDS=
> PATCH_DEPENDS=
> EXTRACT_DEPENDS=
> BUILD_DEPENDS=atk-1.32.0.tbz bison-2.4.3,1.tbz bitstream-vera-1.10_4.tbz
> cairo-1.10.0_3,1.tbz compositeproto-0.4.2.tbz cups-client-1.4.6.tbz
> damageproto-1.2.1.tbz encodings-1.0.4,1.tbz expat-2.0.1_1.tbz
> fixesproto-4.1.2.tbz font-bh-ttf-1.0.3.tbz font-misc-ethiopic-1.0.3.tbz
> font-misc-meltho-1.0.3.tbz font-util-1.2.0.tbz fontconfig-2.8.0,1.tbz
> freetype2-2.4.4.tbz gamin-0.1.10_4.tbz gdk-pixbuf-2.22.1.tbz
> gettext-0.18.1.1.tbz gio-fam-backend-2.26.1.tbz glib-2.26.1_1.tbz
> gnutls-2.8.6_2.tbz gobject-introspection-0.9.12.tbz gtk-2.22.1_1.tbz
> hicolor-icon-theme-0.12.tbz inputproto-2.0.1.tbz intltool-0.41.1.tbz
> jasper-1.900.1_9.tbz jbigkit-1.6.tbz jpeg-8_3.tbz kbproto-1.0.5.tbz
> libICE-1.0.7,1.tbz libSM-1.1.1_3,1.tbz libX11-1.3.6,1.tbz libXau-1.0.6.tbz
> libXcomposite-0.4.3,1.tbz libXcursor-1.1.11.tbz libXdamage-1.1.3.tbz
> libXdmcp-1.0.3.tbz libXext-1.1.2,1.tbz libXfixes-4.0.4.tbz libXft-2.1.14.tbz
> libXi-1.3.2,1.tbz libXinerama-1.1,1.tbz libXrandr-1.3.0.tbz
> libXrender-0.9.5.tbz libXt-1.0.
>  9.tbz libffi-3.0.9.tbz libfontenc-1.1.0.tbz libgcrypt-1.4.6.tbz
> libglade2-2.6.4_3.tbz libgpg-error-1.10.tbz libiconv-1.13.1_1.tbz
> libpthread-stubs-0.3_3.tbz libxcb-1.7.tbz libxml2-2.7.8_1.tbz
> m4-1.4.15,1.tbz mkfontdir-1.0.6.tbz mkfontscale-1.0.8.tbz
> p5-XML-Parser-2.40.tbz pango-1.28.3.tbz pcre-8.12.tbz perl-5.10.1_3.tbz
> pixman-0.21.4.tbz pkg-config-0.25_1.tbz png-1.4.5.tbz py27-cairo-1.8.10.tbz
> py27-gobject-2.26.0.tbz py27-gtk-2.22.0_1.tbz python27-2.7.1_1.tbz
> randrproto-1.3.2.tbz renderproto-0.11.tbz shared-mime-info-0.80.tbz
> tiff-4.0.0.tbz xcb-util-0.3.6_1.tbz xextproto-7.1.1.tbz
> xineramaproto-1.2.tbz xmlcatmgr-2.2.tbz xorg-fonts-truetype-7.5.1.tbz
> xproto-7.0.16.tbz
> RUN_DEPENDS=atk-1.32.0.tbz bison-2.4.3,1.tbz bitstream-vera-1.10_4.tbz
> cairo-1.10.0_3,1.tbz compositeproto-0.4.2.tbz cups-client-1.4.6.tbz
> damageproto-1.2.1.tbz encodings-1.0.4,1.tbz expat-2.0.1_1.tbz
> fixesproto-4.1.2.tbz font-bh-ttf-1.0.3.tbz font-misc-ethiopic-1.0.3.tbz
> font-misc-meltho-1.0.3.tbz font-util-1.2.0.tbz fontconfig-2.8.0,1.tbz
> freetype2-2.4.4.tbz gamin-0.1.10_4.tbz gdk-pixbuf-2.22.1.tbz
> gettext-0.18.1.1.tbz gio-fam-backend-2.26.1.tbz glib-2.26.1_1.tbz
> gnutls-2.8.6_2.tbz gobject-introspection-0.9.12.tbz gtk-2.22.1_1.tbz
> hicolor-icon-theme-0.12.tbz inputproto-2.0.1.tbz jasper-1.900.1_9.tbz
> jbigkit-1.6.tbz jpeg-8_3.tbz kbproto-1.0.5.tbz libICE-1.0.7,1.tbz
> libSM-1.1.1_3,1.tbz libX11-1.3.6,1.tbz libXau-1.0.6.tbz
> libXcomposite-0.4.3,1.tbz libXcursor-1.1.11.tbz libXdamage-1.1.3.tbz
> libXdmcp-1.0.3.tbz libXext-1.1.2,1.tbz libXfixes-4.0.4.tbz libXft-2.1.14.tbz
> libXi-1.3.2,1.tbz libXinerama-1.1,1.tbz libXrandr-1.3.0.tbz
> libXrender-0.9.5.tbz libXt-1.0.9.tbz libffi-3.0.9.tbz
>  libfontenc-1.1.0.tbz libgcrypt-1.4.6.tbz libglade2-2.6.4_3.tbz
> libgpg-error-1.10.tbz libiconv-1.13.1_1.tbz libpthread-stubs-0.3_3.tbz
> libxcb-1.7.tbz libxml2-2.7.8_1.tbz m4-1.4.15,1.tbz mkfontdir-1.0.6.tbz
> mkfontscale-1.0.8.tbz pango-1.28.3.tbz pcre-8.12.tbz perl-5.10.1_3.tbz
> pixman-0.21.4.tbz pkg-config-0.25_1.tbz png-1.4.5.tbz py27-cairo-1.8.10.tbz
> py27-gobject-2.26.0.tbz py27-gtk-2.22.0_1.tbz python27-2.7.1_1.tbz
> randrproto-1.3.2.tbz renderproto-0.11.tbz shared-mime-info-0.80.tbz
> tiff-4.0.0.tbz xcb-util-0.3.6_1.tbz xextproto-7.1.1.tbz
> xineramaproto-1.2.tbz xmlcatmgr-2.2.tbz xorg-fonts-truetype-7.5.1.tbz
> xproto-7.0.16.tbz
> prefixes: LOCALBASE=usr/local
> add_pkg
> 
> 
> ===>  License check disabled, port has not defined LICENSE
> => kiwi-1.9.26.tar.gz doesn't seem to exist in /tmp/distfiles/.
> => Attempting to fetch
> http://download.gnome.org/sources/kiwi/1.9/kiwi-1.9.26.tar.gz
> kiwi-1.9.26.tar.gz                                     731 kB  269 

Re: about py3 relate ports

2011-03-27 Thread wen heping
2011/3/28 Li-Wen Hsu :
> On Sun, Mar 27, 2011 at 00:52:49 +0800, wen heping wrote:
>> Hi, all:
>>
>>     After python-2.7 was set as default python version, now it is the
>> time to think
>> about python-3.x.
>>
>>     Although we set "USE_PYTHON=yes' in python relate ports, but we know 
>> many of
>> it could not build with python3, especially those install with
>> easy_install since setuptools
>> could not build with python3.
>>
>>    There are two ways to resolve it:
>>    1 Modify the bsd.python.mk and every python port's Makefile.
>>    2 create a new bsd.python3.mk and create new port for those
>> python3-enable applications.
>>
>>    I prefer the second way which is similar to Debian, because if we
>> choose the first way,
>> it is a huge work of it, we have to modify bsd.python.mk and modify
>> every python relate port's
>> Makefile and plist, while the second way is much more simpler.
>>
>>    I create bsd.python3.mk which is revised from bsd.python.mk and
>> some new python3 ports.
>> I attached them all here.
>>
>>    Any comments ?
>
> I admit due to my busy day job, I currently have no time to think about
> this issue very deeply, here are some thought currently on my mind:
>
>    How about changing the package manager from setuptools/easy_install
>  to use distribute/pip?
>
> And about the ports fails with Python 3, well, firstly I think it's not
> really a big issue, it only happens on the system set Python 3 as default.
> One should know what will happen when setting PYTHON_VERSION in make.conf.
> Keeping USE_PYTHON=yes in the Makefile is acceptable (to me) since when
> using Python 3, we should already know some python modules will not work,
> and it's not the default setting of ports system, besides, the biggest
> thing need to think about would be "how to make this module Python 3 ready"
> After achieve that, USE_PYTHON=yes is perfect. :)

   I agree this way could resolve the problem, and it is what I mean
as first way,
but you give more detailed explaintion. But this way require huge work
to re-test
all the python ports and many modifications.

   Anyway I think freebsd python group should have to do something to make
python3 modules work. We should have a decision, first way ? second way or
third way ?


Regards,
wen




>
> And for knowing or getting reports about some ports are not Python ready,
> I think modifying Makefile to USE_PYTHON=2.4-2.7 is OK, since it explicitly
> states this port does not Python 3 compatible.  Perhaps we can add a syntax
> like:
>
>     USE_PYTHON=2.x or USE_PYTHON=2
>
> However, Python 2.7.x looks like the last releases of Python 2, so we
> may not bothering thinking about this.
>
> Please note this is not conflicting  with your 2nd option (entirely), I
> just don't want to maintain another .mk file.  Creating Python 3 ports
> is fine, which gives us a pre-built binary package on ftp, that's good
> and we already have some, like databases/py25-bsddb .  The only thing
> need to take care is setting CONFLICTS in Makefile(s) correctly.  Some
> py-* ports install files under bin/, not all in ${PYTHON_SITELIBDIR}
>
>
> Best,
> Li-Wen
>
> --
> Li-Wen Hsu 
> http://lwhsu.org
>
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: VirtualBox won't build from ports

2017-02-08 Thread Li-Wen Hsu
On Fri, Jan 27, 2017 at 11:28 AM, John Klos  wrote:
> Hi,
>
> I find it a little odd that a clean install of FreeBSD 11.0 on amd64
> followed by:
>
> portsnap fetch ; portsnap extract
> echo "DISABLE_LICENSES=yes" > /etc/make.conf
> echo "BATCH=yes" >> /etc/make.conf
> cd /usr/ports/emulators/virtualbox-ose
> make install clean
>
> fails. What's the recommended (and non-embarrassing) way to set up a clean
> FreeBSD installation with VirtualBox?
>
> Here's the error:
>
> ...
> /bin/ln -sf python-2.7.pc
> /usr/ports/lang/python3/work/stage/usr/local/libdata/pkgconfig/python2.pc
> > Compressing man pages (compress-man)
> ===>  Installing for python3-2_3
> ===>  Checking if python3 already installed
> ===>   Registering installation for python3-2_3 as automatic
> Installing python3-2_3...
> pkg-static: python3-2_3 conflicts with python2-2_3 (installs files into the
> same place).  Problematic file: /usr/local/bin/2to3-2
> *** Error code 70
>
> Stop.
> make[6]: stopped in /usr/ports/lang/python3
> *** Error code 1
>
> Stop.
> ...
>

(Add freebsd-python@, move freebsd-virtualization@ to BCC)

This is not emulators/virtualbox-ose's fault.  It's because it needs
python2 to build, but it conflictes with python3 which is installed on
your system.

We might need to check why both python2 and python3 install
/usr/local/bin/2to3-2, this should be suffixed.

FWIW, if there you have no special requirements, I would suggest you
to install pre-built packages with pkg(1).

Best,
Li-Wen

-- 
Li-Wen Hsu 
https://lwhsu.org
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: VirtualBox won't build from ports

2017-02-11 Thread Li-Wen Hsu
On Thu, Feb 9, 2017 at 12:13 PM, Li-Wen Hsu  wrote:

> On Fri, Jan 27, 2017 at 11:28 AM, John Klos  wrote:
> > Hi,
> >
> > I find it a little odd that a clean install of FreeBSD 11.0 on amd64
> > followed by:
> >
> > portsnap fetch ; portsnap extract
> > echo "DISABLE_LICENSES=yes" > /etc/make.conf
> > echo "BATCH=yes" >> /etc/make.conf
> > cd /usr/ports/emulators/virtualbox-ose
> > make install clean
> >
> > fails. What's the recommended (and non-embarrassing) way to set up a
> clean
> > FreeBSD installation with VirtualBox?
> >
> > Here's the error:
> >
> > ...
> > /bin/ln -sf python-2.7.pc
> > /usr/ports/lang/python3/work/stage/usr/local/libdata/
> pkgconfig/python2.pc
> > > Compressing man pages (compress-man)
> > ===>  Installing for python3-2_3
> > ===>  Checking if python3 already installed
> > ===>   Registering installation for python3-2_3 as automatic
> > Installing python3-2_3...
> > pkg-static: python3-2_3 conflicts with python2-2_3 (installs files into
> the
> > same place).  Problematic file: /usr/local/bin/2to3-2
> > *** Error code 70
> >
> > Stop.
> > make[6]: stopped in /usr/ports/lang/python3
> > *** Error code 1
> >
> > Stop.
> > ...
> >
>
> (Add freebsd-python@, move freebsd-virtualization@ to BCC)
>
> This is not emulators/virtualbox-ose's fault.  It's because it needs
> python2 to build, but it conflictes with python3 which is installed on
> your system.
>
> We might need to check why both python2 and python3 install
> /usr/local/bin/2to3-2, this should be suffixed.
>

​I just checked, python2 and python3 ​install /usr/local/bin/2to3-2 and
/usr/local/bin/2to3-3 by default.

Do you make any special configurations locally?

Best,
Li-Wen

-- 
Li-Wen Hsu 
https://lwhsu.org
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Re: ports/158850: [Update]lang/python32: update to 3.2.1

2011-07-12 Thread Li-Wen Hsu
The following reply was made to PR ports/158850; it has been noted by GNATS.

From: Li-Wen Hsu 
To: bug-follo...@freebsd.org
Cc: wenhep...@gmail.com
Subject: Re: ports/158850: [Update]lang/python32: update to 3.2.1
Date: Wed, 13 Jul 2011 11:25:32 +0800

 --TB36FDmn/VVEgNH/
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I made a very minor change: using %%PYVER_WITHPAT%% in pkg-plist, and prepa=
 red diff for bsd.python.mk (I'm sure wen@ also has that, just put it to the=
  public for testing :-)
 
 Patches are available from here:
 
 http://people.freebsd.org/~lwhsu/python321/bsd.python.mk-python321.diff
 http://people.freebsd.org/~lwhsu/python321/python32-python321.diff
 
 By the way, hope this would not affect portmgr conducting exp-run sunpoet@'=
 s changes in ports/158662, maybe we should prepare a new patch and notify p=
 ortmgr after committing bsd.python.mk change.
 
 --=20
 Li-Wen Hsu 
 http://lwhsu.org
 
 --TB36FDmn/VVEgNH/
 Content-Type: application/pgp-signature
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (FreeBSD)
 
 iEYEARECAAYFAk4dECsACgkQQWsOOSiXsiiEZACfUX1W58g+3lXjMZpsUGlktkZg
 qi4An2Xvx/oDBTm1sMarH/Qj6emXW+Vs
 =6yAZ
 -END PGP SIGNATURE-
 
 --TB36FDmn/VVEgNH/--
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/158850: [Update]lang/python32: update to 3.2.1

2011-07-12 Thread Li-Wen Hsu
On Wed, Jul 13, 2011 at 11:56:13 +0800, wen heping wrote:
> 2011/7/13 Li-Wen Hsu :
> > The following reply was made to PR ports/158850; it has been noted by GNATS.
> >
> > From: Li-Wen Hsu 
> > To: bug-follo...@freebsd.org
> > Cc: wenhep...@gmail.com
> > Subject: Re: ports/158850: [Update]lang/python32: update to 3.2.1
> > Date: Wed, 13 Jul 2011 11:25:32 +0800
> >
> > ??--TB36FDmn/VVEgNH/
> > ??Content-Type: text/plain; charset=us-ascii
> > ??Content-Disposition: inline
> > ??Content-Transfer-Encoding: quoted-printable
> >
> > ??I made a very minor change: using %%PYVER_WITHPAT%% in pkg-plist, and 
> > prepa=
> > ??red diff for bsd.python.mk (I'm sure wen@ also has that, just put it to 
> > the=
> > ??public for testing :-)
> >
> > ??Patches are available from here:
> >
> > ?? ?? 
> > http://people.freebsd.org/~lwhsu/python321/bsd.python.mk-python321.diff
> > ?? ?? http://people.freebsd.org/~lwhsu/python321/python32-python321.diff
> 
> I agree with you.
> Please commit it if test OK.
> 
> wen

Thanks, however I am not sure I can do a fully test before weekend.
Have you tested some combinations of non-default building options?
Please commit if you're OK with these.

> > ??By the way, hope this would not affect portmgr conducting exp-run 
> > sunpoet@'=
> > ??s changes in ports/158662, maybe we should prepare a new patch and notify 
> > p=
> > ??ortmgr after committing bsd.python.mk change.
> >
> > ??--=20
> > ??Li-Wen Hsu 
> > ??http://lwhsu.org
> >
> > ??--TB36FDmn/VVEgNH/
> > ??Content-Type: application/pgp-signature
> >
> > ??-BEGIN PGP SIGNATURE-
> > ??Version: GnuPG v2.0.17 (FreeBSD)
> >
> > ??iEYEARECAAYFAk4dECsACgkQQWsOOSiXsiiEZACfUX1W58g+3lXjMZpsUGlktkZg
> > ??qi4An2Xvx/oDBTm1sMarH/Qj6emXW+Vs
> > ??=6yAZ
> > ??-END PGP SIGNATURE-
> >
> > ??--TB36FDmn/VVEgNH/--
> > ___
> > freebsd-python@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-python
> > To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
> >

-- 
Li-Wen Hsu 
http://lwhsu.org


pgpHpdKQysW50.pgp
Description: PGP signature


Re: ports/158850: [Update]lang/python32: update to 3.2.1

2011-07-12 Thread Li-Wen Hsu
On Wed, Jul 13, 2011 at 07:55:01 +0300, Volodymyr Kostyrko wrote:
> And what about ports/156811?

Oh, sorry for keeping this so long.  I think it's right direction, does
anyone object changing precedence 3.2.x over 3.1.x for Python3k?

-- 
Li-Wen Hsu 
http://lwhsu.org


pgpHvYeXimno5.pgp
Description: PGP signature


Re: devel/py-qt4-svg is broken

2011-07-13 Thread Li-Wen Hsu
Hi,

Sorry that I cannot help you with this immediately.  May I suggest you
try to contact with k...@freebsd.org, the maintainer of this port?  I
think they know about this more than us.

Best,
Li-Wen

On Wed, Jul 13, 2011 at 18:50, Eugene Grosbein  wrote:
> Hi!
>
> devel/py-qt4-svg is broken, port's Makefile runs REINPLACE_CMD on 
> non-existing file:
>
> ===>  License check disabled, port has not defined LICENSE
> ===>  Found saved configuration for py26-qt4-svg-4.8.3,1
> ===>  Extracting for py27-qt4-svg-4.8.3,1
> => SHA256 Checksum OK for PyQt-x11-gpl-4.8.3.tar.gz.
> ===>  Patching for py27-qt4-svg-4.8.3,1
> ===>  Applying FreeBSD patches for py27-qt4-svg-4.8.3,1
> ===>   py27-qt4-svg-4.8.3,1 depends on package: py27-sip>=4.12.1 - found
> ===>   py27-qt4-svg-4.8.3,1 depends on file: /usr/local/bin/python2.7 - found
> ===>   py27-qt4-svg-4.8.3,1 depends on file: /usr/local/bin/qmake-qt4 - found
> ===>   py27-qt4-svg-4.8.3,1 depends on file: /usr/local/lib/qt4/libQtSvg.so - 
> found
> ===>   py27-qt4-svg-4.8.3,1 depends on shared library: qscintilla2.5 - found
> ===>  Configuring for py27-qt4-svg-4.8.3,1
> cd /var/tmp/usr/local/ports/graphics/py-qt4-svg/work/PyQt-x11-gpl-4.8.3 && 
> /usr/bin/env PYQT4_COMPONENT="svg" PYTHON="/usr/local/bin/python2.7" 
> MOC="/usr/local/bin/moc-qt4" UIC="/usr/local/bin/uic-qt4" CPPFLAGS=" " 
> LIBS=""  QMAKE="/usr/local/bin/qmake-qt4" 
> QMAKESPEC="/usr/local/share/qt4/mkspecs/freebsd-g++" QTDIR="/usr/local" 
> SHELL=/bin/sh CONFIG_SHELL=/bin/sh /usr/local/bin/python2.7 configure.py -b 
> /usr/local/bin -d /usr/local/lib/python2.7/site-packages -p 
> /usr/local/lib/qt4/plugins -q /usr/local/bin/qmake-qt4 --confirm-license 
> --enable QtSvg --qsci-api --qsci-api-destdir=/usr/local/share/qt4/qsci 
> --sipdir /usr/local/share/py-sip
> Determining the layout of your Qt installation...
> This is the GPL version of PyQt 4.8.3 (licensed under the GNU General Public
> License) for Python 2.7.2 on freebsd8.
> Found the license file pyqt-gpl.sip.
> Checking to see if the QtSvg module should be built...
> Qt v4.6.3 free edition is being used.
> SIP 4.12.1 is being used.
> The Qt header files are in /usr/local/include/qt4.
> The shared Qt libraries are in /usr/local/lib/qt4.
> The Qt binaries are in /usr/local/bin.
> The Qt mkspecs directory is in /usr/local/share/qt4.
> These PyQt modules will be built: QtCore.
> The PyQt Python package will be installed in
> /usr/local/lib/python2.7/site-packages.
> PyQt is being built with generated docstrings.
> The QScintilla API file will be installed in
> /usr/local/share/qt4/qsci/api/python.
> The PyQt .sip files will be installed in /usr/local/share/py-sip.
> Creating QScintilla API file...
> Creating top level Makefile...
> /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|share/qt4/mkspecs/freebsd-g++|' 
> -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = 
> c++|' 
> /var/tmp/usr/local/ports/graphics/py-qt4-svg/work/PyQt-x11-gpl-4.8.3/QtSvg/Makefile
> sed: 
> /var/tmp/usr/local/ports/graphics/py-qt4-svg/work/PyQt-x11-gpl-4.8.3/QtSvg/Makefile:
>  No such file or directory
> *** Error code 1
>
> Stop in /usr/local/ports/graphics/py-qt4-svg.
> *** Error code 1
>
> Stop in /usr/local/ports/graphics/py-qt4-svg.
>
>
> Eugene Grosbein
> ___
> freebsd-python@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
>



-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/158679: www/py-django: django-1.3 segfaults with python built with non-huge stack

2011-07-22 Thread Li-Wen Hsu
Hi,

Thanks for reporting this, I would perform a survey about what are
the values others set to THREAD_STACK_SIZE first, then deciding what
we should pick for the default value.

Folks on freebsd-python list, comments are always welcome and appreciated.

Best,
Li-Wen

-- 
Li-Wen Hsu 
http://lwhsu.org


pgpTkamlsw4yh.pgp
Description: PGP signature


Re: Update of devel/py-twisted to 11.0.0

2011-09-06 Thread Li-Wen Hsu
Hello Sofian,

Thanks for working on this, python@ definitely need more power!

Please see the reply inline.

On Wed, Sep 7, 2011 at 04:57, Sofian Brabez  wrote:
> Hi python@,
>
> This afternoon, I've merged my initial update to the twisted related ports 
> with
> the patch of lwhsu@ [1]. My patch is there [2].
>
> My patch make happy portlint, add LICENSE in each twisted ports and add new
> OPTIONS for twistedPair port.

And please also add pair_DEPENDS in bsd.python.mk, that is around line 641.

> Please lwhsu@ notice than all twisted ports are sharing the
> ${PYTHON_SITELIBDIR}/twisted/plugins folder that's why I've replaced the 
> @dirrm
> by a @dirrmtry in pkg-plist.

Thanks for reminding me this, I think we have

@dirrm %%PYTHON_SITELIBDIR%%/twisted/plugins in

in devel/py-twistedCore/pkg-plist, and all other twisted ports depends
on twistedCore, so we probably don't need to have @dirrm nor @dirrmtry
in other ports.
They sneaked in my patch because I forget this, so just removing them
is fine. (I was planning getting maintainer's approval on general idea
then doing a more substantial patch.)
Using @dirrmtry is fine, too.

> I would like to have your approbation to commit it, and sent it to my mentors
> for their approbations, I start working on this one because I took the pr
> ports/155570 but lwhsu@ inform me about ports/159954 on #freebsd-python.
>
> Below the tinderbox build logs:
>
> http://regis.goodking.org/tb/index.php?action=list_buildports&build=7-sbz&search_port_name=twisted&Go=Go
> http://regis.goodking.org/tb/index.php?action=list_buildports&build=8-sbz&search_port_name=twisted&Go=Go
> http://regis.goodking.org/tb/index.php?action=list_buildports&build=9-sbz&search_port_name=twisted&Go=Go

All looks good, and I also tested building all other ports depends on
twisted, all are fine.  Is anybody aware non-backward-compatible
change?

Another thing, I found there is no twisted 11.0.0 distfiles in
http://tmrc.mit.edu/mirror/twisted/, that's why I removed them from
MASTER_SITES, could you check it again?

Please consider my suggestions, thanks!

> Regards
>
> [1] http://people.freebsd.org/~lwhsu/twisted-11.0.0.diff
> [2] http://people.freebsd.org/~sbz/twisted-11.0.0.diff
>
> --
> Sofian Brabez
>



-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Update of devel/py-twisted to 11.0.0

2011-09-07 Thread Li-Wen Hsu
Looks good, please go ahead commit and close the related PRs.

Thanks for your help!

On Wed, Sep 7, 2011 at 19:02, Sofian Brabez  wrote:
> Hi python@,
>
> On Wed, Sep 07, 2011 at 02:02:43PM +0800, Li-Wen Hsu wrote:
>> Hello Sofian,
>>
>> Thanks for working on this, python@ definitely need more power!
>>
>> Please see the reply inline.
>>
>> On Wed, Sep 7, 2011 at 04:57, Sofian Brabez  wrote:
>> > Hi python@,
>> >
>> > This afternoon, I've merged my initial update to the twisted related ports 
>> > with
>> > the patch of lwhsu@ [1]. My patch is there [2].
>> >
>> > My patch make happy portlint, add LICENSE in each twisted ports and add new
>> > OPTIONS for twistedPair port.
>>
>> And please also add pair_DEPENDS in bsd.python.mk, that is around line 641.
>
> Done
>>
>> > Please lwhsu@ notice than all twisted ports are sharing the
>> > ${PYTHON_SITELIBDIR}/twisted/plugins folder that's why I've replaced the 
>> > @dirrm
>> > by a @dirrmtry in pkg-plist.
>>
>> Thanks for reminding me this, I think we have
>>
>>     @dirrm %%PYTHON_SITELIBDIR%%/twisted/plugins in
>>
>> in devel/py-twistedCore/pkg-plist, and all other twisted ports depends
>> on twistedCore, so we probably don't need to have @dirrm nor @dirrmtry
>> in other ports.
>> They sneaked in my patch because I forget this, so just removing them
>> is fine. (I was planning getting maintainer's approval on general idea
>> then doing a more substantial patch.)
>> Using @dirrmtry is fine, too.
>>
>
> Imho, we should keep the @dirrmtry directive to remember us that all twisted
> ports install files in ${PYTHON_SITELIBDIR}/twisted/plugins and agreed the 
> only
> @dirrm should be in devel/py-twistedCore/pkg-plist file.
>> > I would like to have your approbation to commit it, and sent it to my 
>> > mentors
>> > for their approbations, I start working on this one because I took the pr
>> > ports/155570 but lwhsu@ inform me about ports/159954 on #freebsd-python.
>> >
>> > Below the tinderbox build logs:
>> >
>> > http://regis.goodking.org/tb/index.php?action=list_buildports&build=7-sbz&search_port_name=twisted&Go=Go
>> > http://regis.goodking.org/tb/index.php?action=list_buildports&build=8-sbz&search_port_name=twisted&Go=Go
>> > http://regis.goodking.org/tb/index.php?action=list_buildports&build=9-sbz&search_port_name=twisted&Go=Go
>>
>> All looks good, and I also tested building all other ports depends on
>> twisted, all are fine.  Is anybody aware non-backward-compatible
>> change?
>>
>> Another thing, I found there is no twisted 11.0.0 distfiles in
>> http://tmrc.mit.edu/mirror/twisted/, that's why I removed them from
>> MASTER_SITES, could you check it again?
>
> Indeed, I remove them, we will see in the future if they remirrored them.
>>
>> Please consider my suggestions, thanks!
>>
>
> Patch update with your suggestions, now I'm waiting your go ;), I save the old
> version [1] and the new [2] there.
>> > Regards
>> >
>> > [1] http://people.freebsd.org/~lwhsu/twisted-11.0.0.diff
>> > [2] http://people.freebsd.org/~sbz/twisted-11.0.0.diff
>> >
>> > --
>> > Sofian Brabez
>> >
>>
>>
>>
>> --
>> Li-Wen Hsu
>> http://lwhsu.org
>
> Regards
>
> [1] http://people.freebsd.org/~sbz/twisted-11.0.0.old.diff
> [2] http://people.freebsd.org/~sbz/twisted-11.0.0.diff
>
> --
> Sofian Brabez
>



-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: ports/158679: www/py-django: django-1.3 segfaults with python built with non-huge stack

2011-09-22 Thread Li-Wen Hsu
On Sat, Jul 23, 2011 at 01:17:08 +0800, Li-Wen Hsu wrote:
> Hi,
> 
> Thanks for reporting this, I would perform a survey about what are
> the values others set to THREAD_STACK_SIZE first, then deciding what
> we should pick for the default value.
> 
> Folks on freebsd-python list, comments are always welcome and appreciated.

Sorry for dealying about this, after talking with delphij@, we think
just removing the HUGE_STACK_SIZE and using default size of the system
is the best choice.  I will commit this change this weekend:

http://people.freebsd.org/~lwhsu/python_thread_stack_size.diff

Regards,
Li-Wen

-- 
Li-Wen Hsu 
http://lwhsu.org


pgpdN8hWq7aJ3.pgp
Description: PGP signature


Re: Install shared objects into site-packages

2012-02-24 Thread Li-Wen Hsu
On Mon, Feb 20, 2012 at 11:42, Sean C. Farley  wrote:
> I am using virtualenv --no-site-packages (the default now) to be able to
> build an environment on both FreeBSD and Linux.  The issue I am running into
> is that _sqlite3.so from databases/py-sqlite3 is being installed into
> site-packages as opposed to lib-dynload.  On the CentOS we are using,
> _sqlite3.so is installed in lib-dynload.
>
> I tried a bit to change the port's setup.py, but I have not been successful.
>  How can databases/py-sqlite3 and other ports that are typically part of
> Python by default be made to install into lib-dynload?
>
> These are the one that lang/python27 disables:
> disabled_module_list = ["_bsddb", "_sqlite3", "_tkinter", "gdbm", "mpz"]

Hi Sean,

After reading databases/py-sqlite3/Makeilfe from NetBSD's pkgsrc, I
have this patch:

http://people.freebsd.org/~lwhsu/patch/py-sqlite3__lib-dynload.diff

Due to time constraint, I haven't test it with virtualenv, please tell
me if it works.

I think changing the install destination of these built-in modules to
the default position is right direction.  But this patch is not a good
solution, we need to handle PYDISTUTILS_INSTALLARGS better instead of
putting between bsd.port.{pre,post}.mk .  Please tell me if there is a
better way to do this.  Thanks.

Li-Wen

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Install shared objects into site-packages

2012-03-07 Thread Li-Wen Hsu
On Wed, Mar 07, 2012 at 11:03:01 -0500, Sean C. Farley wrote:
> On Fri, 24 Feb 2012, Li-Wen Hsu wrote:
> 
> > On Mon, Feb 20, 2012 at 11:42, Sean C. Farley  wrote:
> >> I am using virtualenv --no-site-packages (the default now) to be able 
> >> to build an environment on both FreeBSD and Linux.  The issue I am 
> >> running into is that _sqlite3.so from databases/py-sqlite3 is being 
> >> installed into site-packages as opposed to lib-dynload.  On the 
> >> CentOS we are using, _sqlite3.so is installed in lib-dynload.
> >>
> >> I tried a bit to change the port's setup.py, but I have not been 
> >> successful.  How can databases/py-sqlite3 and other ports that are 
> >> typically part of Python by default be made to install into 
> >> lib-dynload?
> >>
> >> These are the one that lang/python27 disables:
> >> disabled_module_list = ["_bsddb", "_sqlite3", "_tkinter", "gdbm", "mpz"]
> >
> > Hi Sean,
> >
> > After reading databases/py-sqlite3/Makeilfe from NetBSD's pkgsrc, I 
> > have this patch:
> >
> >http://people.freebsd.org/~lwhsu/patch/py-sqlite3__lib-dynload.diff
> >
> > Due to time constraint, I haven't test it with virtualenv, please tell 
> > me if it works.
> >
> > I think changing the install destination of these built-in modules to 
> > the default position is right direction.  But this patch is not a good 
> > solution, we need to handle PYDISTUTILS_INSTALLARGS better instead of 
> > putting between bsd.port.{pre,post}.mk .  Please tell me if there is a 
> > better way to do this.  Thanks.
> 
> It works.  Thank you!
> 
> I do not know a better way to do it.  I tried a few things with 
> files/setup.py to get it to install within lib-dynload but was 
> unsuccessful.  If an environment variable would take care of the 
> install-lib option, then maybe putting something into MAKE_ENV?

That's great!

Okay, the question is actually to all the readers of freebsd-python
list.  So please please try to help python infrastructure.  I'll try
to find a better solution of this issue (and other jRs under python@.)

Li-Wen

-- 
Li-Wen Hsu 
http://lwhsu.org


pgpHXFRmISmf0.pgp
Description: PGP signature


Re: [PATCH] python2.4 removal zope and zope211 affected

2012-05-28 Thread Li-Wen Hsu
Hi,

On Tue, May 29, 2012 at 1:14 AM, Ruslan Mahmatkhanov  wrote:
> Hi, Martin,
>
> Martin Wilke wrote on 28.05.2012 13:44:
>
>> Hi,
>>
>> Finally I'm working on to remove python 24 from the ports tree, and the
>> reasons are clear. Support was dropped by 2008, and there are a lot of
>> unpatched security holes. We have warned about this since 2 years ago,
>> and now I will really take action to drop it from the ports tree.
>
> I have no objections, but know people that do :). I ever know FreeBSD
> committer that using old zope.

I apologies jumping to conclusion too quick, and totally forget about setting
DEPRECATED thing.  I agree to set it as an official announcement, and we can
wait another month, I believe this is the final time of postpone.

> We have only three ports, that wish exactly python 2.4 version:
>
> net/honeyd (skreu...@freebsd.org)
> www/zope   (esta...@augusta.de)
> www/zope211 (esta...@augusta.de)

miwi has written a mail to esta...@augusta.de, I am not sure about if
skreuzer (CC'd)
know this plan.

www/zope and www/zope211 can also be set deprecated, how about net/honeyd?
can it work with newer Python?  I looked at the project site, it seems moved to
somewhere else.

> And only one port that depends on exact 2.5 version:
>
> www/google-appengine (ni...@freebsd.org)

I think we don't have a exact plan to remove 2.5 currently, do we?

> I prefer to remove both of python24 and python25 because they both EOL. But
> I'd still set them all to expiration period of month or two. We have such a
> tradition.

I agree to remove python24, and not object to remove python25, newer
google-appengine
can run with python27 and I would like to use python27 to develop new
system, and
users have python25 apps deployed are not affected.  Is there anybody
still using
develop/maintaining systems with python25 on appengine?

>> So here is the final patch [1] that has already been reviewed by lwshu@
>> and wen@, but I would like to discuss regarding the zope ports.
>>
>> First of all I will clean up the zope version from the bsd.python.mk.
>> Now I would like to know what you guys think if I were to remove
>> www/zope and keep www/zope213. Another option is to merge www/zope213
>> to www/zope and just remove www/zope211 and www/zope213 completely.
>> What do you think about this?
>>
>> Thanks Martin
>>
>> [1]
>> http://miwifbsd.dyndns.org/patches/py24rm-3.diff
>
>
>
> Our zope213 port didn't use ZOPESKELDIR, SZOPEBASEDIR so it may look like
> this:
>
> +if ${ZOPE_VERSION} == "2.13"
> +ZOPE_PORTSDIR=                 ${PORTSDIR}/www/zope213
>  .else

You are the Zope expert!

> I prefer to keep it as zope213 for some time.

We do, too.  Do you have a plan for updating www/zope to 2.13?  BTW,
what's the status of
BlueBream?

Thanks,
Li-Wen

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: [PATCH] python2.4 removal zope and zope211 affected

2012-05-29 Thread Li-Wen Hsu
On Tue, May 29, 2012 at 07:02:11 +0800, Martin Wilke wrote:
> On Tue, 29 May 2012 02:51:23 +0800
> Li-Wen Hsu  wrote:
> 
> > Hi,
> > 
> > On Tue, May 29, 2012 at 1:14 AM, Ruslan Mahmatkhanov
> >  wrote:
> > > Hi, Martin,
> > >
> > > Martin Wilke wrote on 28.05.2012 13:44:
> > >
> > >> Hi,
> > >>
> > >> Finally I'm working on to remove python 24 from the ports tree,
> > >> and the reasons are clear. Support was dropped by 2008, and there
> > >> are a lot of unpatched security holes. We have warned about this
> > >> since 2 years ago, and now I will really take action to drop it
> > >> from the ports tree.
> > >
> > > I have no objections, but know people that do :). I ever know
> > > FreeBSD committer that using old zope.
> > 
> > I apologies jumping to conclusion too quick, and totally forget about
> > setting DEPRECATED thing.  I agree to set it as an official
> > announcement, and we can wait another month, I believe this is the
> > final time of postpone.
> 
> Nope, we have already mention that ever and ever and ever again, this
> time i dont do that where a problem with that is this time not mine,
> the python@ histroy can prove that. I wont postpone it again
> 
> > 
> > > We have only three ports, that wish exactly python 2.4 version:
> > >
> > > net/honeyd (skreu...@freebsd.org)
> 
> I wrote him yesterday a mail. no reply, but just in case that port can
> live without python 24
> 
> > > www/zope   (esta...@augusta.de)
> > > www/zope211 (esta...@augusta.de)
> > 
> > miwi has written a mail to esta...@augusta.de, I am not sure about if
> > skreuzer (CC'd)
> > know this plan.

I do not strongly object about removing without setting DEPRECATED, but
we will wait for these two maintainer reply or maintainer timeout, right?
We just notified them yesterday.

When do you plan to commit your patch?

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Failure to install Python2.7

2012-07-03 Thread Li-Wen Hsu
luding the output of the failure of your make command. Also, it might be
>
> a good idea to provide an overview of all packages installed on your system
>
> (e.g. an `ls /var/db/pkg`).
>
> *** Error code 1
>
> Stop in /usr/ports/lang/python27.
>
> *** Error code 1
>
> Stop in /usr/ports/lang/python27.
>
>
>
>
> [root@nemesis /usr/ports/lang/python27]# ls /var/db/pkg/
> alpine-2.00_1libX11-1.1.3_1,1
> p5-Convert-UUlib-1.11,1  p5-TimeDate-1.16,1
> amavisd-new-2.6.1_1,1libXau-1.0.3_2
> p5-Crypt-OpenSSL-Bignum-0.04 p5-URI-1.37
> apache-2.2.9_5   libXdmcp-1.0.2_1
> p5-Crypt-OpenSSL-RSA-0.25p5-Unix-Syslog-1.1
> arc-5.21o_1  libXext-1.0.3,1
> p5-Crypt-OpenSSL-Random-0.04 p5-YAML-0.66
> arj-3.10.22_1libXi-1.1.3,1
> p5-Digest-HMAC-1.01  p5-gettext-1.05_2
> aspell-0.60.6_2  libXinerama-1.0.2,1
> p5-Digest-MD5-2.36_1 p5-libwww-5.814
> autoconf-2.62libXp-1.0.0,1p5-Digest-SHA-5.47
> p7zip-4.58
> autoconf-wrapper-20071109libXt-1.0.5_1
> p5-Digest-SHA1-2.11  pcre-7.7_1
> avahi-app-0.6.23 libXtst-1.0.3_1
> p5-Encode-Detect-1.01perl-5.8.8_1
> bash-3.2.39_1libassuan-1.0.4
> p5-ExtUtils-CBuilder-0.24pico-alpine-2.00_1
> bigreqsproto-1.0.2   libcheck-0.9.8
> p5-ExtUtils-ParseXS-2.19 pkg-config-0.23_1
> cabextract-1.2   libdaemon-0.12   p5-File-Temp-0.20
> pkgdb.db
> clamav-0.97.3_1  libgcrypt-1.4.1_1p5-File-Which-0.05
> pop-before-smtp-1.42
> clamfilter-0.5_2 libgmp-4.2.3 p5-GSSAPI-0.26
> popa3d-standalone-1.0.2_1
> curl-7.18.0  libgpg-error-1.6_1
> p5-HTML-Parser-3.56_1portaudit-0.5.12
> db41-4.1.25_4libiconv-1.11_1
> p5-HTML-Tagset-3.20  portupgrade-2.4.6,2
> db42-4.2.52_5libidn-1.8_2 p5-HTML-Tree-3.23
> postfix-2.5.4,1
> dbus-1.2.1   libiodbc-3.52.6
> p5-IO-Compress-Base-2.015printproto-1.0.3
> dbus-glib-0.76   libksba-1.0.3
> p5-IO-Compress-Zlib-2.015pth-2.0.7
> diablo-jdk-1.6.0.07.02   libltdl-2.4_1
> p5-IO-Multiplex-1.09 qmake-3.3.8_1
> ejabberd-2.1.5   libmng-1.0.10
> p5-IO-Socket-INET6-2.52  razor-agents-2.84
> erlang-r12b4,1   libtool-1.5.26
> p5-IO-Socket-SSL-1.15recordproto-1.13.2
> expat-2.0.1  libtool-2.4_1p5-IO-String-1.08
> ripole-0.2.0
> file-4.25libxml2-2.6.32   p5-IO-Zlib-1.09
> rpm2cpio-1.2_2
> freeze-2.5_2 linux_base-fc-4_13
> p5-IO-stringy-2.110  ruby-1.8.6.287,1
> gamin-0.1.9_2lsof-4.81D,2
> p5-MIME-Base64-3.07  ruby18-bdb-0.6.4
> gdbm-1.8.3_3 lynx-2.8.6.5_4,1
> p5-MIME-Tools-5.427,2sudo-1.6.9.17
> gettext-0.17_1   lzo2-2.03_2  p5-Mail-DKIM-0.32
> tcl-8.4.19,1
> gio-fam-backend-2.16.5   lzop-1.02.r1
> p5-Mail-SpamAssassin-3.2.5   tftp-hpa-0.48_1
> glib-2.16.5  m4-1.4.11,1  p5-Mail-Tools-2.02
> tk-8.4.19,2
> gmake-3.81_3 mDNSResponder-108
> p5-Math-BigInt-1.89  unrar-3.80.b2,5
> gnome_subr-1.0   mailman-2.1.11
> p5-Module-Build-0.28.08_2unzoo-4.4_2
> gnupg-2.0.9_2mtools-3.9.10_4  p5-Net-1.22,1
> varnish-2.0.6
> help2man-1.36.4_2mysql-client-5.1.28_1p5-Net-DNS-0.63
> vim-lite-7.2.14
> inputproto-1.4.2.1   mysql-server-5.1.28_1p5-Net-IP-1.25
> vsftpd-ssl-2.0.7
> isc-dhcp3-server-3.0.5_2 openwebmail-2.53
> p5-Net-Netmask-1.9015xcmiscproto-1.1.2
> ispell-3.3.02_4  p5-Archive-Tar-1.38_1p5-Net-SSLeay-1.35
> xextproto-7.0.2
> javavmwrapper-2.3.2  p5-Archive-Zip-1.24  p5-Net-Server-0.97
> xf86bigfontproto-1.1.2
> jpeg-6b_7p5-Authen-SASL-2.12
> p5-PathTools-3.2701  xineramaproto-1.1.2
> kbproto-1.0.3p5-BerkeleyDB-0.34   p5-Socket6-0.22
> xproto-7.0.10_1
> lcms-1.17,1  p5-Compress-Raw-Zlib-2.015   p5-Spiffy-0.30
> xtrans-1.0.4
> lha-1.14i_6  p5-Compress-Zlib-2.015
> p5-Test-Base-0.54_1  zoo-2.10.1_2
> libICE-1.0.4_1,1 p5-Convert-BinHex-1.119  p5-Text-Iconv-1.7
> zsh-4.3.6_7
> libSM-1.0.3_1,1  p5-Convert-TNEF-0.17
> p5-Time-HiRes-1.9715,1
>

I've just built python27-2.7.3_2 successfully on an amd64 7.1-RELEASE
jail with following dependencies:

gettext-0.18.1.1
libiconv-1.14
libtool-2.4.2

Could you update the related ports and try again?
BTW, 7.1 is not officially supported, please consider upgrade your system.

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Simple change into Mk/bsd.python.mk

2012-09-02 Thread Li-Wen Hsu
On Sun, Sep 2, 2012 at 3:31 PM, Ruslan Mahmatkhanov  wrote:
> Hi,
>
> I'm preparing an update of www/plone and discovered thing that's need to be
> changed to make USE_ZOPE knob actually work. We do not define ZOPESKELDIR
> anymore, so the RUN_DEPENDS line should be fixed.
> While here, trim some leftover from py24/25 removal, that's now always true
> in current ports tree. Would you please approve this change?
>
> PS. It doesn't needed an exp-run because at the time there is no ports, that
> use USE_ZOPE.

Looks good to me, and if you don't mind, how about doing this:

RUN_DEPENDS+=   ${LOCALBASE}/bin/zopectl:${ZOPE_PORTSDIR}

in this way:

RUN_DEPENDS+=   zope213>0:${ZOPE_PORTSDIR}

or even replace this:

ZOPE_PORTSDIR=  ${PORTSDIR}/www/zope213

with:

ZOPE_DEPENDS=   zope213>0:${PORTSDIR}/www/zope213

and then, .if defined(USE_ZOPE) section can be written as:

RUN_DEPENDS+=   ${ZOPE_DEPENDS}

How do you think?

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Making Python's curses module work with Unicode

2012-09-02 Thread Li-Wen Hsu
On Sat, Sep 1, 2012 at 5:12 AM, Vitaly Magerya  wrote:
> Can I have a brave committer to either accept the patch (in which
> case I'll work on the same for other python versions), or point
> me to whatever problems it may trigger (in which case, I'll test
> for them)?

Hi Vitaly,

Thanks for working on this, is it possible for you to file a PR of
this to prevent it being overwhelmed by the mails and other issues in
the queue?

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Simple change into Mk/bsd.python.mk

2012-09-02 Thread Li-Wen Hsu
On Sun, Sep 02, 2012 at 16:01:51 +0400, Ruslan Mahmatkhanov wrote:
> 
> I believe that original intention was not to hardcode the zope port 
> version. Yes, there is only one zope version at the moment, but there 
> may be more in future. Just though about ports that needs different zope 
> versions. Please tell me if I understand it wrong.
> 

We have the same thought.  Sorry that my expression was not clear.
My proposed patch is attached, and what I just wanted was reducing
hardcoded dependency of ${LOCALBASE}/bin/zopectl .  I am not sure which
one is better, so please just commit one you like.

BTW, should we bother portmgr at this point?  I believe they have much
more important things need to deal with.  But I am still happy to hear
any suggestion from them if they want to step in.

Regards,
Li-Wen

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Li-Wen Hsu
On Wed, Sep 26, 2012 at 7:18 PM, Dmitry Sivachenko  wrote:
> On 26.09.2012 13:20, Ruslan Mahmatkhanov wrote:
>>
>> Dmitry Sivachenko wrote on 26.09.2012 13:14:
>>>
>>> I don't have a patch but I can make one if you like.
>>
>>
>> Please do.
>>
>
> Please consider the attached patch.
>

I think this patch is good.  And I am thinking about also modifying
other lang/python{2,3}X ports, thus we may need to beware of
confliction on bin/python{2,3} between lang/python2X or lang/python3X
ports.  It is not so common but still possible to have more then one
lang/python2X or lang/python3X ports installed.  Maybe we can use the
same logic of bin/python installation (first wins).

Li-Wen

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: bin/python3 symlink for python3X ports

2012-10-01 Thread Li-Wen Hsu
On Wed, Sep 26, 2012 at 17:17:20 +0400, Дмитрий Сиваченко wrote:
> On 9/26/12 5:00 PM, Li-Wen Hsu wrote:
> >
> > I think this patch is good.  And I am thinking about also modifying
> > other lang/python{2,3}X ports, thus we may need to beware of
> > confliction on bin/python{2,3} between lang/python2X or lang/python3X
> > ports.  It is not so common but still possible to have more then one
> > lang/python2X or lang/python3X ports installed.  Maybe we can use the
> > same logic of bin/python installation (first wins).
> >
> >
> 
> I actually dislike the current "first wins" logic.  I hit that problem 
> recently.

To be honest, I also realized this would cause problems just after
sending my previous mail.  This would generate conflicting packages of
python[23]*.  This definitely needs to be fixed.  I apologize of
committing this bug (three years ago!)

> I think this choice should be done via make.conf variable (with some 
> default value hardcoded in bsd.python.mk).
> The resulting packages should not depend on the order two pythons are 
> installed in.
> (probaly defaulting python -> python2.X is the proper choice).

This is what we did originally, and I thought what Josh said is
reasonable:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/109550

I'm still thinking about a good solution, any suggestions?

My current thought is there might be no perfect solution of this, and
what ${PYTHON_DEFAULT_VERSION} defined should get /usr/local/bin/python,
any other ports need specified version python should modify their
shebang with ${PYTHON_CMD}.

> Let maintainers take the final decision and implement it though.

I think that all people on this list are the maintainers, the only
difference is some of us having commit bit and need to serve others
more. :)

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: bin/python3 symlink for python3X ports

2012-10-01 Thread Li-Wen Hsu
On Thu, Sep 27, 2012 at 15:22:03 +0400, Dmitry Sivachenko wrote:
> On 26.09.2012 17:00, Li-Wen Hsu wrote:
> >
> > I think this patch is good.  And I am thinking about also modifying
> > other lang/python{2,3}X ports, thus we may need to beware of
> > confliction on bin/python{2,3} between lang/python2X or lang/python3X
> > ports.  It is not so common but still possible to have more then one
> > lang/python2X or lang/python3X ports installed.  Maybe we can use the
> > same logic of bin/python installation (first wins).
> >
> 
> I beleive that the vast majority of python[23] users will be fine with the 
> latest version of the relevant branch.
> Considered that and also not to over complicate things I propose to make 
> python2/python3 symlink only for the latest version: python2 -> python2.7
> and python3 -> python3.2 for now.
> 
> And leave python31, python25, python26 untouched.  Users who really need 
> older 
> versions of python should explicitly require python version during startup.
> 
> If it is OK for you, I can work out the final patch.

I think it's OK, and one more this might be helpful in the future is
adding a condition like:

.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}

then install the symlink.

Thanks for working on this, I am looking forward to your patch.

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Python distribution: switching to tar.xz

2012-10-01 Thread Li-Wen Hsu
On Mon, Oct 1, 2012 at 10:10 PM, Marcus von Appen  wrote:
>
> Ruslan Mahmatkhanov :
>
>> Hello,
>>
>> The python.org ftp provides lang/pythonXX source tarballs in a many
>> formats:
>> - tar.bz2
>> - tar.xz
>> - tgz
>>
>> Using .tgz is not in sports-way this days, so I'd prefer to use tar.xz for
>> new versions. But I can't actually choose there because tarball format is
>> hardcoded in Mk/bsd.python.mk as PYTHON_DISTFILE variable:
>>
>> PYTHON_DISTFILE=
>> Python-${PYTHON_PORTVERSION:S/.rc/rc/}.tgz
>>
>> And in particular python port we have this:
>>
>> DISTFILES=  ${PYTHON_DISTFILE}
>>
>> Since I can't just choose tar.xz for some new python33 port, I suggest to
>> change PYTHON_DISTFILE to use tar.xz and to change all the distinfos for
>> lang/pythonXX (with changing SHA256/SIZE fields). What do you think?
>
>
> I would rather see PYTHON_DISTFILE removed from bsd.python.mk and being
> moved back
> to the individual ports instead. Or, to stay compatible for whatever reason,
> change
> it to PYTHON_DISTFILE?= ..., so ports can override it.
>
> Or, even better in making things complicated, change it to
>
> PYTHON_DISTFILE = ${PYTHON_IMPLTYPE}_${PORTVERSION}${EXTRACT_SUFX}
>

I'm not sure introducing ${PYTHON_IMPLTYPE} is a good idea... but it
might be good to
change hard-coded .tgz:

PYTHON_DISTFILE= Python-${PYTHON_PORTVERSION:S/.rc/rc/}.tgz

to:

EXTRACT_SUFX?= .tgz
PYTHON_DISTFILE= Python-${PYTHON_PORTVERSION:S/.rc/rc/}}${EXTRACT_SUFX}

then we can define USE_XZ= yes in the ports we want to use xz
distfile, which handles
${EXTRACT_SUFX} and ${EXTRACT_DEPENDS} correctly.  After python26 decommission,
we can even move this into  bsd.python.mk

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: Python distribution: switching to tar.xz

2012-10-01 Thread Li-Wen Hsu
On Mon, Oct 01, 2012 at 22:03:48 +0400, Ruslan Mahmatkhanov wrote:
> Li-Wen Hsu wrote on 01.10.2012 21:51:
> >
> > EXTRACT_SUFX?= .tgz
> > PYTHON_DISTFILE= Python-${PYTHON_PORTVERSION:S/.rc/rc/}}${EXTRACT_SUFX}
> 
> Yes, I also bow to this option.
> 
> > then we can define USE_XZ= yes in the ports we want to use xz
> > distfile, which handles
> > ${EXTRACT_SUFX} and ${EXTRACT_DEPENDS} correctly.  After python26 
> > decommission,
> > we can even move this into  bsd.python.mk
> 
> python26 distributes in tar.xz too [1]. Or you meant something other?
> 
> Ok, so I get the point. I'll prepare an patch that make ${EXTRACT_SUFX} 
> redefinable for python ports, so we can gradually switch all this ports 
> to xz. Thanks Marcus and Li-Wen.
> 
> [1] http://www.python.org/ftp/python/2.6.8/Python-2.6.8.tar.xz
> 

Oh I was not aware that, I just did not see XZ information at:

   http://python.org/download/releases/2.6.8/

So maybe we can simply put USE_XZ= yes in bsd.python.mk now.

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


Re: bin/python3 symlink for python3X ports

2012-10-01 Thread Li-Wen Hsu
On Tue, Oct 02, 2012 at 00:18:07 +0400, Dmitry Sivachenko wrote:
> On 10/1/12 10:44 PM, Chris Rees wrote:
> > However, it is still possible to have the "first installed wins" logic 
> > using a pkg-install script instead of in the Makefile, this would 
> > solve the package problems. Are you interested if I were to implement 
> > that? Chris 
> 
> I think that "first wins" logic is bad.

I am neutral with with this, what we definitely need to do is fix up the
conflicting package issue, or this will cause lots of problem when pkgNG
is widely used.

> I think that the state of the system should not depend on the order 
> packages are installed in.

How about an option?  Let user can choose to be default version while
installing.

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


  1   2   >