From f2b0b6849a976545c4c129ce02111cedfdd1579b Mon Sep 17 00:00:00 2001 From: eadler Date: Thu, 22 Sep 2011 23:00:25 +0000 Subject: - remove dep on databases/py-pysqlite23 - patch program to not use old pysqlite - fix whitespace issue in pkg-descr - bump portrevision PR: ports/160288 Submitted by: Ruslan Mahmatkhanov Approved by: maintainer timeout (23 days) Approved by: sahil (mentor) --- security/pwman3/files/patch-pwman-data-drivers_sqlite.py | 11 +++++++++++ security/pwman3/files/patch-pwman-exchange_exporter.py | 11 +++++++++++ security/pwman3/files/patch-pwman-exchange_importer.py | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 security/pwman3/files/patch-pwman-data-drivers_sqlite.py create mode 100644 security/pwman3/files/patch-pwman-exchange_exporter.py create mode 100644 security/pwman3/files/patch-pwman-exchange_importer.py (limited to 'security/pwman3/files') diff --git a/security/pwman3/files/patch-pwman-data-drivers_sqlite.py b/security/pwman3/files/patch-pwman-data-drivers_sqlite.py new file mode 100644 index 000000000000..42e7500bb796 --- /dev/null +++ b/security/pwman3/files/patch-pwman-data-drivers_sqlite.py @@ -0,0 +1,11 @@ +--- pwman/data/drivers/sqlite.py.orig 2007-02-04 21:44:43.000000000 +0300 ++++ pwman/data/drivers/sqlite.py 2011-08-29 21:02:34.000000000 +0400 +@@ -22,7 +22,7 @@ + from pwman.data.nodes import Node + from pwman.data.tags import Tag + +-from pysqlite2 import dbapi2 as sqlite ++from sqlite3 import dbapi2 as sqlite + import pwman.util.config as config + import cPickle + diff --git a/security/pwman3/files/patch-pwman-exchange_exporter.py b/security/pwman3/files/patch-pwman-exchange_exporter.py new file mode 100644 index 000000000000..97db2c68fec6 --- /dev/null +++ b/security/pwman3/files/patch-pwman-exchange_exporter.py @@ -0,0 +1,11 @@ +--- pwman/exchange/exporter.py.orig 2007-02-04 21:44:43.000000000 +0300 ++++ pwman/exchange/exporter.py 2011-08-29 21:07:59.000000000 +0400 +@@ -17,7 +17,7 @@ + # Copyright (C) 2006 Ivan Kelly + #============================================================================ + +-from cElementTree import Element, SubElement, dump, ElementTree ++from xml.etree.cElementTree import Element, SubElement, dump, ElementTree + from pwman.data.nodes import Node + from pwman.data.tags import Tag + diff --git a/security/pwman3/files/patch-pwman-exchange_importer.py b/security/pwman3/files/patch-pwman-exchange_importer.py new file mode 100644 index 000000000000..a7d765c5ec52 --- /dev/null +++ b/security/pwman3/files/patch-pwman-exchange_importer.py @@ -0,0 +1,11 @@ +--- pwman/exchange/importer.py.orig 2007-02-04 21:44:43.000000000 +0300 ++++ pwman/exchange/importer.py 2011-08-29 21:07:49.000000000 +0400 +@@ -17,7 +17,7 @@ + # Copyright (C) 2006 Ivan Kelly + #============================================================================ + +-import cElementTree as ET ++import xml.etree.cElementTree as ET + from pwman.data.nodes import Node + from pwman.data.tags import Tag + -- cgit