[MacPorts] #17433: Add py25-jinja2 port
#17433: Add py25-jinja2 port -------------------------------------+-------------------------------------- Reporter: arthur@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: | Port: -------------------------------------+-------------------------------------- We already have Jinja 1 in ports but not Jinja 2. Both versions are maintained separately by the developers. -- Ticket URL: <http://trac.macports.org/ticket/17433> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17433: Add py25-jinja2 port -------------------------------------+-------------------------------------- Reporter: arthur@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by arthur@…): I've updated the Portfile to Jinja 2.1.1 and added a livecheck. However, there's still a problem with the directory layout. The setup.py of Jinja2 installs the docs directly into /opt/local/docs: {{{ Warning: violation by /opt/local/docs Warning: py25-jinja2 violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! }}} {{{ $ port contents py25-jinja2 Port py25-jinja2 contains: /opt/local/docs/api.html /opt/local/docs/changelog.html /opt/local/docs/extensions.html /opt/local/docs/faq.html /opt/local/docs/genindex.html /opt/local/docs/index.html ... }}} I'm currently clueless. What would be a proper solution for this problem? -- Ticket URL: <http://trac.macports.org/ticket/17433#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17433: Add py25-jinja2 port -------------------------------------+-------------------------------------- Reporter: arthur@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: -------------------------------------+-------------------------------------- Changes (by snc@…): * version: 1.6.0 => 1.7.0 Comment: The easiest way to fix this is to move the {{{docs}}} directory to be what want if it was inside of{{{ ${prefix} }}}and updating {{{setup.py}}}'s {{{documentation_path}}} to reflect this. Who are our Python gurus? -- Ticket URL: <http://trac.macports.org/ticket/17433#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17433: Add py25-jinja2 port -------------------------------------+-------------------------------------- Reporter: arthur@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: py25-jinja2 -------------------------------------+-------------------------------------- Changes (by blb@…): * cc: blb@… (added) * port: => py25-jinja2 Comment: distutils uses the same path as that listed in data_files (in setup.py); since that's just using 'docs' it ends up in ${prefix}/docs. Attached is a setup.py patch and updated Portfile which should fix this (into ${prefix}/share/doc/${name} like most ports). -- Ticket URL: <http://trac.macports.org/ticket/17433#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17433: Add py25-jinja2 port -------------------------------------+-------------------------------------- Reporter: arthur@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: py25-jinja2 -------------------------------------+-------------------------------------- Comment(by arthur@…): Thanks blb, the patch works great. I attached a Portfile for python2.4, which uses the same patch. -- Ticket URL: <http://trac.macports.org/ticket/17433#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17433: Add py25-jinja2 port --------------------------------------+------------------------------------- Reporter: arthur@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: py25-jinja2 | --------------------------------------+------------------------------------- Changes (by snc@…): * status: new => closed * resolution: => fixed Comment: Submitted: py25-jinja2: r48647 py-jinja2: r48648 -- Ticket URL: <http://trac.macports.org/ticket/17433#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts