Bug 272850 - devel/lua-Penlight: New port
Summary: devel/lua-Penlight: New port
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 19:31 UTC by Mark Johnston
Modified: 2023-08-02 13:55 UTC (History)
1 user (show)

See Also:


Attachments
patch to add the library (3.66 KB, patch)
2023-07-31 19:31 UTC, Mark Johnston
no flags Details | Diff
patch (3.66 KB, patch)
2023-08-01 20:46 UTC, Mark Johnston
no flags Details | Diff
patch (3.65 KB, patch)
2023-08-01 20:51 UTC, Mark Johnston
no flags Details | Diff
Patch for penlight (3.40 KB, patch)
2023-08-01 22:17 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Johnston freebsd_committer freebsd_triage 2023-07-31 19:31:12 UTC
Created attachment 243752 [details]
patch to add the library

I've been using this library in an application that I'm developing, and have seen it used in a few other things, so a port seems appropriate.
Comment 1 Mark Johnston freebsd_committer freebsd_triage 2023-08-01 20:46:37 UTC
Created attachment 243783 [details]
patch

Updated based on some feedback from dizzy on IRC:
- PORTVERSION -> DISTVERSION
- use INSTALL_DATA and a global instead of COPYTREE_SHARE
Comment 2 Mark Johnston freebsd_committer freebsd_triage 2023-08-01 20:51:50 UTC
Created attachment 243785 [details]
patch

New version, avoid an unnecessary subshell.
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2023-08-01 20:56:38 UTC
Approved, Poudriere checkouts out fine
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2023-08-01 22:17:34 UTC
Created attachment 243786 [details]
Patch for penlight

Minor rearrangement of Makefile to make portlint happy
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-08-02 13:47:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=28ba2caafe9d05fbd9d8d561b2bf402f1cb3d44a

commit 28ba2caafe9d05fbd9d8d561b2bf402f1cb3d44a
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-07-31 19:05:59 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-08-02 13:40:56 +0000

    devel/lua-Penlight: New port

    Penlight is a handy set of pure Lua libraries inspired by the Python
    standard library.

    PR:             272850
    Approved by:    diizzy

 devel/Makefile                     |  1 +
 devel/lua-Penlight/Makefile (new)  | 27 ++++++++++++++++++++++++++
 devel/lua-Penlight/distinfo (new)  |  3 +++
 devel/lua-Penlight/pkg-descr (new) |  3 +++
 devel/lua-Penlight/pkg-plist (new) | 39 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 73 insertions(+)
Comment 6 Mark Johnston freebsd_committer freebsd_triage 2023-08-02 13:55:30 UTC
Thank you Daniel!