[Python-modules-commits] r8856 - in packages/sprox/trunk/debian (6 files)

zack at users.alioth.debian.org zack at users.alioth.debian.org
Thu Jun 25 14:50:35 UTC 2009


    Date: Thursday, June 25, 2009 @ 14:50:32
  Author: zack
Revision: 8856

add patch to avoid shipping a top-level "tests" module

Added:
  packages/sprox/trunk/debian/patches/
  packages/sprox/trunk/debian/patches/00dpatch.conf
    (from rev 8840, packages/tg.devtools/trunk/debian/patches/00dpatch.conf)
  packages/sprox/trunk/debian/patches/00list
  packages/sprox/trunk/debian/patches/do-not-install-tests.dpatch
Modified:
  packages/sprox/trunk/debian/control
  packages/sprox/trunk/debian/rules

Modified: packages/sprox/trunk/debian/control
===================================================================
--- packages/sprox/trunk/debian/control	2009-06-25 14:39:17 UTC (rev 8855)
+++ packages/sprox/trunk/debian/control	2009-06-25 14:50:32 UTC (rev 8856)
@@ -6,6 +6,7 @@
 Build-Depends:
  debhelper (>= 7),
  cdbs,
+ dpatch,
  python-dev,
  python-support,
  python-setuptools

Copied: packages/sprox/trunk/debian/patches/00dpatch.conf (from rev 8840, packages/tg.devtools/trunk/debian/patches/00dpatch.conf)
===================================================================
--- packages/sprox/trunk/debian/patches/00dpatch.conf	                        (rev 0)
+++ packages/sprox/trunk/debian/patches/00dpatch.conf	2009-06-25 14:50:32 UTC (rev 8856)
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs

Added: packages/sprox/trunk/debian/patches/00list
===================================================================
--- packages/sprox/trunk/debian/patches/00list	                        (rev 0)
+++ packages/sprox/trunk/debian/patches/00list	2009-06-25 14:50:32 UTC (rev 8856)
@@ -0,0 +1 @@
+do-not-install-tests

Added: packages/sprox/trunk/debian/patches/do-not-install-tests.dpatch
===================================================================
--- packages/sprox/trunk/debian/patches/do-not-install-tests.dpatch	                        (rev 0)
+++ packages/sprox/trunk/debian/patches/do-not-install-tests.dpatch	2009-06-25 14:50:32 UTC (rev 8856)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## do-not-install-tests.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: avoid installing tests as a top-level "tests" module
+
+ at DPATCH@
+diff -urNad trunk~/setup.py trunk/setup.py
+--- trunk~/setup.py	2009-06-10 00:07:55.000000000 +0200
++++ trunk/setup.py	2009-06-25 16:48:50.557817328 +0200
+@@ -15,7 +15,7 @@
+   install_requires=['sqlalchemy>=0.5',
+                     'tw.forms>=0.9.6',
+                     ],
+-  packages = find_packages(),
++  packages = find_packages(exclude=["tests.*", "tests"]),
+   classifiers=[
+         "Development Status :: 4 - Beta",
+         "Intended Audience :: Developers",


Property changes on: packages/sprox/trunk/debian/patches/do-not-install-tests.dpatch
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/sprox/trunk/debian/rules
===================================================================
--- packages/sprox/trunk/debian/rules	2009-06-25 14:39:17 UTC (rev 8855)
+++ packages/sprox/trunk/debian/rules	2009-06-25 14:50:32 UTC (rev 8856)
@@ -2,6 +2,7 @@
 DEB_PYTHON_SYSTEM = pysupport
 include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
 
 PKG = python-sprox
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed




More information about the Python-modules-commits mailing list