From owner-freebsd-python@FreeBSD.ORG Fri Oct 18 07:39:56 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3FA597BA; Fri, 18 Oct 2013 07:39:56 +0000 (UTC) (envelope-from mva@freebsd.org) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.96]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F25E926EE; Fri, 18 Oct 2013 07:39:55 +0000 (UTC) Received: from [80.67.16.121] (helo=webmailfront01.ispgateway.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1VX4ex-00087O-V3; Fri, 18 Oct 2013 09:39:48 +0200 Received: from his1.his.de (his1.his.de [192.124.237.237]) by webmail.df.eu (Horde Framework) with HTTP; Fri, 18 Oct 2013 09:39:47 +0200 Date: Fri, 18 Oct 2013 09:39:47 +0200 Message-ID: <20131018093947.Horde.dMzpGTK02ZW8_6ahbZyciA1@webmail.df.eu> From: Marcus von Appen To: Andriy Gapon 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> <5260DA34.8090501@FreeBSD.org> In-Reply-To: <5260DA34.8090501@FreeBSD.org> User-Agent: Internet Messaging Program (IMP) H5 (6.0.4) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Df-Sender: ZnJlZWJzZEBzeXNmYXVsdC5vcmc= Cc: python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mva@freebsd.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 07:39:56 -0000 Andriy Gapon : > 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 Excellent! I'll commit it later on. Cheers Marcus