Date: Thu, 07 May 2026 08:28:01 +0000 From: Olivier Cochard <olivier@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d35e5b5b8e8f - main - www/py-parallel=?utf-8?Q?-web:=E2=80=AF?=New port Message-ID: <69fc4d11.19fb0.6843420f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=d35e5b5b8e8ff4e2fa2804847fec4d6f95a8c6ae commit d35e5b5b8e8ff4e2fa2804847fec4d6f95a8c6ae Author: Olivier Cochard <olivier@FreeBSD.org> AuthorDate: 2026-05-06 08:20:26 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2026-05-07 08:26:41 +0000 www/py-parallel-web: New port Python library for the Parallel API --- www/Makefile | 1 + www/py-parallel-web/Makefile | 29 ++++++++++++++++++++++++++ www/py-parallel-web/distinfo | 3 +++ www/py-parallel-web/files/patch-pyproject.toml | 11 ++++++++++ www/py-parallel-web/pkg-descr | 6 ++++++ 5 files changed, 50 insertions(+) diff --git a/www/Makefile b/www/Makefile index e25905df7855..17bd562a3fe9 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1881,6 +1881,7 @@ SUBDIR += py-onetimepass SUBDIR += py-openbrokerapi SUBDIR += py-pafy + SUBDIR += py-parallel-web SUBDIR += py-paste SUBDIR += py-pastedeploy SUBDIR += py-path-and-address diff --git a/www/py-parallel-web/Makefile b/www/py-parallel-web/Makefile new file mode 100644 index 000000000000..04b718ba59c9 --- /dev/null +++ b/www/py-parallel-web/Makefile @@ -0,0 +1,29 @@ +PORTNAME= parallel-web +PORTVERSION= 0.5.1 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= parallel_web-${PORTVERSION} + +MAINTAINER= olivier@FreeBSD.org +COMMENT= Python library for the Parallel API +WWW= https://github.com/parallel-web/parallel-sdk-python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.26.3:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.5.0<5:devel/py-anyio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}distro>=1.7.0<2:sysutils/py-distro@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0<1:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=1.9.0<3:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sniffio>0:devel/py-sniffio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14<5:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-parallel-web/distinfo b/www/py-parallel-web/distinfo new file mode 100644 index 000000000000..a5850fadc5b3 --- /dev/null +++ b/www/py-parallel-web/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1777969359 +SHA256 (parallel_web-0.5.1.tar.gz) = e967f3bd1833c73db30ea11aa49f5b3248c10342af1fa768a4a290ff8f4301f6 +SIZE (parallel_web-0.5.1.tar.gz) = 154941 diff --git a/www/py-parallel-web/files/patch-pyproject.toml b/www/py-parallel-web/files/patch-pyproject.toml new file mode 100644 index 000000000000..b486d6337ac6 --- /dev/null +++ b/www/py-parallel-web/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2026-05-05 09:25:56 UTC ++++ pyproject.toml +@@ -92,7 +92,7 @@ typecheck = { chain = [ + "typecheck:mypy" = "mypy ." + + [build-system] +-requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme"] ++requires = ["hatchling>=1.26.3", "hatch-fancy-pypi-readme"] + build-backend = "hatchling.build" + + [tool.hatch.build] diff --git a/www/py-parallel-web/pkg-descr b/www/py-parallel-web/pkg-descr new file mode 100644 index 000000000000..c173e3fdf1fd --- /dev/null +++ b/www/py-parallel-web/pkg-descr @@ -0,0 +1,6 @@ +Python library for the Parallel API. + +Parallel provides web search and content-retrieval API optimised for AI agents +and LLM-based applications. This SDK exposes search, fetch, and task-running +endpoints with synchronous and asynchronous interfaces, plus optional aiohttp +transport support.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69fc4d11.19fb0.6843420f>
