[MacPorts] #28132: Portfile for pypcap - python binding to libpcap
#28132: Portfile for pypcap - python binding to libpcap -------------------------------------+-------------------------------------- Reporter: andrew.reusch@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -------------------------------------+-------------------------------------- It's a simple python binding to libpcap. It uses pyrex to help create the bindings. It only depends on libpcap. There were a couple small changes to the customized setup.py script to get it to compile with the libpcap installed in ports. http://code.google.com/p/pypcap/ -- Ticket URL: <https://trac.macports.org/ticket/28132> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28132: Portfile for pypcap - python binding to libpcap -------------------------------------+-------------------------------------- Reporter: andrew.reusch@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by andrew.reusch@…): I've only tested it with python2.6. I can test with other versions if desired. -- Ticket URL: <https://trac.macports.org/ticket/28132#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28132: Portfile for pypcap - python binding to libpcap -------------------------------------+-------------------------------------- Reporter: andrew.reusch@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: py26-pypcap -------------------------------------+-------------------------------------- Changes (by macsforever2000@…): * version: 1.9.2 => * port: => py26-pypcap -- Ticket URL: <https://trac.macports.org/ticket/28132#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28132: Portfile for pypcap - python binding to libpcap -------------------------------------+-------------------------------------- Reporter: andrew.reusch@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: py26-pypcap -------------------------------------+-------------------------------------- Comment(by andrew.reusch@…): There was problem with the pcap.__next__() causing a type error when it raised the StopIterator exception. This seems to be a problem with version of pyrex used to generate pcap.c. I've regenerated pcap.c using pyrexc-2.6 from the port repository and it no longer throws a type error. I've updated the portfile and uploaded a patch for pcap.c. Would it be better to have the port exec the pyrex command when it is installed? -- Ticket URL: <https://trac.macports.org/ticket/28132#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28132: Portfile for pypcap - python binding to libpcap -------------------------------------+-------------------------------------- Reporter: andrew.reusch@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: py26-pypcap -------------------------------------+-------------------------------------- Comment(by jmr@…): Sorry, it seems this fell through the cracks. Yes, it would be better to run pyrex than to have a 100 kB patch. (You can ping the macport-dev list if a ticket seems to have been forgotten BTW.) -- Ticket URL: <https://trac.macports.org/ticket/28132#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28132: Portfile for pypcap - python binding to libpcap ------------------------------+-------------------------------- Reporter: andrew.reusch@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py26-pypcap | ------------------------------+-------------------------------- Comment (by petr@…): This is now really old, is there still interest in this. If yes, this should use the unified portgroup now. -- Ticket URL: <https://trac.macports.org/ticket/28132#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#28132: py-pcap: new port - python binding to libpcap ------------------------------+-------------------------------- Reporter: andrew.reusch@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pypcap | ------------------------------+-------------------------------- Changes (by petr@…): * port: py26-pypcap => py-pypcap -- Ticket URL: <https://trac.macports.org/ticket/28132#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts