Bug 282284 - [NEW-PORT] www/py-frappe-bench: Frappe / ERPNext apps setup tool
Summary: [NEW-PORT] www/py-frappe-bench: Frappe / ERPNext apps setup tool
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: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-23 12:05 UTC by Xavier Beaudouin
Modified: 2024-10-23 13:59 UTC (History)
1 user (show)

See Also:


Attachments
git format-patch for py-frappe-bench (3.72 KB, patch)
2024-10-23 12:05 UTC, Xavier Beaudouin
no flags Details | Diff
update git-format patch (1.54 KB, text/plain)
2024-10-23 13:02 UTC, Xavier Beaudouin
no flags Details
git format-patch for py-frappe-bench (3.72 KB, patch)
2024-10-23 13:03 UTC, Xavier Beaudouin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Beaudouin 2024-10-23 12:05:49 UTC
Created attachment 254461 [details]
git format-patch for py-frappe-bench

This is port is a reborn of the port that have been removed because lack of maintainership. Requested by some user need it.

Syntax verified by portclippy and tested with poudriere on 14.1-p5.

Kind regards,
Xavier
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-10-23 12:18:16 UTC
Comment on attachment 254461 [details]
git format-patch for py-frappe-bench

>diff --git a/www/py-frappe-bench/Makefile b/www/py-frappe-bench/Makefile
>new file mode 100644
>index 000000000000..66105bc34820
>--- /dev/null
>+++ b/www/py-frappe-bench/Makefile
>@@ -0,0 +1,35 @@
>+PORTNAME=	frappe-bench
>+PORTVERSION=	5.22.9

It's better to use DISTVERSION. Only use PORTVERSION is there is a reason to (like a weird versioning scheme for example). Make sure to put DISTVERSIONPREFIX before DISTVERSION.

>diff --git a/www/py-frappe-bench/pkg-descr b/www/py-frappe-bench/pkg-descr
>new file mode 100644
>index 000000000000..39ed7e80edf5
>--- /dev/null
>+++ b/www/py-frappe-bench/pkg-descr
>@@ -0,0 +1,5 @@
>+The bench allows you to setup Frappe / ERPNext apps on

s/setup/set up/

Otherwise, looks OK.
Comment 2 Xavier Beaudouin 2024-10-23 13:02:21 UTC
Created attachment 254464 [details]
update git-format patch

New git format-patch with requested changes from Mateusz :)

Kind regards
Comment 3 Xavier Beaudouin 2024-10-23 13:03:30 UTC
Created attachment 254465 [details]
git format-patch for py-frappe-bench

New git format patch for py-frappe-bench (made some mess with other patches).
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-10-23 13:59:00 UTC
A commit in branch main references this bug:

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

commit e326c2d5146e11f7a4b23447bc27e3f4ced2ac88
Author:     Xavier Beaudouin <kiwi@oav.net>
AuthorDate: 2024-10-23 13:00:00 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-10-23 13:57:31 +0000

    www/py-frappe-bench: Frappe / ERPNext apps setup tool

    The bench allows you to set up Frappe / ERPNext apps on
    your local machine or a production server. You can use
    the bench to serve multiple frappe sites.

    PR:             282284
    Sponsored By:   Klara, Inc.

 www/Makefile                                       |  1 +
 www/py-frappe-bench/Makefile (new)                 | 35 ++++++++++++++++++++++
 www/py-frappe-bench/distinfo (new)                 |  3 ++
 .../files/patch-pyproject.toml (new)               | 11 +++++++
 www/py-frappe-bench/pkg-descr (new)                |  5 ++++
 5 files changed, 55 insertions(+)
Comment 5 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-10-23 13:59:22 UTC
Committed, thanks!