From nobody Wed Oct 23 13:58:16 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XYVxh68T2z5bGK3; Wed, 23 Oct 2024 13:58:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYVxh5f0Pz4kNW; Wed, 23 Oct 2024 13:58:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729691896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tBuQbL0CRNBQZNO59uSPYkS3+Bubw0qR8MJNJLPZTSQ=; b=NhZI6jG7UTYXd8hddBEEQOSQoNAkMHzaRQiZdum/UkEHQlZ4XmqNkMy2UrWr5dE505oRde OIgzAP1GHxrJD7t+YUFfHMalkSjkyQ3QeHQADlFgxBY/7Ukl2nCzVdK8PAP0Ir2mINbTZp XK97tFfdksPtM5hQ2DrjgZ5yI4Ts1h8gilQHOOb8C33XKDPVEbrTvkgQxmoo0jBA5YyA4o +t8V8ucqiZwjFNiWW9cvJZfKVKDw+HIHeJN741jfOhKZZ61m3V6CCf26vLceiarf9vPIVm 6WHQs3KekTYOcNwdeme3w4OG5XjQhvm9HG+7TT2NhxQAJx5c1Ttsnn9Y9VsJcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729691896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tBuQbL0CRNBQZNO59uSPYkS3+Bubw0qR8MJNJLPZTSQ=; b=ZiUGiB8oF1Ds8IjDoIUWuuokIpPfp7RwYNyPw6ffNoe938hGF6QwQNR9dpc6YJMLOCVWH0 D1/pqkOB2hXcIoOi8xvkSWd4gYfaM6S4b+IOttABQz1QYheVeXjh/O6TRwHnN8UMMq/urD 3cfRk1J1z8fNFtDZGSd8Ix1a8N0sEFuycvkbpETd2KxPzjmriaWh92v9MHRyaQz1G7n8E1 eYg1jRgW97xu7UDpuoFombftOCYaq4vtFOcqpKEtUUx7LNFj2S2s4ZqENYMbRRnRS+siXI 5Ur9i2M01vArRM0lQFKeBflHMq/dZZJ4gKQGhJoxI2p6tSmjdqdIaUuyMzux1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729691896; a=rsa-sha256; cv=none; b=eHhp/kXnXH/5/MDD/yZYm2Wv04m4p5cqbcFbLW6D6yvqx0NmUl36KM1BaD4TbaZ7a8ySX7 soVTq49fMscjnUb1j5Y1BA2/jSWv37DelTm3FySVl1VUKr2Bszbn0aEMLFlgGCNOdtvsk6 YSRkDWBnKbgfJug42rm19ObjHEPaj1rj6LAZr3dnAApBZbo1rIB3YaY/ZujpT4k/z0s0+b eDNVpi+4gVQOtGTg3GF1sob/RC6nYGiHLG9iVFQH0wUQZo7FC6hg4xTNpKD1wO/Lf2Ddu9 YbKyuD22p88B8f1HEFp1b68A3+83I4btkzU+hndeqMSK6xjRpCxzv6xvoForfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XYVxh51bfz11D9; Wed, 23 Oct 2024 13:58:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49NDwGUf060509; Wed, 23 Oct 2024 13:58:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49NDwGaB060506; Wed, 23 Oct 2024 13:58:16 GMT (envelope-from git) Date: Wed, 23 Oct 2024 13:58:16 GMT Message-Id: <202410231358.49NDwGaB060506@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: e326c2d5146e - main - www/py-frappe-bench: Frappe / ERPNext apps setup tool List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e326c2d5146e11f7a4b23447bc27e3f4ced2ac88 Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=e326c2d5146e11f7a4b23447bc27e3f4ced2ac88 commit e326c2d5146e11f7a4b23447bc27e3f4ced2ac88 Author: Xavier Beaudouin 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 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