Bug 248336

Summary: devel/py-oci: update to 2.19.0
Product: Ports & Packages Reporter: Alessandro Sagratini <ale_sagra>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape, lwhsu, meta
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/oracle/oci-python-sdk/releases/tag/v2.19.0
Attachments:
Description Flags
update of distinfo and port version
ale_sagra: maintainer-approval+
trivial update of distinfo and port version ale_sagra: maintainer-approval+

Description Alessandro Sagratini 2020-07-28 17:31:16 UTC
update of distinfo and port version
Comment 1 Alessandro Sagratini 2020-07-28 17:34:33 UTC
Created attachment 216843 [details]
update of distinfo and port version
Comment 2 Fernando ApesteguĂ­a freebsd_committer freebsd_triage 2020-07-29 06:24:57 UTC
Thanks for the patch.

Can you check it applies cleanly:

Patching file Makefile using Plan A...
patch: **** malformed patch at line 8:

Cheers
Comment 3 Alessandro Sagratini 2020-07-29 11:43:03 UTC
Hello Fernando,
thanks for getting back to me, I see the patch is applying fine for me, let me update the file again just in case current one is corrupted.

patch -p0 --dry-run < /tmp/2.19.0-py-oci.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN /usr/ports/devel/py-oci/Makefile py-oci/Makefile
|--- /usr/ports/devel/py-oci/Makefile	2020-07-22 09:46:08.000000000 +0000
|+++ py-oci/Makefile	2020-07-28 17:29:11.906769000 +0000
--------------------------
Patching file /usr/ports/devel/py-oci/Makefile using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN /usr/ports/devel/py-oci/distinfo py-oci/distinfo
|--- /usr/ports/devel/py-oci/distinfo	2020-07-22 09:46:08.000000000 +0000
|+++ py-oci/distinfo	2020-07-28 17:29:13.051684000 +0000
--------------------------
Patching file /usr/ports/devel/py-oci/distinfo using Plan A...
Hunk #1 succeeded at 1.
done

Thank you
Comment 4 Alessandro Sagratini 2020-07-29 11:43:10 UTC
Hello Fernando,
thanks for getting back to me, I see the patch is applying fine for me, let me update the file again just in case current one is corrupted.

patch -p0 --dry-run < /tmp/2.19.0-py-oci.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN /usr/ports/devel/py-oci/Makefile py-oci/Makefile
|--- /usr/ports/devel/py-oci/Makefile	2020-07-22 09:46:08.000000000 +0000
|+++ py-oci/Makefile	2020-07-28 17:29:11.906769000 +0000
--------------------------
Patching file /usr/ports/devel/py-oci/Makefile using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN /usr/ports/devel/py-oci/distinfo py-oci/distinfo
|--- /usr/ports/devel/py-oci/distinfo	2020-07-22 09:46:08.000000000 +0000
|+++ py-oci/distinfo	2020-07-28 17:29:13.051684000 +0000
--------------------------
Patching file /usr/ports/devel/py-oci/distinfo using Plan A...
Hunk #1 succeeded at 1.
done

Thank you
Comment 5 Alessandro Sagratini 2020-07-29 11:44:04 UTC
Created attachment 216861 [details]
trivial update of distinfo and port version
Comment 6 Fernando ApesteguĂ­a freebsd_committer freebsd_triage 2020-07-29 12:32:52 UTC
(In reply to Alessandro Sagratini from comment #4)
This one applies, thank you.

Both patches were different. The new one has a tab after PORTNAME= while the bad one has spaces. diff shows more differences, but the important thing is that this one applies.

Thanks for the quick response!
Comment 7 commit-hook freebsd_committer freebsd_triage 2020-08-04 03:12:29 UTC
A commit references this bug:

Author: lwhsu
Date: Tue Aug  4 03:11:35 UTC 2020
New revision: 544129
URL: https://svnweb.freebsd.org/changeset/ports/544129

Log:
  Update to 2.19.0

  PR:		248336
  Submitted by:	Alessandro Sagratini <ale_sagra@hotmail.com> (maintainer)

Changes:
  head/devel/py-oci/Makefile
  head/devel/py-oci/distinfo