Package: python-formencode
Version: 0.4-5
Severity: normal

Hello,

FormEncode is one of the standalone modules which are glued into
TurboGears. TG uses a system to hold dependency, versioning and
some other kinds of information, which I'm calling 'egg-info'.

Attached is a patch that enables distribution of this information
by the python-formencode package, so that TurboGears and other
python-setuptools-using packages will be able to fully integrate
with it (and we will be able to package them, at last).

Also, please consider joining the python-modules project in Alioth,
so we can cooperate on maintaining Python modules =).

See: http://python-modules.alioth.debian.org/

Thanks,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages python-formencode depends on:
ii  python                        2.3.5-5    An interactive high-level object-o
ii  python2.3-formencode          0.4-5.1    FormEncode is a validation and for

python-formencode recommends no packages.

-- no debconf information
diff -urN python-formencode-0.4.old/debian/changelog 
python-formencode-0.4/debian/changelog
--- python-formencode-0.4.old/debian/changelog  2006-05-03 21:22:30.000000000 
-0300
+++ python-formencode-0.4/debian/changelog      2006-05-03 21:53:14.000000000 
-0300
@@ -1,3 +1,11 @@
+python-formencode (0.4-5.1) UNRELEASED; urgency=low
+
+  * NMU
+  * debian/rules, setup.py:
+  - modified to use python-support to install the egg support
+
+ -- Gustavo Noronha Silva <[EMAIL PROTECTED]>  Wed,  3 May 2006 21:53:14 -0300
+
 python-formencode (0.4-5) unstable; urgency=low
 
   * Removed sqlformgen.py and formgen.py from the python2.3 package,
diff -urN python-formencode-0.4.old/debian/control 
python-formencode-0.4/debian/control
--- python-formencode-0.4.old/debian/control    2006-05-03 21:22:30.000000000 
-0300
+++ python-formencode-0.4/debian/control        2006-05-03 21:53:54.000000000 
-0300
@@ -1,7 +1,7 @@
 Source: python-formencode
 Section: python
 Priority: optional
-Build-Depends-Indep: debhelper (>= 4.0.0), python2.3, python2.3-dev, 
python2.4, python2.4-dev, python
+Build-Depends-Indep: debhelper (>= 4.0.0), python2.3, python2.3-dev, 
python2.4, python2.4-dev, python, python2.3-setuptools (>= 0.6a9), 
python2.4-setuptools (>= 0.6a9)
 Maintainer: Fabio Tranchitella <[EMAIL PROTECTED]>
 Uploaders: Robert J. Tanner <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2.0
diff -urN python-formencode-0.4.old/debian/rules 
python-formencode-0.4/debian/rules
--- python-formencode-0.4.old/debian/rules      2006-05-03 21:22:30.000000000 
-0300
+++ python-formencode-0.4/debian/rules  2006-05-03 21:56:57.000000000 -0300
@@ -16,7 +16,8 @@
        dh_testdir
        python2.3 setup.py clean
        python2.4 setup.py clean
-       rm -rf build-stamp build
+       rm -rf build-stamp build FormEncode.egg-info
+       rm ez_setup/__init__.pyc
        dh_clean
 
 install: build
@@ -24,8 +25,8 @@
        dh_testroot
        dh_clean -k
        dh_installdirs
-       python2.3 setup.py install 
--prefix=$(CURDIR)/debian/python2.3-formencode/usr --no-compile
-       python2.4 setup.py install 
--prefix=$(CURDIR)/debian/python2.4-formencode/usr --no-compile
+       python2.3 setup.py install --root=$(CURDIR)/debian/python2.3-formencode 
--no-compile --single-version-externally-managed
+       python2.4 setup.py install --root=$(CURDIR)/debian/python2.4-formencode 
--no-compile --single-version-externally-managed
        rm 
$(CURDIR)/debian/python2.3-formencode/usr/lib/python2.3/site-packages/formencode/formgen.py
 \
           
$(CURDIR)/debian/python2.3-formencode/usr/lib/python2.3/site-packages/formencode/sqlformgen.py
 
diff -urN python-formencode-0.4.old/setup.py python-formencode-0.4/setup.py
--- python-formencode-0.4.old/setup.py  2006-05-03 21:22:30.000000000 -0300
+++ python-formencode-0.4/setup.py      2006-05-03 21:52:19.000000000 -0300
@@ -1,7 +1,7 @@
-#from ez_setup import use_setuptools
-#use_setuptools()
-#from setuptools import setup
-from distutils.core import setup
+from ez_setup import use_setuptools
+use_setuptools()
+from setuptools import setup
+#from distutils.core import setup
 
 version = '0.4'
 

Reply via email to