From owner-freebsd-python@freebsd.org Wed Sep 13 10:10:14 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BD0DE182B7 for ; Wed, 13 Sep 2017 10:10:14 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 886008095F for ; Wed, 13 Sep 2017 10:10:14 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: by mailman.ysv.freebsd.org (Postfix) id 876E4E182B3; Wed, 13 Sep 2017 10:10:14 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86FFEE182B2 for ; Wed, 13 Sep 2017 10:10:14 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF3C8095E for ; Wed, 13 Sep 2017 10:10:13 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from 124-169-212-207.dyn.iinet.net.au (HELO leader.local) ([124.169.212.207]) by ipmail07.adl2.internode.on.net with ESMTP; 13 Sep 2017 19:40:13 +0930 Subject: Re: Having trouble with USES=python To: "Mikhail T." Cc: python@FreeBSD.org References: <5295784b-7d47-bd34-94ef-f17ec266024b@aldan.algebra.com> <8f980dcf-555f-8031-e546-07fc126de6df@ShaneWare.Biz> From: Shane Ambler Message-ID: Date: Wed, 13 Sep 2017 19:40:10 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 10:10:14 -0000 On 13/09/2017 12:07, Mikhail T. wrote: > So, it being in STAGEDIR is not enough for it to be installed?.. > -- Sent from mobile device, please, pardon shorthand. 12 ×ÅÒ. 2017 Ò. Ï Anything to be installed by the port must be placed in STAGEDIR and listed in pkg-plist to be considered part of the port. > 21:22 Shane Ambler ÎÁÐÉÓÁ×(ÌÁ): >> As you are using autoplist the file list is generated based on data in >> setup.py, like "package_data". You should patch setup.py so that it >> picks up the missing files and also adjust where it is installing data >> files such as icons, that may mean prefixing ${PREFIX} with ${STAGEDIR}. >> >> You may find those missing icons in /${PREFIX}/share/icons/ rather than >> within the ports work dir. -- FreeBSD - the place to B...Software Developing Shane Ambler