FreeBSD Bugzilla – Attachment 126363 Details for
Bug 170127
[PATCH] devel/py-mock: Fix deinstall when installed when setuptools is installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py27-mock-0.8.0.patch
py27-mock-0.8.0.patch (text/plain), 689 bytes, created by
koobs
on 2012-07-25 10:30:11 UTC
(
hide
)
Description:
py27-mock-0.8.0.patch
Filename:
MIME Type:
Creator:
koobs
Created:
2012-07-25 10:30:11 UTC
Size:
689 bytes
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/devel/py-mock/files/patch-setup.py ./files/patch-setup.py >--- /usr/ports/devel/py-mock/files/patch-setup.py 1970-01-01 10:00:00.000000000 +1000 >+++ ./files/patch-setup.py 2012-07-24 14:47:41.000000000 +1000 >@@ -0,0 +1,16 @@ >+--- ./setup.py.orig 2012-07-23 23:32:47.000000000 +1000 >++++ ./setup.py 2012-07-23 23:33:08.000000000 +1000 >+@@ -61,12 +61,6 @@ >+ classifiers=CLASSIFIERS, >+ ) >+ >+-try: >+- from setuptools import setup >+-except ImportError: >+- from distutils.core import setup >+-else: >+- params['tests_require'] = ['unittest2'] >+- params['test_suite'] = 'unittest2.collector' >++from distutils.core import setup >+ >+ setup(**params)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 170127
: 126363