From owner-freebsd-ports@FreeBSD.ORG Mon Aug 4 23:04:55 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 673CA1065671 for ; Mon, 4 Aug 2008 23:04:55 +0000 (UTC) (envelope-from ros@bebik.net) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 25B298FC0C for ; Mon, 4 Aug 2008 23:04:55 +0000 (UTC) (envelope-from ros@bebik.net) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by postfix1-g20.free.fr (Postfix) with ESMTP id 6FA6E28FB802 for ; Tue, 5 Aug 2008 00:33:41 +0200 (CEST) Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id 82FE61AB2EC for ; Tue, 5 Aug 2008 00:33:39 +0200 (CEST) Received: from [192.168.0.228] (gam75-4-82-235-223-127.fbx.proxad.net [82.235.223.127]) by smtp1-g19.free.fr (Postfix) with ESMTP id 602011AB2EB for ; Tue, 5 Aug 2008 00:33:39 +0200 (CEST) Message-ID: <48978422.4090205@bebik.net> Date: Tue, 05 Aug 2008 00:35:14 +0200 From: ros User-Agent: Thunderbird 2.0.0.6 (X11/20070927) MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Deleting python compiled files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 23:04:55 -0000 Hi, Working in a port using python i'm facing this problem. If I run the application after the install the py source files are compiled in pyc (or pyo) files. This is good cause precompiled files provide better performances. The problem is deleting the port. The pyc files aren't registered in the pkg-plist so the deletion isn't complete and I can't delete the main directory containing the application files. If I add the pyc files, when I remove the port I receive an error saying the checksum dosn't exist, and that's righ. So what's the best way handle this problem ? Thanks for your help (again) Rodrigo