summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2014-02-08 20:22:52 (GMT)
committerJan Rękorajski2014-02-08 20:22:52 (GMT)
commitc8fd5142f41953d5695c5a3c5cc77bd045694f6e (patch)
tree04648e734ddef24b9fa9ef07c53b492a073e3ac3
parent19dbaea0a87c1c7e4ff8ef013c0b1491c58c92c7 (diff)
downloadpython-virtualenv-c8fd5142f41953d5695c5a3c5cc77bd045694f6e.zip
python-virtualenv-c8fd5142f41953d5695c5a3c5cc77bd045694f6e.tar.gz
-rw-r--r--python-virtualenv.spec9
-rw-r--r--virtualenv-pld.patch5
2 files changed, 7 insertions, 7 deletions
diff --git a/python-virtualenv.spec b/python-virtualenv.spec
index 6fee50c..b92faca 100644
--- a/python-virtualenv.spec
+++ b/python-virtualenv.spec
@@ -1,12 +1,12 @@
Summary: Tool to create isolated Python environments
Summary(pl.UTF-8): Narzędzie do tworzenia oddzielonych środowisk Pythona
Name: python-virtualenv
-Version: 1.10.1
+Version: 1.11.2
Release: 1
License: MIT
Group: Development/Languages
Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
-# Source0-md5: 3a04aa2b32c76c83725ed4d9918e362e
+# Source0-md5: d3d915836c1ada1be731ccaa12412b98
Source1: https://raw.github.com/pypa/virtualenv/%{version}/bin/rebuild-script.py
# Source1-md5: 5925c9a7d8e8b101c76b9c6cfa9ff297
Source2: unpack-support.py
@@ -65,8 +65,7 @@ rm -rf $RPM_BUILD_ROOT
# not needed
%{__rm} $RPM_BUILD_ROOT%{_bindir}/virtualenv-*.*
-%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/virtualenv_support/[ades]*.py*
-
+%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/virtualenv_support/[ads]*.py{,c,o}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -78,4 +77,4 @@ rm -rf $RPM_BUILD_ROOT
%{py_sitescriptdir}/virtualenv.py*
%dir %{py_sitescriptdir}/virtualenv_support
%{py_sitescriptdir}/virtualenv_support/__init__.py*
-%{py_sitescriptdir}/virtualenv_support/*.gz
+%{py_sitescriptdir}/virtualenv_support/*.whl
diff --git a/virtualenv-pld.patch b/virtualenv-pld.patch
index af8f622..9544526 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,11 @@
+@@ -72,7 +72,12 @@
'fnmatch', 'locale', 'encodings', 'codecs',
'stat', 'UserDict', 'readline', 'copy_reg', 'types',
're', 'sre', 'sre_parse', 'sre_constants', 'sre_compile',
@@ -9,7 +9,8 @@
+ '_collections', 'operator', 'itertools', 'math', 'binascii', 'atexit',
+ '_random', '_io', '_functools', 'array', '_socket', '_ssl', 'select',
+ 'fcntl', 'cPickle', 'datetime', 'syslog', '_sqlite3', 'unicodedata',
-+ 'parser', 'simplejson', 'multiprocessing', '_multiprocessing', '_posixsubprocess']
++ 'parser', 'simplejson', 'multiprocessing', '_multiprocessing',
++ '_posixsubprocess', '_csv']
REQUIRED_FILES = ['lib-dynload', 'config']