From owner-freebsd-python@FreeBSD.ORG Thu Oct 17 20:15:39 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 4680F45A for ; Thu, 17 Oct 2013 20:15:39 +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 947D42F7F for ; Thu, 17 Oct 2013 20:15:38 +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 XAA14567 for ; Thu, 17 Oct 2013 23:15:37 +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 1VWtyq-00019e-L3 for python@FreeBSD.org; Thu, 17 Oct 2013 23:15:36 +0300 Message-ID: <52604530.6040209@FreeBSD.org> Date: Thu, 17 Oct 2013 23:14:40 +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> In-Reply-To: <20131017181944.GA1374@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: Thu, 17 Oct 2013 20:15:39 -0000 on 17/10/2013 21:19 Marcus von Appen said the following: > On, Thu Oct 17, 2013, Andriy Gapon wrote: > >> >> If it's not obvious from the subject, I would like to ask if it is >> possible to make PYDISTUTILS_AUTOPLIST cooperate with staging with >> respect to the manual pages. >> >> As you know, the staging code would automatically compress any >> uncompressed manual pages while their installation to the stage directory >> is recoded verbatim. So perhaps there could be an extra step of >> appending ".gz" to manual page entries that don;t have it. > > I am missing an example (port or whatever) here. distutils does not > specifiy manpages on its own, so they are most likely installed by the > data_files target. Usually, the proper handling would need to be done there > or within an own bsd.python.mk hook (ewww). So much for the theory. Can you > please provide an example port that currently has issues with its manpages > and staging? I am not sure if there is such a port currently in the tree, I haven't looked for one. We are working on a port of obnam and that's where this would be useful. It indeed installs a few manual pages via data_files: data_files=[('share/man/man1', glob.glob('*.1'))] http://liw.fi/obnam/ -- Andriy Gapon