[packages/python-virtualenv] - include optparse module; release 2

qboosh qboosh at pld-linux.org
Sat Dec 27 09:49:24 CET 2014


commit b8d076df16f70036f7581b88c38861c80e1e8ac7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 27 09:50:30 2014 +0100

    - include optparse module; release 2

 python-virtualenv.spec |  2 +-
 virtualenv-pld.patch   | 13 +++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/python-virtualenv.spec b/python-virtualenv.spec
index 47dab92..e7d2635 100644
--- a/python-virtualenv.spec
+++ b/python-virtualenv.spec
@@ -2,7 +2,7 @@ Summary:	Tool to create isolated Python environments
 Summary(pl.UTF-8):	Narzędzie do tworzenia oddzielonych środowisk Pythona
 Name:		python-virtualenv
 Version:	1.11.6
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Languages
 Source0:	https://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
diff --git a/virtualenv-pld.patch b/virtualenv-pld.patch
index 6e10000..555246b 100644
--- a/virtualenv-pld.patch
+++ b/virtualenv-pld.patch
@@ -1,6 +1,6 @@
 --- virtualenv-1.8.4/virtualenv.py.orig	2012-11-25 18:11:26.000000000 +0100
 +++ virtualenv-1.8.4/virtualenv.py	2013-01-11 18:31:34.212018758 +0100
-@@ -72,7 +72,70 @@
+@@ -72,7 +72,71 @@
                      'fnmatch', 'locale', 'encodings', 'codecs',
                      'stat', 'UserDict', 'readline', 'copy_reg', 'types',
                      're', 'sre', 'sre_parse', 'sre_constants', 'sre_compile',
@@ -58,6 +58,7 @@
 +                    'mmap',
 +                    'nis',
 +                    'operator',
++                    'optparse',
 +                    'ossaudiodev',
 +                    'parser',
 +                    'pyexpat',
@@ -72,7 +73,7 @@
  
  REQUIRED_FILES = ['lib-dynload', 'config']
  
-@@ -1118,18 +1122,8 @@
+@@ -1118,18 +1123,8 @@
          inc_dir = join(home_dir, 'include')
          bin_dir = join(home_dir, 'bin')
      elif not is_win:
@@ -93,7 +94,7 @@
          bin_dir = join(home_dir, 'bin')
      return home_dir, lib_dir, inc_dir, bin_dir
  
-@@ -1234,7 +1228,6 @@
+@@ -1234,7 +1229,6 @@
      else:
          prefix = sys.prefix
      mkdir(lib_dir)
@@ -101,7 +102,7 @@
      stdlib_dirs = [os.path.dirname(os.__file__)]
      if is_win:
          stdlib_dirs.append(join(os.path.dirname(stdlib_dirs[0]), 'DLLs'))
-@@ -1267,6 +1260,15 @@
+@@ -1267,6 +1261,15 @@
          site_filename = site_filename.replace('$py.class', '.py')
      site_filename_dst = change_prefix(site_filename, home_dir)
      site_dir = os.path.dirname(site_filename_dst)
@@ -117,7 +118,7 @@
      writefile(site_filename_dst, SITE_PY)
      writefile(join(site_dir, 'orig-prefix.txt'), prefix)
      site_packages_filename = join(site_dir, 'no-global-site-packages.txt')
-@@ -1304,7 +1306,7 @@
+@@ -1304,7 +1307,7 @@
          elif is_jython:
              exec_dir = join(sys.exec_prefix, 'Lib')
          else:
@@ -126,7 +127,7 @@
          for fn in os.listdir(exec_dir):
              copyfile(join(exec_dir, fn), join(lib_dir, fn))
  
-@@ -1616,35 +1618,6 @@
+@@ -1616,35 +1619,6 @@
                      cp_or_ln(os.path.abspath(os.path.join(home_dir, subdir_name)), \
                                                              os.path.join(local_path, subdir_name))
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-virtualenv.git/commitdiff/b8d076df16f70036f7581b88c38861c80e1e8ac7



More information about the pld-cvs-commit mailing list