Created attachment 255910 [details] trivial update of Makefile and distinfo * oci-cli Changelog: https://github.com/oracle/oci-cli/releases/tag/v3.51.0 * py-oci Changelog: https://github.com/oracle/oci-python-sdk/releases/tag/v2.141.0
oci-cli-3.51.0.tar.gz is not availble. ===> License APACHE20 UPL accepted by the user ===> py311-oci-cli-3.51.0 depends on file: /usr/local/sbin/pkg - found => oci-cli-3.51.0.tar.gz doesn't seem to exist in /home/meta/FreeBSD/ports/git/distfiles/. => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/oci-cli-3.51.0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/oci-cli-3.51.0.tar.gz: Not Found => Attempting to fetch https://files.pythonhosted.org/packages/source/o/oci-cli/oci-cli-3.51.0.tar.gz fetch: https://files.pythonhosted.org/packages/source/o/oci-cli/oci-cli-3.51.0.tar.gz: Not Found => Attempting to fetch https://pypi.org/packages/source/o/oci-cli/oci-cli-3.51.0.tar.gz fetch: https://pypi.org/packages/source/o/oci-cli/oci-cli-3.51.0.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this
Hello @meta, what I found out is that oci-cli has been renamed upstream to oci_cli, with an underscore: any objections to renaming the port accordingly? It sohuld be pyXX-oci_cli instead of pyXX-oci-cli Thank you, Alessandro
the project being renamed happened from 3.50.2 and 3.50.3 versions: https://pypi.org/project/oci-cli/3.50.2/#files https://pypi.org/project/oci-cli/3.50.3/#files
(In reply to Alessandro Sagratini from comment #2) IMO, we need not to rename the port right now but we can fetch underscored tarball.
Created attachment 255945 [details] trivial update of Makefile and distinfo: I am also renaming oci-cli to oci_cli Thanks Koichiro! I uploaded a new patch to also rename oci-cli to oci_cli, let me know if you have any feedback
Suck, upstream uses underscore for tarball but the directory inside tarball still uses hyphen. I'll try to address, leave it to me. % tar ztf /usr/ports/distfiles/oci_cli-3.51.0.tar.gz | head oci-cli-3.51.0/ oci-cli-3.51.0/THIRD_PARTY_LICENSES.txt oci-cli-3.51.0/src/ oci-cli-3.51.0/src/oci_cli/ oci-cli-3.51.0/src/oci_cli/util/ oci-cli-3.51.0/src/oci_cli/util/pymd5.py oci-cli-3.51.0/src/oci_cli/util/__init__.py
Created attachment 255946 [details] 0001-devel-oci-cli.patch Here, it addresses the odd upstream naming of the tarball without renaming the port. This patch applies to your first patch. What do you think?
Comment on attachment 255946 [details] 0001-devel-oci-cli.patch it looks good, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=144615400f7cfcfa8fcfe1f2063cbb23b57c3fb9 commit 144615400f7cfcfa8fcfe1f2063cbb23b57c3fb9 Author: Alessandro Sagratini <alessandro.sagratini@gmail.com> AuthorDate: 2024-12-17 08:32:06 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2024-12-19 08:59:12 +0000 devel/{py-oci,oci-cli}: update to 2.141.0 / 3.51.0 PR: 283377 devel/oci-cli/Makefile | 4 ++-- devel/oci-cli/distinfo | 6 +++--- devel/py-oci/Makefile | 2 +- devel/py-oci/distinfo | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=67bfbfb425d7ae1bb4febb9bdc5260775fc12517 commit 67bfbfb425d7ae1bb4febb9bdc5260775fc12517 Author: Koichiro Iwao <meta@FreeBSD.org> AuthorDate: 2024-12-19 08:35:30 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2024-12-19 08:59:12 +0000 devel/oci-cli: address the odd upstream naming of the tarball PR: 283377 Approved by: Alessandro Sagratini (maintainer) devel/oci-cli/Makefile | 7 +++++++ devel/oci-cli/distinfo | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-)
Committed with minor modifications, thanks!