From nobody Wed May 22 13:57:30 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 4VktCt674Lz5LmC5; Wed, 22 May 2024 13:57:30 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VktCt4fx8z4Cgr; Wed, 22 May 2024 13:57:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716386250; 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=MWCVY3UlOtZlKaU47Mqmgl99Ikl/dM3YpyrMJoo3rXk=; b=GpNNRx5shoSElcrwD+OlRZK2ZoumYiwrbeWqeMfMfNuBioBTBhgY0hHuDI5cPyPCVLRgqG xTKCrd+RIQ7HnYOnzdhFg16C19n6dqbyJEqLe7dzvB2GfJTdcBstrNHiyQ8i+SLbR9Q3p0 6dNhAdQ1CmJM1L8Xd0YkkxLid6vPw8v5H/wG8FWCQcI23JmzAQkpwMF0j6w5lQLEhmRkH5 mD/HnVzZXzs3IUPRwFX+LyJY8brhM6dD+hprV68TTpVK9h80MIW8mntFlVE7eEEPpKi66V wtaMdfnBWXBM7X+YG3Pq8BPCU4EH5kUvlPzWZrJNNn7F7VEwC77XhTkNLEgA0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716386250; a=rsa-sha256; cv=none; b=gy57zqrU2fDN0gTu1Civ7Ai+ohCCGI1UsKeqRVuht7Kq8i2WYz0t/LIQ/XLORE9pT8tOIc k670Nf9Fd9kYVxn+LAx5mEUzeEwFzXHS4oL7gbdRRrWn4Tzd2vPdFG/+aWoEuNCpqDRNkq r1FHVmHhP+vMexvL3/vOmPR1JBtuVBpCINRhbl+5FextCkEZGzy7phaFU0j0eRrshUBgbh EsVkgDirN0L9Z0oBY0vKnUC2zSGiM+pEAFgMafRbS4SvNqNLjXXbjGjyU92Jr7UKPODQp+ O8YETxedv4cEnJwKa/UL9eGuuxAyne3bRDoB7gekEl9lQfgK74fNzfNaTCvoDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716386250; 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=MWCVY3UlOtZlKaU47Mqmgl99Ikl/dM3YpyrMJoo3rXk=; b=OTeX4irrQL9JM1xCEtGQXuUgUJmOxHKgrvWJZ2Xp2Tmf+grknrCTjzCZzwMh0fUfkNjqO+ w0iwhG9Wi/71BRq02ZAwGa9Vx7ljTdRUsJzBjdxnacO+Fo/ZcE0fVlL+tTXzNZ+67Ep44K UKkCyK7khgGGO4RX9iva79sifXH7Vl4XB8LBClv5/MfFTuK0eKKtuEPOroz4au0SbV7mgg +V8DKJXV7sESdCn7+kW2bCLJYNlkEVjhjIXfOPH25lC/pQ2EcKA5obeSyMylymSF8hvroY vQGC5HH6dblFQI+GGNGEasjJ+XpRv8XArb1MDtQ7ou/jRcoYu+ZFItrQLtZOdQ== 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 4VktCt3shtz17Pr; Wed, 22 May 2024 13:57:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44MDvUSY051082; Wed, 22 May 2024 13:57:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44MDvUM6051079; Wed, 22 May 2024 13:57:30 GMT (envelope-from git) Date: Wed, 22 May 2024 13:57:30 GMT Message-Id: <202405221357.44MDvUM6051079@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dave Cottlehuber Subject: git: 3b79ed749ee2 - main - www/py-streamlit: new port - turn data scripts into shareable web apps 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: dch X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b79ed749ee2a749ddd040d5e1875ab34253dd4e Auto-Submitted: auto-generated The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b79ed749ee2a749ddd040d5e1875ab34253dd4e commit 3b79ed749ee2a749ddd040d5e1875ab34253dd4e Author: Dave Cottlehuber AuthorDate: 2024-05-22 13:57:17 +0000 Commit: Dave Cottlehuber CommitDate: 2024-05-22 13:57:17 +0000 www/py-streamlit: new port - turn data scripts into shareable web apps --- misc/Makefile | 1 + www/Makefile | 1 + www/py-streamlit/Makefile | 36 ++++++++++++++++++++++++++++++++++++ www/py-streamlit/distinfo | 3 +++ www/py-streamlit/pkg-descr | 17 +++++++++++++++++ 5 files changed, 58 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 8d8b696dee82..746c8d91b560 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -501,6 +501,7 @@ SUBDIR += py-spdx-lookup SUBDIR += py-spdx-tools SUBDIR += py-spinners + SUBDIR += py-streamlit SUBDIR += py-synced-collections SUBDIR += py-tes SUBDIR += py-tflearn diff --git a/www/Makefile b/www/Makefile index 2fb285c57633..879ad489f782 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1845,6 +1845,7 @@ SUBDIR += py-sseclient SUBDIR += py-starlette SUBDIR += py-strawberry-graphql-django + SUBDIR += py-streamlit SUBDIR += py-swapper SUBDIR += py-textile SUBDIR += py-ticketutil diff --git a/www/py-streamlit/Makefile b/www/py-streamlit/Makefile new file mode 100644 index 000000000000..6ae167025016 --- /dev/null +++ b/www/py-streamlit/Makefile @@ -0,0 +1,36 @@ +PORTNAME= streamlit +DISTVERSION= 1.34.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dch@FreeBSD.org +COMMENT= Turn data scripts into shareable web apps in minutes, in pure python +WWW= https://streamlit.io/ + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}altair>0:graphics/py-altair@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.6,1:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyarrow>0:databases/py-pyarrow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tenacity>0:devel/py-tenacity@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}watchdog>0:devel/py-watchdog@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/www/py-streamlit/distinfo b/www/py-streamlit/distinfo new file mode 100644 index 000000000000..8b411c28a846 --- /dev/null +++ b/www/py-streamlit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1716368381 +SHA256 (streamlit-1.34.0.tar.gz) = 135a3b79a686b3132b73f204450ad6e889de04f3349d692925e09f0e21e74b52 +SIZE (streamlit-1.34.0.tar.gz) = 8142532 diff --git a/www/py-streamlit/pkg-descr b/www/py-streamlit/pkg-descr new file mode 100644 index 000000000000..fd85331396e9 --- /dev/null +++ b/www/py-streamlit/pkg-descr @@ -0,0 +1,17 @@ +Streamlit builds upon three simple principles: + +Embrace scripting: + +Build an app in a few lines of code with our magically simple API. Then +see it automatically update as you iteratively save the source file. + +Weave in interaction: + +Adding a widget is the same as declaring a variable. No need to write a +backend, define routes, handle HTTP requests, connect a frontend, write +HTML, CSS, JavaScript. + + +Deploy instantly: + +Effortlessly share, manage and deploy your apps, directly from Streamlit.