Current problem reports assigned to freebsd-python@FreeBSD.org

2013-07-01 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

f ports/179812 python Extract the python part from dns/ldns into dns/py-ldns
o ports/179558 python Using portupgrade to (forcefully) upgrade devel/py-dis
o ports/178748 python [patch] lang/python27: dbm module fails to build
o ports/178301 python [patch] lang/python2[67]: SEM option is inconsistent
o ports/178242 python bsd.python.mk injection of @exec easy_install to PLIST
f ports/178094 python math/py-numpy dependency on atlas assumes existing ins
o ports/176714 python games/py-fife: fixed make package
f ports/174242 python Update to databases/py-odbc
o ports/171584 python lang/python32 built in a clean enviroment produces a p
o ports/171246 python [patch] lang/python27: make python curses module work 
o ports/170788 python lang/python27: PyQT applications crash Python 2.7 (cor
f ports/170786 python [maintainer update] delete port textproc/py-pyx12
o ports/170566 python update graphics/py-opengl depends on old version of gc
s ports/169873 python [patch] fix fetch problem in bsd.python.mk that affect
f ports/167530 python [patch] security/py-fail2ban will never ever start wit
o ports/167368 python [bsd.python.mk] [patch] Python version propagation bre
f ports/165545 python [patch]: net-mgmt/collectd5 doesn't compile against la
o ports/163467 python lang/python27: Ports using python 2.7 and "waf" interm
o ports/156759 python [patch] lang/python: kevent does not accept KQ_NOTE_EX
o ports/155526 python [PATCH] devel/py-elementtree: ignore if python >= 2.5
f ports/154209 python [PATCH] lang/python: Install symlink for ptags
o ports/149167 python lang/python26 fails to build _ctypes on Sheevaplug (AR
o ports/146823 python [patch] lang/python26: knob to build _ctypes module ag
s ports/118301 python [patch] devel/py-setuptools easy-install.pth contents 

24 problems total.

___
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"


[PATCH] devel/py27-distribute: Fix install and deinstall, remove IF_DEFAULT

2013-07-01 Thread nemysis

>Submitter-Id:  current-users
>Originator:nemysis
>Organization:  
>Confidential:  no 
>Synopsis:  [PATCH] devel/py27-distribute: Fix install and deinstall, 
>remove IF_DEFAULT
>Severity:  non-critical
>Priority:  low
>Category:  ports
>Class: change-request
>Release:   FreeBSD 9.1-RELEASE-p8 amd64
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 
18 15:25:28 UTC 2013
>Description:

- Fix install and deinstall
- Remove IF_DEFAULT from Makefile and pkg-plist
- Cleanup Makefile
- Remove files/pkg-message.in
- Trim pkg-plist

Port maintainer (pyt...@freebsd.org) is cc'd.

Generated and tested manually, tested with port test and with RedPorts, sent 
with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)

@${REINPLACE_CMD} -e '/easy_install = / s|".*"||' ${WRKSRC}/setup.py


diff setup.py setup.py.bak 
57c57
< console_scripts = []
---
> console_scripts = ["easy_install = setuptools.command.easy_install:main"]  

Build log

https://redports.org/buildarchive/2013070600-5793/

>How-To-Repeat:
>Fix:

--- py27-distribute-0.6.35.patch begins here ---
diff -ruN /usr/ports/devel/py-distribute/Makefile ./Makefile
--- /usr/ports/devel/py-distribute/Makefile 2013-06-16 15:44:18.0 
+0200
+++ ./Makefile  2013-07-01 13:10:08.0 +0200
@@ -20,8 +20,7 @@
 USE_PYDISTUTILS=   yes
 
 SUB_FILES= pkg-install
-SUB_LIST=  EASYINSTALL_PTH=${EASYINSTALL_PTH} \
-   IF_DEFAULT=${IF_DEFAULT}
+SUB_LIST=  EASYINSTALL_PTH=${EASYINSTALL_PTH}
 
 EASYINSTALL_PTH=   ${PYTHON_SITELIBDIR}/easy-install.pth
 SITE_PY=   ${PYTHON_SITELIBDIR}/site.py
@@ -42,18 +41,8 @@
 .endfor
 .endfor
 
-.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} && 
!exists(${LOCALBASE}/bin/easy_install)
-PLIST_SUB+=IF_DEFAULT=""
-.else
-PLIST_SUB+=IF_DEFAULT="@comment "
-SUB_FILES+=pkg-message
 SUB_LIST+= PYVER=${PYTHON_VER}
 
-# remove the console script easy_install
-post-patch:
-   @${REINPLACE_CMD} -e '/easy_install = / s|".*"||' ${WRKSRC}/setup.py
-.endif
-
 regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
 
@@ -68,5 +57,6 @@
${LN} -sf ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
if [ -f ${PKGMESSAGE} ]; then ${CAT} ${PKGMESSAGE}; fi
+   cd ${PREFIX}/bin ; ${LN} -sf easy_install-${PYTHON_VER} easy_install
 
 .include 
diff -ruN 
/usr/ports/devel/py-distribute/files/patch-setuptools-command-easy_install.py 
./files/patch-setuptools-command-easy_install.py
--- 
/usr/ports/devel/py-distribute/files/patch-setuptools-command-easy_install.py   
2013-06-02 19:00:04.0 +0200
+++ ./files/patch-setuptools-command-easy_install.py2013-06-16 
17:49:06.0 +0200
@@ -1,6 +1,6 @@
 setuptools/command/easy_install.py 2010-07-15 01:59:21.0 +0200
-+++ setuptools/command/easy_install.py.port2010-09-15 17:49:35.0 
+0200
-@@ -688,7 +688,7 @@
+--- setuptools/command/easy_install.py.orig2013-02-16 08:07:37.0 
+0100
 setuptools/command/easy_install.py 2013-06-16 17:44:03.0 +0200
+@@ -704,7 +704,7 @@
  return True
  if not dist.has_metadata('zip-safe'):
  return True
diff -ruN /usr/ports/devel/py-distribute/files/pkg-message.in 
./files/pkg-message.in
--- /usr/ports/devel/py-distribute/files/pkg-message.in 2013-06-02 
19:00:04.0 +0200
+++ ./files/pkg-message.in  1970-01-01 01:00:00.0 +0100
@@ -1,8 +0,0 @@
-@comment $FreeBSD: head/devel/py-distribute/files/pkg-message.in 300896 
2012-07-14 13:54:48Z beat $
-*
-
-The script %%PREFIX%%/bin/easy_install was already installed
-on your system, so the only script %%PREFIX%%/bin/easy_install-%%PYVER%%
-has been added.
-
-*
diff -ruN /usr/ports/devel/py-distribute/pkg-plist ./pkg-plist
--- /usr/ports/devel/py-distribute/pkg-plist2013-06-02 19:00:04.0 
+0200
+++ ./pkg-plist 2013-06-16 16:18:50.0 +0200
@@ -1,5 +1,5 @@
 @comment $FreeBSD: head/devel/py-distribute/pkg-plist 313436 2013-03-05 
06:20:28Z rm $
-%%IF_DEFAULT%%bin/easy_install
+bin/easy_install
 bin/easy_install-%%PYVER%%
 %%PYTHON_SITELIBDIR%%/distribute-%%VERSION%%-py%%PYVER%%.egg
 %%PYTHON_SITELIBDIR%%/distribute.pth
--- py27-distribute-0.6.35.patch ends here ---

___
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/180165: [PATCH] devel/py27-distribute: Fix install and deinstall, remove IF_DEFAULT

2013-07-01 Thread edwin
Synopsis: [PATCH] devel/py27-distribute: Fix install and deinstall, remove 
IF_DEFAULT

Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python
Responsible-Changed-By: edwin
Responsible-Changed-When: Mon Jul 1 12:10:13 UTC 2013
Responsible-Changed-Why: 
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=180165
___
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/179812: Extract the python part from dns/ldns into dns/py-ldns

2013-07-01 Thread Jaap Akkerhuis
The following reply was made to PR ports/179812; it has been noted by GNATS.

From: Jaap Akkerhuis 
To: bug-follo...@freebsd.org, Edwin Groothuis 
Cc:  
Subject: Re: ports/179812: Extract the python part from dns/ldns into 
dns/py-ldns
Date: Mon, 01 Jul 2013 23:53:38 +0200

 > Maintainer of dns/ldns,
 > 
 > Please note that PR ports/179812 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/179812
 
 This seems to be a fine approach to the problem. However I had to
 make a small adjustment to make it work (See the snipped of the
 Makefile below). With this change, I'll approve.
 
jaap
 
 --
 
 post-build:
 .if ${PORT_OPTIONS:MEXAMPLES} && !defined(BUILD_PYLDNS)
 @(cd ${WRKSRC}/examples; ${GMAKE})
 .endif
 .if ${PORT_OPTIONS:MDRILL}
 @(cd ${WRKSRC}/drill; ${GMAKE})
 .endif
 
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES} && !defined(BUILD_PYLDNS)
@(cd ${WRKSRC}/examples; ${GMAKE} install)
 .endif
 .if ${PORT_OPTIONS:MDRILL}
@(cd ${WRKSRC}/drill; ${GMAKE} install)
 .endif
___
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/179812: Extract the python part from dns/ldns into dns/py-ldns

2013-07-01 Thread linimon
Synopsis: Extract the python part from dns/ldns into dns/py-ldns

State-Changed-From-To: feedback->open
State-Changed-By: linimon
State-Changed-When: Mon Jul 1 23:31:19 UTC 2013
State-Changed-Why: 
maintainer has replied with updated patch.

http://www.freebsd.org/cgi/query-pr.cgi?pr=179812
___
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"