Bug 160261 - [patch] textproc/translate-toolkit: eliminate py-pysqlite2x dependency
Summary: [patch] textproc/translate-toolkit: eliminate py-pysqlite2x dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Josh Paetzel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 20:40 UTC by R.Mahmatkhanov
Modified: 2011-09-01 18:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.82 KB, patch)
2011-08-28 20:40 UTC, R.Mahmatkhanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R.Mahmatkhanov 2011-08-28 20:40:02 UTC
- bump USE_PYTHON to 2.5+ (the point is to reduce the number of ports that depend
  on python24, since it not supported upstream anymore and the default python
  version in the ports tree is the 2.7)
- since it now requires 2.5+ eliminate py-elementtree dependency since
  elementtree is a part of python since 2.5 (please see
  http://docs.python.org/library/xml.etree.elementtree.html)
- bump portrevision
- fix whitespace nits in Makefile and pkg-plist to pet portlint
- since it now requires 2.5+ change databases/py-pysqlite2x dependency with
  databases/py-sqlite3.

I checked the source and it using this pattern to import sqlite module:
"""
try:
    from sqlite3 import dbapi2
except ImportError:
    from pysqlite2 import dbapi2
"""

so nothing will be broken with this change,

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-28 20:40:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jpaetzel

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-09-01 18:22:15 UTC
jpaetzel    2011-09-01 17:22:02 UTC

  FreeBSD ports repository

  Modified files:
    textproc/translate-toolkit Makefile pkg-descr 
  Log:
  Update python dependancy to 2.5+
  
  PR:     ports/160261
  Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
  
  Revision  Changes    Path
  1.21      +4 -4      ports/textproc/translate-toolkit/Makefile
  1.2       +1 -1      ports/textproc/translate-toolkit/pkg-descr
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Josh Paetzel freebsd_committer freebsd_triage 2011-09-01 18:27:01 UTC
State Changed
From-To: open->closed

Committed, thanks!