From owner-freebsd-python@FreeBSD.ORG Sun Jan 26 07:45:14 2014 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 ESMTPS id 23F2F472 for ; Sun, 26 Jan 2014 07:45:14 +0000 (UTC) Received: from forward2l.mail.yandex.net (forward2l.mail.yandex.net [84.201.143.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D09D6119A for ; Sun, 26 Jan 2014 07:45:13 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward2l.mail.yandex.net (Yandex) with ESMTP id F263A1AC0BA6 for ; Sun, 26 Jan 2014 11:45:04 +0400 (MSK) Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id B2AFCE40058 for ; Sun, 26 Jan 2014 11:45:04 +0400 (MSK) Received: from unknown (unknown [178.76.234.16]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id KpV5xMySek-j4JWY9nb; Sun, 26 Jan 2014 11:45:04 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) X-Yandex-Uniq: 44db1e0b-abe4-4b1b-9445-d1ce86918165 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1390722304; bh=pl29KDoqbDigIvIPm9KBSyPmqGWQH/X4QZp5h/zVJ24=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Content-Transfer-Encoding; b=ttONM0iig0ocQg+41pzbeVG67ADpEW/npYTHlOm5lk9qTKfFy7fKEvDqtOAnEGkfz 23dOtP9XHwHHsl1BiF0xBiuNRWYsCwsbEopEMbJ7NtwcMibb6oO1cee4f4O/TXiiWD 1ACir9eM0v8KL00rxspcXaLJrQQbwZqXWkS5mV9c= Authentication-Results: smtp13.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52E4BCF4.3070507@yandex.ru> Date: Sun, 26 Jan 2014 11:44:52 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: python Subject: PYDISTUTILS_AUTOPLIST question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 07:45:14 -0000 Hi, while PYDISTUTILS_AUTOPLIST works smoothly for majority of ports, there is the problem with some of them I come across yesterday. For example, there is the port devel/py-Products.PasswordResetTool. If I set there PYDISTUTILS_AUTOPLIST, and try to build, I got packaging error, because some of the files, that port provides, cannot be compiled (by design). While they are python code files, they are not supposed to be executed with python interpreter directly (they are kind of templates). So, is there any possibility to: a) Do not add compiled/optimized filenames to packing list, if the actual file fails to compile? b) Make a hook, that allows to list file, that should not have corresponding *.pyc/*.pyo entries in the packing list? Such thing is common for zope/plone-related ports, and I already asked upstream about this long time ago. They tell me to just ignore that and all was fine until such a tasty life-saver, which PYDISTUTILS_AUTOPLIST is, was introduced into the ports tree, that sadly cannot be used for this ports. -- Regards, Ruslan T.O.S. Of Reality