git: 939fd73b7c5f - main - www/py-googlesearch-python: New port: Python library for scraping the Google search engine

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 11 Sep 2026 07:41:06 UTC
The branch main has been updated by yuri:

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

commit 939fd73b7c5f833878952456efa1051b68279bff
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-11 06:29:46 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-11 07:40:20 +0000

    www/py-googlesearch-python: New port: Python library for scraping the Google search engine
    
    PR:             298386
    Approved by:    Baptiste Daroussin <bapt@FreeBSD.org> (on behalf of portmgr@)
---
 www/Makefile                         |  1 +
 www/py-googlesearch-python/Makefile  | 23 +++++++++++++++++++++++
 www/py-googlesearch-python/distinfo  |  3 +++
 www/py-googlesearch-python/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index a5f5664e3ae2..95fd69ccc0e6 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1819,6 +1819,7 @@
     SUBDIR += py-google-cloud-vision
     SUBDIR += py-google-resumable-media
     SUBDIR += py-googlemaps
+    SUBDIR += py-googlesearch-python
     SUBDIR += py-grafana-dashboard-manager
     SUBDIR += py-granian
     SUBDIR += py-graphite-api
diff --git a/www/py-googlesearch-python/Makefile b/www/py-googlesearch-python/Makefile
new file mode 100644
index 000000000000..3d0fafceb4ae
--- /dev/null
+++ b/www/py-googlesearch-python/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	googlesearch-python
+DISTVERSION=	1.3.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	googlesearch_python-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python library for scraping the Google search engine
+WWW=		https://github.com/Nv7-GitHub/googlesearch
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup4>=4.9:www/py-beautifulsoup4@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.20:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-googlesearch-python/distinfo b/www/py-googlesearch-python/distinfo
new file mode 100644
index 000000000000..4cfc0201b80a
--- /dev/null
+++ b/www/py-googlesearch-python/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1789073051
+SHA256 (googlesearch_python-1.3.0.tar.gz) = c5729b1247c2a8f5c4b48ed73c4f8e9fd558ac4e09de67865479f0a33f2d97dc
+SIZE (googlesearch_python-1.3.0.tar.gz) = 5191
diff --git a/www/py-googlesearch-python/pkg-descr b/www/py-googlesearch-python/pkg-descr
new file mode 100644
index 000000000000..4faac3d62b1b
--- /dev/null
+++ b/www/py-googlesearch-python/pkg-descr
@@ -0,0 +1,2 @@
+Python library for scraping the Google search engine.
+It provides a simple function to query Google and retrieve the results.