Page MenuHomeFreeBSD

[new ports] www/py-azure and associated ports: Microsoft Azure Client Libraries for Python
AbandonedPublic

Authored by dbn on Aug 10 2018, 10:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 15 2024, 12:12 AM
Unknown Object (File)
Dec 20 2023, 1:09 AM
Unknown Object (File)
Nov 9 2023, 3:12 AM
Unknown Object (File)
Oct 19 2023, 9:58 PM
Unknown Object (File)
Oct 18 2023, 4:48 AM
Unknown Object (File)
Sep 16 2023, 9:43 AM
Unknown Object (File)
Sep 10 2023, 9:18 PM
Unknown Object (File)
Aug 31 2023, 9:20 AM
Subscribers

Details

Reviewers
None
Group Reviewers
Python
Summary

Create ports for all azure packages. Note that the below is actually:

  • www/py-azure/azure.mk
  • www/py-azure/pkg-descr

any everything generated by using a script.

This diff is also missing the following ports:

  • azure-cosmosdb-table
  • azure-datalake-store
  • azure-storage-blob
  • azure-storage-queue
  • azure-storage-file

and breaks www/py-azure-storage

Test Plan
  • exp-run

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

www/Makefile
47–48

This looks wrong, it was at the right place before.

1735

This was at the right place before.

2362

This was at the right place before.

www/py-azure/azure.mk
5

Set by the framework when using USE_GITHUB, remove.

21

Mmmm, none of the ports have pkg-descr.

linimon retitled this revision from www/py-azure: new port to [new ports] www/py-azure and associated ports: Microsoft Azure Client Libraries for Python.Aug 10 2018, 7:53 PM
dbn marked 2 inline comments as done.Aug 18 2018, 7:54 AM
dbn added inline comments.
www/Makefile
47–48

I used env LC_COLLATE=C sort. I see addport has use locale but I cannot see what locale it actually uses. Any suggestions? (Otherwise I'll just manually remove this diff)

www/py-azure/azure.mk
5

The GH_TAGNAME does not match DISTVERSIONFULL, thus DISTNAME is defined as {GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}-${GH_TAGNAME_SANITIZED}.

This fix allows all ports to share a single source file. However, I see there are PyPI sources available so I'll investigating using those.

21

Thanks for catching - the description file from upstream are horrible (for our use). I'm using a standard description file for all ports (available in py-azure)

dbn marked 4 inline comments as done.
dbn edited the summary of this revision. (Show Details)
dbn edited the test plan for this revision. (Show Details)
  • Switch to using PyPI
  • Remove the creation script
  • Remove azure-cognitiveservices-vision-face (no PyPI package and not a dependency on any port)
  • Manually change the version of azure-servicemanagement-legacy to align with PyPI
  • Manually restore the "unordered" items in www/Makefile
dbn marked 2 inline comments as done.Aug 18 2018, 8:54 AM
www/Makefile
47–48

The correct locale for sorting the Makefile is C. I clean them up regularly so I assumed this was wrong.

www/py-azure/azure.mk
21

There should be a different description for each port, describing, for each port, what it does.

dbn planned changes to this revision.Apr 7 2019, 4:52 PM

dbaio@ beat me to getting Azure CLI into ports :-)