From owner-freebsd-python@FreeBSD.ORG Fri Oct 18 06:51:27 2013 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9EAEF848 for ; Fri, 18 Oct 2013 06:51:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id EC5F22422 for ; Fri, 18 Oct 2013 06:51:26 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA21294 for ; Fri, 18 Oct 2013 09:51:25 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1VX3u9-0004j3-1Q for python@FreeBSD.org; Fri, 18 Oct 2013 09:51:25 +0300 Message-ID: <5260DA34.8090501@FreeBSD.org> Date: Fri, 18 Oct 2013 09:50:28 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: python@FreeBSD.org Subject: Re: PYDISTUTILS_AUTOPLIST, stage, man pages References: <5260203B.6060502@FreeBSD.org> <20131017181944.GA1374@medusa.sysfault.org> <52604530.6040209@FreeBSD.org> <20131017220703.GA24842@medusa.sysfault.org> <5260CA83.8080503@FreeBSD.org> <20131018064409.GA1412@medusa.sysfault.org> In-Reply-To: <20131018064409.GA1412@medusa.sysfault.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 06:51:27 -0000 on 18/10/2013 09:44 Marcus von Appen said the following: > Can you give the following change to Mk/bsd.python.mk a try: > > Index: Mk/bsd.python.mk > =================================================================== > --- Mk/bsd.python.mk (revision 330721) > +++ Mk/bsd.python.mk (working copy) > @@ -528,7 +528,9 @@ > ${SED} '/^\.$$/d' > ${WRKDIR}/.localmtree > @${ECHO_CMD} "${_RELSITELIBDIR}" >> ${WRKDIR}/.localmtree > @${ECHO_CMD} "${_RELLIBDIR}" >> ${WRKDIR}/.localmtree > - @${SED} 's|^${PREFIX}/||' ${_PYTHONPKGLIST} | ${SORT} >> ${TMPPLIST} > + @${SED} -e 's|^${PREFIX}/||' \ > + -e 's|^\(man/man[0-9]\)/\(.*.[0-9]\)|\1/\2${MANEXT}|' \ > + ${_PYTHONPKGLIST} | ${SORT} >> ${TMPPLIST} > @${SED} -e 's|^${PREFIX}/\(.*\)/\(.*\)|\1|' ${_PYTHONPKGLIST} | \ > ${AWK} '{ num = split($$0, a, "/"); res=""; \ > for(i = 1; i <= num; ++i) { \ > > It adds the .gz to every man/manX/*.X, if it is defined (depending on > the NO_MANCOMPRESS setting). Woo-hoo, thanks a lot! The patch worked perfectly for me. >From pkg info -l py27-obnam-1.5: /usr/local/man/man1/obnam-benchmark.1.gz /usr/local/man/man1/obnam-viewprof.1.gz /usr/local/man/man1/obnam.1.gz -- Andriy Gapon