Date: Fri, 2 Sep 2011 15:04:27 GMT From: Pietro Cerutti <gahr@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/160397: [patch] sysutils/createrepo -- missing dependencies + fix Message-ID: <201109021504.p82F4REZ055325@red.freebsd.org> Resent-Message-ID: <201109021510.p82FA9rq089592@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109021504.p82F4REZ055325>