[MacPorts] #18532: django - 1.0.2 - does not follow slotting conventions

MacPorts noreply at macports.org
Tue Feb 17 19:52:44 PST 2009


#18532: django - 1.0.2 - does not follow slotting conventions
------------------------------+---------------------------------------------
 Reporter:  krunk7@…          |       Owner:  arthur@…               
     Type:  defect            |      Status:  new                    
 Priority:  Normal            |   Milestone:  Port Bugs              
Component:  ports             |     Version:  1.7.0                  
 Keywords:                    |        Port:  py26-django py25-django
------------------------------+---------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => arthur@…
  * port:  => py26-django py25-django


Old description:

> All versions of django ports install a script named: django-admin.py into
> /opt/local/bin.
>
> This causes conflicts between different versions, e.g. py26-django &
> py25-django
>
> <code>
> --->  Installing py26-django @1.0.2_0
> --->  Activating py26-django @1.0.2_0
> Error: Target org.macports.activate returned: Image error: /opt/local/bin
> /django-admin.py is being used by the active py25-django port.  Please
> deactivate this port first, or use the -f flag to force the activation.
> </code>
>
> Suggestion:
>
> In the post-destroot or destroot phase, rename conflicting scripts with
> slot version. E.G. django-admin26.py or some such.

New description:

 All versions of django ports install a script named: django-admin.py into
 /opt/local/bin.

 This causes conflicts between different versions, e.g. py26-django &
 py25-django

 {{{
 --->  Installing py26-django @1.0.2_0
 --->  Activating py26-django @1.0.2_0
 Error: Target org.macports.activate returned: Image error: /opt/local/bin
 /django-admin.py is being used by the active py25-django port.  Please
 deactivate this port first, or use the -f flag to force the activation.
 }}}

 Suggestion:

 In the post-destroot or destroot phase, rename conflicting scripts with
 slot version. E.G. django-admin26.py or some such.

--

Comment:

 In the future, please use the proper WikiFormatting.

-- 
Ticket URL: <http://trac.macports.org/ticket/18532#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list