From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 2 15:10:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 929381065674 for ; Fri, 2 Sep 2011 15:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 56E6B8FC0C for ; Fri, 2 Sep 2011 15:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p82FA9d1089593 for ; Fri, 2 Sep 2011 15:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p82FA9rq089592; Fri, 2 Sep 2011 15:10:09 GMT (envelope-from gnats) Resent-Date: Fri, 2 Sep 2011 15:10:09 GMT Resent-Message-Id: <201109021510.p82FA9rq089592@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pietro Cerutti Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7386E106564A for ; Fri, 2 Sep 2011 15:04:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 63DEC8FC17 for ; Fri, 2 Sep 2011 15:04:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p82F4RA3055336 for ; Fri, 2 Sep 2011 15:04:27 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p82F4REZ055325; Fri, 2 Sep 2011 15:04:27 GMT (envelope-from nobody) Message-Id: <201109021504.p82F4REZ055325@red.freebsd.org> Date: Fri, 2 Sep 2011 15:04:27 GMT From: Pietro Cerutti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160397: [patch] sysutils/createrepo -- missing dependencies + fix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 15:10:09 -0000 >Number: 160397 >Category: ports >Synopsis: [patch] sysutils/createrepo -- missing dependencies + fix >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 02 15:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: >Organization: The FreeBSD Project >Environment: >Description: This adds a few missing dependencies to createrepo and fixes a wrong ${REINPLACE_CMD}. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/createrepo/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 19 Jul 2011 03:45:58 -0000 1.1 +++ Makefile 2 Sep 2011 12:15:59 -0000 @@ -13,7 +13,9 @@ COMMENT= Creates a common metadata repository RUN_DEPENDS= ${PYTHON_SITELIBDIR}/sqlitecachec.py:${PORTSDIR}/devel/py-yum-metadata-parser \ - ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 + ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \ + ${PYTHON_SITELIBDIR}/rpm/__init__.py:${PORTSDIR}/archivers/rpm5 \ + ${PYTHON_SITELIBDIR}/urlgrabber/__init__.py:${PORTSDIR}/www/py-urlgrabber USE_PYTHON= yes USE_GMAKE= yes @@ -32,7 +34,7 @@ ${WRKSRC}/bin/mergerepo \ ${WRKSRC}/bin/modifyrepo \ ${WRKSRC}/bin/createrepo - ${REINPLACE_CMD} -e 's|#!/usr/bin/|#!${PYTHON_CMD}|' \ + ${REINPLACE_CMD} -e 's|#!/usr/bin/python -t|#!${PYTHON_CMD}|' \ ${WRKSRC}/genpkgmetadata.py \ ${WRKSRC}/dmd.py \ ${WRKSRC}/mergerepo.py \ >Release-Note: >Audit-Trail: >Unformatted: