[Python-modules-commits] [sqlobject] 01/15: Working towards version 3 of SQLObject
Neil Muller
drnlmza-guest at moszumanska.debian.org
Wed Jun 29 15:11:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
drnlmza-guest pushed a commit to branch master
in repository sqlobject.
commit 571beda68e41e8315c3327360c74ccbb0d998e8c
Author: Neil Muller <drnlmuller+debian at gmail.com>
Date: Mon Jun 20 14:08:56 2016 +0200
Working towards version 3 of SQLObject
---
debian/changelog | 11 +++++
debian/control | 97 +++++++++++++++++++++++++++++++++++++---
debian/python-sqlobject-doc.dirs | 1 +
debian/rules | 2 +-
4 files changed, 105 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 888e637..b3e6116 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+sqlobject (3.0.0-1) UNRELEASED; urgency=low
+
+ * Updated to latest upstream release.
+ - Added new pydispatcher dependency.
+ * Added python3-sqlobject package.
+ * Move common files to python-sqlobject-common package.
+ * Moved documenation to python-sqlobject-doc package.
+ * Drop obselete python-maxdb suggests.
+
+ -- Neil Muller <drnlmuller+debian at gmail.com> Mon, 20 Jun 2016 15:51:46 +0200
+
sqlobject (2.2.1-1) unstable; urgency=low
* Fixed VCS URL (https) (Thanks to Ondřej Nový)
diff --git a/debian/control b/debian/control
index 3c5ac75..a2c5ff0 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,16 @@ Priority: optional
Build-Depends: debhelper (>= 8.1),
dh-python,
python-all (>= 2.7.3-4),
- python-docutils,
python-formencode,
- python-pytest
+ python-pydispather,
+ python3-all,
+ python3-formencode,
+ python3-pydispather,
+# Documentation
+ python-docutils,
+# Used in the test suite
+ python-pytest,
+ python3-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.8
@@ -18,15 +25,46 @@ Homepage: http://www.sqlobject.org
Package: python-sqlobject
Architecture: all
Depends: python-formencode,
+ python-pydispather,
python-pkg-resources (>=0.6c8),
+ python-sqlobject-common (= ${source:Version}),
${misc:Depends},
${python:Depends}
Suggests: python-fdb,
- python-maxdb,
python-mysqldb,
python-psycopg2,
- python-sqlite
-Description: object relational manager providing an object interface to your database
+ python-sqlite,
+ python-sqlobject-doc
+Description: object relational manager providing an object interface to your database (Python 2 version)
+ SQLObject is an object-relational mapper. It allows you to translate RDBMS
+ table rows into Python objects, and manipulate those objects to transparently
+ manipulate the database.
+ .
+ In using SQLObject, you will create a class definition that will describe how
+ the object connects to the database (in addition to any other methods you may
+ wish to add to the class). SQLObject will produce the code to access the
+ database, and update the database with your changes. The interface to the
+ database is meant to be indistinguishable from other interfaces you may add
+ to the object.
+ .
+ SQLObject also includes a novel feature to generate WHERE clauses using
+ Python syntax and objects (instead of generating SQL using string
+ substitution, as is traditional).
+ .
+ This is the Python 2 version of SQLObject.
+
+Package: python3-sqlobject
+Architecture: all
+Depends: python3-formencode,
+ python3-pydispather,
+ python3-pkg-resources (>=0.6c8),
+ python-sqlobject-common (= ${source:Version}),
+ ${misc:Depends},
+ ${python:Depends}
+Suggests: python3-mysqldb,
+ python3-psycopg2,
+ python-sqlobject-doc
+Description: object relational manager providing an object interface to your database (Python 3 version)
SQLObject is an object-relational mapper. It allows you to translate RDBMS
table rows into Python objects, and manipulate those objects to transparently
manipulate the database.
@@ -41,3 +79,52 @@ Description: object relational manager providing an object interface to your dat
SQLObject also includes a novel feature to generate WHERE clauses using
Python syntax and objects (instead of generating SQL using string
substitution, as is traditional).
+ .
+ This is the Python 3 version of SQLObject.
+
+Package: python-sqlobject-doc
+Architecture: all
+Depends: ${misc:Depends},
+ ${python:Depends}
+Description: Documentation for SQLObject, an object relational manager providing an object interface to your database
+ This is the documenation for SQLObject. SQLObject is an object-relational
+ mapper. It allows you to translate RDBMS table rows into Python objects, and
+ manipulate those objects to transparently manipulate the database.
+ .
+ In using SQLObject, you will create a class definition that will describe how
+ the object connects to the database (in addition to any other methods you may
+ wish to add to the class). SQLObject will produce the code to access the
+ database, and update the database with your changes. The interface to the
+ database is meant to be indistinguishable from other interfaces you may add
+ to the object.
+ .
+ SQLObject also includes a novel feature to generate WHERE clauses using
+ Python syntax and objects (instead of generating SQL using string
+ substitution, as is traditional).
+ .
+ The documentation covers both the Python 2 and Python 3 versions of
+ SQLObject.
+
+Package: python-sqlobject-common
+Architecture: all
+Depends: ${misc:Depends},
+ ${python:Depends}
+Recommends: python-sqlobject | python3-sqlobject
+Description: Common files for SQLObject, an object relational manager providing an object interface to your database
+ SQLObject is an object-relational mapper. It allows you to translate RDBMS
+ table rows into Python objects, and manipulate those objects to transparently
+ manipulate the database.
+ .
+ In using SQLObject, you will create a class definition that will describe how
+ the object connects to the database (in addition to any other methods you may
+ wish to add to the class). SQLObject will produce the code to access the
+ database, and update the database with your changes. The interface to the
+ database is meant to be indistinguishable from other interfaces you may add
+ to the object.
+ .
+ SQLObject also includes a novel feature to generate WHERE clauses using
+ Python syntax and objects (instead of generating SQL using string
+ substitution, as is traditional).
+ .
+ This package includes manual pages and other data filescommon to both the
+ Python 2 and Python 3 versions of SQLObject.
diff --git a/debian/python-sqlobject-doc.dirs b/debian/python-sqlobject-doc.dirs
new file mode 100644
index 0000000..39c4b23
--- /dev/null
+++ b/debian/python-sqlobject-doc.dirs
@@ -0,0 +1 @@
+/usr/share/doc/python-sqlobject-doc/
diff --git a/debian/rules b/debian/rules
index b332a0e..10186c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS="{dir}"
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_clean:
# Forcibly remove all traces of the upstream module docs build, since
--
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