From owner-freebsd-ports@freebsd.org Tue Nov 28 18:56:15 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 7CC61DEB5B6 for ; Tue, 28 Nov 2017 18:56:15 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6493773791 for ; Tue, 28 Nov 2017 18:56:15 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: by mailman.ysv.freebsd.org (Postfix) id 618AFDEB5B3; Tue, 28 Nov 2017 18:56:15 +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 4F716DEB5B2 for ; Tue, 28 Nov 2017 18:56:15 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F91F73790; Tue, 28 Nov 2017 18:56:14 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id vASIudPi016582; Tue, 28 Nov 2017 10:56:45 -0800 (PST) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: , "Kurt Jaeger" In-Reply-To: <511a49001a2c01da3c55aa784cd4807f@udns.ultimatedns.net> From: "Chris H" Reply-To: bsd-lists@BSDforge.com To: "Julian Elischer" Subject: Re: can I get a 'mentor' who can guide me on the topic of python module ports? Date: Tue, 28 Nov 2017 10:56:45 -0800 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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 18:56:15 -0000 On Tue, 28 Nov 2017 08:56:12 -0800 said > On Wed, 29 Nov 2017 00:31:56 +0800 "Julian Elischer" > said >=20 > > On 28/11/17 11:09 pm, Chris H wrote: > > > On Tue, 28 Nov 2017 07:29:10 +0100 "Kurt Jaeger" sai= d > > > > > >> Hi! > > >> > > >> > >> I have a requirement from $JOB to install some software (the=20 > > >> python > > >> > >> based Azure SDK actually) [=2E=2E=2E] > > >> > > I suggest you put your initial version up somewhere and > > >> > > then start ask questions here=2E > > >> > > > > >> > > 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=2E > > >> > > >> 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=2E > > >> > > >> Is it this ? > > >> > > >> https://go=2Emicrosoft=2Ecom/fwlink/?LinkId=3D253472&clcid=3D0x409 > > >> > > >> 2) Then, one has to dig into > > >> > > >> > > https://www=2Efreebsd=2Eorg/doc/en_US=2EISO8859-1/books/porters-handbook/book= =2Ehtml > > >=20 > > >> > > >> > > >> to get to a initial Makefile=2E > > >> > > >> 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=2E > > > You can think of this as a short learning curve, or the highway to=20 > > > hell=2E > > > You decide=2E > > > > > > 1) With a brand new port; I have often found it makes it quicker to= =20 > > > find a > > > already existing port that closely resembles the one I'm attempting= =20 > > > to create, > > > and either gut it, or simply replace the parts required=2E > > > > > > 2) Given it's the Python Azure SDK=2E I'd probably go with the=20 > > > following location: > > > https://github=2Ecom/Azure/azure-sdk-for-python > > > The opening page nearly creates the port for you=2E :) > >=20 > > well it may for you but for me it's all a learning curve where I need= =20 > > to discover the significance of every little thing=2E > Ahh, sure OK=2E Now I have a little better base line to work with=2E > I'll cobble up a starting point, and post it for you=2E :) > FYI my dev box is out of commission right now, so there'll be some testin= g > required on you're part=2E :) OK I'm dealing with network woes here=2E So I'm a little slow in responding=2E But=2E=2E=2E I've got a Makefile in the works=2E In the mean time, in case you've already got something started; here's the Build/Requires/Depends list: Requires -------- python2-azure-sdk: py-openssl python(abi) py-dateutil py-requests py-vcrpy python3-azure-sdk: python(abi) py3-dateutil py3-openssl py3-requests py3-vcrpy Provides -------- python2-azure-sdk: python-azure python-azure-common python-azure-mgmt python-azure-mgmt-common python-azure-mgmt-compute python-azure-mgmt-network python-azure-mgmt-nspkg python-azure-mgmt-resource python-azure-mgmt-storage python-azure-nspkg python-azure-sdk python-azure-servicebus python-azure-servicemanagement-legacy python2-azure python2-azure-common python2-azure-mgmt python2-azure-mgmt-common python2-azure-mgmt-compute python2-azure-mgmt-network python2-azure-mgmt-nspkg python2-azure-mgmt-resource python2-azure-mgmt-storage python2-azure-nspkg python2-azure-sdk python2-azure-servicebus python2-azure-servicemanagement-legacy python3-azure-sdk: python3-azure python3-azure-common python3-azure-mgmt python3-azure-mgmt-common python3-azure-mgmt-compute python3-azure-mgmt-network python3-azure-mgmt-nspkg python3-azure-mgmt-resource python3-azure-mgmt-storage python3-azure-nspkg python3-azure-sdk python3-azure-servicebus python3-azure-servicemanagement-legacy I haven't prefaced them with the [port] appropriate categories=2E But this part completes most of the grunt work to create this port=2E :) --Chris >=20 > >=20 > > thanks though=2E=2E > You're *quite* welcome=2E :) >=20 > --Chris > >=20 > > > HTH > >=20 > > every bit helps > >=20 > > > > > > --Chris > > > > > >> > > >> --=20 > > >> pi@opsec=2Eeu=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 +49 171 > > > 3101372=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 3=20 > > >> years to go > > >> ! > > > > > > > > > > > > > >=20 > > _______________________________________________ > > freebsd-ports@freebsd=2Eorg mailing list > > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd=2Eorg= " >=20 >=20 > _______________________________________________ > freebsd-ports@freebsd=2Eorg mailing list > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd=2Eorg"