[Python-modules-commits] [sqlobject] 08/12: Update to latest upstream release

Neil Muller drnlmza-guest at moszumanska.debian.org
Thu Oct 29 12:44:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

drnlmza-guest pushed a commit to branch master
in repository sqlobject.

commit bb08f2df0fe1f19666543052d62329398ace3a74
Author: Neil Muller <drnlmuller+debian at gmail.com>
Date:   Thu Oct 29 11:00:25 2015 +0000

    Update to latest upstream release
    
      - Update years in debian/copyright file
      - Update NEWS.Debian to discuss SQLObject 2's DateTimeCol and TimeCol
        changes
      - Change from python-kinterbasdb to python-fdb
      - Rework doc clean rules to work around upstream changes
      - Bump standards version.
      - Update X-Python-Version to 2.6+
---
 debian/NEWS      | 22 ++++++++++++++++++++++
 debian/changelog | 12 ++++++++++++
 debian/clean     |  2 +-
 debian/control   |  6 +++---
 debian/copyright |  4 ++--
 debian/rules     |  9 +++++++++
 6 files changed, 49 insertions(+), 6 deletions(-)

diff --git a/debian/NEWS b/debian/NEWS
index daeed15..c77fc1e 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,25 @@
+sqlobject (2.1.2-1) UNRELEASED; urgency=low
+
+  Starting with SQLObject 2.0, DateTimeCol and TimeCol can read and write
+  values with microseconds.
+
+  Backward compatibility warning! Date/Time columns created with microseconds
+  cannot be read back from SQLite databases (and perhaps other backends) with
+  versions of SQLObject older than 1.7.
+
+  Microseconds are supported by MariaDB since version 5.3.0 and by MySQL since
+  version 5.6.4, and even these versions require special handling: columns to
+  store microseconds have to be declared with precision 6: TIME(6),
+  DATETIME(6), TIMESTAMP(6). SQLObject does the right thing when creating a
+  new database but existing databases have to be changed: run something like
+  "ALTER TABLE name MODIFY COLUMN col TIME(6);"
+  for every column that you want to store microseconds.
+
+  For MSSQL use datetime2(6) and time(6) columns. They are available since
+  MS SQL Server 2008.
+
+ -- Neil Muller <drnlmuller+debian at gmail.com>  Thu, 29 Oct 2015 10:53:32 +0000
+
 sqlobject (1.4.1-1) unstable; urgency=low
 
   Due to the large gap between updates to the sqlobject package, there
diff --git a/debian/changelog b/debian/changelog
index f36eb0c..08a2e72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+sqlobject (2.1.2-1) UNRELEASED; urgency=low
+
+  * Update to latest upstream release
+    - Drop support for Python 2.5
+  * Change suggests from python-kinterbasdb to python-fdb, since upsteam
+    now uses that
+  * Update NEWS.Debian to describe SQLObject 2's microsecond support
+  * Update copyright years
+  * Standards-Version: 3.9.6 (no changes needed).
+
+ -- Neil Muller <drnlmuller+debian at gmail.com>  Thu, 29 Oct 2015 10:53:54 +0000
+
 sqlobject (1.6.0-1) unstable; urgency=low
 
   * Update to latest upstream release.
diff --git a/debian/clean b/debian/clean
index a333a3e..3bedf6b 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1 @@
-docs/*html
+docs/*.html
diff --git a/debian/control b/debian/control
index 6232f98..9b58d13 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,8 @@ Build-Depends: debhelper (>= 8.1),
                python-pytest
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Neil Muller <drnlmuller+debian at gmail.com>
-Standards-Version: 3.9.5
-X-Python-Version: >= 2.5
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.6
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/sqlobject.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/sqlobject.git
 Homepage: http://www.sqlobject.org
@@ -21,7 +21,7 @@ Depends: python-formencode,
          python-pkg-resources (>=0.6c8),
          ${misc:Depends},
          ${python:Depends}
-Suggests: python-kinterbasdb,
+Suggests: python-fdb,
           python-maxdb,
           python-mysqldb,
           python-psycopg2,
diff --git a/debian/copyright b/debian/copyright
index eef587f..03e506a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,14 +5,14 @@ Source: http://sqlobject.org/
 
 Files: *
 Copyright: 2000-2008 Ian Bicking
- 2008-2014 Oleg Broytman
+ 2008-2015 Oleg Broytman
 License: LGPL-2.1+
 
 Files: debian/*
 Copyright: 2004, Carlos Perelló Marín
  2006-2009 Fabio Tranchitella
  2010-2013 Debian Python Modules Team
- 2013-2014 Neil Muller
+ 2013-2015 Neil Muller
 License: LGPL-2.1+
 
 License: LGPL-2.1+
diff --git a/debian/rules b/debian/rules
index bc387c9..c22dddf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,15 @@ export PYBUILD_TEST_ARGS="{dir}"
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
+override_dh_clean:
+	# Forcibly remove all traces of the upstream module docs build, since
+	# we rebuild what we can, and the rest relies on pudge, which
+	# is an obselete, abandoned project.
+	# SQLObject upstream is switching to sphinx, so revisit this once
+	# that's happened.
+	rm -rf docs/html/
+	dh_clean
+
 override_dh_installdocs:
 	docs/rebuild
 	dh_installdocs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sqlobject.git



More information about the Python-modules-commits mailing list