Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2017 13:03:18 -0800
From:      "Chris H" <bsd-lists@BSDforge.com>
To:        "Julian Elischer" <julian@freebsd.org>
Cc:        <ports@FreeBSD.org>, "Kurt Jaeger" <lists@opsec.eu>
Subject:   Re: can I get a 'mentor' who can guide me on the topic of python module ports?
Message-ID:  <1f267336984219917f8c6f85fe6eaea1@udns.ultimatedns.net>
In-Reply-To: <e88b1c014afbe21603884f2f3313a7f7@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--BGblzZPyXIzuyHtYDZCYCPt81xrn0SxbHcOUlCG8KQOv30X9u1Rs4pyeuoci
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On Tue, 28 Nov 2017 10:56:45 -0800 <bsd-lists@BSDforge=2Ecom> said

> On Tue, 28 Nov 2017 08:56:12 -0800 <bsd-lists@BSDforge=2Ecom> said
>=20
> > On Wed, 29 Nov 2017 00:31:56 +0800 "Julian Elischer" <julian@freebsd=2Eor=
g>
> > said
> >=20
> > > On 28/11/17 11:09 pm, Chris H wrote:
> > > > On Tue, 28 Nov 2017 07:29:10 +0100 "Kurt Jaeger" <lists@opsec=2Eeu> s=
aid
> > > >
> > > >> 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 test=
ing
> > 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:
>=20
> Requires
> --------
> python2-azure-sdk:
>    py-openssl
>    python(abi)
>    py-dateutil
>    py-requests
>    py-vcrpy
>=20
> python3-azure-sdk:
>    python(abi)
>    py3-dateutil
>    py3-openssl
>    py3-requests
>    py3-vcrpy
>=20
> 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
>=20
> 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
>=20
> 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 :)

Alright=2E I *think* I've created a Makefile that you can (easily?) work with=
=2E
I commented it heavily, and should go a long way to get you where you're
going=2E If the mailing list doesn't strip it=2E You'll find it attached=2E

Good lick, and best wishes!

--Chris

P=2ES=2E Just give a howler if you have any ??? :)

>=20
> --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=2Eo=
rg"
> >=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=
"
>=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"

--BGblzZPyXIzuyHtYDZCYCPt81xrn0SxbHcOUlCG8KQOv30X9u1Rs4pyeuoci
Content-Type: application/octet-stream; name="Makefile"
Content-Description: Makefile
Content-Disposition: attachment; filename="Makefile"
Content-Transfer-Encoding: base64

IyBDcmVhdGVkIGJ5OiBKdWxpYW4gRWxpc2NoZXIgPGp1bGlhbkBuby5ubz4KIyAkRnJlZUJTRCQK
ClBPUlROQU1FPQlhenVyZS1zZGstZm9yLXB5dGhvbgpQT1JUVkVSU0lPTj0Jbi5ubi5ubgpDQVRF
R09SSUVTPQlkZXZlbCBweXRob24KIyBJbiBvcmRlciB0byB1c2UgR2l0SHViIHlvdXIgcG9ydCBt
dXN0IGRlZmluZSBVU0VfR0lUSFVCIGFuZCB0aGUgZm9sbG93aW5nCiMgdmFyaWFibGVzOgojCiMg
R0hfQUNDT1VOVCAgICAtIGFjY291bnQgbmFtZSBvZiB0aGUgR2l0SHViIHVzZXIgaG9zdGluZyB0
aGUgcHJvamVjdAojICAgICAgICAgICAgICAgICBkZWZhdWx0OiAke1BPUlROQU1FfQojCiMgR0hf
UFJPSkVDVCAgICAtIG5hbWUgb2YgdGhlIHByb2plY3Qgb24gR2l0SHViCiMgICAgICAgICAgICAg
ICAgIGRlZmF1bHQ6ICR7UE9SVE5B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bGxvd2luZyBhcyBleGFtcGxlcwpCVUlMRF9ERVBFTkRTPQkke1BZVEhP
Tl9QS0dOQU1FUFJFRklYfXBicj49MS44OmRldmVsL3B5LXBicgpSVU5fREVQRU5EUz0JJHtQWVRI
T05fUEtHTkFNRVBSRUZJWH1zaXg+PTEuOS4wOmRldmVsL3B5LXNpeCBcCgkJJHtQWVRIT05fUEtH
TkFNRVBSRUZJWH1zdGV2ZWRvcmU+PTEuMTcuMTpkZXZlbC9weS1zdGV2ZWRvcmUgXAoJCSR7UFlU
SE9OX1BLR05BTUVQUkVGSVh9a2V5c3RvbmVhdXRoMT49Mi4xNC4wOmRldmVsL3B5LWtleXN0b25l
YXV0aDEgXAoJCSR7UFlUSE9OX1BLR05BTUVQUkVGSVh9b3MtY2xpZW50LWNvbmZpZz49MS4yMi4w
OmRldmVsL3B5LW9zLWNsaWVudC1jb25maWcKClVTRVM9CQlweXRob24KVVNFX1BZVEhPTj0JZGlz
dHV0aWxzIGF1dG9wbGlzdCBub2VnZ2luZm8KTk9fQVJDSD0JeWVzCiMgSW4gY2FzZSB5b3UgYXJl
IHJlcXVpcmVkIHRvIHBhdGNoIGFueXRoaW5nIGlucGxhY2UKIyBub3RlIGFsc28gdGhlcmUgaXMg
YWxzbyBhIHByZS1wYXRjaCBhdmFpbGFibGUgc2hvdWxkIHlvdSBuZWVkIGl0CnBvc3QtcGF0Y2g6
CglAJHtSRUlOUExBQ0VfQ01EfSAtZSAncyxpbnN0YWxsX3JlcXVpcmVzLiosLCcgJHtXUktTUkN9
L3NldHVwLnB5CgouaW5jbHVkZSA8YnNkLnBvcnQubWs+
--BGblzZPyXIzuyHtYDZCYCPt81xrn0SxbHcOUlCG8KQOv30X9u1Rs4pyeuoci--





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