Hello, I am proposing to add oci-cli to the ports tree as it might be useful to a few user. I am also attaching log files that were created during port testing [1] [1] https://docs.freebsd.org/en/books/porters-handbook/testing/
Created attachment 232883 [details] make describe
Created attachment 232884 [details] shar file
Created attachment 232885 [details] port test
Created attachment 232886 [details] portlint
Created attachment 232887 [details] poudriere
You have USE_PYTHON=autoplist concurrent distutils noflavors I don't think noflavors is useful here. distutils implies flavors, which creates a flavor for the default versions of python2 and python3. This port is python3 only, so there is only ever one flavor. A similar argument could be made for concurrent, but there could be situations where changes to DEFAULT_VERSIONS could result in e.g., both oci-cli-py38 and oci-cli-py39 being installed, so lets leave it. I think we also want PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX}. No need to submit an updated patch/shar. Just let me know whether I'm missing some valid reason for your choices. If not, we can proceed. Oh, did you run-time test this?
"Oh, did you run-time test this?" Yes, and it works. @Joseph Mingrone
Created attachment 232906 [details] example output
I am attaching an example output to confirm everything is working when package is installed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=28504b62bfab211394387d5c5e7ca2135a714a58 commit 28504b62bfab211394387d5c5e7ca2135a714a58 Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2022-04-02 19:29:00 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2022-04-02 19:29:51 +0000 devel/oci-cli: New port for Oracle Cloud CLI WWW: https://github.com/oracle/oci-cli/ PR: 262997 (with modification) Sponsored by: The FreeBSD Foundation Submitted by: Alessandro Sagratini <ale_sagra@hotmail.com> devel/Makefile | 1 + devel/oci-cli/Makefile (new) | 36 ++++++++++++++++++++++++++++++++ devel/oci-cli/distinfo (new) | 3 +++ devel/oci-cli/files/patch-setup.py (new) | 23 ++++++++++++++++++++ devel/oci-cli/pkg-descr (new) | 4 ++++ 5 files changed, 67 insertions(+)
Thank you. Please re-open if there are any problems.
A commit in branch 2022Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c1944bd93df312c287d2466c65ee3cb56af7c2bd commit c1944bd93df312c287d2466c65ee3cb56af7c2bd Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2022-04-02 19:29:00 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-06-02 19:30:40 +0000 devel/oci-cli: New port for Oracle Cloud CLI WWW: https://github.com/oracle/oci-cli/ PR: 262997 (with modification) Sponsored by: The FreeBSD Foundation Submitted by: Alessandro Sagratini <ale_sagra@hotmail.com> (cherry picked from commit 28504b62bfab211394387d5c5e7ca2135a714a58) devel/Makefile | 1 + devel/oci-cli/Makefile (new) | 36 ++++++++++++++++++++++++++++++++ devel/oci-cli/distinfo (new) | 3 +++ devel/oci-cli/files/patch-setup.py (new) | 23 ++++++++++++++++++++ devel/oci-cli/pkg-descr (new) | 4 ++++ 5 files changed, 67 insertions(+)