Opened 10 years ago

Closed 10 years ago

#42097 closed defect (fixed)

py27-nltk @2.0.4: build downloads distribute, should use py27-setuptools

Reported by: mndavidoff (Monte Davidoff) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: humem (humem), stevenbird1@…
Port: py-nltk

Description

The py27-nltk @2.0.4 port always downloads its own copy of the deprecated distribute package instead of using the py27-setuptools port.

$ port installed py27-setuptools
The following ports are currently installed:
  py27-setuptools @2.1_0 (active)
$ sudo port -vs install py27-nltk
--->  Computing dependencies for py27-nltk.
--->  Fetching distfiles for py27-nltk
--->  Verifying checksums for py27-nltk
--->  Checksumming nltk-2.0.4.tar.gz
--->  Extracting py27-nltk
--->  Extracting nltk-2.0.4.tar.gz
--->  Configuring py27-nltk
--->  Building py27-nltk
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
Extracting in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-nltk/py27-nltk/work/.tmp/tmpgXJDjP
...

The attached patch should fix the problem.

Attachments (2)

Portfile.diff (562 bytes) - added by mndavidoff (Monte Davidoff) 10 years ago.
patch-setup.py.diff (305 bytes) - added by mndavidoff (Monte Davidoff) 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.diff added

Changed 10 years ago by mndavidoff (Monte Davidoff)

Attachment: patch-setup.py.diff added

comment:1 Changed 10 years ago by humem (humem)

Resolution: fixed
Status: newclosed

Thank you very much for your comment and the patch. Committed in r115851.

Note: See TracTickets for help on using tickets.