summaryrefslogtreecommitdiff
path: root/archivers/py-lzma/files/patch-setup.py
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-01-29 03:51:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-01-29 03:51:06 +0000
commit0faf4b145a5b2a775f9e3f0a07fb5e68af1d9b25 (patch)
treec87f1f55349a5ee9eb2cedced7890b92d7f09aee /archivers/py-lzma/files/patch-setup.py
parentAfter discussion with maintainer, change RESTRICTED to NO_CDROM. It appears (diff)
- Update to 0.4.3
PR: 154330 Submitted by: Sofian Brabez <sbrabez@gmail.com> Feature safe: yes
Diffstat (limited to 'archivers/py-lzma/files/patch-setup.py')
-rw-r--r--archivers/py-lzma/files/patch-setup.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/py-lzma/files/patch-setup.py b/archivers/py-lzma/files/patch-setup.py
new file mode 100644
index 000000000000..b3dbbc6dd3fa
--- /dev/null
+++ b/archivers/py-lzma/files/patch-setup.py
@@ -0,0 +1,19 @@
+--- ./setup.py.orig 2010-10-23 22:50:04.000000000 +0200
++++ ./setup.py 2011-01-27 02:30:39.000000000 +0100
+@@ -27,13 +27,10 @@
+ from distutils import log
+ from distutils.command.build_ext import build_ext as _build_ext
+
+-try:
+- from setuptools import setup, Extension
+-except ImportError:
+- from ez_setup import use_setuptools
+- use_setuptools()
++from ez_setup import use_setuptools
++use_setuptools()
+
+- from setuptools import setup, Extension
++from setuptools import setup, Extension
+
+ class UnsupportedPlatformWarning(Warning):
+ pass