Bug 160054 - [PATCH] games/gcompris: eliminate py-pysqlite2x dependency
Summary: [PATCH] games/gcompris: 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: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 12:50 UTC by R.Mahmatkhanov
Modified: 2011-09-12 19:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.18 KB, patch)
2011-08-24 12:50 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-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"