Bug 160059 - [UPDATE] databases/py-sqlobject: update to 1.1.2
Summary: [UPDATE] databases/py-sqlobject: update to 1.1.2
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: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 14:10 UTC by R.Mahmatkhanov
Modified: 2011-09-09 04:30 UTC (History)
0 users

See Also:


Attachments
file.diff (11.67 KB, patch)
2011-08-24 14:10 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 14:10:10 UTC
- update to 1.1.2
- pet portlint (RUN_DEPENDS:=)
- bump USE_PYTHON to 2.5+ (the point is to not depend on python24)
- since it now requires 2.5+ use databases/py-sqlite3 instead of
  databases/py-pysqlite2x

I checked the source. They use this pattern when dealing with sqlite:
"""
if driver in ('sqlite2', 'pysqlite2'):
  from pysqlite2 import dbapi2 as sqlite
  self.using_sqlite2 = True
elif driver == 'sqlite3':
  import sqlite3 as sqlite
  self.using_sqlite2 = True
"""

So nothing will be broken with sqlite3.

changelog:
http://packages.python.org/SQLObject/News.html#sqlobject-1-1-2

tinderbuild logs:
7.4: http://happy-nation.by.ru/ports/tb/7.4/py27-sqlobject-1.1.2.log
8.2: http://happy-nation.by.ru/ports/tb/8.2/py27-sqlobject-1.1.2.log

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-24 14:10:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-09-09 04:26:50 UTC
wen         2011-09-09 03:26:37 UTC

  FreeBSD ports repository

  Modified files:
    databases/py-sqlobject Makefile 
  Log:
  - Use databases/py-sqlite3 instead of databases/py-pysqlite2x
  
  PR:             ports/160059
  Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
  
  Revision  Changes    Path
  1.47      +3 -2      ports/databases/py-sqlobject/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"
Comment 3 Wen Heping freebsd_committer freebsd_triage 2011-09-09 04:27:44 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!