Date: Thu, 9 May 2013 22:30:50 GMT From: Antoine Brodin <antoine@freebsd.org> To: FreeBSD-gnats-submit@freebsd.org Cc: Li-Wen Hsu <lwhsu@freebsd.org> Subject: ports/178468: [patch] sysutils/hachoir-metadata not prefix clean and does not install optimized bytecode Message-ID: <201305092230.r49MUoWT038244@pepperseed.dreadbsd.org> Resent-Message-ID: <201305092250.r49Mo0mQ056724@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178468 >Category: ports >Synopsis: [patch] sysutils/hachoir-metadata not prefix clean and does not install optimized bytecode >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 09 22:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Antoine Brodin >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: none >Environment: System: FreeBSD pepperseed.dreadbsd.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: sysutils/hachoir-metadata is not prefix clean and does not install optimized bytecode. This is because PYDISTUTILS_INSTALLARGS+= is used before PYDISTUTILS_INSTALLARGS is available. Patch attached. >How-To-Repeat: >Fix: --- hachoir-metadata.diff begins here --- Index: hachoir-metadata/Makefile =================================================================== --- hachoir-metadata/Makefile (revision 317733) +++ hachoir-metadata/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: hachoir-metadata -# Date created: 25 January 2007 -# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> -# +# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> # $FreeBSD$ -# PORTNAME= hachoir-metadata PORTVERSION= 1.3.3 @@ -19,6 +15,8 @@ USE_PYTHON= yes USE_PYDISTUTILS=yes +.include <bsd.port.pre.mk> + PYDISTUTILS_CONFIGUREARGS+= --disable-qt PYDISTUTILS_BUILDARGS+= --disable-qt PYDISTUTILS_INSTALLARGS+= --disable-qt @@ -29,4 +27,4 @@ @${ECHO_MSG} "py-gtk (x11-toolkits/py-gtk2) installed." @${ECHO_MSG} "" -.include <bsd.port.mk> +.include <bsd.port.post.mk> Index: hachoir-metadata/pkg-plist =================================================================== --- hachoir-metadata/pkg-plist (revision 317733) +++ hachoir-metadata/pkg-plist (working copy) @@ -2,42 +2,62 @@ bin/hachoir-metadata-gtk %%PYTHON_SITELIBDIR%%/hachoir_metadata/__init__.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/__init__.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/__init__.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/archive.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/archive.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/archive.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/audio.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/audio.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/audio.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/config.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/config.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/config.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/file_system.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/file_system.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/file_system.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/filter.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/filter.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/filter.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/formatter.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/formatter.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/formatter.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/image.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/image.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/image.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/jpeg.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/jpeg.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/jpeg.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata_item.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata_item.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/metadata_item.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/misc.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/misc.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/misc.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/program.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/program.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/program.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/register.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/register.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/register.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/riff.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/safe.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/safe.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/safe.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/setter.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/setter.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/setter.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/timezone.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/timezone.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/timezone.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/version.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/version.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/version.pyo %%PYTHON_SITELIBDIR%%/hachoir_metadata/video.py %%PYTHON_SITELIBDIR%%/hachoir_metadata/video.pyc +%%PYTHON_SITELIBDIR%%/hachoir_metadata/video.pyo @dirrm %%PYTHON_SITELIBDIR%%/hachoir_metadata --- hachoir-metadata.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305092230.r49MUoWT038244>