summaryrefslogtreecommitdiff
path: root/libre/sagemath/clean.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-16 14:21:34 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-16 14:21:34 -0500
commit7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984 (patch)
tree95c21b175d249070039a7eaa2ab8b8a2b2a6aa27 /libre/sagemath/clean.patch
parent5c9e07c02b8174ddb3782bfd24c58451654bfe5a (diff)
sagemath: add new package to [libre]
Diffstat (limited to 'libre/sagemath/clean.patch')
-rw-r--r--libre/sagemath/clean.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/libre/sagemath/clean.patch b/libre/sagemath/clean.patch
new file mode 100644
index 000000000..c577d3d42
--- /dev/null
+++ b/libre/sagemath/clean.patch
@@ -0,0 +1,23 @@
+--- src/setup.py.orig 2014-11-16 10:34:05.521441703 +0100
++++ src/setup.py 2014-11-16 10:34:16.054812569 +0100
+@@ -581,20 +581,6 @@
+
+
+ #########################################################
+-### Clean
+-#########################################################
+-
+-print('Cleaning up stale installed files....')
+-t = time.time()
+-from sage_setup.clean import clean_install_dir
+-output_dirs = SITE_PACKAGES + glob.glob(os.path.join(SAGE_SRC, 'build', 'lib*'))
+-for output_dir in output_dirs:
+- print('- cleaning {0}'.format(output_dir))
+- clean_install_dir(output_dir, python_packages, python_modules, ext_modules)
+-print('Finished cleaning, time: %.2f seconds.' % (time.time() - t))
+-
+-
+-#########################################################
+ ### Distutils
+ #########################################################
+