Conversation
If I understand the Jenkins log correctly, the failed "default" test is not a problem of this Formula, right? Or can I do something about it? |
No it’s a Jenkins issue. |
@BrewTestBot test this please. |
url "https://pypi.python.org/packages/source/M/Markdown/Markdown-2.6.5.tar.gz" | ||
sha256 "8d94cf6273606f76753fcb1324623792b3738c7612c2b180c85cc5e88642e560" | ||
|
||
depends_on :python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be depends_on :python if MacOS.version <= :snow_leopard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the Formular accordingly, thanks!
What's the benefit of installing this via Homebrew rather than pip? |
@dunn: If I use |
depends_on :python if MacOS.version <= :snow_leopard | ||
|
||
def install | ||
ENV.prepend_create_path "PYTHONPATH", lib/"python2.7/site-packages" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer for this to be sandboxed in libexec
, really.
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
@tdsmith is free to disagree with me though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we went down this route you'd want to also use similar syntax to jrnl around bin.install
and the env scripting.
Oh yeah, I forgot the |
You can actually do |
@MikeMcQuaid I have 3rd party projects and inhouse tools depending on the |
For consistency, it seems like this should only expose the command line script (i.e. the site-packages should end up under |
Add the Python "markdown" package, including the "markdown_py" binary. Name the formular "python-markdown" to follow the Debian naming scheme: <https://packages.debian.org/search?searchon=contents&keywords=markdown_py> Signed-off-by: Alexander Barton <alex@barton.de> python-markdown: Install site-packages into libexec directory
@tdsmith I updated the Formula accordingly. Is that what you meant by "should end up unter |
Thanks @alexbarton! |
Add the Python "markdown" package, including the "markdown_py" binary.
Name the formular "python-markdown" to follow the Debian naming scheme:
https://packages.debian.org/search?searchon=contents&keywords=markdown_py
Signed-off-by: Alexander Barton alex@barton.de