[MacPorts] #49575: py27-awscli @1.7.22_1 should depend on py27-docutils
MacPorts
noreply at macports.org
Mon Nov 23 15:20:55 PST 2015
#49575: py27-awscli @1.7.22_1 should depend on py27-docutils
------------------------+-----------------------
Reporter: ben@… | Owner: pixilla@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: py-awscli |
------------------------+-----------------------
Comment (by josh.enders@…):
Experiencing this as well:
{{{
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/aws",
line 19, in <module>
import awscli.clidriver
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/awscli/clidriver.py", line 30, in <module>
from awscli.help import ProviderHelpCommand
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/awscli/help.py", line 19, in <module>
from docutils.core import publish_string
ImportError: No module named docutils.core
}}}
Installing docutils fixes the issue:
{{{
sudo port install py27-docutils
}}}
Here's a patch:
Alphabetized the dependencies and adds py27-docutils
{{{
--- Portfile 2015-11-23 15:19:58.000000000 -0800
+++ Portfile.new 2015-11-23 15:17:24.000000000 -0800
@@ -30,13 +30,14 @@
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
+ port:py${python.version}-bcdoc \
port:py${python.version}-botocore \
- port:py${python.version}-six \
+ port:py${python.version}-colorama \
port:py${python.version}-dateutil \
+ port:py${python.version}-docutils \
port:py${python.version}-jmespath \
- port:py${python.version}-colorama \
- port:py${python.version}-bcdoc \
- port:py${python.version}-rsa
+ port:py${python.version}-rsa \
+ port:py${python.version}-six
depends_run-append port:awscli_select
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49575#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list