[csw-devel] SF.net SVN: gar:[21684] csw/mgar/pkg/lang-python/python/branches/python-2.7 /files/0001-manage-previous-site-package.patch

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Fri Aug 9 18:35:20 CEST 2013


Revision: 21684
          http://gar.svn.sourceforge.net/gar/?rev=21684&view=rev
Author:   pfelecan
Date:     2013-08-09 16:35:19 +0000 (Fri, 09 Aug 2013)
Log Message:
-----------
lang-python/python/branches/pythond-2.7: remove the patch which
introduced in the modules search path the unversioned directory

Removed Paths:
-------------
    csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch

Deleted: csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch	2013-08-09 15:58:51 UTC (rev 21683)
+++ csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch	2013-08-09 16:35:19 UTC (rev 21684)
@@ -1,25 +0,0 @@
-From dc6b9371110febac2cd49e7284ad238262014a46 Mon Sep 17 00:00:00 2001
-From: Peter Felecan <pfelecan at opencsw.org>
-Date: Mon, 22 Jul 2013 10:53:42 +0200
-Subject: [PATCH] manage previous site package
-
-this is to support the transition between an unversiond installation tree
----
- Lib/site.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Lib/site.py b/Lib/site.py
-index f1b0ae8..04fb5f2 100644
---- a/Lib/site.py
-+++ b/Lib/site.py
-@@ -292,6 +292,7 @@ def getsitepackages():
-                                         "python" + sys.version[:3],
-                                         "site-packages"))
-             sitepackages.append(os.path.join(prefix, "lib", "site-python"))
-+            sitepackages.append(os.path.join(prefix, "lib", "python", "site-packages"))
-         else:
-             sitepackages.append(prefix)
-             sitepackages.append(os.path.join(prefix, "lib", "site-packages"))
--- 
-1.8.3.1
-

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list