git: e326c2d5146e - main - www/py-frappe-bench: Frappe / ERPNext apps setup tool
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Oct 2024 13:58:16 UTC
The branch main has been updated by 0mp: 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 | 35 ++++++++++++++++++++++++++ www/py-frappe-bench/distinfo | 3 +++ www/py-frappe-bench/files/patch-pyproject.toml | 11 ++++++++ www/py-frappe-bench/pkg-descr | 5 ++++ 5 files changed, 55 insertions(+) diff --git a/www/Makefile b/www/Makefile index 6bccad32f0d2..56f36004aaec 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1690,6 +1690,7 @@ SUBDIR += py-forcediphttpsadapter SUBDIR += py-formencode SUBDIR += py-fqdn + SUBDIR += py-frappe-bench SUBDIR += py-freenit SUBDIR += py-frozen-flask SUBDIR += py-gandi.cli diff --git a/www/py-frappe-bench/Makefile b/www/py-frappe-bench/Makefile new file mode 100644 index 000000000000..c6ab6d084070 --- /dev/null +++ b/www/py-frappe-bench/Makefile @@ -0,0 +1,35 @@ +PORTNAME= frappe-bench +DISTVERSIONPREFIX= v +DISTVERSION= 5.22.9 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kiwi@oav.net +COMMENT= Frappe / ERPNext apps setup tool +WWW= https://github.com/frappe/bench + +LICENSE= GPLv3 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semantic-version>0:devel/py-semantic-version@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gitpython>=1.0.1:devel/py-gitpython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}honcho>0:sysutils/py-honcho@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-crontab>0:sysutils/py-python-crontab@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ + git:devel/git + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= frappe +GH_PROJECT= bench +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-frappe-bench/distinfo b/www/py-frappe-bench/distinfo new file mode 100644 index 000000000000..fa2e91313bd8 --- /dev/null +++ b/www/py-frappe-bench/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1727357834 +SHA256 (frappe-bench-v5.22.9_GH0.tar.gz) = 47b1d42b16b5a4f1aadbb8ee0009f8f9795f618ee0c1b048c9fe33413c7a50ac +SIZE (frappe-bench-v5.22.9_GH0.tar.gz) = 121494 diff --git a/www/py-frappe-bench/files/patch-pyproject.toml b/www/py-frappe-bench/files/patch-pyproject.toml new file mode 100644 index 000000000000..8811eaa5f57c --- /dev/null +++ b/www/py-frappe-bench/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-09-27 13:44:50 UTC ++++ pyproject.toml +@@ -44,7 +44,7 @@ requires = [ + + [build-system] + requires = [ +- "hatchling>=1.6.0,<=1.21.0", ++ "hatchling>=1.6.0,<=1.30.0", + ] + build-backend = "hatchling.build" + diff --git a/www/py-frappe-bench/pkg-descr b/www/py-frappe-bench/pkg-descr new file mode 100644 index 000000000000..4513327c4160 --- /dev/null +++ b/www/py-frappe-bench/pkg-descr @@ -0,0 +1,5 @@ +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. + +WWW: https://github.com/frappe/bench