On 2013/01/04 10:14, Benoit Lecocq (blq) wrote: > Hi, > > This diff updates py-nltk to the latest release 2.0.4. > Tested on amd64. > > Comments ? OK ?
This tries to install distribute from pypi - log and output from "pkg_info | grep ^py" below. ===> Building for py-nltk-2.0.4 Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz systrace: deny user: sthen, prog: /usr/local/bin/python2.7, pid: 24967(0)[19352], policy: /usr/bin/make, filters: 246, syscall: native-connect(98), sockaddr: inet-[85.158.44.145]:53 systrace: deny user: sthen, prog: /usr/local/bin/python2.7, pid: 24967(0)[19352], policy: /usr/bin/make, filters: 246, syscall: native-connect(98), sockaddr: inet-[85.158.44.145]:53 systrace: deny user: sthen, prog: /usr/local/bin/python2.7, pid: 24967(0)[19352], policy: /usr/bin/make, filters: 246, syscall: native-connect(98), sockaddr: inet-[140.211.10.73]:80 Traceback (most recent call last): File "./setup.py", line 23, in <module> distribute_setup.use_setuptools() File "/usr/obj/ports/py-nltk-2.0.4/nltk-2.0.4/distribute_setup.py", line 145, in use_setuptools return _do_download(version, download_base, to_dir, download_delay) File "/usr/obj/ports/py-nltk-2.0.4/nltk-2.0.4/distribute_setup.py", line 124, in _do_download to_dir, download_delay) File "/usr/obj/ports/py-nltk-2.0.4/nltk-2.0.4/distribute_setup.py", line 193, in download_setuptools src = urlopen(url) File "/usr/local/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/local/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/local/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/local/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/local/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/local/lib/python2.7/urllib2.py", line 1177, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 1] Operation not permitted> *** Error 1 in . (/usr/ports/lang/python/python.port.mk:174 'do-build': @cd /usr/obj/ports/py-nltk-2.0.4/nltk-2.0.4 && /usr/bin/env -i CC=cc...) *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2559 '/usr/obj/ports/py-nltk-2.0.4/.build_done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1764 '/usr/ports/packages/amd64/all/py-nltk-2.0.4.tgz') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2303 '_internal-package') *** Error 1 in /usr/ports/textproc/py-nltk (/usr/ports/infrastructure/mk/bsd.port.mk:2283 'package') $ pkg_info | grep ^py py-CherryPy-3.2.0p1 pythonic, object-oriented web development framework py-Imaging-1.1.7p7 Python imaging library py-Numeric-23.1p8 fast array facility to the Python language py-SOAPpy-0.11.6p7 Python API for SOAP HTTP/RPC py-atspi-2.6.0 python bindings for at-spi2 py-axiom-0.6.0p3 sqlite-based object persistence system for python py-babel-0.9.6p0 I18N/L10N tools for Python py-beautifulsoup-3.2.0p1 HTML/XML parser that supports invalid markup py-cairo-1.10.0p1 cairo bindings for Python py-chardet-2.0.1p2 character encoding auto-detection in Python py-cheetah-2.4.4p2 Python-powered template engine and code generator py-configobj-4.5.3p3 config file reader and writer py-crypto-2.6p0 cryptographic tools for Python py-cssutils-0.9.7p1 python package to parse and build CSS py-cups-1.9.62p1 CUPS bindings for Python py-curl-7.19.0p3 Python interface to cURL library py-dateutil-1.1p4 Python API for advanced date calculations py-dnspython-1.9.4p1 DNS toolkit for Python py-docutils-0.9.1p0 process plaintext documentation into other formats py-dulwich-0.6.1p4 pure Python implementation of Git file formats and protocols py-epsilon-0.6.0p2 small utility package for Divmod projects py-fpconst-0.7.2p6 Python functions and constants for IEEE754 floating point py-gdata-2.0.17 Python client library for Google data APIs py-genshi-0.6p2 toolkit for generation of output for the web py-gnuplot-1.8p3 Python interface to the gnuplot plotting program py-gobject-2.28.6p5v0 Python bindings for glib2 gobject (deprecated) py-gobject3-3.4.2 Python bindings for glib2 gobject py-gtk2-2.24.0p1 GTK+2 Python bindings py-hg-git-0.3.4 push/pull from a Git server repository using Mercurial py-iniparse-0.4 INI parser for Python py-irclib-0.4.6p4 Internet Relay Chat (IRC) protocol client library for Python py-jinja2-2.6 fast, optionally sandboxed, Python template engine py-ldap-2.3.1p11 LDAP client API for Python py-libdnet-1.12p5 python interface to libdnet py-libpcap-0.6.2p4 libpcap bindings for Python py-libxml-2.8.0 Python bindings for libxml py-lxml-2.3.2 Python binding for the libxml2 and libxslt libraries py-mechanize-0.2.4p2 stateful programmatic web browsing module py-nevow-0.10.0p4 web application construction kit py-notify-0.1.1p10 python bindings for libnotify py-numpy-1.6.0p2 fast array and numeric programming library for Python py-openssl-0.13 Python interface to the OpenSSL library py-parsing-1.5.6 Python parsing module py-pdf-1.12p2 Python PDF toolkit py-pip-1.1p0 Python easy_install replacement py-pygments-1.5 Python syntax highlighter py-qscintilla-2.7 Python binding for the Scintilla source code editor py-qt3-3.18.1p5 python Qt3 bindings py-qt4-4.9.5v0 python Qt4 bindings py-reportlab-2.1p7v0 PDF-generating toolkit for Python py-setuptools-0.6.11p4v0 simplified packaging system for Python modules py-simplejson-2.5.0 JSON encoder/decoder py-sip-4.14.1 automatically generate Python bindings for C and C++ libs py-smbc-1.0.13 Python bindings to wrap the libsmbclient API py-sphinx-1.0.7p1 python documentation generator py-sqlalchemy-0.7.1p1 database toolkit for Python py-sqlite-1.0p7 SQLite adapter for Python py-sqlite2-2.6.0p3 SQLite3 adapter for Python py-subversion-1.7.7 python interface to subversion py-tagpy-0.94.8p1 Python bindings to TagLib audio file tag library py-twisted-conch-11.1.0 SSH and SFTP protocol implementation py-twisted-core-11.1.0 event-based Python framework (core module) py-twisted-lore-11.1.0 documentation generator py-twisted-web-11.1.0 HTTP protocol implementation py-tz-2012c Python API for dealing with timezones py-wsgiutils-0.7p4 libraries for WSGI development py-wxPython-2.8.12.0p1 Python bindings for wxWidgets C++ class library py-xdg-0.23 python library to access freedesktop.org standards py-xml-0.8.4p12 Python module for writing basic XML applications py-yaml-3.08p5 YAML parser and emitter in Python py-zopeinterface-3.6.1p2 object interface infrastructure from Zope 3 python-2.7.3p1 interpreted object-oriented programming language python-tkinter-2.7.3p1 tk GUI module for Python