Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2013 19:48:40 GMT
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178461: py-mx-base installs doc files even though DOCS option is unset
Message-ID:  <201305091948.r49JmePm071775@oldred.FreeBSD.org>
Resent-Message-ID: <201305091950.r49Jo0uh020402@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178461
>Category:       ports
>Synopsis:       py-mx-base installs doc files even though DOCS option is unset
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 09 19:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        n/a
>Organization:
EMC Isilon
>Environment:
n/a
>Description:
When installing py-mx-base and analyzing internal changes to the package I noticed that the package installs several PDF files that aren't necessarily required for runtime execution of the package, and quite frankly aren't installed in appropriate directories:

# pkg info -l py27-mx-base | grep -i Doc | less
/usr/local/lib/python2.7/site-packages/mx/BeeBase/Doc/mxBeeBase.pdf
/usr/local/lib/python2.7/site-packages/mx/DateTime/Doc/mxDateTime.pdf
/usr/local/lib/python2.7/site-packages/mx/Proxy/Doc/mxProxy.pdf
/usr/local/lib/python2.7/site-packages/mx/Queue/Doc/mxQueue.pdf
/usr/local/lib/python2.7/site-packages/mx/Stack/Doc/mxStack.pdf
/usr/local/lib/python2.7/site-packages/mx/TextTools/Doc/mxTextTools.pdf
/usr/local/lib/python2.7/site-packages/mx/Tools/Doc/mxTools.pdf
/usr/local/lib/python2.7/site-packages/mx/UID/Doc/mxUID.pdf
/usr/local/lib/python2.7/site-packages/mx/URL/Doc/mxURL.pdf

These files should be installed to ${DOCSDIR}, and should not be installed if the DOCS option is unset.
>How-To-Repeat:
echo "mx-base_UNSET+= DOCS" >> /etc/make.conf
cd /usr/ports/lang/py-mx-base; make install
pkg info -l py27-mx-base | grep -i Doc && echo "Does not honor DOCS properly"
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305091948.r49JmePm071775>