Bug 160066 - [PATCH] security/hottsh: eliminate py-pysqlite2x dependency
Summary: [PATCH] security/hottsh: 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: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 15:30 UTC by R.Mahmatkhanov
Modified: 2011-09-12 15:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.39 KB, patch)
2011-08-24 15:30 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 15:30:10 UTC
- since this port requires python2.5+ (with USE_PYTHON) switch to 
  databases/py-sqlite3 instead of databases/py-pysqlite2x that is for python24
- while here use GNOME instead of ${MASTER_SITE_GNOME}
- bump portrevision because of deps changes

I checked the source. They use this pattern to deal with sqlite:
"""
  27 try:
  28     import sqlite3
  29 except:
  30     from pysqlite2 import dbapi2 as sqlite3 
"""
So nothing will be broken with sqlite3.

Fix: Patch attached with submission follows:
Comment 1 R.Mahmatkhanov 2011-08-24 15:46:31 UTC
Sorry, synopsis should be:
[PATCH] security/hotssh: eliminate py-pysqlite2x dependency

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2011-08-30 18:38:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ashish

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-09-12 15:22:29 UTC
ashish      2011-09-12 14:22:20 UTC

  FreeBSD ports repository

  Modified files:
    security/hotssh      Makefile 
  Added files:
    security/hotssh/files patch-hotssh_hotvte_vteterm.py 
  Log:
  - Switch to databases/py-sqlite3 from databases/py-pysqlite2x[1]
  - Use GNOME in MASTER_SITES instead of MASTER_SITE_GNOME[1]
  - Bump PORTREVISION[1]
  - Fix a bug showing up in Python 2.7+
  
  PR:             ports/160066
  Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
  
  Revision  Changes    Path
  1.10      +4 -4      ports/security/hotssh/Makefile
  1.1       +14 -0     ports/security/hotssh/files/patch-hotssh_hotvte_vteterm.py (new)
_______________________________________________
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 4 Ashish SHUKLA freebsd_committer freebsd_triage 2011-09-12 15:22:45 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!