From owner-freebsd-ports@freebsd.org Tue Nov 28 16:32:22 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A2D9DBBE8C for ; Tue, 28 Nov 2017 16:32:22 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 23CF66CD6F for ; Tue, 28 Nov 2017 16:32:22 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 23068DBBE8B; Tue, 28 Nov 2017 16:32:22 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2296EDBBE8A for ; Tue, 28 Nov 2017 16:32:22 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F35596CD6E for ; Tue, 28 Nov 2017 16:32:21 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (115-166-31-52.dyn.iinet.net.au [115.166.31.52]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id vASGW2b5062816 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 28 Nov 2017 08:32:06 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: can I get a 'mentor' who can guide me on the topic of python module ports? To: bsd-lists@BSDforge.com, Kurt Jaeger Cc: ports@FreeBSD.org References: <02e8a6334d7c5dcf90d9b5256a2cfd43@udns.ultimatedns.net> From: Julian Elischer Message-ID: Date: Wed, 29 Nov 2017 00:31:56 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <02e8a6334d7c5dcf90d9b5256a2cfd43@udns.ultimatedns.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2017 16:32:22 -0000 On 28/11/17 11:09 pm, Chris H wrote: > On Tue, 28 Nov 2017 07:29:10 +0100 "Kurt Jaeger" said > >> Hi! >> >> > >> I have a requirement from $JOB to install some software (the >> python >> > >> based Azure SDK actually) [...] >> > > I suggest you put your initial version up somewhere and >> > > then start ask questions here. >> > > >> > > It might be faster if many people submit hints than if >> > > only one person gives you hints 8-} >> > So far I don't know enough to put up anything. >> >> Ok, then there are two steps for the start: >> >> 1) Where is the distfile ? Because the first step would be to >> create a ports Makefile that downloads that distfile. >> >> Is it this ? >> >> https://go.microsoft.com/fwlink/?LinkId=253472&clcid=0x409 >> >> 2) Then, one has to dig into >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html >> >> >> to get to a initial Makefile. >> >> For this step: Install ports-mgmt/porttools and use >> >> port create >> >> Extra homework: Think about a nice name 8-} > > Not to discount anything Kurt as already suggested > But I'd just like to throw in a couple of things that come to mind. > You can think of this as a short learning curve, or the highway to > hell. > You decide. > > 1) With a brand new port; I have often found it makes it quicker to > find a > already existing port that closely resembles the one I'm attempting > to create, > and either gut it, or simply replace the parts required. > > 2) Given it's the Python Azure SDK. I'd probably go with the > following location: > https://github.com/Azure/azure-sdk-for-python > The opening page nearly creates the port for you. :) well it may for you but for me it's all a learning curve where I need to discover the significance of every little thing. thanks though.. > HTH every bit helps > > --Chris > >> >> -- >> pi@opsec.eu            +49 171 3101372                         3 >> years to go >> ! > > > >