Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2011 07:22:43 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        Christer Edwards <christer.edwards@gmail.com>
Cc:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Re: RUN_DEPENDS for python based port
Message-ID:  <4EEEAE03.1080908@yandex.ru>
In-Reply-To: <CAH2d3%2Btr8deqeGLPywXAXsRDPt_-3GwpkqPhK=zk5PtztvkK6g@mail.gmail.com>
References:  <CAH2d3%2BvMF8jM6GHJQ6DR7EywmnY%2Bj=0tSHFEf_5oW1C6QhYD8A@mail.gmail.com> <4EEC6D9D.1020102@yandex.ru> <CAH2d3%2Btr8deqeGLPywXAXsRDPt_-3GwpkqPhK=zk5PtztvkK6g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Christer Edwards wrote on 19.12.2011 01:25:
> On Sat, Dec 17, 2011 at 3:23 AM, Ruslan Mahmatkhanov
> <cvs-src@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EEEAE03.1080908>