Bug 160054

Summary: [PATCH] games/gcompris: eliminate py-pysqlite2x dependency
Product: Ports & Packages Reporter: R.Mahmatkhanov <cvs-src>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
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-24 12:50:07 UTC
- bump USE_PYTHON to 2.5+
- since it now requires 2.5+ use databases/py-sqlite3 
  instead of databases/py-pysqlite2x
- bump portrevision

I checked the source. gcompris use sqlite like this:

 29 # Database
 30 try:
 31   from sqlite3 import dbapi2 as sqlite # python 2.5
 32 except:
 33   try:
 34     from pysqlite2 import dbapi2 as sqlite
 35   except:
 36     print 'This program requires pysqlite2\n',\
 37         'http://initd.org/tracker/pysqlite/'
 38     sys.exit(1)

So nothing will be breaked with sqlite3.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-24 12:50:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2011-08-31 23:49:35 UTC
Responsible Changed
From-To: gnome->eadler

I'll take it.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2011-09-01 14:11:28 UTC
Responsible Changed
From-To: eadler->gnome

woops, gnome owns this one
Comment 4 Koop Mast freebsd_committer freebsd_triage 2011-09-12 19:28:06 UTC
State Changed
From-To: open->closed

Committed thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-09-12 19:28:09 UTC
kwm         2011-09-12 18:27:55 UTC

  FreeBSD ports repository

  Modified files:
    games/gcompris       Makefile 
  Log:
  Use py-sqlite3 instead of py-pysqlite2*
  
  PR:             ports/160054
  Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
  
  Revision  Changes    Path
  1.66      +4 -3      ports/games/gcompris/Makefile
_______________________________________________
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"