Opened 16 years ago
Closed 15 years ago
#16498 closed defect (fixed)
py25-jinja: mtree violation by ${prefix}/docs
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | rick@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 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 (2)
Change History (9)
comment:1 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
comment:3 Changed 15 years ago by mf2k (Frank Schima)
Cc: | dave@… added |
---|
cc reporter of duplicate #19753.
comment:4 Changed 15 years ago by mf2k (Frank Schima)
Port: | py25-jinja added |
---|
Changed 15 years ago by info@…
Attachment: | Portfile-py25-jinja.diff added |
---|
Changed 15 years ago by info@…
Attachment: | patch-setup.py.diff added |
---|
comment:6 Changed 15 years ago by mf2k (Frank Schima)
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.
comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!