From nobody Thu Nov 21 13:40:55 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 4XvKBH3Lrvz5d30P; Thu, 21 Nov 2024 13:40:55 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvKBH27Tsz4Kk3; Thu, 21 Nov 2024 13:40:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732196455; 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=6H4g3M5+MSIS+AZZUqzIzfbgaESqlQPhePrsoFA0e5c=; b=bCPk7NWTJeJPeC0PnnaXmTrL0iYd8pdAWAbe/veHlFxb1J6lm6CQLyH56Bvl5NprvQlpeq WmPZ5kSozN1ndFNslCt7XePZLPXxqCyyMWWLseIQtEYHZyKX1l3ZxuF+/Y0LsHv6rOqgLx niQi5SF+KyXdNL4AuW9TZmmjbU4lefBw1sK1d/fsJzl3bJ4vw4bxaKQ3hPhyIOEISxYtQm bGry+pZ25YwO/4M7E9AnMg3Lm2muCaPGIVz/olfThbn26QagzsvH8DvpRFJHnhz1piY1cQ fy291iRr3NWAziXwXAHvyx+VnyPbRL7n6hrm3ezUfI18G29eWIS3sqvljqGEHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732196455; 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=6H4g3M5+MSIS+AZZUqzIzfbgaESqlQPhePrsoFA0e5c=; b=JEbaz0Wxvs/8sVQ+FxZ863Vgz4oLqOE6sSSV9db/f9/mSzv373D00ZvYbHXkwKXp1/G9nL 2B4psw8oMrmLwo72+H1hnpfftHZz/haST6fC3C+OaLj4GC8qN+Ne1OwZeMU0MVz7wAiBLK uQdwz8ca9dO8Bm7Nbj6pQ8rqclaUpLvYW7pspPtL416h89JjKGFsRiSyzBlkNeyjnVjeGM 3xkpwKjMhuSt6qRUgV/R8RffhEXtCHwwRZPSO9yS0P94PlYIkcXFqf0zMYaP1l6hjINe7U H1La3e5NR7z+Z00Wzr12fhR1cp9uly5sClmuAU/ukq/IcpuSZ0QKWABdRROatg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732196455; a=rsa-sha256; cv=none; b=QrkyzDqPuTAFVt8SX33IbIY6jpcaz5aBkHibs7uBO3VAkFJ5AwgOS+AiVuk6hEhBZb2Akz NtK4AaxKPq52pFqZ3gICLcUWfXzzneY1u7U/vOScCeLlP5BchUELCfolSjG2vNAe61Z6Az MqBPPlErWiXxWdMJfh/pzsPFhgVn4/SE+FuYbQOe0cSSmyRXDoP2GZcJ75pwWzUlZRG3De OZcKLwPuv6GM79I9zeTrN+1XYalvSngoXaM//vjuS8dLkMF2Py7LLFkeVEep60hKLIHqT8 Axkc1YolvQ6DCn19Aow2anF+qzYMPU4pZye3GIhyCHbHKPTfY9aq+X2d6oF1gQ== 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 4XvKBH1lMrzh5H; Thu, 21 Nov 2024 13:40:55 +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 4ALDetDF008074; Thu, 21 Nov 2024 13:40:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ALDet4K008071; Thu, 21 Nov 2024 13:40:55 GMT (envelope-from git) Date: Thu, 21 Nov 2024 13:40:55 GMT Message-Id: <202411211340.4ALDet4K008071@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: fba7925ed0b4 - main - www/py-dash: Add py-dash 2.18.2 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fba7925ed0b4e57f140a6ee28e0ae81dfde5b138 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fba7925ed0b4e57f140a6ee28e0ae81dfde5b138 commit fba7925ed0b4e57f140a6ee28e0ae81dfde5b138 Author: Po-Chuan Hsieh AuthorDate: 2024-11-21 13:18:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-11-21 13:37:52 +0000 www/py-dash: Add py-dash 2.18.2 Dash is the most downloaded, trusted Python framework for building ML & data science web apps. Built on top of Plotly.js, React and Flask, Dash ties modern UI elements like dropdowns, sliders, and graphs directly to your analytical Python code. --- www/Makefile | 1 + www/py-dash/Makefile | 33 ++++++++++++++++++++++++ www/py-dash/distinfo | 3 +++ www/py-dash/files/patch-requirements-install.txt | 13 ++++++++++ www/py-dash/pkg-descr | 5 ++++ 5 files changed, 55 insertions(+) diff --git a/www/Makefile b/www/Makefile index a032fe23d8c5..7f7e4154a7a0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1497,6 +1497,7 @@ SUBDIR += py-cssselect SUBDIR += py-cssutils SUBDIR += py-daphne + SUBDIR += py-dash SUBDIR += py-dj-database-url SUBDIR += py-dj50-django-auth-ldap SUBDIR += py-dj50-django-choices-field diff --git a/www/py-dash/Makefile b/www/py-dash/Makefile new file mode 100644 index 000000000000..46230bdd381c --- /dev/null +++ b/www/py-dash/Makefile @@ -0,0 +1,33 @@ +PORTNAME= dash +PORTVERSION= 2.18.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python framework for building reactive web-apps +WWW= https://plotly.com/dash/ \ + https://dash.plotly.com/ \ + https://github.com/plotly/dash + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=1.0.4<3.1:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nest-asyncio>=0:devel/py-nest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}plotly>=5.0.0:graphics/py-plotly@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}retrying>=0:devel/py-retrying@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.1:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/www/py-dash/distinfo b/www/py-dash/distinfo new file mode 100644 index 000000000000..a62536af5ad8 --- /dev/null +++ b/www/py-dash/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1731679138 +SHA256 (dash-2.18.2.tar.gz) = 20e8404f73d0fe88ce2eae33c25bbc513cbe52f30d23a401fa5f24dbb44296c8 +SIZE (dash-2.18.2.tar.gz) = 7457235 diff --git a/www/py-dash/files/patch-requirements-install.txt b/www/py-dash/files/patch-requirements-install.txt new file mode 100644 index 000000000000..9132603d8fd0 --- /dev/null +++ b/www/py-dash/files/patch-requirements-install.txt @@ -0,0 +1,13 @@ +--- requirements/install.txt.orig 2024-09-09 21:47:15 UTC ++++ requirements/install.txt +@@ -1,9 +1,6 @@ Flask>=1.0.4,<3.1 + Flask>=1.0.4,<3.1 +-Werkzeug<3.1 ++Werkzeug + plotly>=5.0.0 +-dash_html_components==2.0.0 +-dash_core_components==2.0.0 +-dash_table==5.0.0 + importlib-metadata + typing_extensions>=4.1.1 + requests diff --git a/www/py-dash/pkg-descr b/www/py-dash/pkg-descr new file mode 100644 index 000000000000..7cafe0091b61 --- /dev/null +++ b/www/py-dash/pkg-descr @@ -0,0 +1,5 @@ +Dash is the most downloaded, trusted Python framework for building ML & data +science web apps. + +Built on top of Plotly.js, React and Flask, Dash ties modern UI elements like +dropdowns, sliders, and graphs directly to your analytical Python code.