From owner-freebsd-ports@FreeBSD.ORG Mon Dec 19 03:23:15 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 6C58A106564A for ; Mon, 19 Dec 2011 03:23:15 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [IPv6:2a02:6b8:0:602::5]) by mx1.freebsd.org (Postfix) with ESMTP id D96888FC13 for ; Mon, 19 Dec 2011 03:23:14 +0000 (UTC) Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward5.mail.yandex.net (Yandex) with ESMTP id 907441204198; Mon, 19 Dec 2011 07:23:11 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324264991; bh=hDAOr3zFR1npiH4ywggfBb6n9EXBapyXOsfa2v/cp5I=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kxzaLhKEJIvhzWyGP8gDgtxRXGkKp42/cVEBtaz/XDRQo2jNl+6aTKoU2SZb6is5C oCMDtZQVQ+J5pHETl2G7FVxz+7w1hkXDRecqs7jHnOfdpmt+0sPFM9/dTUXTLMrXji wGGVH3HFyPqtxRqBtXlAVzvcVM1pyxq9NL9B005U= Received: from smtp1.mail.yandex.net (localhost [127.0.0.1]) by smtp1.mail.yandex.net (Yandex) with ESMTP id 6BCF7AA0345; Mon, 19 Dec 2011 07:23:11 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324264991; bh=hDAOr3zFR1npiH4ywggfBb6n9EXBapyXOsfa2v/cp5I=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kxzaLhKEJIvhzWyGP8gDgtxRXGkKp42/cVEBtaz/XDRQo2jNl+6aTKoU2SZb6is5C oCMDtZQVQ+J5pHETl2G7FVxz+7w1hkXDRecqs7jHnOfdpmt+0sPFM9/dTUXTLMrXji wGGVH3HFyPqtxRqBtXlAVzvcVM1pyxq9NL9B005U= Received: from unknown (unknown [178.76.224.133]) by smtp1.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NAuaA4vd-NBuCmPB6; Mon, 19 Dec 2011 07:23:11 +0400 X-Yandex-Spam: 1 Message-ID: <4EEEAE03.1080908@yandex.ru> Date: Mon, 19 Dec 2011 07:22:43 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: Christer Edwards References: <4EEC6D9D.1020102@yandex.ru> In-Reply-To: X-Enigmail-Version: undefined Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@FreeBSD.org" Subject: Re: 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: Mon, 19 Dec 2011 03:23:15 -0000 Christer Edwards wrote on 19.12.2011 01:25: > On Sat, Dec 17, 2011 at 3:23 AM, Ruslan Mahmatkhanov > 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.