From nobody Mon Oct 14 00:39:42 2024 X-Original-To: dev-commits-ports-all@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 4XRdfR0GLLz5YqFf; Mon, 14 Oct 2024 00:39:43 +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 4XRdfQ5Ydgz44PX; Mon, 14 Oct 2024 00:39:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728866382; 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=fDkun7QVenlUnfhR0dUXteQ6d3YM60v+5YHgR6DuYaM=; b=oE9GtudNWL5JmD1Z1bPXWu2bFwrSXMgWtLad0P7olEQvciB87UFoQBXGTuBG9CiiyDLMlV OD4j3BWJ1SlMjSkgEdTp+UGyF1qw9h9muf939rTFS/Lx3whhTWLIgTmg4z8MRwkS0+aGPp saxeQ5sY864lja2jVxHymLP6NsH9FzMIVYdwoP4WrBdjPJIFmiNc0rpf0dz1+mlTO2HnvE v/Orts4eDXdqOkj49UWQmjyXCSP+/6qwQuHIU5YGlRn4iJij+lzuHWYkmQ7PgiWHm5vaSL NLUQ5zmg3wAzWoX4Xj/D524D9ml0+ZZ9B9REjOaEpHbHbIhTDOnzJkhhJz+iFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728866382; 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=fDkun7QVenlUnfhR0dUXteQ6d3YM60v+5YHgR6DuYaM=; b=ZBs0Wd7V6rNJu5ssqwsh7vGsSZ1FMP2sD64rV3rod2hDBHTIsXaRwW76pNnVa2xfLDAP0s AEAys7LOgYFKbs0RJRw3TrqBArhJDbrI/LVh176ma5IJxeCNlI9Tzczph6Ava/v/4bCMfV IcMEzVM81BjUVohK5dcMpRQiC57hobaQuf4/ADOGFfowmTwS9HPzgoNZIIhdQmnF500l3G 1P1JBbin5ngewf/I4O2OCMV3bKWu7VjCU+oBAcEeNgKUZSG7DGYcIMazT87vlw9onUdJZf 4e/+8OI2n3Fbc86BmmZwuwMuEndi+Hn79Ch8XAmVKNr9snm/+MlvpMCnBnu/4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728866382; a=rsa-sha256; cv=none; b=Z3nZVWlVWTgh/T8X7pUKGeRUXk56pb/N6DJDZidZcdys46dpc4Uiyp50adQ1RliggE5Is+ o24WBvs5X+mFEYJH9mRUR1Hn4HvYWtZmwQnSX5N/3SE7nr4TBCFrOt/ada0yWNU1h0U1r8 K1x3qpsqdKwqqgH0rb8E/O368i+iOgK9vmi5Ij4P3Pvn2jlH5mbA5v8kkB2asWv0iMEIBp 9JyW5GTWijTy+z9BaGdZXwulVaS9EVyiZOSHhtYnnPt2FPEpdC8InhRmd/kntyktY9hNBc QnnzfHXs3MlkE4mLO3WX6oU7Q2amg08wzwjTKigzrNM/mZduicsS1LPv07E0HQ== 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 4XRdfQ3bWBzGky; Mon, 14 Oct 2024 00:39:42 +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 49E0dgOW052187; Mon, 14 Oct 2024 00:39:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E0dgNg052184; Mon, 14 Oct 2024 00:39:42 GMT (envelope-from git) Date: Mon, 14 Oct 2024 00:39:42 GMT Message-Id: <202410140039.49E0dgNg052184@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 306632abd1dd - main - www/py-freenit: Update 0.3.3 =?utf-8?Q?=E2=86=92?= 0.3.5 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 306632abd1ddd0cac0229cb6a2436a0e943b60d3 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=306632abd1ddd0cac0229cb6a2436a0e943b60d3 commit 306632abd1ddd0cac0229cb6a2436a0e943b60d3 Author: Goran Mekić AuthorDate: 2024-10-14 00:37:20 +0000 Commit: Vladimir Druzenko CommitDate: 2024-10-14 00:37:20 +0000 www/py-freenit: Update 0.3.3 → 0.3.5 Changelogs: https://github.com/freenit-framework/backend/releases/tag/0.3.4 https://github.com/freenit-framework/backend/releases/tag/0.3.5 Fix start script. Pet portclippy. PR: 282020 --- www/py-freenit/Makefile | 5 +++-- www/py-freenit/distinfo | 6 +++--- www/py-freenit/files/freenit.in | 12 ++++-------- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/www/py-freenit/Makefile b/www/py-freenit/Makefile index 0e9ac86de410..94275a933bd8 100644 --- a/www/py-freenit/Makefile +++ b/www/py-freenit/Makefile @@ -1,5 +1,5 @@ PORTNAME= freenit -DISTVERSION= 0.3.3 +DISTVERSION= 0.3.5 CATEGORIES= www devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -25,8 +25,9 @@ USES= python USE_PYTHON= autoplist concurrent pep517 pytest USE_RC_SUBR= freenit -TEST_ENV= PYTHONPATH=${WRKSRC}/src TEST_ARGS= --ignore=${PORTNAME}/project +TEST_ENV= PYTHONPATH=${WRKSRC}/src + NO_ARCH= yes SUB_LIST= PYTHON_VER=${PYTHON_VER} diff --git a/www/py-freenit/distinfo b/www/py-freenit/distinfo index a4485617285b..d570480932e2 100644 --- a/www/py-freenit/distinfo +++ b/www/py-freenit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1715669629 -SHA256 (freenit-0.3.3.tar.gz) = bbcadbaa97a8d1bce65ecce062f17acbf6b37eb1bdbd70b32f1c8e87af6f983b -SIZE (freenit-0.3.3.tar.gz) = 25508 +TIMESTAMP = 1728840766 +SHA256 (freenit-0.3.5.tar.gz) = d0ccbe2be60f1b7fa3ca7d9ac6c463a7a1d37dc2f14a7b628efdcf98751cdbd2 +SIZE (freenit-0.3.5.tar.gz) = 25214 diff --git a/www/py-freenit/files/freenit.in b/www/py-freenit/files/freenit.in index c3e59410873c..59d56dd7c803 100644 --- a/www/py-freenit/files/freenit.in +++ b/www/py-freenit/files/freenit.in @@ -16,21 +16,17 @@ load_rc_config $name : ${freenit_host:="0.0.0.0"} : ${freenit_port:="8000"} : ${freenit_module:="main:app"} +: ${freenit_user:="www"} pidfile="/var/run/${name}.pid" start_cmd="${name}_start" procname="%%PREFIX%%/bin/python%%PYTHON_VER%%" freenit_start() { - echo -n "Starting ${name} ... " + startmsg -n "Starting ${name}" cd "${freenit_project_root}" - /usr/sbin/daemon -p "${pidfile}" -S "%%PREFIX%%/bin/uvicorn" --host "${freenit_host}" --port "${freenit_port}" --workers "${freenit_workers}" "${freenit_module}" - status=$? - if [ "${status}" = "0" ]; then - echo "done" - else - echo "failed!" - fi + /usr/sbin/daemon -u "${freenit_user}" -p "${pidfile}" -S "%%PREFIX%%/bin/uvicorn" --host "${freenit_host}" --port "${freenit_port}" --workers "${freenit_workers}" "${freenit_module}" + startmsg "." } run_rc_command $*