[Python-modules-commits] r1114 - in /packages/sqlobject/trunk: debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules scripts/sqlobject-admin setup.py sqlobject/manager/command.py

kov at users.alioth.debian.org kov at users.alioth.debian.org
Tue Jul 4 00:03:21 UTC 2006


Author: kov
Date: Tue Jul  4 00:03:20 2006
New Revision: 1114

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1114
Log:
Load newtrunk into packages/sqlobject/trunk.

Added:
    packages/sqlobject/trunk/debian/
    packages/sqlobject/trunk/debian/changelog
    packages/sqlobject/trunk/debian/compat
    packages/sqlobject/trunk/debian/control
    packages/sqlobject/trunk/debian/copyright
    packages/sqlobject/trunk/debian/rules   (with props)
Modified:
    packages/sqlobject/trunk/scripts/sqlobject-admin   (contents, props changed)
    packages/sqlobject/trunk/setup.py
    packages/sqlobject/trunk/sqlobject/manager/command.py   (contents, props changed)

Added: packages/sqlobject/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/debian/changelog?rev=1114&op=file
==============================================================================
--- packages/sqlobject/trunk/debian/changelog (added)
+++ packages/sqlobject/trunk/debian/changelog Tue Jul  4 00:03:20 2006
@@ -1,0 +1,38 @@
+sqlobject (0.7.0-4) unstable; urgency=low
+
+  * debian/control:
+  - adding myself to Uploaders
+  * sqlobject/manager/command.py:
+  - applied patch to use Requirement.parse instead of passing the
+    egg_spec when creating a Requirement object (Closes: #375751)
+
+ -- Gustavo Noronha Silva <kov at debian.org>  Sun,  2 Jul 2006 19:39:04 -0300
+
+sqlobject (0.7.0-3) unstable; urgency=low
+
+  * Python policy transition. (Closes: #373550)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Thu, 15 Jun 2006 19:44:09 +0200
+
+sqlobject (0.7.0-2) unstable; urgency=low
+
+  * debian/rules, debian/control, setup.py: added support for egg-info
+    (removed some patching on setup.py, which was being done on the
+    previous version), thanks to Gustavo Noronha Silva. (Closes: #365961)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Tue, 30 May 2006 21:43:21 +0200
+
+sqlobject (0.7.0-1) unstable; urgency=low
+
+  * New maintainer. (Closes: #347193)
+  * New upstream release. (Closes: #303913)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Tue, 17 Jan 2006 17:06:31 +0000
+
+sqlobject (0.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #193499)
+  
+ -- Carlos Perelló Marín <carlos at pemas.net>  Wed, 27 Nov 2004 23:30:53 +0100
+
+

Added: packages/sqlobject/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/debian/compat?rev=1114&op=file
==============================================================================
--- packages/sqlobject/trunk/debian/compat (added)
+++ packages/sqlobject/trunk/debian/compat Tue Jul  4 00:03:20 2006
@@ -1,0 +1,1 @@
+5

Added: packages/sqlobject/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/debian/control?rev=1114&op=file
==============================================================================
--- packages/sqlobject/trunk/debian/control (added)
+++ packages/sqlobject/trunk/debian/control Tue Jul  4 00:03:20 2006
@@ -1,0 +1,33 @@
+Source: sqlobject
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 5.0.37.1)
+Build-Depends-Indep: python (>= 2.3.5-7), python-all-dev, python-central (>= 0.4.10), python-setuptools (>= 0.6a9)
+Maintainer: Fabio Tranchitella <kobold at debian.org>
+Uploaders: Gustavo Noronha Silva <kov at debian.org>
+Standards-Version: 3.7.2
+XS-Python-Version: all
+
+Package: python-sqlobject
+Architecture: all
+Section: python
+Depends: ${python:Depends}, python-formencode
+Replaces: python2.3-sqlobject, python2.4-sqlobject
+Conflicts: python2.3-sqlobject, python2.4-sqlobject
+Suggests: python-mysqldb, python-sqlite, python-psycopg, python-kinterbasdb, python-maxdb
+XB-Python-Version: ${python:Versions}
+Description: python module 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).

Added: packages/sqlobject/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/debian/copyright?rev=1114&op=file
==============================================================================
--- packages/sqlobject/trunk/debian/copyright (added)
+++ packages/sqlobject/trunk/debian/copyright Tue Jul  4 00:03:20 2006
@@ -1,0 +1,18 @@
+This package was debianized by Carlos Perelló Marín <carlos at pemas.net>
+on Wed, 20 Oct 2004. It is actually maintained by Fabio 
+Tranchitella <kobold at debian.org>.
+
+It was downloaded from 'http://www.sqlobject.org'.
+
+The debian source tarball has been modified to exclude the upstream
+debian directory.
+
+Upstream Author: Ian Bicking
+
+Copyright:
+This package is licensed under the GNU Lesser General Public License.
+
+   You can find the full text of the LGPL in
+   /usr/share/common-licenses/LGPL in your Debian system.
+   Look there for details not shown above.
+

Added: packages/sqlobject/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/debian/rules?rev=1114&op=file
==============================================================================
--- packages/sqlobject/trunk/debian/rules (added)
+++ packages/sqlobject/trunk/debian/rules Tue Jul  4 00:03:20 2006
@@ -1,0 +1,55 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+PYVERS=$(shell pyversions -r debian/control)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	for python in $(PYVERS); \
+		do $$python setup.py build; \
+	done
+	touch build-stamp
+
+clean:
+	dh_testdir
+	for python in $(PYVERS); \
+		do $$python setup.py clean; \
+	done
+	rm -rf build-stamp build
+	rm -rf SQLObject.egg-info
+	rm -f ez_setup/__init__.pyc
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	for python in $(PYVERS); do \
+		$$python setup.py install --root=$(CURDIR)/debian/python-sqlobject --no-compile \
+	        --install-scripts=/usr/lib/$$python/site-packages/sqlobject/utilities \
+	        --single-version-externally-managed; \
+	done
+
+# Build architecture-dependent files here.
+binary-arch: 
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs -i README.txt docs/*
+	dh_installchangelogs -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_pycentral -i
+	dh_python -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary

Propchange: packages/sqlobject/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/sqlobject/trunk/scripts/sqlobject-admin
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/scripts/sqlobject-admin?rev=1114&op=diff
==============================================================================
--- packages/sqlobject/trunk/scripts/sqlobject-admin (original)
+++ packages/sqlobject/trunk/scripts/sqlobject-admin Tue Jul  4 00:03:20 2006
@@ -2,12 +2,12 @@
 import sys
 import os
 
-try:
-    import pkg_resources
-    pkg_resources.require('SQLObject>0.6.1')
-except (ImportError, pkg_resources.DistributionNotFound):
-    # Oh well, we tried...
-    pass
+#try:
+#    import pkg_resources
+#    pkg_resources.require('SQLObject>0.6.1')
+#except (ImportError, pkg_resources.DistributionNotFound):
+#    # Oh well, we tried...
+#    pass
 
 try:
     import sqlobject.manager

Propchange: packages/sqlobject/trunk/scripts/sqlobject-admin
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Tue Jul  4 00:03:20 2006
@@ -1,0 +1,1 @@
+*

Modified: packages/sqlobject/trunk/setup.py
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/setup.py?rev=1114&op=diff
==============================================================================
--- packages/sqlobject/trunk/setup.py (original)
+++ packages/sqlobject/trunk/setup.py Tue Jul  4 00:03:20 2006
@@ -50,13 +50,13 @@
       license="LGPL",
       packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages],
       scripts=["scripts/sqlobject-admin"],
-      install_requires=["FormEncode>=0.2.2"],
-      extras_require={
-        'postgresql': ['psycopg'],
-        'mysql': ['MySQLdb'],
-        'sqlite': ['pysqlite'],
-        # Others?
-        },
+      #install_requires=["FormEncode>=0.2.2"],
+      #extras_require={
+      #  'postgresql': ['psycopg'],
+      #  'mysql': ['MySQLdb'],
+      #  'sqlite': ['pysqlite'],
+      #  # Others?
+      #  },
       )
 
 # Send announce to:

Modified: packages/sqlobject/trunk/sqlobject/manager/command.py
URL: http://svn.debian.org/wsvn/python-modules/packages/sqlobject/trunk/sqlobject/manager/command.py?rev=1114&op=diff
==============================================================================
--- packages/sqlobject/trunk/sqlobject/manager/command.py (original)
+++ packages/sqlobject/trunk/sqlobject/manager/command.py Tue Jul  4 00:03:20 2006
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 import optparse
 import fnmatch
 import re
@@ -423,7 +422,7 @@
     def config_from_egg(self, egg_spec, warn_no_sqlobject=True):
         import pkg_resources
         pkg_resources.require(egg_spec)
-        dist = pkg_resources.working_set.find(pkg_resources.Requirement(egg_spec))
+        dist = pkg_resources.working_set.find(pkg_resources.Requirement.parse(egg_spec))
         if not dist.has_metadata('sqlobject.txt'):
             if warn_no_sqlobject:
                 print 'No sqlobject.txt in %s egg info' % egg_spec

Propchange: packages/sqlobject/trunk/sqlobject/manager/command.py
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Tue Jul  4 00:03:20 2006
@@ -1,0 +1,1 @@
+*




More information about the Python-modules-commits mailing list