[Python-modules-commits] r22356 - in packages/transifex-client/trunk/debian (3 files)

janos-guest at users.alioth.debian.org janos-guest at users.alioth.debian.org
Fri Jun 29 11:23:14 UTC 2012


    Date: Friday, June 29, 2012 @ 11:23:12
  Author: janos-guest
Revision: 22356

Exclude tests directory from packaging.

Added:
  packages/transifex-client/trunk/debian/patches/exclude-tests-directory-from-packaging.patch
Modified:
  packages/transifex-client/trunk/debian/changelog
  packages/transifex-client/trunk/debian/patches/series

Modified: packages/transifex-client/trunk/debian/changelog
===================================================================
--- packages/transifex-client/trunk/debian/changelog	2012-06-28 22:04:44 UTC (rev 22355)
+++ packages/transifex-client/trunk/debian/changelog	2012-06-29 11:23:12 UTC (rev 22356)
@@ -1,3 +1,10 @@
+transifex-client (0.8-2) unstable; urgency=low
+
+  * Exclude tests directory from packaging in global python namespace.
+    (Closes: #679489)
+
+ -- Janos Guljas <janos at resenje.org>  Fri, 29 Jun 2012 13:14:09 +0200
+
 transifex-client (0.8-1) unstable; urgency=low
 
   * New upstream release.

Added: packages/transifex-client/trunk/debian/patches/exclude-tests-directory-from-packaging.patch
===================================================================
--- packages/transifex-client/trunk/debian/patches/exclude-tests-directory-from-packaging.patch	                        (rev 0)
+++ packages/transifex-client/trunk/debian/patches/exclude-tests-directory-from-packaging.patch	2012-06-29 11:23:12 UTC (rev 22356)
@@ -0,0 +1,16 @@
+Description: Exclude tests directory from packaging in global python namespace.
+Author: Janos Guljas <janos at resenje.org>
+Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679489
+Last-Update: 2012-06-29
+
+--- a/setup.py
++++ b/setup.py
+@@ -49,7 +49,7 @@
+     ],
+     test_suite="tests",
+     zip_safe=False,
+-    packages=find_packages(),
++    packages=find_packages(exclude=('tests',)),
+     include_package_data=True,
+     package_data = package_data,
+     keywords = ('translation', 'localization', 'internationalization',),

Modified: packages/transifex-client/trunk/debian/patches/series
===================================================================
--- packages/transifex-client/trunk/debian/patches/series	2012-06-28 22:04:44 UTC (rev 22355)
+++ packages/transifex-client/trunk/debian/patches/series	2012-06-29 11:23:12 UTC (rev 22356)
@@ -1 +1,2 @@
 add-test-case-assert-is-for-python26.patch
+exclude-tests-directory-from-packaging.patch




More information about the Python-modules-commits mailing list