ports/178461: py-mx-base installs doc files even though DOCS option is unset
Garrett Cooper
yaneurabeya at gmail.com
Thu May 9 19:50:00 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list