Bug 221927 - textproc/py-nltk: missing depencency on _sqlite3
Summary: textproc/py-nltk: missing depencency on _sqlite3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Sivachenko
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2017-08-30 01:53 UTC by Nikolai Lifanov
Modified: 2017-10-31 15:02 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback? (demon)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Lifanov freebsd_committer freebsd_triage 2017-08-30 01:53:56 UTC
The textproc/nltk port doesn't work:

>>> import nltk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/nltk/__init__.py", line 137, in <module>
    from nltk.stem import *
  File "/usr/local/lib/python2.7/site-packages/nltk/stem/__init__.py", line 29, in <module>
    from nltk.stem.snowball import SnowballStemmer
  File "/usr/local/lib/python2.7/site-packages/nltk/stem/snowball.py", line 24, in <module>
    from nltk.corpus import stopwords
  File "/usr/local/lib/python2.7/site-packages/nltk/corpus/__init__.py", line 66, in <module>
    from nltk.corpus.reader import *
  File "/usr/local/lib/python2.7/site-packages/nltk/corpus/reader/__init__.py", line 105, in <module>
    from nltk.corpus.reader.panlex_lite import *
  File "/usr/local/lib/python2.7/site-packages/nltk/corpus/reader/panlex_lite.py", line 15, in <module>
    import sqlite3
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28, in <module>
    from _sqlite3 import *
ImportError: No module named _sqlite3
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-30 01:57:21 UTC
Assign to maintainer (incorrect category/portname at issue creation prevented autoassigner from matching)
Comment 2 Dmitry Sivachenko freebsd_committer freebsd_triage 2017-08-30 18:22:49 UTC
Hello,

feel free to add missing dep!
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-10-31 15:00:51 UTC
A commit references this bug:

Author: lifanov
Date: Tue Oct 31 15:00:00 UTC 2017
New revision: 453240
URL: https://svnweb.freebsd.org/changeset/ports/453240

Log:
  py-nltk: add missing dependency on py-sqlite3

  PR:		221927
  Approved by:	demon (maintainer)

Changes:
  head/textproc/py-nltk/Makefile
Comment 4 Nikolai Lifanov freebsd_committer freebsd_triage 2017-10-31 15:02:10 UTC
Committed, thank you!