Bug 279782 - devel/iniparser: Update to 4.2.4
Summary: devel/iniparser: Update to 4.2.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: https://github.com/ndevilla/iniparser...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 09:36 UTC by Daniel Engberg
Modified: 2024-06-16 16:39 UTC (History)
0 users

See Also:
eduardo: maintainer-feedback+


Attachments
Patch for iniparser (2.42 KB, patch)
2024-06-16 09:36 UTC, Daniel Engberg
eduardo: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-06-16 09:36:33 UTC
Created attachment 251496 [details]
Patch for iniparser

Switch to CMake which cleans up port and makes it more friendly for other consumers

Compile tested on FreeBSD 14.0-RELEASE (amd64) (make, make check-plist)

Poudriere testport OK 13.2-RELEASE (amd64)
Poudriere testport OK 14.1-RELEASE (amd64)
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2024-06-16 10:41:34 UTC
Hello Daniel,

Thanks!
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2024-06-16 11:11:35 UTC
Ahh, you can rip ou the TEST_DEPENDS as it now requires unity which we dont seem to have ported...

https://github.com/ndevilla/iniparser/blob/main/test/CMakeLists.txt#L27

https://github.com/throwtheswitch/unity

Best regards,
Daniel
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2024-06-16 11:20:36 UTC
(In reply to Daniel Engberg from comment #2)

Ok.

documentation talks about tests:

mkdir build
cd build
cmake -DBUILD_TESTS ..
make all

amaybe we shoud try cmake:testing to check if it works
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2024-06-16 11:42:33 UTC
It doesn't because it can't find unity
Comment 5 Nuno Teixeira freebsd_committer freebsd_triage 2024-06-16 12:07:30 UTC
(In reply to Daniel Engberg from comment #4)

Ok, please commit it without test dep then.
I will take a look at unity test and see if it is worth to be ported.

Cheers
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-06-16 16:38:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d96527a928006f4b8f76ffa3d65c695168d9905

commit 9d96527a928006f4b8f76ffa3d65c695168d9905
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-06-16 16:32:25 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-06-16 16:35:53 +0000

    devel/iniparser: Update to 4.2.4

    * Switch to CMake which cleans up Makefile and makes port more easily
      available for consumers
    * Drop "make test" due to new and unported dependencies

    Changelog: https://github.com/ndevilla/iniparser/releases/tag/v4.2.4

    PR:             279782
    Reviewed by:    eduardo (maintainer)

 devel/iniparser/Makefile        | 27 +++++++++------------------
 devel/iniparser/distinfo        |  6 +++---
 devel/iniparser/pkg-plist (new) | 13 +++++++++++++
 3 files changed, 25 insertions(+), 21 deletions(-)
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2024-06-16 16:39:36 UTC
Committed, thanks!