git: 7f87b6ddc1d7 - main - www/py-torrequest: add port: Simple interface for HTTP(s) requests over Tor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Sep 2025 03:30:26 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7f87b6ddc1d70240f32c31682d1c7250941f372a
commit 7f87b6ddc1d70240f32c31682d1c7250941f372a
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-09-24 03:15:32 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-09-24 03:30:13 +0000
www/py-torrequest: add port: Simple interface for HTTP(s) requests over Tor
A simple Python interface for HTTP(s) requests over Tor.
It's basically a wrapper around Stem and Requests libraries.
WWW: https://github.com/erdiaker/torrequest
---
www/Makefile | 1 +
www/py-torrequest/Makefile | 22 ++++++++++++++++++++++
www/py-torrequest/distinfo | 3 +++
www/py-torrequest/pkg-descr | 3 +++
4 files changed, 29 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 2c1dc21e6cdb..e2a4f77655e2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1953,6 +1953,7 @@
SUBDIR += py-textile
SUBDIR += py-ticketutil
SUBDIR += py-tornado
+ SUBDIR += py-torrequest
SUBDIR += py-treq
SUBDIR += py-ttrv
SUBDIR += py-tuir
diff --git a/www/py-torrequest/Makefile b/www/py-torrequest/Makefile
new file mode 100644
index 000000000000..2bf7db1386d3
--- /dev/null
+++ b/www/py-torrequest/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= torrequest
+DISTVERSION= 0.1.0
+CATEGORIES= www security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Simple interface for HTTP(s) requests over Tor
+WWW= https://github.com/erdiaker/torrequest
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.11.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}stem>=1.4.0:security/py-stem@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-torrequest/distinfo b/www/py-torrequest/distinfo
new file mode 100644
index 000000000000..1685d0257d27
--- /dev/null
+++ b/www/py-torrequest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758575340
+SHA256 (torrequest-0.1.0.tar.gz) = 3745d4ea3ffda98d7a034363c787adb37aab77bdab40094a4d937392cd4dae82
+SIZE (torrequest-0.1.0.tar.gz) = 1527
diff --git a/www/py-torrequest/pkg-descr b/www/py-torrequest/pkg-descr
new file mode 100644
index 000000000000..205df2c4bcb6
--- /dev/null
+++ b/www/py-torrequest/pkg-descr
@@ -0,0 +1,3 @@
+A simple Python interface for HTTP(s) requests over Tor.
+
+It's basically a wrapper around Stem and Requests libraries.