RUN_DEPENDS for python based port
Ruslan Mahmatkhanov
cvs-src at yandex.ru
Mon Dec 19 03:23:15 UTC 2011
Christer Edwards wrote on 19.12.2011 01:25:
> On Sat, Dec 17, 2011 at 3:23 AM, Ruslan Mahmatkhanov
> <cvs-src at yandex.ru> wrote:
>> Chris and Matthew already noted what the problems are. I also
>> suggest to use:
>>
>> ${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml
>
> That is much cleaner. Thank you.
>
>> So USE_PYTHON=yes should be changed with USE_PYTHON= 2.6-2.7,
>> (otherwise port build will fail with python3) and LICENSE= ASL
>> worth to be added.
>
> Also added.
>
> I've attached an archive including all the port files (distinfo,
> pkg-plist, etc) for any other feedback you can offer. I still have
> two remaining issues on my checklist that perhaps the group can
> provide solutions for as well.
Looks like mailing list eats the attachment. Would you please upload
it somewhere and provide us with the link.
> 1) Building the port never successfully fetches the upstream
> .tar.gz, but if I copy/paste the URL and run fetch manually it
> works just fine. Thoughts?
I need to look at Makefile, but the common problem is that fetch(1)
doesn't follow redirects by default. You can tweak it with FETCH_ARGS.
You may see /usr/ports/deskutils/gtg/Makefile for an example.
> 2) The existing setup.py installs the two config files
> (etc/salt/{master,minion}) to /usr/etc instead of /usr/local/etc.
> I'm not familiar enough with setup.py to tweak that. Any
> suggestions there?
${REINPLACE_CMD} is what you need. You may find usage example in
deskutils/gtg also.
>
> If I can get those last few things figured out I'll submit the
> port.
>
> Thanks, Christer
Do not forget to check the port with ports-mgmt/portlint.
--
Regards,
Ruslan
Tinderboxing kills... the drives.
More information about the freebsd-ports
mailing list