Date: Fri, 18 Oct 2013 08:43:31 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: python@FreeBSD.org Subject: Re: PYDISTUTILS_AUTOPLIST, stage, man pages Message-ID: <5260CA83.8080503@FreeBSD.org> In-Reply-To: <20131017220703.GA24842@medusa.sysfault.org> References: <5260203B.6060502@FreeBSD.org> <20131017181944.GA1374@medusa.sysfault.org> <52604530.6040209@FreeBSD.org> <20131017220703.GA24842@medusa.sysfault.org>
next in thread | previous in thread | raw e-mail | index | archive | help
on 18/10/2013 01:07 Marcus von Appen said the following:
> Except for the fact that 'share/' is wrong for FreeBSD (which you know,
> I guess ;-), I see what you mean. A fix for that might be to check the
> directory for something matching on
>
> man/man[0-9]/*.[0-9]
>
> and append it automatically with a .gz in the ${_PYTHONPKGLIST} record
> file within the add-plist-pymod target in bsd.python.mk
>
> Can you upload the port shar somewhere for a test?
The port is here:
https://redports.org/browser/avg/sysutils/py-obnam
It also depends on the following four new ports (all matching py-*):
https://redports.org/browser/avg/devel
In the current shape the port "works", but installs the man pages into a wrong
place. If I fix it like this:
Index: Makefile
===================================================================
--- Makefile (revision 18184)
+++ Makefile (working copy)
@@ -26,4 +26,7 @@
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
+post-patch:
+ ${REINPLACE_CMD} 's#share/man#man#' ${WRKSRC}/${PYSETUP}
+
.include <bsd.port.mk>
Then installation fails because auto-generated plist and what's in stage
directory do not match.
Thank you!
--
Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5260CA83.8080503>
