New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16498 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

py25-jinja: mtree violation by ${prefix}/docs

Reported by: ryandesign@… Owned by: rick@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: mcalhoun@…, dave@…
Port: py25-jinja

Description

py25-jinja installs its documentation into an unexpected place:

--->  Fetching py25-jinja
--->  Verifying checksum(s) for py25-jinja
--->  Extracting py25-jinja
--->  Configuring py25-jinja
--->  Building py25-jinja with target build
--->  Staging py25-jinja into destroot
Warning: violation by /opt/local/docs
Warning: py25-jinja 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!
--->  Installing py25-jinja 1.2_0
--->  Activating py25-jinja 1.2_0
--->  Cleaning py25-jinja

Documentation for most ports usually goes in ${prefix}/share/doc/${name}-${version} though I don't know if python ports have a different convention. You may need to take a survey of existing python ports.

Attachments

Portfile-py25-jinja.diff Download (1.0 KB) - added by info@… 3 years ago.
patch-setup.py.diff Download (0.8 KB) - added by info@… 3 years ago.

Change History

Changed 3 years ago by mcalhoun@…

  • cc mcalhoun@… added

Cc Me!

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 3 years ago by macsforever2000@…

  • cc dave@… added

cc reporter of duplicate #19753.

Changed 3 years ago by macsforever2000@…

  • port set to py25-jinja

Changed 3 years ago by info@…

Changed 3 years ago by info@…

Changed 3 years ago by info@…

Used hints at py25-jinja2 to use proper document format

Changed 3 years ago by macsforever2000@…

The patch does not seem to work for me:

$ sudo port install py25-jinja
--->  Computing dependencies for py25-jinja
--->  Fetching py25-jinja
--->  Attempting to fetch Jinja-1.2.tar.gz from http://distfiles.macports.org/python
--->  Verifying checksum(s) for py25-jinja
--->  Extracting py25-jinja
--->  Applying patches to py25-jinja
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_python_py25-jinja/work/Jinja-1.2" && patch -p0 < '/opt/local/var/macports/sources/svn.macports.org/trunk/dports/python/py25-jinja/files/patch-setup.py.diff'" returned error 1
Command output: can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-jinja/work/Jinja-1.2/setup.py.orig	2009-07-11 19:34:42.000000000 +0200
|+++ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-jinja/work/Jinja-1.2/setup.py	2009-07-11 19:34:56.000000000 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

Error: Status 1 encountered during processing.

Changed 3 years ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed
  • r54090: changed maintainer email as per patch
  • r54092: committed the rest of it, after fixing the path in the patchfile
Note: See TracTickets for help on using tickets.