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)
Oct 6 2024, 3:35 AM
Unknown Object (File)
Oct 3 2024, 2:05 AM
Unknown Object (File)
Oct 2 2024, 8:43 PM
Unknown Object (File)
Oct 2 2024, 6:30 PM
Unknown Object (File)
Oct 1 2024, 12:11 AM
Unknown Object (File)
Sep 30 2024, 5:16 AM
Unknown Object (File)
Sep 28 2024, 9:36 AM
Unknown Object (File)
Sep 27 2024, 4:31 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
46–47

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

1736

This was at the right place before.

2363

This was at the right place before.

www/py-azure/azure.mk
4

Set by the framework when using USE_GITHUB, remove.

20

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
46–47

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
4

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.

20

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
46–47

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
20

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 :-)