Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2011 13:14:13 -0700
From:      Christer Edwards <christer.edwards@gmail.com>
To:        glarkin@freebsd.org
Cc:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Re: salt rc.d scripts (Was: RUN_DEPENDS for python based port)
Message-ID:  <CAH2d3%2BucS9aRuykL7d_eVEVpVv2-o2HPrh=L5cjfusZFbRYU_A@mail.gmail.com>
In-Reply-To: <4EF499BB.20908@FreeBSD.org>
References:  <CAH2d3%2BvMF8jM6GHJQ6DR7EywmnY%2Bj=0tSHFEf_5oW1C6QhYD8A@mail.gmail.com> <4EF393BC.2020003@yandex.ru> <CAH2d3%2Bs1Tkizqoa5-spY92A82fgXxJ1m53Or4Fb5SPGhZKG4iw@mail.gmail.com> <CAH2d3%2Btd83z%2Bb0UG%2BH8%2BFmCe-A=dk1FAYd6k=1J43GrybyHsng@mail.gmail.com> <4EF3CF11.6070104@FreeBSD.org> <CAH2d3%2BtJT==ZbJxopTJiPewvS%2B6JOeAf_RSVdzD9fBBeDkEpYg@mail.gmail.com> <4EF3E10C.4070209@FreeBSD.org> <CAH2d3%2BvU4914NWZw=zpEOGB-dPrz4_mSmOwMTyGVQOZDn2G6Ug@mail.gmail.com> <4EF3F19D.6090905@FreeBSD.org> <CAH2d3%2BvDBtBSSv8y7keL7ogbzP0Kzy4esK9h0c79KQY9o%2BLiRw@mail.gmail.com> <4EF429BB.2040906@FreeBSD.org> <CAH2d3%2BubMdVMNncu_NNpXk1oCH8TM17pbaRLjkk09nrqHBwTqQ@mail.gmail.com> <4EF42E7A.2040807@FreeBSD.org> <CAH2d3%2BvgEpieGZLKsGtYzETywKX__nH1Y9GuwQOfLyJGc6_AaA@mail.gmail.com> <4EF43110.9090905@FreeBSD.org> <CAH2d3%2Bv=VS3Miv7%2B4xRpEU3crMcPdpuTxEQy%2B22AtoKQP6pYRw@mail.gmail.com> <4EF4331F.6060208@FreeBSD.org> <CAH2d3%2BtN7qBQZCQxGQcTj23cbuF51mb7ZAz8bfvzhXKBkwWBcA@mail.gmail.com> <4EF499BB.20908@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 23, 2011 at 8:09 AM, Greg Larkin <glarkin@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH2d3%2BucS9aRuykL7d_eVEVpVv2-o2HPrh=L5cjfusZFbRYU_A>