Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2023 20:42:16 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f337a3fdd82f - main - devel/py-datasette: Add py-datasette 0.64.2
Message-ID:  <202304092042.339KgGE3094746@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f337a3fdd82fc70d0a0a8dabe6600ff44bf31d3d

commit f337a3fdd82fc70d0a0a8dabe6600ff44bf31d3d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 20:39:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 20:39:07 +0000

    devel/py-datasette: Add py-datasette 0.64.2
    
    Datasette is a tool for exploring and publishing data. It helps people take data
    of any shape or size and publish that as an interactive, explorable website and
    accompanying API.
    
    Datasette is aimed at data journalists, museum curators, archivists, local
    governments, scientists, researchers and anyone else who has data that they wish
    to share with the world.
---
 devel/Makefile                          |  1 +
 devel/py-datasette/Makefile             | 36 +++++++++++++++++++++++++++++++++
 devel/py-datasette/distinfo             |  3 +++
 devel/py-datasette/files/patch-setup.py | 10 +++++++++
 devel/py-datasette/pkg-descr            |  7 +++++++
 5 files changed, 57 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8764c7e68bed..a71171aa9af3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4493,6 +4493,7 @@
     SUBDIR += py-dataclasses-json
     SUBDIR += py-datadog
     SUBDIR += py-datapackage
+    SUBDIR += py-datasette
     SUBDIR += py-datatest
     SUBDIR += py-dateparser
     SUBDIR += py-dateutil
diff --git a/devel/py-datasette/Makefile b/devel/py-datasette/Makefile
new file mode 100644
index 000000000000..892f22b32458
--- /dev/null
+++ b/devel/py-datasette/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	datasette
+PORTVERSION=	0.64.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Open source multi-tool for exploring and publishing data
+WWW=		https://datasette.io/ \
+		https://github.com/simonw/datasette
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiofiles>=0.4:devel/py-aiofiles@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}asgi-csrf>=0.9:www/py-asgi-csrf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}asgiref>=3.2.10:www/py-asgiref@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=7.1.1:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click-default-group-wheel>=1.2.2:devel/py-click-default-group-wheel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpx>=0.20:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hupper>=1.9:devel/py-hupper@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}itsdangerous>=1.1:security/py-itsdangerous@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}janus>=0.6.2:devel/py-janus@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.3:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mergedeep>=1.1.1:devel/py-mergedeep@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pint>=0.9:devel/py-pint@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pluggy>=1.0:devel/py-pluggy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.3:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}uvicorn>=0.11:www/py-uvicorn@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-datasette/distinfo b/devel/py-datasette/distinfo
new file mode 100644
index 000000000000..f0675a39c21b
--- /dev/null
+++ b/devel/py-datasette/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681052880
+SHA256 (datasette-0.64.2.tar.gz) = e9e16edbd3af2e11a2f251964fd8d9b7f9e4c4189790bc6c23f0fafa8ee458fc
+SIZE (datasette-0.64.2.tar.gz) = 211035
diff --git a/devel/py-datasette/files/patch-setup.py b/devel/py-datasette/files/patch-setup.py
new file mode 100644
index 000000000000..bea620eb4933
--- /dev/null
+++ b/devel/py-datasette/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig	2023-03-08 20:52:55 UTC
++++ setup.py
+@@ -62,7 +62,6 @@ setup(
+         [console_scripts]
+         datasette=datasette.cli:cli
+     """,
+-    setup_requires=["pytest-runner"],
+     extras_require={
+         "docs": [
+             "furo==2022.9.29",
diff --git a/devel/py-datasette/pkg-descr b/devel/py-datasette/pkg-descr
new file mode 100644
index 000000000000..ea7277ea9d62
--- /dev/null
+++ b/devel/py-datasette/pkg-descr
@@ -0,0 +1,7 @@
+Datasette is a tool for exploring and publishing data. It helps people take data
+of any shape or size and publish that as an interactive, explorable website and
+accompanying API.
+
+Datasette is aimed at data journalists, museum curators, archivists, local
+governments, scientists, researchers and anyone else who has data that they wish
+to share with the world.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304092042.339KgGE3094746>