From owner-freebsd-ports@FreeBSD.ORG Fri Dec 23 20:14:37 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6F0E106564A for ; Fri, 23 Dec 2011 20:14:37 +0000 (UTC) (envelope-from christer.edwards@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E3BB8FC13 for ; Fri, 23 Dec 2011 20:14:36 +0000 (UTC) Received: by lahl5 with SMTP id l5so5412237lah.13 for ; Fri, 23 Dec 2011 12:14:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Bp58pf8nkTPjar1pLYi8g1oiL6wIZxdUF6to+WH/XNk=; b=VTG+F8x71vzJaOQq5XdqARrMVDpoMOILGJrp6/LNwygGwYddbP0fyx8obtVdaDZw0Q M/rFKCKUUSiDWWSssDh9OX0PkX3lEmSQUMAN5r7y8PnB5JsPYHVk5Nmu3ejM9UY4A2TX 0ScQZAYASQi65Zu7GO7m5ssI7u62yDVslAqoA= Received: by 10.152.112.103 with SMTP id ip7mr13071002lab.46.1324671274272; Fri, 23 Dec 2011 12:14:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.20.134 with HTTP; Fri, 23 Dec 2011 12:14:13 -0800 (PST) In-Reply-To: <4EF499BB.20908@FreeBSD.org> References: <4EF393BC.2020003@yandex.ru> <4EF3CF11.6070104@FreeBSD.org> <4EF3E10C.4070209@FreeBSD.org> <4EF3F19D.6090905@FreeBSD.org> <4EF429BB.2040906@FreeBSD.org> <4EF42E7A.2040807@FreeBSD.org> <4EF43110.9090905@FreeBSD.org> <4EF4331F.6060208@FreeBSD.org> <4EF499BB.20908@FreeBSD.org> From: Christer Edwards Date: Fri, 23 Dec 2011 13:14:13 -0700 Message-ID: To: glarkin@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-ports@FreeBSD.org" Subject: Re: salt rc.d scripts (Was: RUN_DEPENDS for python based port) 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: Fri, 23 Dec 2011 20:14:38 -0000 On Fri, Dec 23, 2011 at 8:09 AM, Greg Larkin wrote: > You get the award for persistence, so pat yourself on the back! That's one way to look at it :) So, I've been double-validating every aspect of this port as I want to make sure it's 100% before I submit it, and I ran into one more issue. I'm using a files/patch-setup.py to tweak the upstream setup.py to match port standards. The one thing it is not doing is installing the configuration (data_files) as ".sample". I did some digging and the Python documentation says that the setup.py can not rename data_files when it installs them[1]. Did I screw up the patch, or is there a different way it should be done? I get this error when building the port: running install_data error: can't copy 'conf/master.sample': doesn't exist or not a regular file *** Error code 1 This is a pastebin of my patch-setup.py: http://pastebin.com/3ezTBdy9 Thanks again everybody. [1]: http://docs.python.org/distutils/setupscript.html#installing-additional-files