Bug 160261

Summary: [patch] textproc/translate-toolkit: eliminate py-pysqlite2x dependency
Product: Ports & Packages Reporter: R.Mahmatkhanov <cvs-src>
Component: Individual Port(s)Assignee: Josh Paetzel <jpaetzel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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!