From owner-freebsd-python@FreeBSD.ORG Sat Jul 6 15:43:35 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3E1AA55A; Sat, 6 Jul 2013 15:43:35 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 14B251B00; Sat, 6 Jul 2013 15:43:35 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id kp12so3033510pab.35 for ; Sat, 06 Jul 2013 08:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=uE+Fb2eXgPnwxHiRrBPqosGS4K8HeSjJVka2yL0zt3M=; b=BmKpsSw6U4LdtTx8NFNrCcgMpjL/+g2WmnACRtW1pSS3WEQLz6YS+LCGveJHJNyyF6 R2LB5MyEzViyBFyJGfSRPEFynRzUhpFRlNrfZCx/oJT/GhPPDlvtOzV7wUJECjaJsmwx z6pVA0CKvl+L+7AmbaUPuMIf+ZjW1N4iUKcVuDKbWn7sgAxnyhpLxXPvY9GIK/rzKm+A /BeykbNU+92hYcSf8ESc6WOYkOxJb+vHXP4lENCyAUY71xzdwOyqvupM7nkRacIp8LYJ W8BKsCFXi2ymLkcFKDP//iJdbTiRNijS6SGEy9YCNNpPew8tIRHHxZFCnMF7fuBZI4Hq adhQ== X-Received: by 10.68.136.138 with SMTP id qa10mr14145448pbb.117.1373125414837; Sat, 06 Jul 2013 08:43:34 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id py6sm12816493pbb.33.2013.07.06.08.43.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Jul 2013 08:43:34 -0700 (PDT) Message-ID: <51D83B22.5010307@FreeBSD.org> Date: Sun, 07 Jul 2013 01:43:30 +1000 From: Kubilay Kocak User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Nikolai Lifanov Subject: Re: %%PYTHON_SITELIBDIR%% in pkg-plist References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: python@FreeBSD.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: koobs@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2013 15:43:35 -0000 On 7/07/2013 12:51 AM, Nikolai Lifanov wrote: > Hello. > > I maintain sysutils/ansible, and I keep wanting to @dirrmtry > %%PYTHON_SITELIBDIR%% and perhaps %%PYTHON_LIBDIR%%. > portlint tells me that this is a wrong thing to do, while poudriere > testport complains about leftover directories. > > What is the correct thing to do with these? > > - Nikolai Lifanov > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" The following are 'normal'leftover entries when testing python ports, and can safely be ignored: %%PYTHON_LIBDIR%%/site-packages/easy-install.pth %%PYTHON_LIBDIR%%/site-packages/site.py %%PYTHON_LIBDIR%%/site-packages/site.pyc %%PYTHON_LIBDIR%%/site-packages/site.pyo @dirrm %%PYTHON_LIBDIR%%/site-packages @dirrm %%PYTHON_LIBDIR%% The above output is from poudriere, and %%PYTHON_LIBDIR%%/site-packages/ is actually %%PYTHON_SITELIBDIR%%. Here, poudriere is just making a first-variable-from-the-list-wins guess. If you see porttools `port test` output, you'll note it displays %%PYTHON_SITELIBDIR%% as the leftover prefix. They can be ignored as well. Hope that helps :) -- Koobs